Lines Matching defs:my_methods
527 static NTSTATUS tdbsam_getsampwnam (struct pdb_methods *my_methods,
581 static NTSTATUS tdbsam_getsampwrid (struct pdb_methods *my_methods,
616 return tdbsam_getsampwnam (my_methods, user, name);
619 static NTSTATUS tdbsam_getsampwsid(struct pdb_methods *my_methods,
627 return tdbsam_getsampwrid(my_methods, user, rid);
664 static NTSTATUS tdbsam_delete_sam_account(struct pdb_methods *my_methods,
817 static bool tdb_update_sam(struct pdb_methods *my_methods, struct samu* newpwd,
852 if (!NT_STATUS_IS_OK(tdbsam_getsampwnam(my_methods, account, pdb_get_username(newpwd)))) {
915 static NTSTATUS tdbsam_update_sam_account (struct pdb_methods *my_methods, struct samu *newpwd)
917 if ( !tdb_update_sam(my_methods, newpwd, TDB_MODIFY) )
927 static NTSTATUS tdbsam_add_sam_account (struct pdb_methods *my_methods, struct samu *newpwd)
929 if ( !tdb_update_sam(my_methods, newpwd, TDB_INSERT) )
944 static NTSTATUS tdbsam_rename_sam_account(struct pdb_methods *my_methods,