
Hi, I am trying to make otrs integrate with openldap for agent authentication. My ldap allows anon query and I can query ldap from otrs without any problems I had this in Config.pm ######LDAP CONFIG ###### $Self->{AuthModule} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = '192.168.56.130'; $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=sridhar,dc=com'; $Self->{'AuthModule::LDAP::UID'} = 'uid'; $Self->{'AuthModule::LDAP::GroupDN'} = 'cn=otrs,ou=groups,dc=sridhar,dc=com'; $Self->{'AuthModule::LDAP::UserAttr'} = 'UID'; $Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid'; $Self->{'AuthModule::LDAP::Params'} = { port => 389, timeout => 120, async => 0, version => 3, }; $Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP'; $Self->{'AuthSyncModule::LDAP::Host'} = 'ldap://192.168.56.130'; $Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=sridhar, dc=com'; $Self->{'AuthSyncModule::LDAP::UID'} = 'uid'; $Self->{'AuthSyncModule::LDAP::UserSyncMap'} = { UserFirstname => 'givenName', UserLastname => 'sn', UserEmail => 'mail', }; $Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [ 'otrs', ]; ######END OF LDAP CONFIG ####### If I try to login with ldap user, I am getting " Login failed! Your username or password was entered incorrectly. " Error message. I can see below log in apache error_log ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Jan 19 13:52:16 2011 Message: No UserID found for 'otrsuser1'! Traceback (6751): Module: Kernel::System::User::UserLookup (v1.111) Line: 746 Module: Kernel::System::Auth::Auth (v1.49) Line: 216 Module: Kernel::System::Web::InterfaceAgent::Run (v1.58) Line: 201 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 48 Module: (eval) (v1.88) Line: 204 Module: ModPerl::RegistryCooker::run (v1.88) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31 Am I missing anything? should AuthSyncModule module automatically sync all users in otrs group to mysql? In my case I still have only two users I have initially created in mysql database users table. Any help is much appreciated. Thanks, Sridhar..