Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104
uint32_t has_objectclass)
{
LDAPMod **mods = NULL;
- NTSTATUS status;
int ret;
if (!(has_objectclass & HAS_GROUPOFNAMES)) {
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;