티스토리 뷰

EN/CentOS 5

CentOS 5 Configure LDAP Client

ServerWorld 2016.05.31 21:43

CentOS 5 Configure LDAP Client


Configure LDAP Client


Configure LDAP Client in order to share users' accounts in your local networks.



1. Install OpenLDAP Client.


[root@www ~]# yum -y install openldap-clients nss_ldap

# ldapserver=(LDAP server's hostname or IP address)

# ldapbasedn="dc=(your own Suffix)"

[root@www ~]# authconfig --enableldap \

--enableldapauth \

--ldapserver=centos5.srv.world \

--ldapbasedn="dc=srv,dc=world" \

--enablemkhomedir \

--update 


[root@www ~]# exit 

logout


CentOS release 5.11 (Final)

Kernel 2.6.18-400.1.1.el5 on an x86_64


www.srv.world login: redhat # LDAP user

Password: # LDAP password

Creating directory '/home/redhat'.


[redhat@www ~]$ # just logined


[redhat@www ~]$ passwd# try to change the LDAP password

Changing password for user redhat.

Enter login(LDAP) password: # current password

New password: # new password

Retype new password:

LDAP password information changed for redhat

passwd: all authentication tokens updated successfully.



※ Next manual



저작자 표시 비영리 변경 금지
신고

'EN > CentOS 5' 카테고리의 다른 글

CentOS 5 WEB Server Install httpd  (0) 2016.06.01
CentOS 5 LDAP over TLS  (0) 2016.05.31
CentOS 5 Configure LDAP Client  (0) 2016.05.31
CentOS 5 Configure LDAP Server  (0) 2016.05.31
CentOS 5 Configure NIS Server  (0) 2016.05.31
CentOS 5 NFS Server  (0) 2016.05.29
댓글