[Koha] ldap / uid
Samuel Desseaux
samuel.desseaux at ecp.fr
Wed Nov 21 22:34:36 NZDT 2012
Hi,
I've a technical question about ldap.
My connexion with the ldap is enabled. The mapping is correct but we
would like to use "SupannAliasLogin" instead of "uid".
Why? Our uid is like this [year of entry in the school]+supannAliasLogin
example:2012desseauxs
2012:year of entry in the school
desseauxs:SupannAliasLogin
I don't know how to do and i i have to change the principal name
Actually, we have the following configuration
<ldapserver id="ldapserver" listenref="ldapserver">
<hostname>*******</hostname>
<base>ou=people,dc=ecp,dc=fr</base>
<user>cn=syncrepl,ou=applications,dc=ecp,dc=fr</user>
<pass>******</pass>
<replicate>1</replicate>
<update>1</update>
<auth_by_bind>1</auth_by_bind>
<principal_name>uid=%s,ou=people,dc=ecp,dc=fr</principal_name>
<mapping>
<firstname is="givenname"></firstname>
<surname is="sn"></surname>
<address is="">Ecole Centrale Paris</address>
<city is="">Chatenay-Malabry</city>
<zipcode is="">92290</zipcode>
<branchcode is="">ECAM</branchcode>
<userid is="uid"></userid>
<password is="userpassword"></password>
<cardnumber is="ecpbadgenumber"></cardnumber>
<email is="mail"></email>
<categorycode is="supannetudiplome">employee</categorycode>
<phone is="telephonenumber">903-566-7654</phone>
<dateenrolled is="">2012-09-01</dateenrolled>
<dateexpiry is="">2013-09-01</dateexpiry>
</mapping>
</ldapserver>
Many thanks
samuel
More information about the Koha
mailing list