The Samba-Bugzilla – Attachment 7580 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]
Fix for 3.6
negative_cache3.diff (text/plain), 568 bytes, created by
Ira Cooper
on 2012-05-22 17:22:50 UTC
(
hide
)
Description:
Fix for 3.6
Filename:
MIME Type:
Creator:
Ira Cooper
Created:
2012-05-22 17:22:50 UTC
Size:
568 bytes
patch
obsolete
>diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c >index 5cf391f..553bbd6 100644 >--- a/source3/passdb/lookup_sid.c >+++ b/source3/passdb/lookup_sid.c >@@ -1490,7 +1490,14 @@ bool sids_to_unix_ids(const struct dom_sid *sids, uint32_t num_sids, > continue; > } > } >+ > done: >+ for (i=0; i<num_sids; i++) { >+ if ((ids[i].type == WBC_ID_TYPE_GID && ids[i].id.gid == (gid_t)-1) >+ || (ids[i].type == WBC_ID_TYPE_UID && ids[i].id.uid == (uid_t)-1)) { >+ ids[i].type = WBC_ID_TYPE_NOT_SPECIFIED; >+ } >+ } > ret = true; > fail: > TALLOC_FREE(wbc_ids);
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