|
KOHA
LDAP: Revision 12
Kako podesiti Kohu da radi s LDAP bazom? Koju funkcionalnost možemo dobiti?
Kako vidjeti strukturu LDAP baze?ldapvi --host _hostname_:389 -d ldapvi --host _hostname_:389 -d uid=_username_ Logiranje korisnika sa login@ffzg.hrGreška: [Tue Jan 13 23:58:36 2009] opac-user.pl: LDAP Auth rejected : invalid password for user 'mglavica@ffzg.hr'. LDAP error #50: LDAP_INSUFFICIENT_ACCESS [Tue Jan 13 23:58:36 2009] opac-user.pl: # The client does not have sufficient access to perform the requested [Tue Jan 13 23:58:36 2009] opac-user.pl: operation auth as user promjenei konfiguracijom u /etc/koha/koha-conf.xml
<ldapserver id="ldapserver" listenref="ldapserver">
<hostname>ldap.ffzg.hr:389</hostname>
<base>dc=ffzg,dc=hr</base>
<replicate>1</replicate> <!-- add new users from LDAP to Koha database -->
<update>1</update> <!-- update existing users in Koha database -->
<mapping> <!-- match koha SQL field names to your LDAP record field names -->
<firstname is="givenname" ></firstname>
<surname is="sn" ></surname>
<address is="postaladdress" >?</address>
<city is="l" >?</city>
<zipcode is="postalcode" ></zipcode>
<branchcode is="branch" >FFZG</branchcode>
<!--
<userid is="hrEduPersonUniqueID" ></userid>
-->
<userid is="mail" ></userid>
<password is="userpassword" ></password>
<email is="mail" ></email>
<categorycode is="x-hrEduPersonPrimaryAffiliation" >STUD1</categorycode>
<!--
<phone is="telephonenumber"></phone>
-->
</mapping>
</ldapserver>
userid se puni iz mail polja u LDAP-u a ne iz hrEduPersonUniqueID jer je ono prazno (?) cardnumber ne dolazi iz ldap-aOsim kod prvog ulogiravanja korisnika kada mu se postavlja isti kao mail Koje podatke imamo u LDAP bazi?ovo spada pod osnovne podatke:
* uid - identifikator, korisnicko ime
"Kada cu produzivati korisnicke racune, ja cu svim studentima Linkovi |