summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/credentials.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/credentials.c b/source4/lib/credentials.c
index 92f389e228..211cb9ce07 100644
--- a/source4/lib/credentials.c
+++ b/source4/lib/credentials.c
@@ -316,6 +316,7 @@ void cli_credentials_set_anonymous(struct cli_credentials *cred)
{
cli_credentials_set_username(cred, "", CRED_SPECIFIED);
cli_credentials_set_domain(cred, "", CRED_SPECIFIED);
+ cli_credentials_set_password(cred, NULL, CRED_SPECIFIED);
}
BOOL cli_credentials_is_anonymous(struct cli_credentials *credentials)