summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-16 00:07:25 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-16 00:07:25 +0000
commit1bcbc67767e68ae12533c1ea44e2c0a567e4c93c (patch)
tree6f26549c06de7712e4bd19a127ec415fca4e9b4b /source3/passdb
parentc404bb775414139a4b07a73f79cf069a083acb26 (diff)
downloadsamba-1bcbc67767e68ae12533c1ea44e2c0a567e4c93c.tar.gz
samba-1bcbc67767e68ae12533c1ea44e2c0a567e4c93c.tar.bz2
samba-1bcbc67767e68ae12533c1ea44e2c0a567e4c93c.zip
trust password
(This used to be commit fa86770d56fd4a3e280ee4f5685e29dee2a713fb)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/smbpassfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/smbpassfile.c b/source3/passdb/smbpassfile.c
index 13a1a9f508..2456abe50a 100644
--- a/source3/passdb/smbpassfile.c
+++ b/source3/passdb/smbpassfile.c
@@ -321,14 +321,14 @@ account is now invalid. Please recreate. Error was %s.\n", strerror(errno) ));
return True;
}
-BOOL trust_get_passwd( unsigned char trust_passwd[16], char *myname, char *domain)
+BOOL trust_get_passwd( unsigned char trust_passwd[16], char *domain, char *myname)
{
time_t lct;
/*
* Get the machine account password.
*/
- if(!trust_password_lock( myname, domain, False)) {
+ if(!trust_password_lock( domain, myname, False)) {
DEBUG(0,("domain_client_validate: unable to open the machine account password file for \
machine %s in domain %s.\n", myname, domain ));
return False;