summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 79f267a6a8..20a36dfdf5 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -1655,7 +1655,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;
}
@@ -1714,7 +1714,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) {