summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-08 11:07:11 +0200
committerGünther Deschner <gd@samba.org>2011-04-11 17:14:35 +0200
commit5cd6d93fa1f24b64b449455da40d5c83a18a8cff (patch)
tree11ed2facc497514ab251fa6fc68fead5bf97cfb7 /source3/passdb
parentd2d1d173237906f77b68b3d04add007e92fe2d34 (diff)
downloadsamba-5cd6d93fa1f24b64b449455da40d5c83a18a8cff.tar.gz
samba-5cd6d93fa1f24b64b449455da40d5c83a18a8cff.tar.bz2
samba-5cd6d93fa1f24b64b449455da40d5c83a18a8cff.zip
s3: Fix Coverity ID 2472, UNINIT
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Apr 11 17:14:35 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ipa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c
index 7de46eaaa3..da8e9f06bd 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);
}
}