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

Re: advice for saslregex





--On Tuesday, November 30, 2004 4:08 PM -0500 FM <dist-list@LEXUM.UMontreal.CA> wrote:

I just installed / configured openldap 2.2
I'm using GSSAPI to connect to my KRB5 server

I used How-to on internet for the access / saslRegexp.
In all how-to , saslRegexp are like :

 saslRegexp
        uid=(.*),cn=GSSAPI,cn=auth
        uid=$1,ou=people,dc=domaine,dc=local

bu in the log I read : uid=user,cn=<REALM>,cn=gssapi,cn=auth

I supposed that the how-to were using old version of ldap so I create :


saslRegexp uid=(.*),cn=<REALM>,cn=gssapi,cn=auth uid=$1,ou=People,dc=domain,dc=local

Is it the good way to map sasl user to openldap users?

That is essentially how I do it.

sasl-regexp uid=(.*),cn=stanford.edu,cn=gssapi,cn=auth ldaps:///uid=$1,cn=Accounts,dc=stanford,dc=ed u??sub?suSeasStatus=active

I add in a sub search to verify they have a fully active account, but that is Stanford's internal bit.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html