Created
December 22, 2014 01:09
-
-
Save scottslowe/29aed4672a012946f1cb to your computer and use it in GitHub Desktop.
This is an ldap.conf taken from a SLED 10 workstation configured to use Active Directory for lookups.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
# custom ldap.conf for connecting with Server 2003 R2 | |
############### | |
host 10.10.10.1 | |
base dc=domain,dc=com | |
uri ldap://windows-dc-hostname.domain.com/ | |
binddn cn=linux-ldap-user,cn=Users,dc=domain,dc=com | |
bindpw ldap-user-passwd | |
scope sub | |
bind_timelimit 15 | |
timelimit 15 | |
ssl no | |
referrals no | |
nss_base_passwd dc=domain,dc=com?sub | |
nss_base_shadow dc=domain,dc=com?sub | |
nss_base_group dc=domain,dc=com?sub?&(objectCategory=group)(gidnumber=*) | |
nss_map_objectclass posixAccount user | |
nss_map_objectclass shadowAccount user | |
nss_map_objectclass posixGroup group | |
nss_map_attribute gecos cn | |
nss_map_attribute homeDirectory unixHomeDirectory | |
nss_map_attribute uniqueMember member | |
nss_initgroups_ignoreusers root,ldap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment