Ubuntu use Active Directory Certification guide

Source: Internet
Author: User
Keywords Active Directory nbsp domain name
Tags active directory aliyun authenticate certification configuration directory domain domain name

Active Directory as a Microsoft directory service, it uses some open protocols like KERBEROS,LDAP and SSL. There are several ways to authenticate by using AD, and you can use PAM_KRB5, LDAP, or Winbind.

PAM_KRB5 does not require any configuration.

Pam_krb5
&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;
# apt Install krb5-user libpam-krb5

Configure/etc/krb5.conf, for example,

[Logging]
Default = File:/var/log/krb5lib.log

[Libdefaults]
Ticket_lifetime = 24000
Default_realm = example.com
Default_tkt_enctypes = Des3-hmac-sha1 DES-CBC-CRC
Default_tgs_enctypes = Des3-hmac-sha1 DES-CBC-CRC

[Realms]
example.com = {
KDC = windc.example.com
Admin_server = windc.example.com
Default_domain = example.com
}


[Domain_realm]
. example.com = example.com
example.com = example.com

Replace example.com with your Kerberos domain by replacing the windc.example.com in the configuration file with your Windows domain controller's IP or complete domain name, where the domain name must be uppercase.

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.