summaryrefslogtreecommitdiff
path: root/source/nsswitch/idmap_ad.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-09-11 14:28:37 +0000
committerGerald Carter <jerry@samba.org>2007-09-11 14:28:37 +0000
commitc151f3a3c322baff21293327d6e4683fcafb10e9 (patch)
tree8df741c29d018ab4eb24fe1e5ee81ae8fe4a938c /source/nsswitch/idmap_ad.c
parente051ecbbfadfeb26c3e6dc2b60ea2ed1f9998caf (diff)
downloadsamba-2b50b84b9002f0f803d2c70be9655cc51702b9a8.tar.gz
r25076: Checking in patches for 3.0.26samba-3.0.26
Diffstat (limited to 'source/nsswitch/idmap_ad.c')
-rw-r--r--source/nsswitch/idmap_ad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/idmap_ad.c b/source/nsswitch/idmap_ad.c
index aadbb2419d8..f181ca39575 100644
--- a/source/nsswitch/idmap_ad.c
+++ b/source/nsswitch/idmap_ad.c
@@ -753,7 +753,7 @@ static NTSTATUS nss_ad_get_info( struct nss_domain_entry *e,
if ( gid ) {
if ( !ads_pull_uint32(ads, msg, ad_schema->posix_gidnumber_attr, gid ) )
- *gid = 0;
+ *gid = (uint32)-1;
}
return NT_STATUS_OK;