[SCM] Samba Shared Repository - branch v3-6-test updated

Volker Lendecke vlendec at samba.org
Thu Apr 14 08:31:55 MDT 2011


The branch, v3-6-test has been updated
       via  f8607bd s3: Fix Coverity ID 2471: UNINIT
      from  dc85e87 s3: Fix smbd with the async echo responder

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit f8607bdd1ec8b77c7ff749ac886480ac5659c0fb
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Apr 12 10:48:03 2011 +0200

    s3: Fix Coverity ID 2471: UNINIT
    
    Signed-off-by: Günther Deschner <gd at samba.org>
    
    Autobuild-User: Günther Deschner <gd at samba.org>
    Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104
    (cherry picked from commit d9c1d1f709ba49e57762456e529e283825a4fd7a)

-----------------------------------------------------------------------

Summary of changes:
 source3/passdb/pdb_ipa.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c
index 6faadec..5f89be7 100644
--- a/source3/passdb/pdb_ipa.c
+++ b/source3/passdb/pdb_ipa.c
@@ -1006,7 +1006,6 @@ static NTSTATUS ipasam_add_ipa_group_objectclasses(struct ldapsam_privates *ldap
 						   uint32_t has_objectclass)
 {
 	LDAPMod **mods = NULL;
-	NTSTATUS status;
 	int ret;
 
 	if (!(has_objectclass & HAS_GROUPOFNAMES)) {
@@ -1050,7 +1049,7 @@ static NTSTATUS ipasam_add_ipa_group_objectclasses(struct ldapsam_privates *ldap
 	if (ret != LDAP_SUCCESS) {
 		DEBUG(1, ("failed to modify/add group %s (dn = %s)\n",
 			  name, dn));
-		return status;
+		return NT_STATUS_LDAP(ret);
 	}
 
 	return NT_STATUS_OK;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list