diff options
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_interface.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index a3b2706c35..d65b1b3463 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -1023,16 +1023,15 @@ BOOL pdb_find_alias(const char *name, DOM_SID *sid) name, sid)); } -BOOL pdb_create_alias(const char *name, uint32 *rid) +NTSTATUS pdb_create_alias(const char *name, uint32 *rid) { struct pdb_context *pdb_context = pdb_get_static_context(False); if (!pdb_context) { - return False; + return NT_STATUS_NOT_IMPLEMENTED; } - return NT_STATUS_IS_OK(pdb_context->pdb_create_alias(pdb_context, - name, rid)); + return pdb_context->pdb_create_alias(pdb_context, name, rid); } BOOL pdb_delete_alias(const DOM_SID *sid) |