Displaying 1 result from an estimated 1 matches for "nt_pw_len".
Did you mean:
lm_pw_len
2003 Sep 23
0
[PATCH] tdb multiple format
...ser_rid, group_rid, unknown_3, hours_len, unknown_5, unknown_6;
+ uint32 user_rid, group_rid, unknown_3, hours_len, unknown_5, unknown_6, bad_pwd_count;
uint16 acct_ctrl, logon_divs;
uint8 *hours;
static uint8 *lm_pw_ptr, *nt_pw_ptr;
- uint32 len = 0;
+ uint32 len = -1;
uint32 lm_pw_len, nt_pw_len, hourslen;
+ short int format_version = TDB_FORMAT_NEWEST_VERSION;
BOOL ret = True;
if(sampass == NULL || buf == NULL) {
@@ -1317,38 +1335,58 @@
return False;
}
- /* unpack the buffer into variables */
- len = tdb_unpack ((char *)buf, buflen, TDB_FORMAT_STRING,
- &logon_...