aboutsummaryrefslogtreecommitdiffstats
path: root/lib/DJabberd/Authen/LDAP.pm
diff options
context:
space:
mode:
authorGravatar Edward Rudd 2010-02-15 13:41:50 -0500
committerGravatar Edward Rudd 2010-02-15 13:42:27 -0500
commitaa52e15abc8ed61839866c0e5b65e725c690cccb (patch)
tree06bd8e6ddf9824d19f9df7c71e58f6472de78e93 /lib/DJabberd/Authen/LDAP.pm
parentf9ee7681ca1b272fecc6e431937d705f3d76d375 (diff)
if no binddn is specified do an anonymous bind instead of unbinding.
Diffstat (limited to 'lib/DJabberd/Authen/LDAP.pm')
-rw-r--r--lib/DJabberd/Authen/LDAP.pm2
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'};