Differences between revisions 15 and 16
Revision 15 as of 2022-05-13 16:30:37
Size: 1273
Comment:
Revision 16 as of 2022-05-13 16:31:47
Size: 1440
Comment:
Deletions are marked like this. Additions are marked like this.
Line 33: Line 33:
root@kall:~# ldapadd -x -H ldap:/// -f /etc/ldap/schema/misc.ldif -D "cn=admin,cn=config" -W
Enter LDAP Password:
adding new entry "cn=misc,cn=schema,cn=config"

DO NOT USE

not complete in any way

LDAP

  • 192.168.1.65 ldap (virtual IP-address)
  • 192.168.1.66 ldap01
  • 192.168.1.67 ldap02

really ?

  • anything prior to 2.4.54 should be avoided

apt-get install slapd ldap-utils

important article to set the password for ldapadd, etc. https://www.djaodjin.com/blog/setup-open-ldap.blog.html needed to provide rfc822mailmember from misc.ldif

root@kall:~# slappasswd
New password: 
Re-enter new password: 
{SSHA}XXX

root@kall:~# ldapmodify -Q -Y EXTERNAL -H ldapi:/// << EOF
dn: olcDatabase={0}config,cn=config
changetype:modify
add: olcRootPW
olcRootPW: {SSHA}XXX

root@kall:~# ldapadd -x -H ldap:/// -f /etc/ldap/schema/misc.ldif -D "cn=admin,cn=config" -W
Enter LDAP Password: 
adding new entry "cn=misc,cn=schema,cn=config"

References

None: LDAP (last edited 2022-05-13 17:09:17 by Kristian Kallenberg)