diff options
author | Luke Leighton <lkcl@samba.org> | 2000-04-12 05:56:16 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-04-12 05:56:16 +0000 |
commit | f5da7470c3f4d1fc86dee19e85d189595344bad2 (patch) | |
tree | 465034b39c5b4f0901e29491a9888df1b8341a27 /source3 | |
parent | afd40c8cde7da44757b6d2e2b27e010aacda5c9e (diff) | |
download | samba-f5da7470c3f4d1fc86dee19e85d189595344bad2.tar.gz samba-f5da7470c3f4d1fc86dee19e85d189595344bad2.tar.bz2 samba-f5da7470c3f4d1fc86dee19e85d189595344bad2.zip |
logic for domainsidsize is if size is zero, there's no sid, so don't
advance over it and 4-byte align.
this _used_ to be "regardless of domainsidsize, advance by domainsidsize+3"
which is wrong.
(This used to be commit 5086e6425f3630d8f5ca1e25a333eb97fdf86e93)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nmbd/nmbd_processlogon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c index 47467f132d..3c0df6995e 100644 --- a/source3/nmbd/nmbd_processlogon.c +++ b/source3/nmbd/nmbd_processlogon.c @@ -203,7 +203,6 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n", q += 4; /* Account Control Bits - indicating username type */ domainsidsize = IVAL(q, 0); q += 4; - q += domainsidsize + 3; if (domainsidsize != 0) { q += domainsidsize; |