mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
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
This commit is contained in:
parent
d2d1d17323
commit
5cd6d93fa1
@ -1063,7 +1063,6 @@ static NTSTATUS ipasam_add_ipa_objectclasses(struct ldapsam_privates *ldap_state
|
|||||||
uint32_t has_objectclass)
|
uint32_t has_objectclass)
|
||||||
{
|
{
|
||||||
LDAPMod **mods = NULL;
|
LDAPMod **mods = NULL;
|
||||||
NTSTATUS status;
|
|
||||||
int ret;
|
int ret;
|
||||||
char *princ;
|
char *princ;
|
||||||
|
|
||||||
@ -1127,7 +1126,7 @@ static NTSTATUS ipasam_add_ipa_objectclasses(struct ldapsam_privates *ldap_state
|
|||||||
if (ret != LDAP_SUCCESS) {
|
if (ret != LDAP_SUCCESS) {
|
||||||
DEBUG(1, ("failed to modify/add user with uid = %s (dn = %s)\n",
|
DEBUG(1, ("failed to modify/add user with uid = %s (dn = %s)\n",
|
||||||
name, dn));
|
name, dn));
|
||||||
return status;
|
return NT_STATUS_LDAP(ret);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user