Displaying 3 results from an estimated 3 matches for "update_sam_account".
2013 Mar 26
1
Samba 4 LDAP NTLM password nightly injection
...#####################################################
# 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
---------------------------------------------------------------------
D?partement de g?nie informatique:
?cole polytechnique de Montr?al
(514) 340-4711 x5049
Luc.Lalonde at po...
2006 Jul 28
1
troubleshooting a custom passdb module
...pdb_method)->endsampwent = pdb_udb_endsampwent;
(*pdb_method)->getsampwent = pdb_udb_getsampwent;
(*pdb_method)->getsampwnam = pdb_udb_getsampwnam;
(*pdb_method)->getsampwsid = pdb_udb_getsampwsid;
(*pdb_method)->add_sam_account = pdb_udb_add_sam_account;
(*pdb_method)->update_sam_account = pdb_udb_update_sam_account;
(*pdb_method)->delete_sam_account = pdb_udb_delete_sam_account;
(*pdb_method)->rid_algorithm = pdb_udb_rid_algorithm;
pdb_udb_rid_algorithm just returns true like pdb_smbpasswd.c and
pdb_udb_getsampwsid returns NT_STATUS_NOT_IMPLEMENTED.
Any tips or ideas...
2006 Jul 12
1
updated samba-3.0.23/examples/pdb/test.c
...ot;testsam_delete_sam_account called\n"));
return NT_STATUS_NOT_IMPLEMENTED;
}
/***************************************************************************
Modifies an existing struct samu
****************************************************************************/
static NTSTATUS testsam_update_sam_account (struct pdb_methods *methods, struct samu *newpwd)
{
DEBUG(10, ("testsam_update_sam_account called\n"));
return NT_STATUS_NOT_IMPLEMENTED;
}
/***************************************************************************
Adds an existing struct samu
**************************************...