From a813d4b6aac655909541966d2d343fe2b55ed188 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 8 Feb 2004 11:46:32 +0000 Subject: [PATCH] (merge from 3.0) 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 --- source/libads/ldap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/libads/ldap.c b/source/libads/ldap.c index 79f267a6a8f..20a36dfdf5c 100644 --- a/source/libads/ldap.c +++ b/source/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) { -- 2.11.4.GIT