Problems with LDAP Auth - Panic! No UserData for user

When I try to login, the OTRS login page shows an error message - Panic! No UserData!!! Looking to the logs I see that the authentication to LDAP works....
From the logs:
tail /tmp/otrs.log [Tue May 22 15:01:57 2007][Notice][Kernel::System::User::GetUserData] Panic! No UserData for user: 'nedim.hadzimahmutovic'!!! [Tue May 22 16:16:26 2007][Notice][Kernel::System::Auth::LDAP::Auth] User: nedim.hadzimahmutovic (uid=nedim.hadzimahmutovic,ou=XX,ou=Users,ou=XX,ou=XX,ou=XX,dc=XX,dc=XX) authentication ok (REMOTE_ADDR: 10.2.0.120). tail /var/log/ldap.log May 23 15:40:59 localhost slapd[4566]: conn=297 fd=14 ACCEPT from IP=10.0.0.10:34192 (IP=0.0.0.0:389) May 23 15:40:59 localhost slapd[4566]: conn=297 op=0 BIND dn="" method=128 May 23 15:40:59 localhost slapd[4566]: conn=297 op=0 RESULT tag=97 err=0 text= May 23 15:40:59 localhost slapd[4566]: conn=297 fd=14 closed (connection lost) May 23 15:41:29 localhost slapd[4566]: conn=298 fd=14 ACCEPT from IP=10.0.0.10:34193 (IP=0.0.0.0:389) May 23 15:41:29 localhost slapd[4566]: conn=298 op=0 BIND dn="" method=128 May 23 15:41:29 localhost slapd[4566]: conn=298 op=0 RESULT tag=97 err=0 text= May 23 15:41:29 localhost slapd[4566]: conn=299 fd=16 ACCEPT from IP=10.0.0.10:34194 (IP=0.0.0.0:389) May 23 15:41:29 localhost slapd[4566]: conn=299 op=0 BIND dn="" method=128 May 23 15:41:29 localhost slapd[4566]: conn=299 op=0 RESULT tag=97 err=0 text= May 23 15:41:29 localhost slapd[4566]: conn=299 op=1 SRCH base="ou=XX,dc=XX,dc=XX" scope=2 deref=2 filter="(uid=nedim.hadzimahmutovic)" May 23 15:41:29 localhost slapd[4566]: <= bdb_equality_candidates: (uid) index_param failed (18) May 23 15:41:29 localhost slapd[4566]: conn=299 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= May 23 15:41:29 localhost slapd[4566]: conn=299 op=2 BIND dn="uid=nedim.hadzimahmutovic,ou=XX,ou=Users,ou=BA,ou=EE,ou=XX,dc=XX,dc=XX" method=128 May 23 15:41:29 localhost slapd[4566]: conn=299 op=2 BIND dn="uid=nedim.hadzimahmutovic,ou=XX,ou=Users,ou=BA,ou=EE,ou=XX,dc=XX,dc=XX" mech=SIMPLE ssf=0 May 23 15:41:29 localhost slapd[4566]: conn=299 op=2 RESULT tag=97 err=0 text= May 23 15:41:29 localhost slapd[4566]: conn=299 op=3 UNBIND May 23 15:41:29 localhost slapd[4566]: conn=299 fd=16 closed May 23 15:41:29 localhost slapd[4566]: conn=298 fd=14 closed (connection lost) Anyone? TNX Nedim --------------------------------------------

Hi, Nedim Hadzimahmutovic schrieb:
When I try to login, the OTRS login page shows an error message - Panic! No UserData!!! Looking to the logs I see that the authentication to LDAP works....
This issue was veeeery often discussed in this list. Have a look on it! (Your problem: agent-authent. works, but further agent-infos are not available for OTRS => see ldap-sync or 1-time import from ldap to db) Bye, Alex p.s. This is no issue for the OTRS::ITSM-list
participants (2)
-
Alexander Scholler
-
Nedim Hadzimahmutovic