e-Bengkel Elka

Just another WordPress.com weblog

Install Open LDAP

1.Install the openldap, openldap-servers, and openldap-clients RPMs.
2.Edit the /etc/openldap/slapd.conf file to reference your LDAP domain and server.
suffix “dc=your-domain,dc=com”
suffix “dc=example,dc=com”
rootdn “cn=root,dc=example,dc=com”
jalankan:
slappasswd
kopikan hasil di atas ke /etc/openldap/slapd.conf
rootpw {SSHA}vv2y+i6V6esazrIv70xSSnNAJE18bb2u
jalankan:
chown -R ldap /var/lib/ldap
3.Start slapd with the command:
/sbin/service/ldap start
After you have configured LDAP correctly, you can use chkconfig, ntsysv, or the Services Configuration Tool to configure LDAP to start at boot time. For more information about configuring services, refer to the chapter titled Controlling Access to Services in the Red Hat Linux Customization Guide.
4.Add entries to your LDAP directory with ldapadd.
5.Use ldapsearch to see if slapd is accessing the information correctly.
6.At this point, your LDAP directory should be functioning properly and you can configure any LDAP-enabled applications to use the LDAP directory.

Di client:
editing /etc/nsswitch.conf
passwd: files ldap
shadow: files ldap
group: files ldap

July 7, 2007 - Posted by | Uncategorized

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.