Projet

Général

Profil

smbldap_bind.conf

Joël Cuissinat, 17/12/2013 11:12

Télécharger (656 octets)

 
1
############################
2
# Credential Configuration #
3
############################
4
# Notes: you can specify two differents configuration if you use a
5
# master ldap for writing access and a slave ldap server for reading access
6
# By default, we will use the same DN (so it will work for standard Samba
7
# release)
8
slaveDN="cn=admin,%%ldap_base_dn"
9
slavePw="eole"
10
masterDN="cn=admin,%%ldap_base_dn"
11
masterPw="eole"
12
%if %%activer_ad == 'oui'
13
%def %%gen_dc()
14
%return 'DC='+',DC='.join(%%ad_domain.split('.'))
15
%end def
16
adserver = "ldaps://%%ad_address";
17
adbase = "%%gen_dc()";
18
aduser = "CN=%%ad_user,CN=Users,DC=domaine,DC=lan";
19
adpassword = "admin";
20
%end if