diff options
author | Jim McDonough <jmcd@samba.org> | 2005-10-11 20:14:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:04:56 -0500 |
commit | 254938c636b6062630d54a598b2975d7a984f70d (patch) | |
tree | f8008c90b1719919308016dd9723e296a41bfac0 /source3/include | |
parent | a5b2ec0ba0b13095d5b129ff2f4d3d6e1fea951a (diff) | |
download | samba-254938c636b6062630d54a598b2975d7a984f70d.tar.gz samba-254938c636b6062630d54a598b2975d7a984f70d.tar.bz2 samba-254938c636b6062630d54a598b2975d7a984f70d.zip |
r10911: part of #2861: add rename support for usrmgr.exe when using tdbsam
This gets it working before replacing tdb with the samba4 version.
(This used to be commit 8210b0503a050e12ee1b4335fa6e50d10ad06577)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/passdb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h index e985ab582d..4964ff3759 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -269,7 +269,7 @@ struct pdb_search { * this SAMBA will load. Increment this if *ANY* changes are made to the interface. */ -#define PASSDB_INTERFACE_VERSION 9 +#define PASSDB_INTERFACE_VERSION 10 typedef struct pdb_context { @@ -294,6 +294,8 @@ typedef struct pdb_context NTSTATUS (*pdb_update_sam_account)(struct pdb_context *, SAM_ACCOUNT *sampass); NTSTATUS (*pdb_delete_sam_account)(struct pdb_context *, SAM_ACCOUNT *username); + + NTSTATUS (*pdb_rename_sam_account)(struct pdb_context *, SAM_ACCOUNT *oldname, const char *newname); NTSTATUS (*pdb_update_login_attempts)(struct pdb_context *context, SAM_ACCOUNT *sam_acct, BOOL success); @@ -422,6 +424,8 @@ typedef struct pdb_methods NTSTATUS (*delete_sam_account)(struct pdb_methods *, SAM_ACCOUNT *username); + NTSTATUS (*rename_sam_account)(struct pdb_methods *, SAM_ACCOUNT *oldname, const char *newname); + NTSTATUS (*update_login_attempts)(struct pdb_methods *methods, SAM_ACCOUNT *sam_acct, BOOL success); NTSTATUS (*getgrsid)(struct pdb_methods *methods, GROUP_MAP *map, DOM_SID sid); |