summaryrefslogtreecommitdiff
path: root/source3/lib
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/lib
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/lib')
-rw-r--r--source3/lib/smbldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index c045be51c5..e54464a49b 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -999,7 +999,7 @@ static int smbldap_open(struct smbldap_state *ldap_state)
#endif
if (reopen) {
/* the other end has died. reopen. */
- ldap_unbind_ext(ldap_state->ldap_struct, NULL, NULL);
+ ldap_unbind(ldap_state->ldap_struct);
ldap_state->ldap_struct = NULL;
ldap_state->last_ping = (time_t)0;
} else {
@@ -1017,7 +1017,7 @@ static int smbldap_open(struct smbldap_state *ldap_state)
}
if ((rc = smbldap_connect_system(ldap_state, ldap_state->ldap_struct))) {
- ldap_unbind_ext(ldap_state->ldap_struct, NULL, NULL);
+ ldap_unbind(ldap_state->ldap_struct);
ldap_state->ldap_struct = NULL;
return rc;
}
@@ -1039,7 +1039,7 @@ static NTSTATUS smbldap_close(struct smbldap_state *ldap_state)
return NT_STATUS_INVALID_PARAMETER;
if (ldap_state->ldap_struct != NULL) {
- ldap_unbind_ext(ldap_state->ldap_struct, NULL, NULL);
+ ldap_unbind(ldap_state->ldap_struct);
ldap_state->ldap_struct = NULL;
}