In this order, slapd hangs:
adding new entry "olcOverlay=refint,olcDatabase={1}hdb,cn=config"
adding new entry "olcOverlay=syncprov,olcDatabase={1}hdb,cn=config"
adding new entry "o=example,c=us" <---- HANGS
In this other order, it works:
adding new entry "olcOverlay=syncprov,olcDatabase={1}hdb,cn=config"
adding new entry "olcOverlay=refint,olcDatabase={1}hdb,cn=config"
adding new entry "o=example,c=us"
Note: when testing again, you need to clear the database and the config, or just purge slapd and reinstall. Running that ldapmodify command twice in a row won't work.
Interesting, looks like ordering is an issue.
In this order, slapd hangs: refint, olcDatabase= {1}hdb, cn=config" syncprov, olcDatabase= {1}hdb, cn=config"
adding new entry "olcOverlay=
adding new entry "olcOverlay=
adding new entry "o=example,c=us" <---- HANGS
In this other order, it works: syncprov, olcDatabase= {1}hdb, cn=config" refint, olcDatabase= {1}hdb, cn=config"
adding new entry "olcOverlay=
adding new entry "olcOverlay=
adding new entry "o=example,c=us"
Note: when testing again, you need to clear the database and the config, or just purge slapd and reinstall. Running that ldapmodify command twice in a row won't work.