Log on to the server using ldap

Source: Internet
Author: User
Use ldap to log on to the server and install libnss-ldap, sudoapt-getinstalllibnss-ldap, and modify/etc/ldap. conf, such as: basedcimd, dccomurildap: // login use ldap to log on to the server and install libnss-ldap on the server, sudo apt-get install libnss-ldap, and modify/etc/ldap. conf, such as base dc = imd, dc = comuri ldap: // ldap.prod.i-md.com/ldap_version 3pam_login_attribute uidpam_lookup_policy using nopam_password between ou = People, dc = imd, dc = comnss_base_shadow ou = People, dc = imd, dc = comnss_base_group ou = Group, dc = imd, dc = comnss_initgroups_ignoreusers backup, bin, daemon, ftp, games, gnats, irc, libuuid, list, lp, mail, man, messagebus, news, postfix, proftpd, proxy, root, sshd, statd, sync, sys, syslog, uucp, www-data. In addition, the home directory must be automatically created after logon, only in/etc/pam. d/common-account: session required pam_mkhomedir.so skel =/etc/skel/umask = 0022
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.