[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: saslRegexp



Hi,

Harry Rüter <harry_rueter@gmx.de> writes:

> Hi,
>
> "Kurt D. Zeilenga" wrote:
>> 
>> The LDAP URL should not contain a hostpart.
>
> So there's an error in the admin guide ?
>
> The example there is :
>
> ----snipp----
>  saslRegexp
>           uid=(.*),cn=example.com,cn=kerberos_v4,cn=auth
>           ldap://localhost/ou=person,dc=example,dc=com??sub?uid=$1
> ----snipp----
>
> Should it be changed to ? 
> ----snipp----
>  saslRegexp
>           uid=(.*),cn=example.com,cn=kerberos_v4,cn=auth
>           ou=person,dc=example,dc=com??sub?uid=$1
> ----snipp----

No, it should be altered to

.-.--.-.-.-.-.-.-.-.-.-.-.-.-.-
saslRegexp
        uid=(.*),cn=example.com,cn=kerberos_v4,cn=auth
        ldap:///ou=person,dc=example,dc=com??sub?uid=$1
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

or more general

   ldap:///<base>?<attrs>?<scope>?<filter>

-Dieter

-- 
Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter@schevolution.com
http://www.schevolution.com/tour