diff options
author | Edward Rudd | 2010-02-15 13:41:50 -0500 |
---|---|---|
committer | Edward Rudd | 2010-02-15 13:42:27 -0500 |
commit | aa52e15abc8ed61839866c0e5b65e725c690cccb (patch) | |
tree | 06bd8e6ddf9824d19f9df7c71e58f6472de78e93 /lib | |
parent | f9ee7681ca1b272fecc6e431937d705f3d76d375 (diff) |
if no binddn is specified do an anonymous bind instead of unbinding.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DJabberd/Authen/LDAP.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DJabberd/Authen/LDAP.pm b/lib/DJabberd/Authen/LDAP.pm index 92a948e..fdfa105 100644 --- a/lib/DJabberd/Authen/LDAP.pm +++ b/lib/DJabberd/Authen/LDAP.pm | |||
@@ -131,7 +131,7 @@ sub check_cleartext { | |||
131 | $cb->decline; | 131 | $cb->decline; |
132 | } | 132 | } |
133 | } else { | 133 | } else { |
134 | $ldap->unbind; | 134 | $ldap->bind; |
135 | } | 135 | } |
136 | 136 | ||
137 | my $filter = $self->{'ldap_filter'}; | 137 | my $filter = $self->{'ldap_filter'}; |