summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-02-08 00:31:36 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-02-08 00:31:36 +0000
commitd57d2d08978e37ab771479b5f2f2f7f36d867b69 (patch)
tree1e1b94156cbb4fef0de63436e15a128b9f1611c0 /source3
parent7acbbe9ba06b49f0e033b79cc5282e4be09642e8 (diff)
downloadsamba-d57d2d08978e37ab771479b5f2f2f7f36d867b69.tar.gz
samba-d57d2d08978e37ab771479b5f2f2f7f36d867b69.tar.bz2
samba-d57d2d08978e37ab771479b5f2f2f7f36d867b69.zip
Bug found by gd - the new range-reterival code did still had 'member'
hardcoded into it. This didn't matter, as we only use it for 'member' so far... Andrew Bartlett (This used to be commit 8621899112e720411715ea53558d5146ff04eeb0)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 8039d3d1d4..15504a5202 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -1661,7 +1661,7 @@ char **ads_pull_strings_range(ADS_STRUCT *ads,
}
if (!attr) {
ber_free(ptr, 0);
- /* nothing here - this feild is just empty */
+ /* nothing here - this field is just empty */
*more_strings = False;
return NULL;
}
@@ -1720,7 +1720,8 @@ char **ads_pull_strings_range(ADS_STRUCT *ads,
if (*more_strings) {
*next_attribute = talloc_asprintf(mem_ctx,
- "member;range=%d-*",
+ "%s;range=%d-*",
+ field,
*num_strings);
if (!*next_attribute) {