mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Running slapindex seems to fix the previous issues about LDAP indexing stuff
This commit is contained in:
parent
3b6ddd0262
commit
d8b086a06a
2 changed files with 5 additions and 3 deletions
|
@ -101,6 +101,8 @@ do_post_regen() {
|
|||
sudo chown -R openldap:openldap /etc/ldap/slapd.d/
|
||||
fi
|
||||
|
||||
sudo -u openldap slapindex
|
||||
|
||||
sudo service slapd force-reload
|
||||
|
||||
# on slow hardware/vm this regen conf would exit before the admin user that
|
||||
|
|
|
@ -66,10 +66,10 @@ directory "/var/lib/ldap"
|
|||
index objectClass eq
|
||||
index uid,sudoUser eq,sub
|
||||
index entryCSN,entryUUID eq
|
||||
#index cn,mail eq
|
||||
#index gidNumber,uidNumber eq
|
||||
index cn,mail eq
|
||||
index gidNumber,uidNumber eq
|
||||
index member,memberUid,uniqueMember eq
|
||||
#index virtualdomain eq
|
||||
index virtualdomain eq
|
||||
|
||||
# Save the time that the entry gets modified, for database #1
|
||||
lastmod on
|
||||
|
|
Loading…
Add table
Reference in a new issue