summaryrefslogtreecommitdiff
path: root/source3/libsmb/smbencrypt.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-25 20:56:28 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-25 20:56:28 +0000
commit3b07eff9eaa0bd3255dbbcdeb0fbd95e1a064e97 (patch)
treef662c843aa0e5381cb4bb77c41f1f3ddd9889a57 /source3/libsmb/smbencrypt.c
parent1db113b0a2a81a0f37c55aa49517dc64f0578474 (diff)
downloadsamba-3b07eff9eaa0bd3255dbbcdeb0fbd95e1a064e97.tar.gz
samba-3b07eff9eaa0bd3255dbbcdeb0fbd95e1a064e97.tar.bz2
samba-3b07eff9eaa0bd3255dbbcdeb0fbd95e1a064e97.zip
fixed issues with "Welcome to SAMBA Domain" for when admin user/pass is
used to add workstation to domain. unix account db not modified: only SAM password db is used. (This used to be commit 129a9a4d4b74897ed753a697a3aed9b194c25568)
Diffstat (limited to 'source3/libsmb/smbencrypt.c')
-rw-r--r--source3/libsmb/smbencrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smbencrypt.c b/source3/libsmb/smbencrypt.c
index 24945bc142..f0bfbd9b84 100644
--- a/source3/libsmb/smbencrypt.c
+++ b/source3/libsmb/smbencrypt.c
@@ -106,7 +106,7 @@ void E_md4hash(uchar *passwd, uchar *p16)
}
/* Does both the NT and LM owfs of a user's password */
-void nt_lm_owf_gen(char *pwd, uchar nt_p16[16], uchar p16[16])
+void nt_lm_owf_gen(const char *pwd, uchar nt_p16[16], uchar p16[16])
{
char passwd[130];