summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-04-10 16:09:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:11 -0500
commit69a91df4ed4fc8a8d2105d098e4572e6c0da5ebb (patch)
treea7dbb118c84f655044b66921a4870d7af48a62e1 /source3/passdb
parentd29e174608c12b31fa38a082a42d99b8365436c2 (diff)
downloadsamba-69a91df4ed4fc8a8d2105d098e4572e6c0da5ebb.tar.gz
samba-69a91df4ed4fc8a8d2105d098e4572e6c0da5ebb.tar.bz2
samba-69a91df4ed4fc8a8d2105d098e4572e6c0da5ebb.zip
r145: pdb_create_alias now returns NTSTATUS. More of this to follow.
Volker (This used to be commit 6e18bed17093e0b1792f68817096e64e0e841f26)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_interface.c7
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)