Afficher un message
Vieux 28/02/2005, 20h21   #1
sbk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut mod_auth_ldap / multiple arguments to AuthLDAPURL

i'd like to point mod_auth_ldap at multiple servers, in case one or
other goes down. but i'm having trouble working out the syntax. has
anyone else done this? i've poked thru RFC2255 and 1738, looking for
examples of multiple 'hostport' but haven't seen any.

--sk

stuart kendrick
fhcrc

<Directory "/srv/www/htdocs/test/">
AuthName Test
AuthType Basic
AuthLDAPBindDN cn=whatever,ou=something,dc=company,dc=com
AuthLDAPBindPassword secret
AuthLDAPURL
ldap://foo1.company.com:389/dc=company,dc=com?sAMAccountName?sub?(objectClass= user)
ldap://foo2.company.com:389/dc=company,dc=com?sAMAccountName?sub?(objectClass= user)
Require valid-user
</Directory>

specifying either 'ldap://foo...' string works fine ... but putting
both on the same line results in a syntax error:

Starting httpd2 (prefork) Syntax error on line 61 of
/etc/apache2/test.conf:
AuthLDAPURL takes one argument, URL to define LDAP connection. This
should be an RFC 2255 complaint URL of the form
ldap://host[:port]/basedn[?attrib[?scope[?filter]]]. Host is the name
of the LDAP server. Use a space separated list of hosts to specify
redundant servers.

  Réponse avec citation
 
Page generated in 0,04781 seconds with 9 queries