diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-09-28 14:26:19 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-09-28 14:26:19 +0000 |
commit | 120e3854177a3e57308cb88a20611a97f60c6d44 (patch) | |
tree | b4b75a6b65651685a62424d085882842e6830fb0 /source3/sam/sam_ads.c | |
parent | ac625a8235bcee8f56d26899c6f0ad7b13deae9a (diff) | |
download | samba-120e3854177a3e57308cb88a20611a97f60c6d44.tar.gz samba-120e3854177a3e57308cb88a20611a97f60c6d44.tar.bz2 samba-120e3854177a3e57308cb88a20611a97f60c6d44.zip |
Back out one of the API changes, now I recall how it was meant to work.
(New accounts are created on thier internal talloc context, not a supplied one
and not the one beloning to the SAM)
Also actaully add the sam_skel to the tree.
I need to work out with Jelmer an appropriate way to ensure we still have an
example external build, and if this should move back out again.
Andrew Bartlett
(This used to be commit dc8b0d23e088d1e7f7fbc6ab0423eaa82f14e258)
Diffstat (limited to 'source3/sam/sam_ads.c')
-rwxr-xr-x | source3/sam/sam_ads.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/sam/sam_ads.c b/source3/sam/sam_ads.c index 7f2a901d81..cd24baa1bc 100755 --- a/source3/sam/sam_ads.c +++ b/source3/sam/sam_ads.c @@ -569,7 +569,6 @@ static NTSTATUS sam_ads_get_domain_handle(const SAM_METHODS *sam_method, const N /* Account API */ static NTSTATUS sam_ads_create_account(const SAM_METHODS *sam_method, const NT_USER_TOKEN *access_token, uint32 access_desired, - TALLOC_CTX *mem_ctx, const char *account_name, uint16 acct_ctrl, SAM_ACCOUNT_HANDLE **account) { ADS_STATUS ads_status = ADS_STATUS_NOT_IMPLEMENTED; @@ -586,7 +585,7 @@ static NTSTATUS sam_ads_create_account(const SAM_METHODS *sam_method, if (!ADS_ERR_OK(ads_status)) return ads_ntstatus(ads_status); - ads_status = ADS_ERROR_NT(sam_init_account_talloc(mem_ctx, account)); + ads_status = ADS_ERROR_NT(sam_init_account(account)); if (!ADS_ERR_OK(ads_status)) return ads_ntstatus(ads_status); |