search for: nt_passwd

Displaying 2 results from an estimated 2 matches for "nt_passwd".

Did you mean: db_passwd
2008 Oct 22
1
BUG: Bad passwords from Vampire / NT migration
...sam_pwd_hash(r->rid, r->ntpassword.hash, lm_passwd, 0); 210 pdb_set_lanman_passwd(account, lm_passwd, PDB_CHANGED); 211 } 212 213 if (memcmp(r->lmpassword.hash, zero_buf, 16) != 0) { 214 sam_pwd_hash(r->rid, r->lmpassword.hash, nt_passwd, 0); 215 pdb_set_nt_passwd(account, nt_passwd, PDB_CHANGED); If you look closely you'll see that the nt hash is going into the lm_passwd variable and the decrypted value is being set in the lanman hash, and the lanman hash is being decrypted and put into the nt hash field. So...
2013 Mar 26
1
Samba 4 LDAP NTLM password nightly injection
...'passdb' object referenced from? Once that's done, from what I understand, I should be able to change the passwords directly: ####################################################### # Change foo-user password admin_userdata = s4_passdb.getsampwnam("foo-user") admin_userdata.nt_passwd = "878D8014606CDA29677A44EFA1353FC7" admin_userdata.lanman_passwd = "552902031BEDE9EFAAD3B435B51404EE" s4_passdb.update_sam_account(admin_userdata) ####################################################### Is that right? Cheers. -- Luc Lalonde, analyste -----------------------...