]> git.ipfire.org Git - thirdparty/samba.git/commit
auth:creds: Allow to reset the principal by passing NULL to set_principal
authorAndreas Schneider <asn@samba.org>
Wed, 6 Aug 2025 12:42:51 +0000 (14:42 +0200)
committerJule Anger <janger@samba.org>
Thu, 28 Aug 2025 09:38:21 +0000 (09:38 +0000)
commit8f98180ed716e94332bb856a9da418905abc949b
tree97d1f27cd48df5852b035a325111d9eecae55616
parente6158a6bf6d7ad40045d2107a5ea509f0b375278
auth:creds: Allow to reset the principal by passing NULL to set_principal

We do that e.g. in cli_credentials_set_anonymous()

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit 67c2feba290764c62ab01602d5bc9d4d122c2c12)
auth/credentials/credentials.c