diff options
author | Andreas Schneider <asn@samba.org> | 2013-07-01 13:02:48 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-07-02 23:26:24 +0200 |
commit | caf3af33deeea9bee61a741fcc991285006cc6f5 (patch) | |
tree | 428c4efa5995232ce952af757ce581aa5364cf83 | |
parent | a4af4fa9db768dce2e009ba132cf88525a9b8314 (diff) | |
download | samba-caf3af33deeea9bee61a741fcc991285006cc6f5.tar.gz samba-caf3af33deeea9bee61a741fcc991285006cc6f5.tar.bz2 samba-caf3af33deeea9bee61a741fcc991285006cc6f5.zip |
s3-winbind: Allow sec_initial_uid() to store creds.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jul 2 23:26:24 CEST 2013 on sn-devel-104
-rw-r--r-- | source3/winbindd/winbindd_ccache_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_ccache_access.c b/source3/winbindd/winbindd_ccache_access.c index 5557b959f0..7787b3e007 100644 --- a/source3/winbindd/winbindd_ccache_access.c +++ b/source3/winbindd/winbindd_ccache_access.c @@ -168,7 +168,7 @@ static bool check_client_uid(struct winbindd_cli_state *state, uid_t uid) return False; } - if (uid != ret_uid) { + if (uid != ret_uid && ret_uid != sec_initial_uid()) { DEBUG(1, ("check_client_uid: Client lied about its uid: said %u, " "actually was %u; denying access\n", (unsigned int)uid, (unsigned int)ret_uid)); |