summaryrefslogtreecommitdiffstats
path: root/source3/nmbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-04-12 05:56:16 +0000
committerLuke Leighton <lkcl@samba.org>2000-04-12 05:56:16 +0000
commitf5da7470c3f4d1fc86dee19e85d189595344bad2 (patch)
tree465034b39c5b4f0901e29491a9888df1b8341a27 /source3/nmbd
parentafd40c8cde7da44757b6d2e2b27e010aacda5c9e (diff)
downloadsamba-f5da7470c3f4d1fc86dee19e85d189595344bad2.tar.gz
samba-f5da7470c3f4d1fc86dee19e85d189595344bad2.tar.xz
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/nmbd')
-rw-r--r--source3/nmbd/nmbd_processlogon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c
index 47467f132dc..3c0df6995e9 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;