summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-05-16 09:42:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:09 -0500
commit3c5fe9233d1c3679be24dbb462fb38a5c650b68c (patch)
treedfc08d5ae215bd075b7faf0595e5edb7ba568017
parent05ee952d1029f65b03412e2284f58d2d82184732 (diff)
downloadsamba-3c5fe9233d1c3679be24dbb462fb38a5c650b68c.tar.gz
samba-3c5fe9233d1c3679be24dbb462fb38a5c650b68c.tar.bz2
samba-3c5fe9233d1c3679be24dbb462fb38a5c650b68c.zip
r22928: Use better success error code.
Guenther (This used to be commit cdfcbb176ac11e0f6f63ab38bf3c24d25a6c6153)
-rw-r--r--source3/libgpo/gpo_util.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/libgpo/gpo_util.c b/source3/libgpo/gpo_util.c
index 9c74fc6a73..7c29a63ecc 100644
--- a/source3/libgpo/gpo_util.c
+++ b/source3/libgpo/gpo_util.c
@@ -345,7 +345,7 @@ ADS_STATUS process_extension_with_snapin(ADS_STRUCT *ads,
DEBUG(10,("process_extension_with_snapin: no snapin handler for extension %s (%s) found\n",
extension_guid, snapin_guid));
- return ADS_ERROR(LDAP_SUCCESS);
+ return ADS_SUCCESS;
}
ADS_STATUS gpo_process_a_gpo(ADS_STRUCT *ads,
@@ -370,7 +370,7 @@ ADS_STATUS gpo_process_a_gpo(ADS_STRUCT *ads,
} else {
/* nothing to apply */
- return ADS_ERROR(LDAP_SUCCESS);
+ return ADS_SUCCESS;
}
} else {
@@ -384,7 +384,7 @@ ADS_STATUS gpo_process_a_gpo(ADS_STRUCT *ads,
}
} else {
/* nothing to apply */
- return ADS_ERROR(LDAP_SUCCESS);
+ return ADS_SUCCESS;
}
}
@@ -401,7 +401,7 @@ ADS_STATUS gpo_process_a_gpo(ADS_STRUCT *ads,
}
}
- return ADS_ERROR(LDAP_SUCCESS);
+ return ADS_SUCCESS;
}
ADS_STATUS gpo_process_gpo_list(ADS_STRUCT *ads,
@@ -424,7 +424,7 @@ ADS_STATUS gpo_process_gpo_list(ADS_STRUCT *ads,
}
- return ADS_ERROR(LDAP_SUCCESS);
+ return ADS_SUCCESS;
}
ADS_STATUS gpo_snapin_handler_none(ADS_STRUCT *ads,
@@ -434,7 +434,7 @@ ADS_STATUS gpo_snapin_handler_none(ADS_STRUCT *ads,
{
DEBUG(10,("gpo_snapin_handler_none\n"));
- return ADS_ERROR(LDAP_SUCCESS);
+ return ADS_SUCCESS;
}
ADS_STATUS gpo_snapin_handler_security_settings(ADS_STRUCT *ads,
@@ -444,7 +444,7 @@ ADS_STATUS gpo_snapin_handler_security_settings(ADS_STRUCT *ads,
{
DEBUG(10,("gpo_snapin_handler_security_settings\n"));
- return ADS_ERROR(LDAP_SUCCESS);
+ return ADS_SUCCESS;
}
ADS_STATUS gpo_lockout_policy(ADS_STRUCT *ads,
@@ -519,7 +519,7 @@ ADS_STATUS gpo_password_policy(ADS_STRUCT *ads,
return status;
}
- return ADS_ERROR(LDAP_SUCCESS);
+ return ADS_SUCCESS;
}
/****************************************************************