diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-02-08 11:46:32 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-02-08 11:46:32 +0000 |
commit | 57db183e2ec40feb09cfcffb6ead47f78d8d3340 (patch) | |
tree | 0c51e41ea5f5ccb04729f4152ae78eca1d4e3cd2 /source3/libads/ldap.c | |
parent | cfd8958091b84d90e4a823faadcc3fa05a67e4ac (diff) | |
download | samba-57db183e2ec40feb09cfcffb6ead47f78d8d3340.tar.gz samba-57db183e2ec40feb09cfcffb6ead47f78d8d3340.tar.bz2 samba-57db183e2ec40feb09cfcffb6ead47f78d8d3340.zip |
(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
(This used to be commit a813d4b6aac655909541966d2d343fe2b55ed188)
Diffstat (limited to 'source3/libads/ldap.c')
-rw-r--r-- | source3/libads/ldap.c | 5 |
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) { |