summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-02-26 12:25:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:24 -0500
commit9fffb6ab5b9eebdc3173ad63b90aec974f18ab53 (patch)
tree19e233c904732cc87f4e839f0da3ea6280ef93ee /source3/passdb
parent52576153670f79014992020cb5179cc51ee0a6b9 (diff)
downloadsamba-9fffb6ab5b9eebdc3173ad63b90aec974f18ab53.tar.gz
samba-9fffb6ab5b9eebdc3173ad63b90aec974f18ab53.tar.bz2
samba-9fffb6ab5b9eebdc3173ad63b90aec974f18ab53.zip
r13693: More Solaris/LDAP fixes from Bjoern <bjoern@j3e.de>
(This used to be commit 7c098ca0ae4c7e11c7100fb09b42ce716beffb56)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_nds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_nds.c b/source3/passdb/pdb_nds.c
index 34e550d413..a82f4e48d4 100644
--- a/source3/passdb/pdb_nds.c
+++ b/source3/passdb/pdb_nds.c
@@ -819,7 +819,7 @@ static NTSTATUS pdb_nds_update_login_attempts(struct pdb_methods *methods,
rc = ldap_simple_bind_s(ld, dn, clear_text_pw);
if (rc == LDAP_SUCCESS) {
DEBUG(5,("pdb_nds_update_login_attempts: ldap_simple_bind_s Successful for %s\n", username));
- ldap_unbind_ext(ld, NULL, NULL);
+ ldap_unbind(ld);
} else {
NTSTATUS nt_status = NT_STATUS_ACCOUNT_RESTRICTION;
DEBUG(5,("pdb_nds_update_login_attempts: ldap_simple_bind_s Failed for %s\n", username));