OTRS-CGI-88[23766]: [Error][Kernel::System::User::UserLookup][Line:923]: No UserID found for 'kmast'! SELECT id FROM users WHERE (login) = ?
My bind is working --
Code: Select all
slapd[23601]: conn=1002 fd=10 ACCEPT from IP=127.0.0.1:44387 (IP=0.0.0.0:389)
slapd[23601]: conn=1002 op=0 BIND dn="cn=root,dc=ufl,dc=edu" method=128
slapd[23601]: conn=1002 op=0 BIND dn="cn=root,dc=ufl,dc=edu" mech=SIMPLE ssf=0
slapd[23601]: conn=1002 op=0 RESULT tag=97 err=0 text=
slapd[23601]: conn=1002 op=1 SRCH base="dc=ufl,dc=edu" scope=2 deref=2 filter="(uid=kmast)"
slapd[23601]: conn=1002 op=1 SRCH attr=uid
slapd[23601]: conn=1002 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
slapd[23601]: conn=1002 op=2 BIND anonymous mech=implicit ssf=0
slapd[23601]: conn=1002 op=2 BIND dn="cn=Kevin Masteller,ou=people,dc=ufl,dc=edu" method=128
slapd[23601]: conn=1002 op=2 RESULT tag=97 err=49 text=
slapd[23601]: conn=1002 op=3 UNBIND
slapd[23601]: conn=1002 fd=10 closed
Code: Select all
# agent data sync against ldap
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'ldap://127.0.0.1/';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=ufl,dc=edu';
$Self->{'AuthSyncModule::LDAP::UID'} = 'uid';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'cn=root,dc=ufl,dc=edu';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'test';
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# DB -> LDAP
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'email',
};
# AuthSyncModule::LDAP::UserSyncInitialGroups
# (sync following group with rw permission after initial create of first agent
# login)
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [
'users',
];
# This is an example configuration for an LDAP auth. backend.
# (Make sure Net::LDAP is installed!)
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '127.0.0.1';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=ufl,dc=edu';
$Self->{'AuthModule::LDAP::UID'} = 'uid';
# for ldap posixGroups objectclass (just uid)
$Self->{'AuthModule::LDAP::UserAttr'} = 'uid';
# The following is valid but would only be necessary if the
# anonymous user do NOT have permission to read from the LDAP tree
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=test,dc=ufl,dc=edu';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'test';
I'm not really sure where the issue is, as slapd.log shows the bind is working fine and returning info from the search...