diff options
author | Luke Leighton <lkcl@samba.org> | 1999-03-25 20:56:28 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-03-25 20:56:28 +0000 |
commit | 3b07eff9eaa0bd3255dbbcdeb0fbd95e1a064e97 (patch) | |
tree | f662c843aa0e5381cb4bb77c41f1f3ddd9889a57 /source3/include | |
parent | 1db113b0a2a81a0f37c55aa49517dc64f0578474 (diff) | |
download | samba-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/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 96385144a6..caf53667c8 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -753,7 +753,7 @@ void SamOEMhash( unsigned char *data, unsigned char *key, int val); void SMBencrypt(uchar *passwd, uchar *c8, uchar *p24); void E_md4hash(uchar *passwd, uchar *p16); -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]); void SMBOWFencrypt(uchar passwd[16], uchar *c8, uchar p24[24]); void NTLMSSPOWFencrypt(uchar passwd[8], uchar *ntlmchalresp, uchar p24[24]); void SMBNTencrypt(uchar *passwd, uchar *c8, uchar *p24); @@ -1516,6 +1516,7 @@ struct sam_passwd *getsam21pwntnam(const char *name); struct sam_passwd *getsam21pwrid(uint32 rid); void pwdb_init_sam(struct sam_passwd *user); struct sam_disp_info *pwdb_sam_to_dispinfo(struct sam_passwd *user); +void copy_sam_passwd(struct sam_passwd *to, const struct sam_passwd *from); struct smb_passwd *pwdb_sam_to_smb(struct sam_passwd *user); struct sam_passwd *pwdb_smb_to_sam(struct smb_passwd *user); struct sam_passwd *pwdb_sam_map_names(struct sam_passwd *sam); |