summaryrefslogtreecommitdiff
path: root/source3/auth/auth_winbind.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-03-22 21:41:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:50 -0500
commit5b105eaf7c3ce4ad174f0c389ed9b0c60dec66ca (patch)
treeeee6d058e0edf869c567d3eeb1d01dbde77cddeb /source3/auth/auth_winbind.c
parentd506caf2b586e8fe06d38d17658f12400e3cccc5 (diff)
downloadsamba-5b105eaf7c3ce4ad174f0c389ed9b0c60dec66ca.tar.gz
samba-5b105eaf7c3ce4ad174f0c389ed9b0c60dec66ca.tar.bz2
samba-5b105eaf7c3ce4ad174f0c389ed9b0c60dec66ca.zip
r21940: Sorry Volker, I have to revert your revert in r21935.
We can talk about this later if you still feel that strongly but I need to fix the build for now. (This used to be commit c7df0cad8257333c6a8dfd98818269a783ba7a26)
Diffstat (limited to 'source3/auth/auth_winbind.c')
-rw-r--r--source3/auth/auth_winbind.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index fa56757950..f06f83f406 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -108,7 +108,8 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
/* we are contacting the privileged pipe */
become_root();
- result = winbindd_request_response(WINBINDD_PAM_AUTH_CRAP, &request, &response);
+ result = winbindd_priv_request_response(WINBINDD_PAM_AUTH_CRAP,
+ &request, &response);
unbecome_root();
if ( result == NSS_STATUS_UNAVAIL ) {