Displaying 1 result from an estimated 1 matches for "lm_hash_len".
2004 Apr 19
1
Samba + pdb_mysql - password hashes disappearing?
...owed by leftovers from the SELECT statement which
shouldn't be an issue since the copies are byte-number-restricted later
on)).
I then added a couple lines into passdb/pdb_get_set.c,
pdb_set_lanman_password, line 958:
if (pwd) {
sampass->private.lm_pw = data_blob(pwd, LM_HASH_LEN);
DEBUG(0, ("Setting LANMAN password %s in %08x\n", pwd,
sampass));
DEBUG(0, ("Trying to get it back: %08x\n",
pdb_get_lanman_passwd(sampass)));
This is to the verify it is setting the password, and able to retrieve
it. I get the correct lines in the logfile (&...