KOHA
LDAP: Revision 7
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_ Greš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 Popravljeno sa promjenom http://koha-dev.rot13.org:8081/cgi-bin/gitweb.cgi?p=koha-ffzg.git;a=commit;h=01bcd8bb8d84e85d29a0bb395757742cab06f102 i 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 (?) Linkovi |