The Samba-Bugzilla – Attachment 7578 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.
negative_cache.diff (text/plain), 598 bytes, created by
Ira Cooper
on 2012-05-22 15:53:46 UTC
(
hide
)
Description:
Negative caching fix for 3.6.
Filename:
MIME Type:
Creator:
Ira Cooper
Created:
2012-05-22 15:53:46 UTC
Size:
598 bytes
patch
obsolete
>diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c >index a904da4..1be349a 100644 >--- a/source3/auth/auth_util.c >+++ b/source3/auth/auth_util.c >@@ -505,6 +505,10 @@ NTSTATUS create_local_token(struct auth_serversupplied_info *server_info) > sid_string_dbg(&t->sids[i]))); > continue; > } >+ if (ids[i].id.gid == (uint32_t)(-1)) { >+ DEBUG(10, ("Negative caching GID -1 for SID %s.\n", sid_string_dbg(&t->sids[i]))); >+ continue; >+ } > if (!add_gid_to_array_unique(server_info, ids[i].id.gid, > &server_info->utok.groups, > &server_info->utok.ngroups)) {
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
Flags:
metze
:
review-
Actions:
View
Attachments on
bug 8952
:
7575
|
7576
|
7577
|
7578
|
7579
|
7580
|
7586
|
7587
|
7590
|
7591
|
7592
|
7593