diff options
author | Sumit Bose <sbose@redhat.com> | 2012-02-11 17:52:07 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-02-13 13:09:10 +0100 |
commit | 0f22e35028884187d04343055b6c7d3aa7b2ece8 (patch) | |
tree | 65a4148a7cf19150bafb2b14bdd87dcf811c11b9 | |
parent | cf155fa366cd11a24c351452d3b9ccde707de07a (diff) | |
download | samba-0f22e35028884187d04343055b6c7d3aa7b2ece8.tar.gz samba-0f22e35028884187d04343055b6c7d3aa7b2ece8.tar.bz2 samba-0f22e35028884187d04343055b6c7d3aa7b2ece8.zip |
s3-auth: On successful user mapping set mapped_to_guest to false.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Mon Feb 13 13:09:10 CET 2012 on sn-devel-104
-rw-r--r-- | source3/auth/user_krb5.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/auth/user_krb5.c b/source3/auth/user_krb5.c index f90ef6c158..0939c70b5a 100644 --- a/source3/auth/user_krb5.c +++ b/source3/auth/user_krb5.c @@ -125,6 +125,7 @@ NTSTATUS get_user_from_kerberos_info(TALLOC_CTX *mem_ctx, if (!fuser) { return NT_STATUS_NO_MEMORY; } + *mapped_to_guest = false; pw = smb_getpwnam(mem_ctx, fuser, &unixuser, true); if (pw) { |