Index: samba-3.0.25c/source/nsswitch/idmap_ad.c =================================================================== --- samba-3.0.25c.orig/source/nsswitch/idmap_ad.c 2007-09-04 13:50:33.000000000 -0500 +++ samba-3.0.25c/source/nsswitch/idmap_ad.c 2007-09-04 13:51:36.000000000 -0500 @@ -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;