equal
deleted
inserted
replaced
123 ldap_reader_pw="`generate_password 10`" |
123 ldap_reader_pw="`generate_password 10`" |
124 |
124 |
125 if [ -d /etc/ldap/slapd.d ]; then |
125 if [ -d /etc/ldap/slapd.d ]; then |
126 rm -rfv /etc/ldap/slapd.d |
126 rm -rfv /etc/ldap/slapd.d |
127 fi |
127 fi |
|
128 |
|
129 cp `dirname $0`/resources/openssh-lpk_openldap.schema /etc/ldap/schema/ |
|
130 |
128 generate_slapd_config |
131 generate_slapd_config |
129 generate_base_ldif | slapadd |
132 generate_base_ldif | slapadd |
130 chown -R openldap:openldap /var/lib/ldap |
133 chown -R openldap:openldap /var/lib/ldap |
131 |
134 |
132 if ! grep -q "KRB5_KTNAME=/etc/ldap" /etc/default/slapd; then |
135 if ! grep -q "KRB5_KTNAME=/etc/ldap" /etc/default/slapd; then |