Re: [SOLVED] Freeradius Authentication to Actice Directory

2007-02-23 Thread sanni

Thats it! 
If i user uppercase username for login the client it works.
Can i set uppercase as default in the radiusd.conf? I found only to make it
lowercase.

Thank you very much. 


A.L.M.Buxey wrote:
 
 hi,
 
 from a 2 second inspection on the error I can see one major
 difference - you are logging in with lower case, not upper case.
 
 the ntlm_auth is failing because the challenge-response for this
 user is not working. i suggest you check out the 'case sensitive'
 parts of your radiusd config!
 
 alan
 - 
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
 
 

-- 
View this message in context: 
http://www.nabble.com/Freeradius-Authentication-to-Actice-Directory-tf3273167.html#a9115547
Sent from the FreeRadius - User mailing list archive at Nabble.com.

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


Re: [SOLVED] Freeradius Authentication to Actice Directory

2007-02-23 Thread sanni

I found the Problem:

Some account names in the Active Directory were in uppercase, now i changed
all to lowercase. 
And now it works with the lowercase login.



sanni wrote:
 
 Thats it! 
 If i user uppercase username for login the client it works.
 Can i set uppercase as default in the radiusd.conf? I found only to make
 it lowercase.
 
 Thank you very much. 
 
 
 A.L.M.Buxey wrote:
 
 hi,
 
 from a 2 second inspection on the error I can see one major
 difference - you are logging in with lower case, not upper case.
 
 the ntlm_auth is failing because the challenge-response for this
 user is not working. i suggest you check out the 'case sensitive'
 parts of your radiusd config!
 
 alan
 - 
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Freeradius-Authentication-to-Actice-Directory-tf3273167.html#a9117645
Sent from the FreeRadius - User mailing list archive at Nabble.com.

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


Freeradius Authentication to Actice Directory

2007-02-22 Thread sanni

I configured a freeradius server which should authenticate users on a Windows
2003 Active Directory server.

Here are my configs:
http://sanni.org/stuff/radius/clients.conf
http://sanni.org/stuff/radius/eap.conf
http://sanni.org/stuff/radius/radiusd.conf
http://sanni.org/stuff/radius/users

The Clients are Windows XP SP2 with WPA2 Patch. 
If i try to authenticate with a Dell Laptop and its integratet wlan card it
works fine (log: http://sanni.org/stuff/radius/works.txt).

But if i try to logon on with a PC, which has a USB wlan card
(http://www.avm.de/de/Produkte/FRITZBox/FRITZ_WLAN_USB_Stick/index.html)
i get Exec-Program output: Logon failure (0xc06d). Settings are the
same. And the USB stick works in the Laptop also. 

I seems that the freeradius works correct with laptops, but why doesn't it
work with normal PCs.


Here is the full debug, of a try with a normal PC:

[EMAIL PROTECTED]:/var/log/radius# radiusd -X
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/raddb/clients.conf
Config:   including file: /etc/raddb/eap.conf
 main: prefix = 
 main: localstatedir = /var
 main: logdir = /var/log/radius
 main: libdir = /lib
 main: radacctdir = /var/log/radius/radacct
 main: hostname_lookups = no
 main: max_request_time = 30
 main: cleanup_delay = 5
 main: max_requests = 1024
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = /var/log/radius/radius.log
 main: log_auth = yes
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = /var/run/radiusd/radiusd.pid
 main: user = (null)
 main: group = (null)
 main: usercollide = no
 main: lower_user = no
 main: lower_pass = no
 main: nospace_user = no
 main: nospace_pass = no
 main: checkrad = /sbin/checkrad
 main: proxy_requests = no
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will go away soon.
read_config_files:  reading clients
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is /lib
Module: Loaded PAP
 pap: encryption_scheme = md5
 pap: auto_header = no
Module: Instantiated pap (pap)
Module: Loaded MS-CHAP
 mschap: use_mppe = no
 mschap: require_encryption = yes
 mschap: require_strong = yes
 mschap: with_ntdomain_hack = yes
 mschap: passwd = (null)
 mschap: ntlm_auth = /usr/bin/ntlm_auth --request-nt-key
--username=%{mschap:User-Name} --challenge=%{mschap:Challenge:-00}
--nt-response=%{mschap:NT-Response:-00}
Module: Instantiated mschap (mschap)
Module: Loaded eap
 eap: default_eap_type = peap
 eap: timer_expire = 60
 eap: ignore_unknown_eap_types = no
 eap: cisco_accounting_username_bug = no
rlm_eap: Loaded and initialized type md5
rlm_eap: Loaded and initialized type leap
 gtc: challenge = Password: 
 gtc: auth_type = PAP
rlm_eap: Loaded and initialized type gtc
 tls: rsa_key_exchange = no
 tls: dh_key_exchange = yes
 tls: rsa_key_length = 512
 tls: dh_key_length = 512
 tls: verify_depth = 0
 tls: CA_path = (null)
 tls: pem_file_type = yes
 tls: private_key_file = /etc/raddb/certs/lmtsu001.pem
 tls: certificate_file = /etc/raddb/certs/lmtsu001.pem
 tls: CA_file = /etc/raddb/certs/LiebherrRootCA.pem
 tls: private_key_password = secret
 tls: dh_file = /etc/raddb/certs/dh
 tls: random_file = /etc/raddb/certs/random
 tls: fragment_size = 1024
 tls: include_length = yes
 tls: check_crl = no
 tls: check_cert_cn = (null)
 tls: cipher_list = (null)
 tls: check_cert_issuer = (null)
rlm_eap_tls: Loading the certificate file as a chain
rlm_eap: Loaded and initialized type tls
 peap: default_eap_type = mschapv2
 peap: copy_request_to_tunnel = no
 peap: use_tunneled_reply = no
 peap: proxy_tunneled_request_as_eap = yes
rlm_eap: Loaded and initialized type peap
 mschapv2: with_ntdomain_hack = no
rlm_eap: Loaded and initialized type mschapv2
Module: Instantiated eap (eap)
Module: Loaded preprocess
 preprocess: huntgroups = /etc/raddb/huntgroups
 preprocess: hints = /etc/raddb/hints
 preprocess: with_ascend_hack = no
 preprocess: ascend_channels_per_line = 23
 preprocess: with_ntdomain_hack = no
 preprocess: with_specialix_jetstream_hack = no
 preprocess: with_cisco_vsa_hack = no
 preprocess: with_alvarion_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
 realm: format = suffix
 realm: delimiter = @
 realm: ignore_default = no
 realm: ignore_null = no
Module: Instantiated realm (suffix)
Module: Loaded files
 files: usersfile = /etc/raddb/users
 files: acctusersfile = /etc/raddb/acct_users
 files: preproxy_usersfile = /etc/raddb/preproxy_users
 files: compat = no
Module: Instantiated files (files)
Module: Loaded Acct-Unique-Session-Id
 acct_unique: key = User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port
Module: Instantiated