svn commit: samba r21818 - in branches/SAMBA_3_0/source/passdb: .

vlendec at samba.org vlendec at samba.org
Tue Mar 13 12:45:21 GMT 2007


Author: vlendec
Date: 2007-03-13 12:45:20 +0000 (Tue, 13 Mar 2007)
New Revision: 21818

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

Log:
Remove some unused code
Modified:
   branches/SAMBA_3_0/source/passdb/secrets.c


Changeset:
Modified: branches/SAMBA_3_0/source/passdb/secrets.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/secrets.c	2007-03-13 11:10:48 UTC (rev 21817)
+++ branches/SAMBA_3_0/source/passdb/secrets.c	2007-03-13 12:45:20 UTC (rev 21818)
@@ -500,20 +500,6 @@
 	return True;
 }
 
-/************************************************************************
- Routine to set the trust account password for a domain.
-************************************************************************/
-
-BOOL secrets_store_trust_account_password(const char *domain, uint8 new_pwd[16])
-{
-	struct machine_acct_pass pass;
-
-	pass.mod_time = time(NULL);
-	memcpy(pass.hash, new_pwd, 16);
-
-	return secrets_store(trust_keystr(domain), (void *)&pass, sizeof(pass));
-}
-
 /**
  * Routine to store the password for trusted domain
  *
@@ -656,15 +642,6 @@
 }
 
 /************************************************************************
- Routine to delete the machine trust account password file for a domain.
-************************************************************************/
-
-BOOL trust_password_delete(const char *domain)
-{
-	return secrets_delete(trust_keystr(domain));
-}
-
-/************************************************************************
  Routine to delete the password for trusted domain
 ************************************************************************/
 



More information about the samba-cvs mailing list