Re: Radius auth to RSA/ACE Server fails
| From: | Michael Bretterklieber | Date: | Wed, 16 Apr 2003 06:40:52 +0000 |
| Subject: | Re: Radius auth to RSA/ACE Server fails | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15197@lists.php.net to get a copy of this message | ||
Hi,
Walt Boring schrieb:
Howdy, I am trying to get the Auth_Radius package to work talking to an RSA/ACE Radius server which is in front of an RSA/ACE SecurID server. I keep getting invalid packet errors from the RADIUS debugging log. [quote] ace_radius_receive.cpp(174): Received auth packet ace_radius_database.cpp(415): Attribute 32 Length 23 ace_radius_database.cpp(415): Attribute 6 Length 6 ace_radius_database.cpp(415): Attribute 7 Length 6 ace_radius_database.cpp(415): Attribute 31 Length 11 ace_radius_database.cpp(415): Attribute 1 Length 10 ace_radius_database.cpp(415): Attribute 1 Length 10 ace_radius_database.cpp(447): Duplicate user nameI guess he is dropping the RADIUS_USER_NAME attribute because it appears twice in the request,
ace_radius_database.cpp(544): No user or password in the packet and then he doesen't find the Username attribute.Can you please try this patch (apply with: patch < pathfile): Index: RADIUS.php =================================================================== RCS file: /repository/pear/Auth_RADIUS/RADIUS.php,v retrieving revision 1.2 diff -u -r1.2 RADIUS.php --- RADIUS.php 15 Feb 2003 21:09:02 -0000 1.2 +++ RADIUS.php 16 Apr 2003 06:38:26 -0000 @@ -272,9 +272,6 @@
$this->putAttribute(RADIUS_SERVICE_TYPE, RADIUS_FRAMED);
$this->putAttribute(RADIUS_FRAMED_PROTOCOL, RADIUS_PPP);
$this->putAttribute(RADIUS_CALLING_STATION_ID, isset($var['REMOTE_HOST']) ? $var['REMOTE_HOST'] : '127.0.0.1');
- if (isset($this->username)) {
- $this->putAttribute(RADIUS_USER_NAME, $this->username);
- }
}
/**bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - Michael.Bretterklieber@jawa.at JAWA Management Software GmbH - http://www.jawa.at Liebenauer Hauptstr. 200 -------------- privat ------------ A-8041 GRAZ GSM: ++43-(0)676-84 03 15 712 Tel: ++43-(0)316-403274-12 E-mail: michael@bretterklieber.com Fax: ++43-(0)316-403274-10 http://www.bretterklieber.com ------------------------------- ---------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972