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

Re: test of SASL DIGEST-MD5 mechanism



tir, 2003-03-18 kl. 20:16 skrev Cindy Wang:

> ================== slapd.conf ====================
> password-hash   {CLEARTEXT}
> sasl-regexp
>         uid=(.*),cn=rtp.KiNETWORKS.com,cn=digest-md5,cn=auth
>         uid=$1,cn=enigneer,dc=rtp,dc=KiNETWORKS,dc=com
> ================================================
> 
> Could anyone tell if anything is wrong with the above sasl-regexp  mapping?

The ldif seems o.k. Basically, your DIT doesn't need to differ from a
standard DIT. The ldapsearch command line looks o.k. too. If you have
the correct base in ldap.conf/ldaprc, you can leave the base out in the
ldapsearch command.

In slapd.conf, try:

sasl-regexp "uid=(.*),cn=digest-md5,cn=auth"
"ldap:///dc=rtp,dc=KiNETWORKS,dc=com??sub?cn=$1";

Presuming ldap is available on port 389.

Best,

Tony

-- 

Tony Earnshaw

247,035 lemmings can't be wrong ...
Ask the man from Framfjord

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl