Displaying 1 result from an estimated 1 matches for "pdb_set_lanman_password".
Did you mean:
pdb_set_lanman_passwd
2004 Apr 19
1
Samba + pdb_mysql - password hashes disappearing?
...Got LANMAN password <string
of 8 binary characters that are my LANMAN hash, as pulled from the
database, followed 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 ve...