summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-07 02:50:09 +0000
committerTim Potter <tpot@samba.org>2003-07-07 02:50:09 +0000
commitb5cd4a8643169b276a3af8a9272d212d76a54dd3 (patch)
treeb310a6d902a2fbb5949e03bebcab4491b89e8b5a /source3/libads
parentee998cde338dacc1c3ef4909d10a2f9883f647b8 (diff)
downloadsamba-b5cd4a8643169b276a3af8a9272d212d76a54dd3.tar.gz
samba-b5cd4a8643169b276a3af8a9272d212d76a54dd3.tar.bz2
samba-b5cd4a8643169b276a3af8a9272d212d76a54dd3.zip
Call the synchronous version of the ldap delete function otherwise we end up
treating the returned message id as an error code. (This used to be commit 42fdcef324d7a04e69c0078482e1a6b8a67ade94)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 1886b525d9..92f7f7645a 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -937,7 +937,7 @@ ADS_STATUS ads_del_dn(ADS_STRUCT *ads, char *del_dn)
return ADS_ERROR_NT(NT_STATUS_NO_MEMORY);
}
- ret = ldap_delete(ads->ld, utf8_dn);
+ ret = ldap_delete_s(ads->ld, utf8_dn);
return ADS_ERROR(ret);
}