after searching far and wide for a Solution for my Problem, im writing you for help.
Nothing i have found for this Topic has helped me.
I set up a new Server with CentOS 7 and OTRS 6.0.9.
Then i wanted to connect it via LDAP to our Windows AD.
Here is what i did in the Config.pm:
Code: Select all
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'ad.mydomain.local';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=mydomain,dc=local';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
#IT@mydomain.de is the actual CN
$Self->{'AuthModule::LDAP::GroupDN'} = 'cn=IT@mydomain.de,ou=Gruppen Verteiler,ou=Gruppen,dc=mydomain,dc=local';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'AuthModule::LDAP::UserAttr'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=LDAP Lookup,CN=Users,DC=mydomain,DC=local';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'XXXXXXX';
$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
Code: Select all
[Error][Kernel::System::Auth::LDAP::Auth][215] Search failed! 000004DC: LdapErr: DSID-0C0907C2, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580
-Different User
-MYDOMAIN\ldap
-ldap@mydomain.local
-I Quadruplechecked the PW
-I checked with LPD.exe if the authentication with the ldap user works and it did.
Also i tried different things for UsrAttr: userPrincipalName, DN and uid
Is there something i am missing? Is there a Error in my config? I hope you can help me.
If theres something i have forgotten to tell you pls tell me.
Kind Regards Logibooze