Hello,
 
I have a few problems running Radiator 2.16.1 on a SUN box (with Solaris 2.6
OS).
I have using a Net::LDAP module (perl-ldap-0.20 from CPAN), with perl
5.005_03 version.
My LDAP server is a Netscape 4.1.
 
My AuthBy LDAP2 clause says
 
/ ******************* /
<Realm xxx>
   AcctLogFileName %L/acct
   PasswordLogFileName %L/pass
        <AuthBy LDAP2>
           ServerChecksPassword
           Host 192.168.199.100
           Port 389
           AuthDN  cn=Directory Manager
           AuthPassword sistemas
           BaseDN  o=bt
           UsernameAttr usuarioradius
           PasswordAttr userpassword
           AuthAttrDef dnsprimaria, Primary-DNS-Server, reply
           AuthAttrDef dnssecundaria, Secondary-DNS-Server, reply
           AuthAttrDef rango, Framed-IP-Address, reply
           AuthAttrDef franjahoraria, FranjaHoraria, reply
           AuthAttrDef cli, TelefonoOrigen, reply
       </AuthBy>
</Realm>
 
/ ******************** /
 
Testing with 'radpwtst -user xxx@xxx -password xxx', I have wrong results as
value returns, as you can see in the following logfile
 
 
 
/ ******************************* /
 
Mon Aug  7 10:40:57 2000: INFO: Server started: Radiator 2.16.1
Mon Aug  7 10:41:00 2000: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 45306 ....
Code:       Access-Request
Identifier: 90
Authentic:  1234567890123456
Attributes:
 User-Name = "xxx@xxx"
 Service-Type = Framed-User
 NAS-IP-Address = 10.0.131.4
 NAS-Port = 1234
 NAS-Port-Type = Async
 User-Password =
"<190><227><223>)<253><191>(<253><2>Kv<8><3><189><145><224>"
 
Mon Aug  7 10:41:00 2000: DEBUG: Handling request with Handler 'Realm=xxx'
Mon Aug  7 10:41:00 2000: DEBUG:  Deleting session for xxx@xxx, 10.0.131.4,
1234
Mon Aug  7 10:41:00 2000: DEBUG: Handling with Radius::AuthLDAP2
Mon Aug  7 10:41:00 2000: DEBUG: Connecting to 192.168.199.100, port 389
Mon Aug  7 10:41:00 2000: DEBUG: LDAP got result for
usuarioradius=xxx@xxx,cpi=yyy,o=bt
Mon Aug  7 10:41:00 2000: DEBUG: LDAP got FranjaHoraria: ARRAY(0x5a6be8)
Mon Aug  7 10:41:00 2000: DEBUG: Radius::AuthLDAP2 looks for match with
xxx@xxx
Mon Aug  7 10:41:00 2000: DEBUG: Radius::AuthLDAP2 ACCEPT: 
Mon Aug  7 10:41:00 2000: DEBUG: Access accepted for xxx@xxx
Mon Aug  7 10:41:00 2000: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 45306 ....
Code:       Access-Accept
Identifier: 90
Authentic:  1234567890123456
Attributes:
 FranjaHoraria = "ARRAY(0x5a6be8)"
 
Mon Aug  7 10:41:00 2000: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 45306 ....
Code:       Accounting-Request
Identifier: 91
Authentic:  <134><161>u+y<250>-8<167><147><156><130><11>u<181><27>
Attributes:
 User-Name = "xxx@xxx"
 Service-Type = Framed-User
 NAS-IP-Address = 10.0.131.4
 NAS-Port = 1234
 NAS-Port-Type = Async
 Acct-Session-Id = "00001234"
 Acct-Status-Type = Start
 
 
/ ******************************* /

 

Why radiator is returning these values?

 

thanks a lot

 

 

 

Xavier Morano Mercè  
System Manager
*  Tel:  (+34) 91 270 64 68  
*   Fax:   (+34) 91 270 61 61  
* Email: [EMAIL PROTECTED] 
        


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to