From 1f2bd7e66a0fb2ebb11e74382633c6bfe992d967 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 18 Oct 2013 15:07:04 +0000 Subject: [PATCH] password self reset schema --- lam/docs/manual-sources/howto.xml | 64 +++++++++++++++++++++++++------ 1 file changed, 52 insertions(+), 12 deletions(-) diff --git a/lam/docs/manual-sources/howto.xml b/lam/docs/manual-sources/howto.xml index 526bbc40..3b201d26 100644 --- a/lam/docs/manual-sources/howto.xml +++ b/lam/docs/manual-sources/howto.xml @@ -2220,19 +2220,45 @@ Have fun! Schema installation - Please install the schema that comes with LAM Pro. + Please install the schema that comes with LAM Pro. The schema + files are located in: - OpenLDAP: + + + tar.bz2: docs/schema + - Install docs/schema/passwordSelfReset.schema for slapd.conf - configuration or docs/schema/passwordSelfReset.ldif for slapd.d - configuration. + + DEB: /usr/share/doc/ldap-account-manager/docs/schema + + + + RPM: + /usr/share/doc/ldap-account-manager-{VERSION}/schema + + + + +OpenLDAP: + + For a configuration with slapd.conf-file copy + passwordSelfReset.schema to /etc/ldap/schema/ and add this line to + slapd.conf: + + include /etc/ldap/schema/passwordSelfReset.schema + + + + For slapd.d configurations copy passwordSelfReset.ldif to + /etc/ldap/slapd.d/cn=config/cn=schema/. + + + Samba 4: - The schema files are - docs/schema/passwordSelfReset-Samba4-attributes.ldif and - docs/schema/passwordSelfReset-Samba4-objectClass.ldif. + The schema files are passwordSelfReset-Samba4-attributes.ldif + and passwordSelfReset-Samba4-objectClass.ldif. First, you need to edit them and replace "DOMAIN_TOP_DN" with your LDAP suffix (e.g. dc=samba4,dc=test). @@ -2240,8 +2266,22 @@ Have fun! Then install the attribute and afterwards the object class schema file: - ldbmodify -H /var/lib/samba/private/sam.ldb passwordSelfReset-Samba4-attributes.ldif --option="dsdb:schema update allowed"=true -ldbmodify -H /var/lib/samba/private/sam.ldb passwordSelfReset-Samba4-objectClass.ldif --option="dsdb:schema update allowed"=true + ldbmodify -H /var/lib/samba/private/sam.ldb passwordSelfReset-Samba4-attributes.ldif --option="dsdb:schema update allowed"=true + ldbmodify -H /var/lib/samba/private/sam.ldb passwordSelfReset-Samba4-objectClass.ldif --option="dsdb:schema update allowed"=true + + + + Windows: + + The schema file is passwordSelfReset-Windows.ldif. + + First, you need to edit it and replace "DOMAIN_TOP_DN" with your + LDAP suffix (e.g. dc=windows,dc=test). + + Then install the schema file as administrator on a command + line: + + ldifde -v -i -f passwordSelfReset-Windows.ldif @@ -6319,8 +6359,8 @@ Run slapindex to rebuild the index. will be created in the self service user suffix. The DN will look like this: uid=<user name>,... - Please see email format - option in case of broken mails. + Please see email format option + in case of broken mails.