summaryrefslogtreecommitdiff
path: root/source3/lib/genrand.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-23 18:54:57 +0000
committerJeremy Allison <jra@samba.org>1998-04-23 18:54:57 +0000
commita85f5bc268a1c13334b86ac3a44a026359c09371 (patch)
tree3b7e688003d1037600a9f12b1947fcb5e42645d3 /source3/lib/genrand.c
parentda4e61efad7c7c18595bec32dbb21a2045dadd2e (diff)
downloadsamba-a85f5bc268a1c13334b86ac3a44a026359c09371.tar.gz
samba-a85f5bc268a1c13334b86ac3a44a026359c09371.tar.bz2
samba-a85f5bc268a1c13334b86ac3a44a026359c09371.zip
genrand.c: Changed SMB_PASSWD_FILE to lp_smb_passwd_file().
password.c: Started the initial code for domain_client_validate(). All bracketed with #ifdef DOMAIN_CLIENT for now. reply.c: Call to domain_client_validate(). All bracketed with #ifdef DOMAIN_CLIENT for now. smbpass.c: New code to get/set machine passwords. Tidied up nesting of lock calls. Jeremy. (This used to be commit 89fe059a6816f32d2cc5c4c04c4089b60590e7e6)
Diffstat (limited to 'source3/lib/genrand.c')
-rw-r--r--source3/lib/genrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/genrand.c b/source3/lib/genrand.c
index e20f054504..3eae47486f 100644
--- a/source3/lib/genrand.c
+++ b/source3/lib/genrand.c
@@ -143,7 +143,7 @@ static uint32 do_reseed(unsigned char *md4_outbuf)
/* possibly add in some secret file contents */
do_filehash("/etc/shadow", &md4_inbuf[0]);
- do_filehash(SMB_PASSWD_FILE, &md4_inbuf[16]);
+ do_filehash(lp_smb_passwd_file(), &md4_inbuf[16]);
/* add in the root encrypted password. On any system where security is taken
seriously this will be secret */