Alan DeKok wrote:
> "Chan Min Wai (System Administrator)" <[EMAIL PROTECTED]> wrote:
>
>>My question is.
>>1) Can I do Auth using MS MD5-Challenge (Which Password input is EAP),
>>with a back end Ldap Server.
>
>
> I think you have your terminology confused. There is no "MS
> MD5-Challenge" system. EAP isn't a password input system.
>
> What you can do is to store clear-text passwords in an LDAP
> database. When an Access-Request comes into the server, the server
> can pull the clear-text password for the user from LDAP. The server
> can then use this clear-text password to perform any kind of
> authentication.
Ok I've done this, putting clear-text password to the server, although I
think that this is not a good way. But for the time being let follow
your instruction ;)
>>3) When I Change the configuration to the switch and Win-Xp, here come
>>the userpassword Attribution need (I suspect that freeradius need it
>>from the Input rather checking them with my ldap server)
>
>
> I think you're referring to an error message in the server (which
> you didn't quote).
>
Here is the new Error message:
==============================
rad_recv: Access-Request packet from host 192.168.0.16:8021, id=11,
length=182
Framed-MTU = 1466
NAS-IP-Address = 192.168.0.16
NAS-Identifier = "D-Link"
User-Name = "eelock"
Service-Type = Framed-User
NAS-Port = 65
NAS-Port-Type = Ethernet
NAS-Port-Id = "ether5_65"
Called-Station-Id = "00-0d-88-cf-ad-60"
Calling-Station-Id = "00-0b-6a-51-8e-9e"
Connect-Info = "CONNECT Ethernet 2Mbps Full duplex"
EAP-Message = 0x0202000b0165656c6f636b
Message-Authenticator = 0x0ba80d3a76363a9c0b24f714a3823f9c
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 2
modcall[authorize]: module "preprocess" returns ok for request 2
modcall[authorize]: module "chap" returns noop for request 2
modcall[authorize]: module "mschap" returns noop for request 2
rlm_realm: No '@' in User-Name = "eelock", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 2
rlm_eap: EAP packet type response id 2 length 11
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 2
users: Matched eelock at 101
modcall[authorize]: module "files" returns ok for request 2
rlm_ldap: - authorize
rlm_ldap: performing user authorization for eelock
radius_xlat: '(uid=eelock)'
radius_xlat: 'dc=ocesb,dc=com,dc=my'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: performing search in dc=ocesb,dc=com,dc=my, with filter
(uid=eelock)
rlm_ldap: checking if remote access for eelock is allowed by dialupAccess
rlm_ldap: looking for check items in directory...
rlm_ldap: Adding sambaAcctFlags as SMB-Account-CTRL-TEXT, value [U & op=21
rlm_ldap: Adding sambaNTPassword as NT-Password, value
4057B60B514C5402DDE3D29A1 845C366 & op=21
rlm_ldap: Adding sambaLMPassword as LM-Password, value
23B3EFCAA559D0DBAAD3B435B 51404EE & op=21
rlm_ldap: Adding radiusAuthType as Auth-Type, value ldap & op=21
rlm_ldap: looking for reply items in directory...
rlm_ldap: Adding radiusFramedIPNetmask as Framed-IP-Netmask, value
255.255.255.0 & op=11
rlm_ldap: Adding radiusFramedIPAddress as Framed-IP-Address, value
192.168.0.36 & op=11
rlm_ldap: Adding radiusFramedProtocol as Framed-Protocol, value PPP & op=11
rlm_ldap: user eelock authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 2
modcall: group authorize returns updated for request 2
rad_check_password: Found Auth-Type ldap
auth: type "LDAP"
Processing the authenticate section of radiusd.conf
modcall: entering group Auth-Type for request 2
rlm_ldap: - authenticate
rlm_ldap: Attribute "User-Password" is required for authentication.
modcall[authenticate]: module "ldap" returns invalid for request 2
modcall: group Auth-Type returns invalid for request 2
auth: Failed to validate the user.
Delaying request 2 for 1 seconds
Finished request 2
Going to the next request
How come The message show...
rlm_ldap: - authenticate
Then .... rlm_ldap: Attribute "User-Password" is required for
authentication.
No idea...
> You MUST supply the server with a clear-text password for the usr.
> Without that password, the server CANNOT authenticate someone.
Must that be clear-text? What about MD5 Hashed or other?
>>So Please If anyone know the way to make ldap + win xp (MD5-challenge) +
>>freeradius) To work without using TLS Or anyway. Please do give a little
>>help to me.
>
>
> You have to use TLS. See the "howto" documents.
But this is a Wired Connection not wireless...
I see some of the mail telling me that, you can use MD5-challenge in
Windows (802.11x options) and don't need TLS?
Thank You
Chan Min Wai
p.s Sorry for the Vcard, it seem that, mozilla vcard changes only apply
on researt mozilla.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html