The Samba-Bugzilla – Attachment 7579 Details for
Bug 8952
setgroups being passed a -1 group is causing crashes.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Negative caching fix for 3.6, alternate.
negative_cache2.diff (text/plain), 615 bytes, created by
Ira Cooper
on 2012-05-22 16:12:38 UTC
(
hide
)
Description:
Negative caching fix for 3.6, alternate.
Filename:
MIME Type:
Creator:
Ira Cooper
Created:
2012-05-22 16:12:38 UTC
Size:
615 bytes
patch
obsolete
>diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c >index 5cf391f..701157c 100644 >--- a/source3/passdb/lookup_sid.c >+++ b/source3/passdb/lookup_sid.c >@@ -1481,6 +1481,10 @@ bool sids_to_unix_ids(const struct dom_sid *sids, uint32_t num_sids, > if (ids[i].type != WBC_ID_TYPE_NOT_SPECIFIED) { > continue; > } >+ if ((ids[i].type == WBC_ID_TYPE_GID && ids[i].id.gid == -1) >+ || (ids[i].type == WBC_ID_TYPE_UID && ids[i].id.uid == -1)) { >+ ids[i].type = WBC_ID_TYPE_NOT_SPECIFIED; >+ } > if (legacy_sid_to_gid(&sids[i], &ids[i].id.gid)) { > ids[i].type = WBC_ID_TYPE_GID; > continue;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 8952
:
7575
|
7576
|
7577
|
7578
|
7579
|
7580
|
7586
|
7587
|
7590
|
7591
|
7592
|
7593