Kerberos LDAP » History » Version 1
Joseph Foley, 2015-09-05 02:52
1 | 1 | Joseph Foley | h1. Kerberos LDAP |
---|---|---|---|
2 | |||
3 | * [[OpenLDAP]] |
||
4 | |||
5 | h2. install |
||
6 | |||
7 | # Install packages |
||
8 | <pre>apt-get install slapd ldap-utils libsasl2-modules-gssapi-mit</pre> |
||
9 | # Configure the administrator password for slapd (https://help.ubuntu.com/community/OpenLDAPServer) |
||
10 | <pre>slappasswd</pre> |
||
11 | ## Set password to: waynegretzky |
||
12 | ## Take the output: {SSHA}7UP8FDS0CZ8H8Hj8XPEtYkoeg0Cgy9bh |
||
13 | |||
14 | # Create organizational units in initial file @tree.ldif |
||
15 | <pre>dn: ou=users,dc=dev,dc=ru,dc=is |
||
16 | objectClass: organizationalUnit |
||
17 | ou:users |
||
18 | |||
19 | dn: ou=groups,dc=dev,dc=ru,dc=is |
||
20 | objectClass: organizationalUnit |
||
21 | ou: groups |
||
22 | </pre> |
||
23 | # Then add it to the ldap database |
||
24 | <pre>ldapadd -x -D "cn=admin,dc=dev,dc=ru,dc=is" -W -f tree.ldif</pre> |
||
25 | # These directions are unfinished due to inconsistencies in the config files and Ubuntu 10.04. LDAP is not critical to AFS, so installation and instructions will be delayed for now --foley |