diff options
author | Volker Lendecke <vl@samba.org> | 2011-04-08 11:07:11 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-04-11 16:30:19 +0200 |
commit | d2d1d173237906f77b68b3d04add007e92fe2d34 (patch) | |
tree | 9da84756629e9b171bb23cc67c4d404cb36aa2da /source3/passdb | |
parent | 09586950225e880bbd6d9e147c884c5886c4d0a4 (diff) | |
download | samba-d2d1d173237906f77b68b3d04add007e92fe2d34.tar.gz |
s3: Fix Coverity ID 2473, UNINIT
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_ipa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c index f118e6e49e..7de46eaaa3 100644 --- a/source3/passdb/pdb_ipa.c +++ b/source3/passdb/pdb_ipa.c @@ -973,7 +973,6 @@ static NTSTATUS ipasam_add_posix_account_objectclass(struct ldapsam_privates *ld { int ret; LDAPMod **mods = NULL; - NTSTATUS status; smbldap_set_mod(&mods, LDAP_MOD_ADD, "objectclass", "posixAccount"); @@ -995,7 +994,7 @@ static NTSTATUS ipasam_add_posix_account_objectclass(struct ldapsam_privates *ld if (ret != LDAP_SUCCESS) { DEBUG(1, ("failed to modify/add user with uid = %s (dn = %s)\n", username, dn)); - return status; + return NT_STATUS_LDAP(ret); } return NT_STATUS_OK; |