# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.9 2000/09/04 19:57:01 kurt Exp $
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE	dc=example, dc=com
#URI	ldap://linux.test
#SIZELIMIT	12
#TIMELIMIT	15
#DEREF		never

host 192.168.0.1
base dc=linux,dc=test
ldap_version 3
#binddn gast@linux.test
binddn cn=Gast,cn=Users,dc=linux,dc=test
bindpw gast
port 389
scope sub
ssl no

pam_filter objectclass=user
pam_login_attribute bloedesding
pam_password ad

nss_base_passwd ou=users,dc=linux,dc=test
nss_base_shadow ou=users,dc=linux,dc=test
nss_base_group ou=group,dc=linux,dc=test

nss_map_objectclass posixAccount User
nss_map_attribute uid sAMAccountName
nss_map_attribute uniqueMember member
nss_map_attribute userPassword msSFUPassword
nss_map_attribute homeDirectory msSFUHomeDirectory
nss_map_objectclass posixGroup Group
nss_map_attribute cn sAMAccountName
#nss_map_objectclass shadowAccount User