diff options
author | Gerald Carter <jerry@samba.org> | 2002-09-26 18:37:55 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-09-26 18:37:55 +0000 |
commit | d9729d81a993234db850fa733fd4591e1a5ae56e (patch) | |
tree | 84128097753fd2afdc2d212700069edaf16d831c /source3/sam/interface.c | |
parent | d18b17ea31d579388ded36881619deeda6a93fa9 (diff) | |
download | samba-d9729d81a993234db850fa733fd4591e1a5ae56e.tar.gz samba-d9729d81a993234db850fa733fd4591e1a5ae56e.tar.bz2 samba-d9729d81a993234db850fa733fd4591e1a5ae56e.zip |
syncing up with HEAD again....
(This used to be commit e026b84815ad1a5fa981c24fff197fefa73b4928)
Diffstat (limited to 'source3/sam/interface.c')
-rw-r--r-- | source3/sam/interface.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/sam/interface.c b/source3/sam/interface.c index bb7b88b240..0943a0e8f1 100644 --- a/source3/sam/interface.c +++ b/source3/sam/interface.c @@ -317,6 +317,7 @@ NTSTATUS context_sam_lookup_domain(const SAM_CONTEXT *context, const NT_USER_TOK while (tmp_methods) { if (strcmp(domain, tmp_methods->domain_name) == 0) { + (*domainsid) = (DOM_SID *)malloc(sizeof(DOM_SID)); sid_copy((*domainsid), &tmp_methods->domain_sid); return NT_STATUS_OK; } @@ -904,7 +905,7 @@ void free_sam_context(SAM_CONTEXT **context) } /****************************************************************** - Make a sam_methods from scratch + Make a backend_entry from scratch *******************************************************************/ static NTSTATUS make_backend_entry(SAM_BACKEND_ENTRY *backend_entry, char *sam_backend_string) @@ -1175,8 +1176,6 @@ NTSTATUS make_sam_context(SAM_CONTEXT **context) (*context)->mem_ctx = mem_ctx; - /* FIXME */ - (*context)->free_fn = free_sam_context; return NT_STATUS_OK; |