winbindd crash

Noel Power nopower at suse.com
Thu Oct 22 16:04:38 UTC 2015


On 22/10/15 12:03, Stefan Metzmacher wrote:
> Hi Noel,
>
[...]
> I think what we really need is a way to return to the parent and have
> the fallback logic there,
> the parent should then re-route to the correct domain child by clearing
> WBFLAG_PAM_CONTACT_TRUSTDOM
> before calling find_auth_domain().
something like the patch attached ? suggestions/improvements welcome
>
> Regarding the crash prevention I think we should do that in caller.
> rpccli_netlogon_network_logon/rpccli_netlogon_password_logon or even
> their callers
> should check. They should never pass creds=NULL.
I opened a bug https://bugzilla.samba.org/show_bug.cgi?id=11569 and
attached a patch with your suggestions there

thanks,
Noel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-If-samlogon-for-trusted-child-domain-user-fails-atte.patch
Type: text/x-patch
Size: 2767 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151022/976ed943/0001-If-samlogon-for-trusted-child-domain-user-fails-atte.bin>


More information about the samba-technical mailing list