Bug found by gd - the new range-reterival code did still had 'member'
authorAndrew Bartlett <abartlet@samba.org>
Sun, 8 Feb 2004 00:31:36 +0000 (00:31 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 8 Feb 2004 00:31:36 +0000 (00:31 +0000)
hardcoded into it.

This didn't matter, as we only use it for 'member' so far...

Andrew Bartlett

source/libads/ldap.c

index 8039d3d1d407c6fb7151d60d9d91248884feb277..15504a5202f10a398044e105850dbf29a62a2d21 100644 (file)
@@ -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) {