summaryrefslogtreecommitdiffstats
path: root/source3/libads
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-05 07:52:44 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-05 07:52:44 +0000
commitaddea9645d48bc77f88ed3fa724cdd522e2f31ce (patch)
tree7c466475596b1a0936038e41c8e3b1739437d546 /source3/libads
parent5329af6e11f9005d27395eb57c1185029d893ae8 (diff)
moved the sequence number fetch into the backend, and fetch the
sequence number via ldap when using ads (This used to be commit 9a084f0bb91883224ad44e2b76417d10c15cce42)
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 5b391f1282..b18e7927ae 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -536,7 +536,7 @@ BOOL ads_USN(ADS_STRUCT *ads, uint32 *usn)
int rc;
void *res;
- rc = ldap_search_s(ads->ld, ads->bind_path,
+ rc = ldap_search_s(ads->ld, "",
LDAP_SCOPE_BASE, "(objectclass=*)", attrs, 0, (LDAPMessage **)&res);
if (rc || ads_count_replies(ads, res) != 1) return False;
return ads_pull_uint32(ads, res, "highestCommittedUSN", usn);