summaryrefslogtreecommitdiff
path: root/server/ldap-schema.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2006-12-03 17:17:47 +0000
committerArthur de Jong <arthur@arthurdejong.org>2006-12-03 17:17:47 +0000
commitafc956690208515e9b3956ed1b6be47d2b4d4232 (patch)
tree3f47a7acddec009a66c9dc2b58b33cf23aec8cee /server/ldap-schema.c
parenta20c05ded824bc4210819783af4cb461109f39b5 (diff)
get rid of some more unneeded code
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@138 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'server/ldap-schema.c')
-rw-r--r--server/ldap-schema.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/server/ldap-schema.c b/server/ldap-schema.c
index d7fb6a1..d63eb09 100644
--- a/server/ldap-schema.c
+++ b/server/ldap-schema.c
@@ -302,13 +302,6 @@ init_pwd_attributes (const char ***pwd_attrs)
(*pwd_attrs)[i++] = AT (gecos);
(*pwd_attrs)[i++] = ATM (LM_PASSWD, description);
(*pwd_attrs)[i++] = AT (objectClass);
-#ifdef HAVE_PASSWD_PW_CHANGE
- (*pwd_attrs)[i++] = AT (shadowLastChange);
- (*pwd_attrs)[i++] = AT (shadowMax);
-#endif /* HAVE_PASSWD_PW_CHANGE */
-#ifdef HAVE_PASSWD_PW_EXPIRE
- (*pwd_attrs)[i++] = AT (shadowExpire);
-#endif /* HAVE_PASSWD_PW_EXPIRE */
(*pwd_attrs)[i] = NULL;
}