summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-09-11 18:08:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:39 -0500
commitd65ba539a4bd9671bab6f70e140dcc6fb8f0733e (patch)
treec4d836a2d89b2143ba02fa8438c5a1fdabe69099 /source3/nsswitch
parente16f8188eaee0d4b8e059bea755100a98ac1867d (diff)
downloadsamba-d65ba539a4bd9671bab6f70e140dcc6fb8f0733e.tar.gz
samba-d65ba539a4bd9671bab6f70e140dcc6fb8f0733e.tar.bz2
samba-d65ba539a4bd9671bab6f70e140dcc6fb8f0733e.zip
r25099: Commit fix for CVE-2007-4138 from 3.0.26 release.
(This used to be commit aa768a4a20930833d6921ed112601873b228a64d)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/idmap_ad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/idmap_ad.c b/source3/nsswitch/idmap_ad.c
index 6f8839e4ba..41dbb471f9 100644
--- a/source3/nsswitch/idmap_ad.c
+++ b/source3/nsswitch/idmap_ad.c
@@ -773,7 +773,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;