Forgot to commit this in the patch changing back the create_user API.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 28 Sep 2002 14:41:12 +0000 (14:41 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 28 Sep 2002 14:41:12 +0000 (14:41 +0000)
(This used to be commit cf249f5b222312bb05fb8ab53413d160149f7477)

source3/include/sam.h

index 8fbda7e8578a3435be4edadd7e2a352ee3cc2054..4cf46bfa757e75fc150b56cc62c5a8b879d3d9a8 100644 (file)
@@ -183,7 +183,7 @@ typedef struct sam_context
 
        /* Account API */
 
-       NTSTATUS (*sam_create_account) (const struct sam_context *context, const NT_USER_TOKEN *access_token, uint32 access_desired, TALLOC_CTX *mem_ctx, const DOM_SID *domainsid, const char *account_name, uint16 acct_ctrl, SAM_ACCOUNT_HANDLE **account);
+       NTSTATUS (*sam_create_account) (const struct sam_context *context, const NT_USER_TOKEN *access_token, uint32 access_desired, const DOM_SID *domainsid, const char *account_name, uint16 acct_ctrl, SAM_ACCOUNT_HANDLE **account);
        NTSTATUS (*sam_add_account) (const struct sam_context *, const DOM_SID *domainsid, const SAM_ACCOUNT_HANDLE *account);
        NTSTATUS (*sam_update_account) (const struct sam_context *, const SAM_ACCOUNT_HANDLE *account);
        NTSTATUS (*sam_delete_account) (const struct sam_context *, const SAM_ACCOUNT_HANDLE *account);
@@ -235,7 +235,7 @@ typedef struct sam_methods
 
        /* Account API */
 
-       NTSTATUS (*sam_create_account) (const struct sam_methods *, const NT_USER_TOKEN *access_token, uint32 access_desired, TALLOC_CTX *mem_ctx, const char *account_name, uint16 acct_ctrl, SAM_ACCOUNT_HANDLE **account);
+       NTSTATUS (*sam_create_account) (const struct sam_methods *, const NT_USER_TOKEN *access_token, uint32 access_desired, const char *account_name, uint16 acct_ctrl, SAM_ACCOUNT_HANDLE **account);
        NTSTATUS (*sam_add_account) (const struct sam_methods *, const SAM_ACCOUNT_HANDLE *account);
        NTSTATUS (*sam_update_account) (const struct sam_methods *, const SAM_ACCOUNT_HANDLE *account);
        NTSTATUS (*sam_delete_account) (const struct sam_methods *, const SAM_ACCOUNT_HANDLE *account);