This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux:ad_backend [2014/12/09 15:44] walter [nssswitch] |
linux:ad_backend [2018/05/25 01:54] bmiddha |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Ubuntu AD Backend ====== | ||
+ | |||
====== ldap to AD/nss ====== | ====== ldap to AD/nss ====== | ||
Line 5: | Line 7: | ||
sudo apt-get update | sudo apt-get update | ||
- | sudo apt-get install libnss-ldap | + | sudo apt-get install nslcd |
===== configuring ===== | ===== configuring ===== | ||
Line 11: | Line 13: | ||
LDAP Server Host Address: | LDAP Server Host Address: | ||
- | ldap://172.29.0.1 | + | <code> |
+ | ldaps://ad1.acm.cs | ||
+ | ldaps://ad2.acm.cs | ||
+ | ldaps://ad3.acm.cs | ||
+ | </code> | ||
distinguished name of the search base: | distinguished name of the search base: | ||
DC=acm,DC=cs | DC=acm,DC=cs | ||
Line 73: | Line 78: | ||
</file> | </file> | ||
+ | |||
+ | ===== restart service ===== | ||
+ | |||
+ | sudo service nslcd restart | ||
===== first test ===== | ===== first test ===== | ||
Line 92: | Line 101: | ||
[libdefaults] | [libdefaults] | ||
default_realm = ACM.CS | default_realm = ACM.CS | ||
- | </file> | + | dns_lookup_realm = false |
- | <file|/etc/krb5.conf> | + | dns_lookup_kdc = true |
[realms] | [realms] | ||
- | ACM.CS = { | + | |
- | kdc = ad.acm.cs | + | [domain_realm] |
- | admin_server = ad.acm.cs | + | acm.cs = ACM.CS |
- | } | + | .acm.cs = ACM.CS |
+ | |||
+ | [logging] | ||
+ | # kdc = CONSOLE | ||
</file> | </file> |