]> 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)
committerAlexander Bokovoy <ab@samba.org>
Mon, 25 Aug 2025 11:03:38 +0000 (11:03 +0000)
commit67c2feba290764c62ab01602d5bc9d4d122c2c12
treedb38ca6fb249c54fb8f5944fd532af38d3cef2d8
parent4f8ff3a567d6318c71b0960345592224721c9594
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>
auth/credentials/credentials.c