
Hello otrs, just to improve debug, i suggest the following changes in Kernel/System/Auth/LDAP.pm the goal is just to log that the bind is successfull. # ldap connect and bind (maybe with SearchUserDN and SearchUserPw) my $LDAP = Net::LDAP->new($Self->{Host}, %{$Self->{Params}}) or die "$@"; if (!$LDAP->bind(dn => $Self->{SearchUserDN}, password => $Self->{SearchUserPw})) { $Self->{LogObject}->Log( Priority => 'error', Message => "First bind failed!", ); return; } elsif($Self->{Debug} > 0){ $Self->{LogObject}->Log( Priority => 'notice', Message => "Net:LDAP Successfully bind to the ldap server", ); } # build filter -- Best regards, Mathieu mailto:gollum123@free.fr

Hi! On Mo, Jun 06, 2005 at 08:54:07 +0200, Mathieu CHATEAU wrote:
just to improve debug, i suggest the following changes in Kernel/System/Auth/LDAP.pm
the goal is just to log that the bind is successfull.
# ldap connect and bind (maybe with SearchUserDN and SearchUserPw) my $LDAP = Net::LDAP->new($Self->{Host}, %{$Self->{Params}}) or die "$@"; if (!$LDAP->bind(dn => $Self->{SearchUserDN}, password => $Self->{SearchUserPw})) { $Self->{LogObject}->Log( Priority => 'error', Message => "First bind failed!", ); return; } elsif($Self->{Debug} > 0){ $Self->{LogObject}->Log( Priority => 'notice', Message => "Net:LDAP Successfully bind to the ldap server", ); } # build filter
Would you please open a report on this via our bugzilla system: http://bugs.otrs.org Its the best to submit patches or improvements into our bugzilla, so they won't get lost. Thanks very much for the help!
Mathieu mailto:gollum123@free.fr
Best regards, Christian -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (2)
-
Christian Schoepplein
-
Mathieu CHATEAU