r21878: Fix a bug with smbd serving a windows terminal server: If winbind decides...
authorVolker Lendecke <vlendec@samba.org>
Mon, 19 Mar 2007 21:04:56 +0000 (21:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:42 +0000 (12:18 -0500)
commite5741e27c4c22702c9f8b07877641fecc7eef39c
tree0d32d9bd21c8d6d4a675bea16cc160e9305cd7a8
parent184571e4b0283fb1a62c441f10429006656052c8
r21878: Fix a bug with smbd serving a windows terminal server: If winbind decides smbd
to be idle it might happen that smbd needs to do a winbind operation (for
example sid2name) as non-root. This then fails to get the privileged
pipe. When later on on the same connection another authentication request
comes in, we try to do the CRAP auth via the non-privileged pipe.

This adds a winbindd_priv_request_response() request that kills the existing
winbind pipe connection if it's not privileged.

Volker
source/auth/auth_winbind.c
source/nsswitch/pam_winbind.c
source/nsswitch/wb_common.c
source/nsswitch/winbind_client.h
source/nsswitch/winbind_nss_irix.c