(RADIATOR) LDAP+md5

Munkhammar Jan jan.munkhammar at siemens.com
Tue Oct 28 09:04:58 CST 2003


I had the same problem and found that you need to have "MD" in {MD5} as
capital letters. Change {md5}$1$41a6a36598a0acd0d0c3aac95edc7b35 to
{MD5}$1$41a6a36598a0acd0d0c3aac95edc7b35 and it will work.

cheers, \\Jan

-----Original Message-----
From: deden purnamahadi [mailto:dedenph at hotmail.com]
Sent: Tuesday, October 28, 2003 10:01 AM
To: chanakam at millenniumit.com; radiator at open.com.au
Subject: (RADIATOR) LDAP+md5


This is my config file :

<Client DEFAULT>
        Secret  mysecret
        DupInterval 0
</Client>

<Realm DEFAULT>
        RewriteUsername s/^([^@]+).*/$1/
        <AuthBy LDAP2>
#               NoDefault
                Version         3
                Host            mail
                Port            389
                AuthDN          cn=root,o=ISP,c=IX
                AuthPassword    secret
                BaseDN          o=ISP,c=IX
                UsernameAttr    uid
                PasswordAttr    userPassword
                AuthAttrDef     servicetype,Service-Type,check
                AuthAttrDef     address,Frame-IP-Address,reply
        </AuthBy>

        <AuthBy SQL>



This is the error message when I try with user 'farida' password 'farida' 
md5 encryption :


Tue Oct 28 15:55:56 2003: DEBUG: Handling request with Handler 
'Realm=DEFAULT'
Tue Oct 28 15:55:56 2003: DEBUG: Rewrote user name to farida
Tue Oct 28 15:55:56 2003: DEBUG:  Deleting session for farida, 203.63.154.1,

1234
Tue Oct 28 15:55:56 2003: DEBUG: Handling with Radius::AuthLDAP2:
Tue Oct 28 15:55:56 2003: INFO: Connecting to mail, port 389
Tue Oct 28 15:55:56 2003: INFO: Attempting to bind to LDAP server mail:389)
Tue Oct 28 15:55:56 2003: DEBUG: LDAP got result for 
uid=farida,ou=isp,o=topnet,c=ID
Tue Oct 28 15:55:56 2003: DEBUG: LDAP got userPassword: 
{md5}$1$41a6a36598a0acd0d0c3aac95edc7b35
Tue Oct 28 15:55:56 2003: DEBUG: Radius::AuthLDAP2 looks for match with 
farida
Tue Oct 28 15:55:56 2003: DEBUG: Radius::AuthLDAP2 REJECT: Bad Password
Tue Oct 28 15:55:56 2003: INFO: Connecting to mail, port 389
Tue Oct 28 15:55:56 2003: INFO: Attempting to bind to LDAP server mail:389)
Tue Oct 28 15:55:56 2003: DEBUG: No entries for DEFAULT found in LDAP 
database
Tue Oct 28 15:55:56 2003: INFO: Access rejected for farida: Bad Password
Tue Oct 28 15:55:56 2003: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 32864 ....


Anyone can help ?


Thx in advance



Warmest regards


ddn

_________________________________________________________________
Enjoy MSN 8 patented spam control and more with MSN 8 Dial-up Internet 
Service.  Try it FREE for one month!   http://join.msn.com/?page=dept/dialup

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list