diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-12-05 01:36:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:02 -0500 |
commit | f8a44902f49605f1089284c0e7208ac934a04907 (patch) | |
tree | 2dd249d2217fd4de352c96f2621359a7c6da3663 /source4/auth | |
parent | da574945caea27fea468ed41eb42311480253a58 (diff) | |
download | samba-f8a44902f49605f1089284c0e7208ac934a04907.tar.gz samba-f8a44902f49605f1089284c0e7208ac934a04907.tar.bz2 samba-f8a44902f49605f1089284c0e7208ac934a04907.zip |
r12058: Set an anonymous fallback, if the machine account isn't available.
Andrew Bartlett
(This used to be commit 55cb72f5cfe9a2c520c30e11ab34896588e91730)
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/auth_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c index dbedde9190..5a5e779bf1 100644 --- a/source4/auth/auth_util.c +++ b/source4/auth/auth_util.c @@ -604,6 +604,8 @@ NTSTATUS auth_system_session_info(TALLOC_CTX *parent_ctx, } cli_credentials_set_conf(session_info->credentials); + /* set anonymous as the fallback, if the machine account won't work */ + cli_credentials_set_anonymous(session_info->credentials); cli_credentials_set_machine_account_pending(session_info->credentials); *_session_info = session_info; |