summaryrefslogtreecommitdiff
path: root/source/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-01-26 18:14:52 +0000
committerLuke Leighton <lkcl@samba.org>2000-01-26 18:14:52 +0000
commit1ad129b034cf44533c603a13d488340c0d3f5803 (patch)
tree9feddaedfe8019c1f426d1ec0799fae619713a5c /source/smbd
parent0442b3975c3e91fbe99f50645ab7ec0781c184d5 (diff)
downloadsamba-1ad129b034cf44533c603a13d488340c0d3f5803.tar.gz
- new lookup_sam_names had a useless parameter, removed.
- Used it in rpcclient's "lookupnames" - Added lookup_sam_domainname(), which looks up the SID for a domain in SAM. - Used it to add "[-d <domain>]" to samlookupnames Elrond
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/chgpasswd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index 59b64f57e91..a07723f937c 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/smbd/chgpasswd.c
@@ -587,8 +587,8 @@ static BOOL check_oem_password(const char *user,
uchar unenc_old_pw[16];
char no_pw[2];
uint32 len;
- uchar lmdata[512];
- uchar ntdata[512];
+ uchar lmdata[516];
+ uchar ntdata[516];
BOOL nt_pass_set = (_ntdata != NULL && nthash != NULL);