Notice
Recent Posts
Recent Comments
Tags
- perplexity
- wildfly jboss
- admin port
- 우파푸른하늘
- openldap
- Galera Cluster
- CEP
- CentOS
- snmp
- Network
- Auth
- port description
- MotD
- Kubernetes
- data-door
- RHEL8
- drbd
- web&was apche htaccess
- 우파푸른하늘80만이벤트
- mgmtip
- maxscale
- Path
- mariadb
- vmware
- docker
- dell
- Storage
- unix_socket
- n15148
- banner
- n1548
- 웰카
- etcd
250x250
반응형
전산쟁이의 기억노트
LDAP구성-2. 클라이언트 구성하기 본문
728x90
반응형
LDAP 클라이언트 구성
- 패키지 설치하기
$> yum install openldap-clients nss-pam-ldapd \
pam_ldap autofs nfs-utils -y
- 인증방법 LDAP 추가
- setup에서 -> Authentication configuration -> Use LDAP, Use LDAP Authentication 두개 체크하고 NEXT
- Server: ldap://서버도메인
- Base DN: dc=my-domain,dc=com
- 하고 OK하면 되고, SSL기반일 경우에는 Use TLS에 체크하면 됨.
- 인증모듈 확인
$> cat /etc/pam.d/system-auth | grep ldap
session optional pam_ldap.so
- ldap사용자 로그인할때 자동으로 홈디렉토리 마운트
$> cat /etc/auto.master
/home /etc/auto.home
$> cat /etc/auto.home
* -rw,soft,intr,rsize=8192,wsize=8192 192.168.10.10:/home/&
- ldap Client 서비스 활성화 & 시작
$> /etc/init.d/nslcd start
$> chkconfig nslcd on
- autofs 서비스 활성화 & 시작
$> /etc/init.d/autofs start
$> chkconfig autofs on
728x90
반응형
'ldap구성' 카테고리의 다른 글
LDAP구성-3. SAMBA구성해서 연동하기 (0) | 2022.07.25 |
---|---|
LDAP구성-4. rootdn변경 (0) | 2022.07.25 |
LDAP구성-1. 서버구성하기 (0) | 2022.07.24 |
Comments