Merge of secchan fix from 3.0 that was eaten by CVS yesterday. I think
authorTim Potter <tpot@samba.org>
Tue, 27 May 2003 00:30:29 +0000 (00:30 +0000)
committerTim Potter <tpot@samba.org>
Tue, 27 May 2003 00:30:29 +0000 (00:30 +0000)
it was becuase I ran out of disk quota.

source/rpc_parse/parse_net.c

index 259ca7fdc1387c0b68502495ac4ef8bef103d0bc..1a14915c9f5087314a548196389dfe4cc907406a 100644 (file)
@@ -2129,7 +2129,7 @@ static BOOL net_io_sam_account_info(const char *desc, uint8 sess_key[16],
                if (!prs_uint32("pwd_len", ps, depth, &len))
                         return False;
                old_offset = prs_offset(ps);
-               if (len == 0x44)
+               if (len > 0)
                {
                        if (ps->io)
                        {