diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-30 03:35:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:52 -0500 |
commit | 516d0a97c9ecbbaa63b69c5c2c6a59a08f57a171 (patch) | |
tree | 5f7074ef53f77a7e9fae90a39b03037d22b11c31 /source4/auth | |
parent | b9b59fa7984c4f800c177a235a984e05d59f1ef8 (diff) | |
download | samba-516d0a97c9ecbbaa63b69c5c2c6a59a08f57a171.tar.gz samba-516d0a97c9ecbbaa63b69c5c2c6a59a08f57a171.tar.bz2 samba-516d0a97c9ecbbaa63b69c5c2c6a59a08f57a171.zip |
r11969: got rid of the very annoying 'failed to open /secrets.tdb'
messages. As discussed with Andrew, this will soon be replaced with a
system that marks the credentials to use the machine accout from the
database rather than pre-loading the machine account details here.
The reason we got the annoying messages is this was being called
before smb.conf is loaded, so the code doesn't yet know the location
of the private directory
(This used to be commit 6aeb4bf3fe224a6f81962237bdda329ba828b493)
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/auth_util.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c index 95d1ddb2fc..809db642b3 100644 --- a/source4/auth/auth_util.c +++ b/source4/auth/auth_util.c @@ -604,12 +604,16 @@ NTSTATUS auth_system_session_info(TALLOC_CTX *parent_ctx, } cli_credentials_set_conf(session_info->credentials); +#if 0 + /* disabled for the moment. abartlet has plans to change this + to set a flag saying 'get machine account credentials from + here' rather than this system. */ if (!NT_STATUS_IS_OK(cli_credentials_set_machine_account(session_info->credentials))) { /* perhaps no credentials, we might not be joined to a domain */ talloc_free(session_info->credentials); session_info->credentials = NULL; } - +#endif *_session_info = session_info; return NT_STATUS_OK; |