About rlm_ldap for authentication

Adrian Pavlykevych pam@polynet.lviv.ua
3 Apr 2002 12:19:06 +0300


On 3 Apr 2002 at 16:43, wujian@svacomm.com wrote:

> hello , everyone
>      I successed  to add rlm_ldap module for authorize through config
> radiusd.conf , use authorize { preprocess,...,files,ldap } . at same
> time , i fail to config it for authenticate , who could help me ?
Your message does not clearly states results you want to achieve.
Using both sql and ldap for authentication looks like weird.
files and ldap in authorization is also often an overkill.

Get rid of "Auth-Type := sql" in users file, then put "ldap" into 
authenticate section.

> my configure in radiusd.conf is : 
> authorize {
>              proprocess
>              suffix
>              files
>              ldap
> }
> 
> authenticate { 
>          #pam
>          #unix 
>          authtype SQL 
>           { sql ,
>             sql1
>            }
>           # ldap   ???? where to locate it 
> } 



> on other hand, in users file configure :
>           DEFAULT Auth-Type := sql
>           #Fall-Through = 1
> 
> how to config it to call  rlm_ldap  for authenticate  ?
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

-- 
Adrian Pavlykevych         
System Administrator        |  Lviv National Polytechnic University
Campus Computer Network    |  12, St. Bandery str,  Lviv, 79013, 
Ukraine 
email: pam@polynet.lviv.ua | tel/fax:+380 (322) 742041