diff options
author | Michael Adam <obnox@samba.org> | 2010-06-22 13:13:57 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-08-14 02:10:55 +0200 |
commit | 96607d9543ebc1b485fa701db8f4f11fd501b750 (patch) | |
tree | 63d715f3653d8de7150d2d24a67e5a2c53257b23 /source3/winbindd | |
parent | f07049495d81dc4ad2df440f274d470ac41b83c9 (diff) | |
download | samba-96607d9543ebc1b485fa701db8f4f11fd501b750.tar.gz samba-96607d9543ebc1b485fa701db8f4f11fd501b750.tar.bz2 samba-96607d9543ebc1b485fa701db8f4f11fd501b750.zip |
s3:idmap_ad: use range from idmap_domain in idmap_ad_unixids_to_sids()
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/idmap_ad.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c index 37095c12c8..5472edc220 100644 --- a/source3/winbindd/idmap_ad.c +++ b/source3/winbindd/idmap_ad.c @@ -458,11 +458,9 @@ again: continue; } - if ((id == 0) || - (ctx->filter_low_id && (id < ctx->filter_low_id)) || - (ctx->filter_high_id && (id > ctx->filter_high_id))) { + if (!idmap_unix_id_is_in_range(id, dom)) { DEBUG(5, ("Requested id (%u) out of range (%u - %u). Filtered!\n", - id, ctx->filter_low_id, ctx->filter_high_id)); + id, dom->low_id, dom->high_id)); continue; } |