Hi,
Here more info (trace 4)
dns2# perl radiusd -config_file ldap.cfg
Tue Sep 14 13:58:41 1999: INFO: Server started
Tue Sep 14 13:58:47 1999: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 1181 ....
Code: Access-Request
Identifier: 196
Authentic: 1234567890123456
Attributes:
User-Name = "andre"
Service-Type = Framed-User
NAS-IP-Address = 203.63.154.1
NAS-Port = 1234
NAS-Port-Type = Async
User-Password = ****************
Tue Sep 14 13:58:47 1999: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Tue Sep 14 13:58:47 1999: DEBUG: Deleting session for andre, 203.63.154.1, 1234
Tue Sep 14 13:58:47 1999: DEBUG: Handling with Radius::AuthLDAP
Tue Sep 14 13:58:47 1999: DEBUG: Connecting to *********, port 389
ep 14 13:58:47 1999: DEBUG: LDAP got result for cn=Andre Oppermann, o=Wish, c=NL
Tue Sep 14 13:58:47 1999: DEBUG: LDAP got userpassword: {MD5}*****************
Tue Sep 14 13:58:47 1999: DEBUG: Radius::AuthLDAP looks for match with andre
Tue Sep 14 13:58:47 1999: DEBUG: Radius::AuthLDAP REJECT: Bad Password
Tue Sep 14 13:58:47 1999: DEBUG: Connecting to **********, port 389
Tue Sep 14 13:58:47 1999: DEBUG: No entries for DEFAULT found in LDAP database
Tue Sep 14 13:58:47 1999: INFO: Access rejected for andre: Bad Password
Tue Sep 14 13:58:47 1999: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 1181 ....
Code: Access-Reject
Identifier: 196
Authentic: 1234567890123456
Attributes:
Reply-Message = "Request Denied"
Tue Sep 14 13:58:47 1999: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 1181 ....
Code: Accounting-Request
Identifier: 197
Authentic: ******************
Attributes:
User-Name = "andre"
Service-Type = Framed-User
NAS-IP-Address = 203.63.154.1
NAS-Port = 1234
NAS-Port-Type = Async
Acct-Session-Id = "00001234"
Acct-Status-Type = Start
Tue Sep 14 13:58:47 1999: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Tue Sep 14 13:58:47 1999: DEBUG: Adding session for andre, 203.63.154.1, 1234
Tue Sep 14 13:58:47 1999: DEBUG: Handling with Radius::AuthLDAP
Tue Sep 14 13:58:47 1999: DEBUG: Accounting accepted
Tue Sep 14 13:58:47 1999: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 1181 ....
Code: Accounting-Response
Identifier: 197
Authentic: ***********************
Attributes:
Tue Sep 14 13:58:47 1999: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 1181 ....
Code: Accounting-Request
Identifier: 198
Authentic: ****************
Attributes:
User-Name = "andre"
Service-Type = Framed-User
NAS-IP-Address = 203.63.154.1
NAS-Port = 1234
NAS-Port-Type = Async
Acct-Session-Id = "00001234"
Acct-Status-Type = Stop
Acct-Delay-Time = 0
Acct-Session-Time = 1000
Acct-Input-Octets = 20000
Acct-Output-Octets = 30000
Tue Sep 14 13:58:47 1999: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Tue Sep 14 13:58:47 1999: DEBUG: Deleting session for andre, 203.63.154.1, 1234
Tue Sep 14 13:58:47 1999: DEBUG: Handling with Radius::AuthLDAP
Tue Sep 14 13:58:47 1999: DEBUG: Accounting accepted
Tue Sep 14 13:58:47 1999: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 1181 ....
Code: Accounting-Response
Identifier: 198
Authentic: ********************
Attributes:
The software i've installed:
Digest-MD5-2.09.tar.gz
MIME-Base64-2.11.tar.gz
Net-LDAPapi-1.42.tar.gz
openldap-release.tgz (v 1.2.7)
perl-ldap-0.13.tar.gz
patches-2.14.1.tar.gz
URI-1.04.tar.gz
Convert-BER-1.26.tar.gz
My ldap.cfg file:
Host hostname
AuthDN cn=radius,o=WISH, c=NL
BaseDN o=WISH, c=NL
AuthPassword *********
UsernameAttr uid
PasswordAttr userPassword
--- - --- ------ - --- -- - - - -- -
R. Gruyters: System Manager/Web designer/B.O.F.H.
[ email : [EMAIL PROTECTED] ]
[ pgpkey : finger [EMAIL PROTECTED] ]
"UNIX is user friendly. It's just selective about who its friends are."
PGP signature