Displaying 1 result from an estimated 1 matches for "admin_userdata".
2013 Mar 26
1
Samba 4 LDAP NTLM password nightly injection
...ld appreciate a hint on how to connect to the database please. Where is the '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...