auth/credentials: if credentials have principal set, they are not anonymous anymore
commit44fddac658ae06005cd15f507bfac63593a6bea7
authorAlexander Bokovoy <ab@samba.org>
Thu, 7 May 2015 14:12:03 +0000 (7 14:12 +0000)
committerKarolin Seeger <kseeger@samba.org>
Thu, 16 Jul 2015 12:11:51 +0000 (16 14:11 +0200)
tree0a3149a96683154f9abfb30815736cd596c80f1f
parentc0fb5fce16fbd19366a9c06b67c3bff534a400b2
auth/credentials: if credentials have principal set, they are not anonymous anymore

When dealing with Kerberos, we cannot consider credentials anonymous
if credentials were obtained properly.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11265

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Stefan (metze) Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Wed Jul 15 16:32:55 CEST 2015 on sn-devel-104

(cherry picked from commit a0d2dd0e01618346b4ad8ea9da3f7ce4eb0364b0)

Autobuild-User(v4-2-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-2-test): Thu Jul 16 14:11:52 CEST 2015 on sn-devel-104
auth/credentials/credentials.c