The Samba-Bugzilla – Attachment 14895 Details for
Bug 13815
winbind causing huge timeouts/delays since 4.8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
preferred patch, brings back logic for parse_domain_user return value
samba-4.11.0-fix-winbind_empty_domain.patch (text/plain), 1.40 KB, created by
Alexander Spannagel
on 2019-03-04 13:03:27 UTC
(
hide
)
Description:
preferred patch, brings back logic for parse_domain_user return value
Filename:
MIME Type:
Creator:
Alexander Spannagel
Created:
2019-03-04 13:03:27 UTC
Size:
1.40 KB
patch
obsolete
>diff -Naur samba-4.11.0/source3/winbindd/winbindd_getgroups.c samba-4.11.0-fix-winbind_empty_domain/source3/winbindd/winbindd_getgroups.c >--- samba-4.11.0/source3/winbindd/winbindd_getgroups.c 2019-02-21 07:53:38.368548591 -0500 >+++ samba-4.11.0-fix-winbind_empty_domain/source3/winbindd/winbindd_getgroups.c 2019-03-01 18:53:02.504448617 -0500 >@@ -85,6 +85,12 @@ > return tevent_req_post(req, ev); > } > >+ /* if no domain but local domain, set domain to get_global_sam_name */ >+ >+ if ( !*(state->domname) && *(state->namespace) ) { >+ fstrcpy(state->domname, get_global_sam_name()); >+ } >+ > subreq = wb_lookupname_send(state, ev, > state->namespace, > state->domname, >diff -Naur samba-4.11.0/source3/winbindd/winbindd_getpwnam.c samba-4.11.0-fix-winbind_empty_domain/source3/winbindd/winbindd_getpwnam.c >--- samba-4.11.0/source3/winbindd/winbindd_getpwnam.c 2019-02-21 07:53:38.368548591 -0500 >+++ samba-4.11.0-fix-winbind_empty_domain/source3/winbindd/winbindd_getpwnam.c 2019-03-01 18:54:12.342883881 -0500 >@@ -81,6 +81,12 @@ > return tevent_req_post(req, ev); > } > >+ /* if no domain but local domain, set domain to get_global_sam_name */ >+ >+ if ( !*(state->domname) && *(state->namespace) ) { >+ fstrcpy(state->domname, get_global_sam_name()); >+ } >+ > subreq = wb_lookupname_send(state, ev, > state->namespace, > state->domname,
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 13815
:
14879
|
14880
|
14881
|
14882
|
14883
|
14891
|
14895
|
14896
|
14910