git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f05bd40
)
s3:idmap_ad: use range from idmap_domain in idmap_ad_unixids_to_sids()
author
Michael Adam
<obnox@samba.org>
Tue, 22 Jun 2010 11:13:57 +0000
(13:13 +0200)
committer
Michael Adam
<obnox@samba.org>
Wed, 23 Jun 2010 10:40:39 +0000
(12:40 +0200)
source3/winbindd/idmap_ad.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_ad.c
b/source3/winbindd/idmap_ad.c
index 5c29ba0b223dfd9aa604aaa11a9038634b0e7549..6fdb051aee5004795544eb64cdc5135a5c7149f7 100644
(file)
--- a/
source3/winbindd/idmap_ad.c
+++ b/
source3/winbindd/idmap_ad.c
@@
-453,11
+453,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;
}