summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-01-28 19:07:40 +0100
committerVolker Lendecke <vlendec@samba.org>2011-01-28 23:38:16 +0100
commitc52c75338f91b9a4813b695110a621e5b7c21488 (patch)
tree915f0c5d99ec5dfe1930ddfcc910bb5a868cb1ec /source3/winbindd
parente099c91ef9ebdde09fb372d4a48a299f51cd919c (diff)
downloadsamba-c52c75338f91b9a4813b695110a621e5b7c21488.tar.gz
samba-c52c75338f91b9a4813b695110a621e5b7c21488.tar.bz2
samba-c52c75338f91b9a4813b695110a621e5b7c21488.zip
s3: inline get_uid_from_state
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 28 23:38:16 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_pam.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 004f3d47a3..57a453efe2 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -515,11 +515,6 @@ uid_t get_uid_from_request(struct winbindd_request *request)
return uid;
}
-static uid_t get_uid_from_state(struct winbindd_cli_state *state)
-{
- return get_uid_from_request(state->request);
-}
-
/**********************************************************************
Authenticate a user with a clear text password using Kerberos and fill up
ccache if required
@@ -923,7 +918,7 @@ static NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain,
const char *service = NULL;
const char *user_ccache_file;
- uid = get_uid_from_state(state);
+ uid = get_uid_from_request(state->request);
if (uid == -1) {
DEBUG(0,("winbindd_dual_pam_auth_cached: invalid uid\n"));
return NT_STATUS_INVALID_PARAMETER;