<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Using Freeradius 1.0.4 (FB 4.11)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I want to grouping between dialup & adsl...
refer to users file below by if if Ldap-Group ==ADSL is found, should
authenticate/authorize by "ldapadsl" and if not found, assuming dialup user
and should authenticate/authorize by "ldap1/ldap2" (DIALUP)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But the problem, referring to debug log.. doesn't
matter whether Ldap-Group=ADSL is found or not, it still check at both
ldap1/ldap2 & ldapadsl i.e checking "adslAccess & dialAcess"
atttribute.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What i want is that.. If Ldap-Group ==ADSL is
found, it should be handled by "ldapadsl" and not checking
"ldap1/ldap2" and same goes when not found, it will be handled by "ldap1/ldap2"
and not checking "ldapadsl"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>anyone can help.?? thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>--haizam</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>##################################</FONT></DIV>
<DIV><FONT face=Arial size=2>users file:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>DEFAULT Ldap-Group ==
"ADSL", Auth-Type := ADSL</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>DEFAULT Auth-Type :=
LDAP</FONT></DIV>
<DIV> </DIV></FONT></DIV>
<DIV><FONT face=Arial
size=2>#####################################################################3</FONT></DIV>
<DIV><FONT face=Arial size=2>Debug:-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>rlm_ldap: performing search in
ou=RADIUS,ou=People,dc=jaring,dc=my, with filter
(&(jaringConnectionType=ADSL)(&(uid=organza)(objectclass=radiusprofile)))<BR>rlm_ldap:
object not found or got ambiguous search result<BR>rlm_ldap: ldap_release_conn:
Release Id: 0<BR>rlm_ldap::ldap_groupcmp: Group ADSL not found or user is not a
member.<BR> users: Matched entry DEFAULT at line
147<BR>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>rlm_ldap: checking if remote access for organza is
allowed by dialupAccess</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>..</FONT></DIV>
<DIV><FONT face=Arial size=2>rlm_ldap: no adslAccess attribute - access
denied by default</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>############################</FONT></DIV>
<DIV><FONT face=Arial size=2>a</FONT><FONT face=Arial size=2>uthenticate
{</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
Auth-Type LDAP
{<BR>
redundant
{<BR>
ldap1<BR>
ldap2<BR>
}<BR> }<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
Auth-Type ADSL
{<BR>
ldapadsl<BR> }<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#############################</FONT></DIV>
<DIV><FONT face=Arial size=2>authorize {</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
redundant
{<BR>
ldap1<BR>
ldap2<BR>
}<BR> ldapadsl<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#####################################</FONT></DIV>
<DIV><FONT face=Arial size=2>ldap ldap1
{<BR>
server =
"10.1.1.1"<BR>
basedn =
"ou=RADIUS,ou=People,dc=jaring,dc=my"<BR>
access_attr =
"dialupAccess"<BR>
groupname_attribute =
jaringConnectionType<BR>
groupmembership_filter =
"(&(uid=%{Stripped-User-Name:-%{User-Name}})(objectclass=radiusprofile))"<BR>
}<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ldap ldap2
{<BR>
server =
"10.1.1.2"<BR>
basedn =
"ou=RADIUS,ou=People,dc=jaring,dc=my"<BR>
access_attr =
"dialupAccess"<BR>
groupname_attribute =
jaringConnectionType<BR>
groupmembership_filter =
"(&(uid=%{Stripped-User-Name:-%{User-Name}})(objectclass=radiusprofile))"<BR>
}<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ldap adsl
{<BR>
server =
"10.1.1.3"<BR>
basedn =
"ou=ADSL,ou=People,dc=jaring,dc=my"<BR>
access_attr =
"adslAccess"<BR>
groupname_attribute =
jaringConnectionType<BR>
groupmembership_filter =
"(&(uid=%{Stripped-User-Name:-%{User-Name}})(objectclass=radiusprofile))"<BR>
}<BR></FONT></DIV>
<DIV><FONT face=Arial
size=2>############################################</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>