LDAP client configuration with autofs home directories
LDAP Client confguration
first install required packages, in this article we will see how to configure LDAP client using CLI interface and GUI Interface
Using GUI mode
install above packages then enter the command “system-config-authentication”
Using CLI mode
type command “authconfig-tui”
Select [*] Use LDAP
select [*] Use LDAP Authentication
click Next
provide the ldap server details as shown above and click ok
verify the ldap user information using below command
as you see below there is no home directory for ldapuser1
Now mount user home directory using autofs
edit autofs master configuration file add entry
now create /etc/auto.ldapuser file and add the entry for autofs mount
Now restart autofs service
login using ldapuser then verify you should get ldapuser home directory automatically
That’s it your LDAP client is configured successfully with autofs home directory mount
No comments:
Post a Comment