--- source/nsswitch/idmap_ad.c.orig 2007-08-23 15:44:22.097859364 -0400 +++ source/nsswitch/idmap_ad.c 2007-08-23 15:45:23.023906036 -0400 @@ -753,7 +753,7 @@ if ( gid ) { if ( !ads_pull_uint32(ads, msg, ad_schema->posix_gidnumber_attr, gid ) ) - *gid = 0; + *gid = (uint32)-1; } return NT_STATUS_OK;