RE: PEAP and LDAP doesn't authenticate

2003-10-28 Thread Marios Karagiannopoulos
Hi Alan,

If I use the same username/password with the radtest cmd it
authenticates me well over LDAP. 
Should I need to define any encryption method in the radiusd.conf?

Thanks
Marios

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Tuesday, October 28, 2003 7:38 PM
To: [EMAIL PROTECTED]
Subject: Re: PEAP and LDAP doesn't authenticate 


"Marios Karagiannopoulos" <[EMAIL PROTECTED]> wrote:
> I don't understand at all what's going on. I would appreciate it If 
> you could give me a tip.

  The password is wrong.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: PEAP and LDAP doesn't authenticate

2003-10-28 Thread Alan DeKok
"Marios Karagiannopoulos" <[EMAIL PROTECTED]> wrote:
> I don't understand at all what's going on. I would appreciate it If you
> could give me a tip. 

  The password is wrong.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


PEAP and LDAP doesn't authenticate

2003-10-27 Thread Marios Karagiannopoulos
Hi guys,

Could you please check my radiusd -X -A below?

I'm trying to authenticate a Windows XP supplicant (PEAP) through an
802.1X SMC AP (10.1.0.180) and freeradius from the latest nightly build
! The LDAP server is an Active Directory Server (Windows 2003 Server).
Please keep in mind that local users from users file are well
authenticated through PEAP.

I don't understand at all what's going on. I would appreciate it If you
could give me a tip. 

Thanks
Marios

rad_recv: Access-Request packet from host 10.1.0.180:33736, id=2,
length=144 User-Name = "marios" NAS-IP-Address = 62.103.237.224
Called-Station-Id = "00-04-E2-7D-26-F9:DAEDALUS" Calling-Station-Id =
"00-04-E2-63-42-E3" NAS-Identifier = "SMC-AP" NAS-Port = 29 Service-Type
= Framed-User Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0202000b016d6172696f73 Message-Authenticator =
0xb9fe2476075d0dbdc6ab3c9698063a4c
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
radius_xlat:
'/usr/local/var/log/radius/radacct/10.1.0.180/auth-detail-20031027'
rlm_detail:
/usr/local/var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%
d expands to
/usr/local/var/log/radius/radacct/10.1.0.180/auth-detail-20031027
modcall[authorize]: module "auth_log" returns ok for request 0
modcall[authorize]: module "attr_filter" returns noop for request 0
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 0
rlm_realm: No '@' in User-Name = "marios", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
users: Matched DEFAULT at 152
users: Matched DEFAULT at 155
modcall[authorize]: module "files" returns ok for request 0
rlm_ldap: - authorize
rlm_ldap: performing user authorization for marios
radius_xlat: '(SamAccountName=marios)'
radius_xlat: 'cn=Users,dc=daedalusnetworks,dc=priv'
ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to kronos:389, authentication 0
rlm_ldap: bind as
cn=Administrator,cn=Users,dc=daedalusnetworks,dc=priv/para$dipla to
kronos:389
rlm_ldap: waiting for bind result ...
rlm_ldap: performing search in cn=Users,dc=daedalusnetworks,dc=priv,
with filter (SamAccountName=marios)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user marios authorized to use remote access
ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 0
modcall: group authorize returns updated for request 0
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate for request 0
rlm_eap: EAP Identity
rlm_eap: processing type tls
rlm_eap_tls: Initiate
rlm_eap_tls: Start returned 1
modcall[authenticate]: module "eap" returns handled for request 0
modcall: group authenticate returns handled for request 0 Sending
Access-Challenge of id 2 to 10.1.0.180:33736 Service-Type = Framed-User
Framed-IP-Address = 10.1.0.180 EAP-Message = 0x010300061920
Message-Authenticator = 0x
State = 0xf9c4b0ad2c091312990cf42e4545a071
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 10.1.0.180:33737, id=3,
length=231 User-Name = "marios" NAS-IP-Address = 62.103.237.224
Called-Station-Id = "00-04-E2-7D-26-F9:DAEDALUS" Calling-Station-Id =
"00-04-E2-63-42-E3" NAS-Identifier = "SMC-AP" NAS-Port = 29 Service-Type
= Framed-User Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 State =
0xf9c4b0ad2c091312990cf42e4545a071
EAP-Message =
0x02030050198000461603010041013d03013f9d5d8ac976b2444d97c64e4dc4
8e5a19883200b21ae56ab40ff838f21fc5db1600040005000a000900640062000300
060013001200630100
Message-Authenticator = 0x58d9c6f6706e1e00b559fb8aa4af03c0
modcall: entering group authorize for request 1
modcall[authorize]: module "preprocess" returns ok for request 1
radius_xlat:
'/usr/local/var/log/radius/radacct/10.1.0.180/auth-detail-20031027'
rlm_detail:
/usr/local/var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%
d expands to
/usr/local/var/log/radius/radacct/10.1.0.180/auth-detail-20031027
modcall[authorize]: module "auth_log" returns ok for request 1
modcall[authorize]: module "attr_filter" returns noop for request 1
rlm_eap: EAP packet type response id 3 length 80
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 1
rlm_realm: No '@' in User-Name = "marios", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 1
users: Matched DEFAULT at 152
users: Matched DEFAULT at 155
modcall[authorize]: module "files" returns ok for request 1
rlm_ldap: - authorize
rlm_ldap: performing user authorization for