From 4e52fa7b7346c3afdaeb87c2af69ee71cb3cd1fb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 28 Jan 2013 16:45:30 +0100 Subject: s3:auth: use new lp_idmap_default_range() instead of lp_idmap_gid() in create_token_from_sid() Signed-off-by: Michael Adam Reviewed-by: Christian Ambach --- source3/auth/token_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/auth') diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c index ac242f17f0..33b5507744 100644 --- a/source3/auth/token_util.c +++ b/source3/auth/token_util.c @@ -758,11 +758,11 @@ static NTSTATUS create_token_from_sid(TALLOC_CTX *mem_ctx, num_gids = num_group_sids; for ( i=0; i= low) && (gids[i] <= high) ) + if ( lp_idmap_default_range(&low, &high) && (gids[i] >= low) && (gids[i] <= high) ) continue; gid_to_unix_groups_sid(gids[i], &unix_group_sid); -- cgit