PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > mod_auth_ldap multiple ldap servers
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

mod_auth_ldap multiple ldap servers

Réponse
 
LinkBack Outils de la discussion
Vieux 09/06/2005, 21h45   #1
Brent Kearney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut mod_auth_ldap multiple ldap servers

Hello,

Despite the documentation, multiple servers listed in the AuthLDAPUrl,
in the form:

AuthLDAPUrl ldaps://111.222.333.444
111.222.333.445/ou=People,o=MyOrg?uid?sub?(objectclass=posixAccou
nt)

.... causes this error to appear in the logs:

Syntax error on line 19 of /opt/apache2/conf/conf.d/vhost-foo.conf:
AuthLDAPURL takes one argument, URL to define LDAP connection. This
should be an RFC 2255 complaint\nURL of the form
ldap://host[:port]/basedn[?attrib[?scope[?filter]]].\n<ul>\n<li>Host is
the name of the LDAP server. Use a space separated list of hosts \nto
specify redundant servers.\n<li>Port is optional, and specifies the port
to connect to.\n<li>basedn specifies the base DN to start searches
from\n<li>Attrib specifies what attribute to search for in the
directory. If not provided, it defaults to <b>uid</b>.\n<li>Scope is the
scope of the search, and can be either <b>sub</b> or <b>one</b>. If not
provided, the default is <b>sub</b>.\n<li>Filter is a filter to use in
the search. If not provided, defaults to
<b>(objectClass=*)</b>.\n</ul>\nSearches are performed using the
attribute and the filter combined. For example, assume that the\nLDAP
URL is <b>ldap://ldap.airius.com/ou=People,
o=Airius?uid?sub?(posixid=*)</b>. Searches will\nbe done using the
filter <b>(&((posixid=*))(uid=<i>username</i>))</b>, where
<i>username</i>\nis the user name passed by the HTTP client. The search
will be a subtree search on the branch <b>ou=People, o=Airius</b>.

I take it this documented feature isn't actually implemented yet?

Thanks,

Brent
  Réponse avec citation
Vieux 13/06/2005, 19h39   #2
Dave Carrigan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mod_auth_ldap multiple ldap servers

Brent Kearney wrote:

> AuthLDAPUrl ldaps://111.222.333.444
> 111.222.333.445/ou=People,o=MyOrg?uid?sub?(objectclass=posixAccou
> nt)
>
> ... causes this error to appear in the logs:
>
> Syntax error on line 19 of /opt/apache2/conf/conf.d/vhost-foo.conf:
> AuthLDAPURL takes one argument, URL to define LDAP connection.


Arguments with spaces need to be quoted.

--
Dave Carrigan
Seattle, WA, USA
dave@rudedog.org | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h33.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13315 seconds with 10 queries