############################ # Credential Configuration # ############################ # Notes: you can specify two differents configuration if you use a # master ldap for writing access and a slave ldap server for reading access # By default, we will use the same DN (so it will work for standard Samba # release) slaveDN="cn=admin,%%ldap_base_dn" slavePw="eole" masterDN="cn=admin,%%ldap_base_dn" masterPw="eole" %if %%activer_ad == 'oui' %def %%gen_dc() %return 'DC='+',DC='.join(%%ad_domain.split('.')) %end def adserver = "ldaps://%%ad_address"; adbase = "%%gen_dc()"; aduser = "CN=%%ad_user,CN=Users,DC=domaine,DC=lan"; adpassword = "admin"; %end if