Fedora 27
Sponsored Link

Configure LDAP Client2017/12/25

 
Configure LDAP Client in order to share users' accounts in your local networks.
[1] Install OpenLDAP Client.
[root@www ~]#
dnf -y install openldap-clients sssd sssd-ldap
# ldapserver=(LDAP server's hostname or IP address)

# ldapbasedn="dc=(your own domain name)"

[root@www ~]#
authconfig \
--enableldap \
--enableldaptls \
--enableldapauth \
--ldapserver=dlp.srv.world \
--ldapbasedn="dc=srv,dc=world" \
--enablemkhomedir \
--update

[root@www ~]#
vi /etc/sssd/sssd.conf
# add follows into [domain/default] section

ldap_tls_reqcert = allow
[root@www ~]#
systemctl restart sssd

[root@www ~]#
logout
Fedora 27 (Server Edition)
Kernel 4.14.3-300.fc27.x86_64 on an x86_64 (ttyS0)

Admin Console: https://10.0.0.31:9090/ or https://[fe80::5054:ff:fecf:ca97]:9090/

www login:
redhat
# LDAP user

Password:
# password

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

Changing password for user redhat.
Current Password:
# current password

New password:
# new password

Retype new password:
LDAP password information changed for redhat
passwd: all authentication tokens updated successfully.
Matched Content