s3-auth: On successful user mapping set mapped_to_guest to false.
authorSumit Bose <sbose@redhat.com>
Sat, 11 Feb 2012 16:52:07 +0000 (17:52 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 13 Feb 2012 12:09:10 +0000 (13:09 +0100)
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Mon Feb 13 13:09:10 CET 2012 on sn-devel-104

source3/auth/user_krb5.c

index f90ef6c158764cb18272c04ec9feb4c2dc52cebe..0939c70b5a1361b30d33cf0163426e0f4acbe72e 100644 (file)
@@ -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) {