From 5a64930c2fee729e13f61ae0cef1a4f88a49e5c2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 8 Apr 2011 11:07:11 +0200 Subject: [PATCH] s3: Fix Coverity ID 2472, UNINIT MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner Autobuild-User: Günther Deschner Autobuild-Date: Mon Apr 11 17:14:35 CEST 2011 on sn-devel-104 (cherry picked from commit 5cd6d93fa1f24b64b449455da40d5c83a18a8cff) --- source3/passdb/pdb_ipa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c index 7de46eaaa34..da8e9f06bd7 100644 --- a/source3/passdb/pdb_ipa.c +++ b/source3/passdb/pdb_ipa.c @@ -1063,7 +1063,6 @@ static NTSTATUS ipasam_add_ipa_objectclasses(struct ldapsam_privates *ldap_state uint32_t has_objectclass) { LDAPMod **mods = NULL; - NTSTATUS status; int ret; char *princ; @@ -1127,7 +1126,7 @@ static NTSTATUS ipasam_add_ipa_objectclasses(struct ldapsam_privates *ldap_state if (ret != LDAP_SUCCESS) { DEBUG(1, ("failed to modify/add user with uid = %s (dn = %s)\n", name, dn)); - return status; + return NT_STATUS_LDAP(ret); } } -- 2.11.4.GIT