Looks like you hit bug 28385, but it's supposed to be fixed on 21.05. Are you using the debian package? How did you upgrade?
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28385 Le mar. 12 oct. 2021 à 02:17, Hector Gonzalez Jaime <[email protected]> a écrit : > > Hello, we recently tried to update our development server to 21.05, and > it mostly works, but it does not like our LDAP setup, which is unchanged. > > plack-error.log is filled with errors from this one: > > Error while loading /etc/koha/plack.psgi: No ldapserver "hostname" > defined in KOHA_CONF: /etc/koha/sites/clavius/koha-conf.xml at > /usr/share/koha/lib/C4/Auth_with_ldap.pm line 58, <DATA> line 755. > > Now, we did not touch our LDAP configuration, which was correct and > working with 19.11. Can somebody help find out what changed? Our ldap > configuration is like this now: > > > <ldapserver id="ldapserver" listenref="ldapserver"> > <hostname>ip.address.for.server</hostname> > <base>ou=users,dc=domain,dc=example,dc=org</base> > <replicate>1</replicate> > <update>1</update> <!-- update existing users in Koha database --> > <auth_by_bind>1</auth_by_bind> > <principal_name>uid=%s,ou=users,dc=domain,dc=example,dc=org</principal_name> > <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" >Tijuana, BCN</city> > <zipcode is="" ></zipcode> > <branchcode is="" >TJNA</branchcode> > <userid is="uid" ></userid> > <password is="" ></password> > <email is="mail" ></email> > <phone is="" ></phone> > <categorycode is="" >STUDENT</categorycode> > <privacy is="" >1</privacy> > </mapping> > </ldapserver> > > Thanks. > > -- > Hector Gonzalez > [email protected] > > _______________________________________________ > > Koha mailing list http://koha-community.org > [email protected] > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org [email protected] Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

