Displaying 2 results from an estimated 2 matches for "pdb_set".
2003 Sep 23
0
[PATCH] tdb multiple format
...a error has occured, try the next format */
+ if (len == -1) {
+ format_version--;
+ DEBUG(20, ("init_sam_from_buffer: cannot use the tdb format version %d for the record\n",format_version));
+ }
+ }
+
+
if (len == -1) {
ret = False;
goto done;
@@ -1427,6 +1465,9 @@
pdb_set_logon_divs(sampass, logon_divs, PDB_SET);
pdb_set_hours(sampass, hours, PDB_SET);
+ pdb_set_lockout_time(sampass, lockout_time, PDB_SET);
+ pdb_set_bad_pwd_count(sampass, bad_pwd_count, PDB_SET);
+
done:
SAFE_FREE(username);
@@ -1460,11 +1501,12 @@
uint32 logon_time,
logoff_time,
k...
2004 Apr 19
1
Samba + pdb_mysql - password hashes disappearing?
...pplied for user
grayaw
Finding this odd (since the hashes are in the database, and correct), I
added a lot of debugging, specifically in row_to_sam_account in
passdb/pdb_mysql.c at line 105:
if (pdb_gethexpwd(row[20], temp))
{
DEBUG(0, ("Got LANMAN password %s\n", temp));
pdb_set_lanman_passwd(u, temp, PDB_SET);
}
(I have done the same things with the LANMAN and NT hashes throughout -
same results with both, but only listing LANMAN for brevity). This
outputs in the log file the expected line ("Got LANMAN password <string
of 8 binary characters that are my LANMA...