|
@@ -11,13 +11,19 @@ Place sharix.schema to /etc/openldap/schema/
|
|
|
slapadd -v -l init.ldif -f /etc/openldap/slapd.conf
|
|
|
|
|
|
4. check `ldap` file and place in to /etc/sysconfig/ldap
|
|
|
-5. service slapd start
|
|
|
-6. systemctl enable slapd
|
|
|
+5. add to /etc/hosts:
|
|
|
+
|
|
|
+ip_address ldap.sharix.ru
|
|
|
+
|
|
|
+6. service slapd start
|
|
|
+7. systemctl enable slapd
|
|
|
|
|
|
Maybe it's better to use localhost instead ldap.sharix.ru.
|
|
|
OR write to /etc/hosts local ip address and ldap host specified in the config.
|
|
|
|
|
|
-7. Check if packages in installed on a host system:
|
|
|
+8. Check if packages in installed on a host system:
|
|
|
+
|
|
|
+packages for building ldap django extenion:
|
|
|
|
|
|
libsasl2-devel
|
|
|
gcc
|
|
@@ -25,6 +31,14 @@ python3-dev
|
|
|
libldap-devel
|
|
|
libldap2
|
|
|
|
|
|
-8. add to /etc/hosts:
|
|
|
|
|
|
-ip_address ldap.sharix.ru
|
|
|
+---
|
|
|
+
|
|
|
+path ldap database: /var/lib/ldap/bases/TREE_NAME
|
|
|
+
|
|
|
+
|
|
|
+```bash
|
|
|
+apt-get install openldap-servers -y
|
|
|
+
|
|
|
+
|
|
|
+```
|