summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--service_passwords.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/service_passwords.c b/service_passwords.c
index 56c6e58..b2cb1d6 100644
--- a/service_passwords.c
+++ b/service_passwords.c
@@ -75,7 +75,7 @@ static int get_entry(const char *dn, char **attrs, Slapi_Entry **entry)
/** Check if the given DN is a user account.
*
* This functions checks, if the given DN is a DN of a user account. All user
- * accounts have to have the \c inetOrgPerson object class.
+ * accounts have to have the \c splineAccount object class.
*
* @param[in] dn DN of the entry.
* @return 0 if the entry is a user account, 1 otherwise
@@ -95,7 +95,7 @@ static int is_user(const char *dn)
}
if (slapi_entry_attr_hasvalue(
- entry, "objectClass", "inetOrgPerson") == 0) {
+ entry, "objectClass", "splineAccount") == 0) {
/* no user account */
rc = 1;
goto fail1;