RADIUS LDAP Problem

2005-05-17 Thread Christian Zawada
Hello,
it does not function, ( Authentification Win XP to Radius).
Errorlog:
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to 192.168.0.101:389, authentication 0
rlm_ldap: bind as cn=admin,dc=,dc=xx/ to 192.168.0.101:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in dc=,dc=xxx, with filter (uid=test1)
rlm_ldap: checking if remote access for test1 is allowed by dialupAccess
rlm_ldap: looking for check items in directory...
rlm_ldap: Adding ntPassword as NT-Password, value test1 & op=21
rlm_ldap: looking for reply items in directory...
rlm_ldap: user test1 authorized to use remote access
rlm_ldap: 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 LDAP
auth: type "LDAP"
 Processing the authenticate section of radiusd.conf
modcall: entering group Auth-Type for request 0
rlm_ldap: - authenticate
rlm_ldap: Attribute "User-Password" is required for authentication.
 modcall[authenticate]: module "ldap" returns invalid for request 0
modcall: group Auth-Type returns invalid for request 0
auth: Failed to validate the user.
Login incorrect: [test1/]
thanks,
Christian
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RADIUS LDAP Problem

2005-05-15 Thread Christian Zawada
Hello,
here are the files:
radius.conf
--  
ldap {
   server = 192.168.0.101
   identity = "cn=admin,dc=,dc=xx"
   password = x
   basedn = "dc=,dc=xx"
   filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
   base_filter = "(objectclass=radiusprofile)"

 
   start_tls = no

 
   # default_profile = "cn=radprofile,ou=dialup,o=My Org,c=UA"
   # profile_attribute = "radiusProfileDn"
   access_attr = "dialupAccess"

   # Mapping of RADIUS dictionary attributes to LDAP
   # directory attributes.
   dictionary_mapping = ${raddbdir}/ldap.attrmap
   ldap_connections_number = 5
  
# password_header = "{clear}"

   password_attribute = userPassword
   #
   edir_account_policy_check=no
 
   timeout = 4
   timelimit = 3
   net_timeout = 1
   
   }

-- 
ldif:

*dn:uid=test1,ou=users,ou=radius,dc=,dc=xx
uid: test1
dialupAccess: yes
objectClass: radiusprofile
objectClass: top
userPassword: test1
thanks
Christian
*


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


RADIUS LDAP Problem

2005-05-14 Thread Christian Zawada
Hello,
I have a problem with freeradius and ldap.
 
here is the error logfile:

rlm_ldap: checking if remote access for test1 is allowed by dialupAccess
rlm_ldap: Password header not found in password test1 for user test1
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user test1 authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
 modcall[authorize]: module "ldap" returns ok for request 8
modcall: group authorize returns updated for request 8
 rad_check_password:  Found Auth-Type LDAP
auth: type "LDAP"
 Processing the authenticate section of radiusd.conf
modcall: entering group Auth-Type for request 8
rlm_ldap: - authenticate
rlm_ldap: Attribute "User-Password" is required for authentication.
 modcall[authenticate]: module "ldap" returns invalid for request 8
modcall: group Auth-Type returns invalid for request 8
auth: Failed to validate the user.
Login incorrect: [test1/]
Could somebody help me?
Christian
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Problem with Win XP, EAP and Radius

2005-04-23 Thread Christian Zawada
Hallo,
do I need for EAP Authentifikation certificates?
Christian
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Problem with Win XP, EAP and Radius

2005-04-22 Thread Christian Zawada
Hello,
I have this problem with freeradius:
rlm_eap: No such EAP type peap
 rlm_eap: Failed in EAP select
Login incorrect: [test/]
Christian
_here is the complete log file:_
radius:~# freeradius -A -X
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/freeradius/proxy.conf
Config:   including file: /etc/freeradius/clients.conf
Config:   including file: /etc/freeradius/snmp.conf
Config:   including file: /etc/freeradius/eap.conf
Config:   including file: /etc/freeradius/sql.conf
main: prefix = "/usr"
main: localstatedir = "/var"
main: logdir = "/var/log/freeradius"
main: libdir = "/usr/lib/freeradius"
main: radacctdir = "/var/log/freeradius/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/freeradius/radius.log"
main: log_auth = yes
main: log_auth_badpass = yes
main: log_auth_goodpass = yes
main: pidfile = "/var/run/freeradius/freeradius.pid"
main: user = "freerad"
main: group = "freerad"
main: usercollide = no
main: lower_user = "no"
main: lower_pass = "no"
main: nospace_user = "no"
main: nospace_pass = "no"
main: checkrad = "/usr/sbin/checkrad"
main: proxy_requests = yes
proxy: retry_delay = 5
proxy: retry_count = 3
proxy: synchronous = no
proxy: default_fallback = yes
proxy: dead_time = 120
proxy: post_proxy_authorize = yes
proxy: wake_all_if_all_dead = 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 /usr/lib/freeradius
Module: Loaded exec
exec: wait = yes
exec: program = "(null)"
exec: input_pairs = "request"
exec: output_pairs = "(null)"
exec: packet_type = "(null)"
rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Module: Instantiated exec (exec)
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded eap
eap: default_eap_type = "md5"
eap: timer_expire = 60
eap: ignore_unknown_eap_types = no
eap: cisco_accounting_username_bug = no
rlm_eap: Loaded and initialized type md5
gtc: challenge = "Password: "
gtc: auth_type = "PAP"
rlm_eap: Loaded and initialized type gtc
Module: Instantiated eap (eap)
Module: Loaded preprocess
preprocess: huntgroups = "/etc/freeradius/huntgroups"
preprocess: hints = "/etc/freeradius/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
Module: Instantiated preprocess (preprocess)
Module: Loaded files
files: usersfile = "/etc/freeradius/users"
files: acctusersfile = "/etc/freeradius/acct_users"
files: preproxy_usersfile = "/etc/freeradius/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 acct_unique (acct_unique)
Module: Loaded realm
realm: format = "suffix"
realm: delimiter = "@"
realm: ignore_default = no
realm: ignore_null = no
Module: Instantiated realm (suffix)
Module: Loaded detail
detail: detailfile = 
"/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
detail: detailperm = 384
detail: dirperm = 493
detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded System
unix: cache = no
unix: passwd = "(null)"
unix: shadow = "/etc/shadow"
unix: group = "(null)"
unix: radwtmp = "/var/log/freeradius/radwtmp"
unix: usegroup = no
unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded radutmp
radutmp: filename = "/var/log/freeradius/radutmp"
radutmp: username = "%{User-Name}"
radutmp: case_sensitive = yes
radutmp: check_with_nas = yes
radutmp: perm = 384
radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Listening on authentication *:1812
Listening on accounting *:1813
Listening on proxy *:1814
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.0.1:1030, id=195, 
length=119
   User-Name = "test"
   NAS-IP-Address = 192.168.0.1
   Framed-MTU = 1496
   Called-Station-Id = "00-a0-c5-5c-a2-a2:wlan-22"
   Calling-Station-Id = "00-20-e0-4d-06-cb"
   NAS-Port-Type = Wireless-802.11
   EAP-Message = 0x020d00090174657374
   Message-Authenticator = 0x4211f7c5bfdcbd903757e845a50fbd7e
 Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
 modcall[authorize]: module "preprocess" returns ok for request 0
 rlm_eap: EAP packet type response id 13 length 9
 rlm_eap: No EAP Start, assuming it's an on-going