Az openldap-al kapcsolatban lenne szükségem néhány infóra.
Van -e különbség a slapd.conf és cn=config között? (pl cn= .. esetén több beállítási lehetőség van?)
Hol tudom állítani, hogy melyiket használja?
(telepítéskor, vagy később is módosítható?, illetve konvertálható-e oda-vissza a konfig állományok?)
- 4933 megtekintés
Hozzászólások
Nem irtad, hogy milyen rendszeren probalkozol. Nem egyszeru par szoban elmondani a kulonbseget. Ajanlom figyelmedbe:
http://www.zytrax.com/books/ldap/ch6/slapd-config.html
Vagy egyszeruen keress ra az "openldap" "olc" szavakra.
Remelem segitettem.
Toni
- A hozzászóláshoz be kell jelentkezni
Debian 6 vagy 7 -el próbálkozom. (6 -hoz több anyagot találtam).
De mi dönti el, hogy melyik konfigot használja az ldap, és az később módosítható-e?
- A hozzászóláshoz be kell jelentkezni
A cn=config már az újabb openldap szerverek sajátossága...
--
Debian Linux rulez... :D
- A hozzászóláshoz be kell jelentkezni
"Van -e különbség a slapd.conf és cn=config között? (pl cn= .. esetén több beállítási lehetőség van?)"
man slapd-config:
The config backend is backward compatible with the older slapd.conf(5) file but provides the ability to change the configuration dynamically at runtime. If slapd is run with only a slapd.conf file dynamic changes will be allowed but they will not persist across a server restart. Dynamic changes are only saved when slapd is running from a slapd.d configuration directory.
"Hol tudom állítani, hogy melyiket használja?"
man slapd:
-f slapd-config-file
Specifies the slapd configuration file. The default is /etc/openldap/slapd.conf.
-F slapd-config-directory
Specifies the slapd configuration directory. The default is /etc/openldap/slapd.d. If both -f and -F are specified, the config file will be read and converted to config directory format and written to the specified directory. If neither option is specified, slapd will attempt to read the default config directory before trying to use the default config file. If a valid config directory exists then the default config file is ignored. All of the slap tools that use the config options observe this same behavior.
"telepítéskor, vagy később is módosítható?"
See above
"konvertálható-e oda-vissza a konfig állományok?"
slapd.conf convertalhato slapd.d tree-re a slaptest command-al, visszafele nem tudok konverziorol:
slaptest -f slapd.conf -F slapd.d
- A hozzászóláshoz be kell jelentkezni
Hja, es egy jo tanacs: Mivel a cn=config viszonylag uj dolog az OpenLDAP eleteben (marmint az egesz eletehez viszonyitva) ezert javasolt ujabb verzioval probalkozni (ezzel egyutt ez az ajanlott config mod).
- A hozzászóláshoz be kell jelentkezni
Köszi
- A hozzászóláshoz be kell jelentkezni