diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-10 18:41:55 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:49:17 +0100 |
commit | f055893ca571fbeac3675c02344c7cc53106bea1 (patch) | |
tree | 1dfa4dc151018102d18a219b9a6e20c1c78ae913 /source4/auth/credentials | |
parent | 274d07ddff5c5920b9a2f3674e9104d8aab9e90c (diff) | |
download | samba-f055893ca571fbeac3675c02344c7cc53106bea1.tar.gz samba-f055893ca571fbeac3675c02344c7cc53106bea1.tar.bz2 samba-f055893ca571fbeac3675c02344c7cc53106bea1.zip |
r26382: Remove more uses of global_loadparm.
(This used to be commit 6d4c59853481855c232e7cf97264a391f40af2b5)
Diffstat (limited to 'source4/auth/credentials')
-rw-r--r-- | source4/auth/credentials/credentials.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/credentials/credentials.c b/source4/auth/credentials/credentials.c index f4530f4b3c..089af8f0f5 100644 --- a/source4/auth/credentials/credentials.c +++ b/source4/auth/credentials/credentials.c @@ -82,7 +82,6 @@ struct cli_credentials *cli_credentials_init_anon(TALLOC_CTX *mem_ctx) struct cli_credentials *anon_credentials; anon_credentials = cli_credentials_init(mem_ctx); - cli_credentials_set_conf(anon_credentials, global_loadparm); cli_credentials_set_anonymous(anon_credentials); return anon_credentials; @@ -720,6 +719,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); + cli_credentials_set_realm(cred, NULL, CRED_SPECIFIED); } /** |