Commit graph

15 commits

Author SHA1 Message Date
Alexandre Aubin
d8b086a06a [fix] Running slapindex seems to fix the previous issues about LDAP indexing stuff 2019-06-06 19:26:49 +02:00
Alexandre Aubin
7ecd606d04 [fix] Do not index cn,mail and virtualdomain as it's causing some weird issues in the mail stack ... 2019-06-05 16:25:25 +02:00
Alexandre Aubin
769ba5771d Indexing gidNumber / uidNumber trigger weird issues when logging in through SSH (or the 'I have no name' shell when loggin in as admin) 2019-06-04 15:09:09 +02:00
MCMic
a1ab50dcf1
Add indexes for fields listed by slapd in the logs
I get lots of suggestion of indexes by slapd in my logs:

 <= mdb_equality_candidates: (cn) not indexed
 <= mdb_equality_candidates: (gidNumber) not indexed
 <= mdb_equality_candidates: (mail) not indexed
 <= mdb_equality_candidates: (member) not indexed
 <= mdb_equality_candidates: (memberUid) not indexed
 <= mdb_equality_candidates: (sudoUser) not indexed
 <= mdb_equality_candidates: (uidNumber) not indexed
 <= mdb_equality_candidates: (uniqueMember) not indexed
 <= mdb_equality_candidates: (virtualdomain) not indexed
 <= mdb_substring_candidates: (sudoUser) not indexed

Since Yunohost makes it hard to edit LDAP server configuration (see https://github.com/YunoHost/issues/issues/1350), the default configuration should contain indexes for the fields used by Yunohost a lot.
2019-05-23 14:49:27 +00:00
Josué Tille
9f28bfccad Use root UID to authenticate to LDAP 2019-05-02 15:30:44 +02:00
Romuald du Song
0ef7ebbba6 only open socket to localhost 2019-04-11 23:03:57 +02:00
frju365
556f33f15f [fix] Add a proper conf for LDAP (Issue 1218) (#554)
* Update ldap.conf

* [fix] Port
2018-10-24 21:04:01 +02:00
Jérôme Lebleu
e5095d0185 [fix] Remove old dbconfig settings from slapd.conf 2016-01-27 18:57:21 +01:00
Jérôme Lebleu
a5568311db [fix] Save LDAP database when switching to MDB (bugfix #169)
As Wheezy is not supported anymore by next YunoHost releases, the slapd.conf
now comes with MDB as backend.
The LDAP database is also saved before switching to MDB backend and imported
after the configuration re-generation to prevent data loss.
2016-01-27 18:05:04 +01:00
kload
8c46e978a3 [fix] Regenerate configuration files only if YunoHost is postinstalled 2015-10-01 19:23:37 -04:00
kload
bc85d157b5 [fix] Copy sudo.schema 2015-10-01 19:04:39 -04:00
kload
aa6a277e20 [fix] Slapd default spacing 2015-09-29 15:30:43 -04:00
kload
ef1ad685fd [fix] Indent properly to avoid unwanted differences 2015-09-29 14:36:46 +00:00
kload
b9f9a3f105 [enh] Add slapd conf regen hook 2015-09-28 19:47:43 -04:00
kload
c8dc2e324f [enh] Bootstrap the regenconf command 2015-07-19 11:08:18 +02:00