Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release > by-pkgid > 6973b449a3c3e5e0e020ee2c1e2c2864 > files > 1

apache-mod_cfg_ldap-1.2-13mdv2010.1.x86_64.rpm

<IfDefine HAVE_CFG_LDAP>
  <IfModule !mod_cfg_ldap.c>
    LoadModule cfg_ldap_module    extramodules/mod_cfg_ldap.so
  </IfModule>
</IfDefine>

# Taken from the "cfg_ldap.conf" and "mod_cfg_ldap.c"
# files, Wed Sep 10 2003, enjoy!
# -- 
# Regards // Oden Eriksson
# Deserve-IT Networks -> http://d-srv.com

<IfModule mod_cfg_ldap.c>

    # enable mod_cfg_ldap
    EnableCfgLdap off

    #the LDAP server to connect to
    CfgLdapServer "ldap1.domain.tld"

    # the DN to bind with
    CfgLdapBindDN "cn=Manager,dc=domain,dc=tld"

    # the credentials to bind with
    CfgLdapCredentials "password"

    # the base DN to use in searches
    CfgLdapBaseDN "ou=vhosts,dc=domain,dc=tld"

    # number of seconds a config is cached
    CfgLdapCacheTTL 60

</IfModule>