From 5d7b1363f0c31acc7f385f69e7dec028b192e4bd Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 11 Apr 2014 18:20:56 +0200 Subject: [PATCH] autorid: explicitly return NTSTATUS_OK in idmap_autorid_sid_to_id_alloc(). Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/winbindd/idmap_autorid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c index 8cdc37e20fb..0bdc96dd477 100644 --- a/source3/winbindd/idmap_autorid.c +++ b/source3/winbindd/idmap_autorid.c @@ -394,7 +394,7 @@ static NTSTATUS idmap_autorid_sid_to_id_alloc(struct idmap_domain *dom, res = dbwrap_transaction_commit(ctx->db); if (res == 0) { map->status = ID_MAPPED; - return ret; + return NT_STATUS_OK; } DEBUG(2, ("transaction_commit failed\n"));