[Bug 8123] New: cronjob to pre-populate/Update patrons from ldap data
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123 Priority: P5 - low Change sponsored?: --- Bug ID: 8123 Assignee: gmcharlt@gmail.com Summary: cronjob to pre-populate/Update patrons from ldap data Severity: enhancement Classification: Unclassified OS: All Reporter: henridamien.laurent@biblibre.com Hardware: All Status: NEW Version: unspecified Component: Architecture, internals, and plumbing Product: Koha It would be really nice to have borrowers table prepopulated and updated from LDAP data. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123 --- Comment #1 from laurenthdl <henridamien.laurent@biblibre.com> --- Created attachment 9640 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9640&action=edit proposed patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123 laurenthdl <henridamien.laurent@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #9640|0 |1 is obsolete| | --- Comment #2 from laurenthdl <henridamien.laurent@biblibre.com> --- Created attachment 9642 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9642&action=edit proposed patch This patch now contains no french and a brief documentation of the script. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123 Dobrica Pavlinusic <dpavlin@rot13.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dpavlin@rot13.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123 Derryn <derrynj@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |derrynj@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123 --- Comment #3 from Derryn <derrynj@gmail.com> --- Doesn't seem work for me. Got the following: Got 12 ldap mapkeys ( total ): firstname userid categorycode zipcode surname dateexpiry email city password cardnumber address branchcode Got 12 ldap mapkeys (populated): firstname userid categorycode zipcode surname dateexpiry email city password cardnumber address branchcode --- auth_by_bind: 1 base: 'dc=server,dc=local' hostname: 192.168.1.1 id: ldapserver listenref: ldapserver mapping: address: is: postaladdress branchcode: content: LIBRARY is: '' cardnumber: is: description categorycode: is: physicalDeliveryOfficeName city: is: l dateexpiry: content: 2099-05-13 is: '' email: is: mail firstname: is: givenname password: is: '' surname: is: sn userid: is: samaccountname zipcode: is: postalcode pass: password principal_name: '%s@server.local' replicate: 1 update: 1 user: 'LDAPUSER@server.local' After that, nothing happens. No users are added/updated, i've set it to highest debugging level and I still cant find any error logs from it. Does it scan OUs recursively ? So my base is dc=server,dc=local - Will it find users in ou=users, ou=staff, ou=dept, dc=wbta, dc=local -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123 --- Comment #4 from Derryn <derrynj@gmail.com> --- Oh and that's on Koha 3.8.6 with authentication to a Windows 2008 server via LDAP -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org