svn commit: samba r11969 - in branches/SAMBA_4_0/source/auth: .

tridge at samba.org tridge at samba.org
Wed Nov 30 03:35:19 GMT 2005


Author: tridge
Date: 2005-11-30 03:35:17 +0000 (Wed, 30 Nov 2005)
New Revision: 11969

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11969

Log:

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

Modified:
   branches/SAMBA_4_0/source/auth/auth_util.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_util.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_util.c	2005-11-30 03:20:25 UTC (rev 11968)
+++ branches/SAMBA_4_0/source/auth/auth_util.c	2005-11-30 03:35:17 UTC (rev 11969)
@@ -604,12 +604,16 @@
 	}
 
 	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;



More information about the samba-cvs mailing list