The Samba-Bugzilla – Attachment 7382 Details for
Bug 8798
Netapp Filers Can't check domain groups of any user with Samba 3.6 DC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to resolve problem with Netapp and Samba 3.6
8798.patch (text/plain), 759 bytes, created by
Alejandro Escanero Blanco
on 2012-03-13 09:28:36 UTC
(
hide
)
Description:
Patch to resolve problem with Netapp and Samba 3.6
Filename:
MIME Type:
Creator:
Alejandro Escanero Blanco
Created:
2012-03-13 09:28:36 UTC
Size:
759 bytes
patch
obsolete
>diff -Naur a/source3/auth/server_info.c b/source3/auth/server_info.c >--- a/source3/auth/server_info.c 2012-01-29 20:40:43.000000000 +0100 >+++ b/source3/auth/server_info.c 2012-03-13 09:15:30.000000000 +0100 >@@ -260,6 +260,7 @@ > NTSTATUS status; > uint32_t rid; > bool ok; >+ bool primary_gid_added=false; > > domain_sid = info3->base.domain_sid; > groups = &info3->base.groups; >@@ -276,7 +277,10 @@ > > /* if it is the primary gid, skip it, we > * obviously already have it */ >- if (info3->base.primary_gid == rid) continue; >+ if (info3->base.primary_gid == rid) { >+ if(primary_gid_added) continue; >+ primary_gid_added=true; >+ } > > /* store domain group rid */ > groups->rids[groups->count].rid = rid;
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 8798
:
7382
|
7534
|
7544