Displaying 2 results from an estimated 2 matches for "hourslen".
Did you mean:
hours_len
2002 Nov 07
1
smbpasswd (adding machines?) with pdb_mysql doesn't work
...user,
password: sambapass, database: samba, port: 3306
Error while executing MySQL query: You have an error in your SQL syntax
near
';,passcantime;,passmusttime;,username,domain;,ntusername;,fullname;,hom
edir;,dir' at line 1
INSERT INTO users
(acct_ctrl,passmusttime;,passmusttime;,hourslen;,logondivs;,uid;,gid,use
rsid;,groupsid;,username,domain;,fullname;,lanmanpass;,ntpass;) VALUES
(128,1038503414,1036689014,21,168,1001,102,'S-1-5-21-185972153-
986818063-2128889050-3002','S-1-5-21-185972153-986818063-2128889050-
1205','bbmachine$','BBNETWORK',...
2003 Sep 23
0
[PATCH] tdb multiple format
...oup_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_time,
- &...