summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-03-22 10:33:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:11 -0500
commite25cff1c110c5b4380caf5f5fb0336c37da78b10 (patch)
treedf2896a596c4678625a41fc0dbc31a57d9873c6b /source4/lib
parent645711c602313940dcf80ec786557920ecfbf884 (diff)
downloadsamba-e25cff1c110c5b4380caf5f5fb0336c37da78b10.tar.gz
samba-e25cff1c110c5b4380caf5f5fb0336c37da78b10.tar.bz2
samba-e25cff1c110c5b4380caf5f5fb0336c37da78b10.zip
r5942: A couple of small changes to fix things up with the new credentials
infrustructure. Andrew Bartlett (This used to be commit d51718ab8a3771ada4e342a384b744edb803db40)
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)