[Koha-bugs] [Bug 8123] cronjob to pre-populate/Update patrons from ldap data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 30 05:00:30 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123

--- Comment #3 from Derryn <derrynj at 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 at server.local'
replicate: 1
update: 1
user: 'LDAPUSER at 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.


More information about the Koha-bugs mailing list