<font size="3"><font size="2"><span style="font-family: courier;">thanks for the answer,</span><br style="font-family: courier;"><span style="font-family: courier;">i want ask something</span><br style="font-family: courier;"><span style="font-family: courier;">what do you mean about "the password is NOT in the RADIUS packet"??</span></font><br></font><pre><font size="3"><tt><tt>so where is the user-password?? <br></tt></tt><br>i have removed </font><tt><tt><font size="3">Auth-Type := LDAP in users..<br>itīs still not working. what must i do?<br><br>LDAP doesnīt know EAP, so what kind of authentication i must use. <br><br>can you give me suggestion the ideal configuration for my FreeRADIUS + OpenLDAP <br>so that the authentication be performed successfully.<br><br>i will show you my freeradius log, and i hope you will correct that<br><br>Config: including file: /etc/raddb/proxy.conf<br>Config: including file: /etc/raddb/clients.conf<br>Config: including
file:<br> /etc/raddb/snmp.conf<br>Config: including file: /etc/raddb/eap.conf<br> main: prefix = "/usr"<br> main: localstatedir = "/var"<br> main: logdir = "/var/log/radius"<br> main: libdir = "/usr/lib/freeradius"<br> main: radacctdir = "/var/log/radius/radacct"<br> main: hostname_lookups = no<br> main: max_request_time = 30<br> main: cleanup_delay = 5<br> main: max_requests = 1024<br> main: delete_blocked_requests = 0<br> main: port = 0<br> main: allow_core_dumps = no<br> main: log_stripped_names = no<br> main: log_file = "/var/log/radius/radius.log"<br> main: log_auth = yes<br> main: log_auth_badpass = yes<br> main: log_auth_goodpass = yes<br> main: pidfile = "/var/run/radiusd/radiusd.pid"<br> main: user = "radius"<br> main: group = "radius"<br> main: usercollide = no<br> main: lower_user = "no"<br> main: lower_pass = "no"<br> main: nospace_user = "no"<br> main: nospace_pass = "no"<br> main: checkrad = "/usr/sbin/checkrad"<br> main: proxy_requests = yes<br> proxy:
retry_delay =<br> 5<br> proxy: retry_count = 3<br> proxy: synchronous = no<br> proxy: default_fallback = yes<br> proxy: dead_time = 120<br> proxy: post_proxy_authorize = no<br> proxy: wake_all_if_all_dead = no<br> security: max_attributes = 200<br> security: reject_delay = 1<br> security: status_server = no<br> main: debug_level = 0<br>read_config_files: reading dictionary<br>read_config_files: reading naslist<br>Using deprecated naslist file. Support for this will go away soon.<br>read_config_files: reading clients<br>read_config_files: reading realms<br>radiusd: entering modules setup<br>Module: Library search path is /usr/lib/freeradius<br>Module: Loaded exec<br> exec: wait = yes<br> exec: program = "(null)"<br> exec: input_pairs = "request"<br> exec: output_pairs = "(null)"<br> exec: packet_type = "(null)"<br>rlm_exec: Wait=yes but no output defined. Did you mean output=none?<br>Module: Instantiated exec (exec)<br>Module: Loaded expr<br>Module: Instantiated expr
(expr)<br>Module:<br> Loaded PAP<br> pap: encryption_scheme = "crypt"<br> pap: auto_header = no<br>Module: Instantiated pap (pap)<br>Module: Loaded CHAP<br>Module: Instantiated chap (chap)<br>Module: Loaded MS-CHAP<br> mschap: use_mppe = yes<br> mschap: require_encryption = yes<br> mschap: require_strong = yes<br> mschap: with_ntdomain_hack = no<br> mschap: passwd = "(null)"<br> mschap: ntlm_auth = "(null)"<br>Module: Instantiated mschap (mschap)<br>Module: Loaded Pam<br> pam: pam_auth = "radiusd"<br>Module: Instantiated pam (pam)<br>Module: Loaded System<br> unix: cache = no<br> unix: passwd = "(null)"<br> unix: shadow = "/etc/shadow"<br> unix: group = "(null)"<br> unix: radwtmp = "/var/log/radius/radwtmp"<br> unix: usegroup = no<br> unix: cache_reload = 600<br>Module: Instantiated unix (unix)<br>Module: Loaded LDAP<br> ldap: server = "localhost"<br> ldap: port = 389<br> ldap: net_timeout = 1<br> ldap: timeout = 4<br> ldap: timelimit = 3<br> ldap: identity = ""<br> ldap:
tls_mode = no<br><br> ldap: start_tls = no<br> ldap: tls_cacertfile = "(null)"<br> ldap: tls_cacertdir = "(null)"<br> ldap: tls_certfile = "(null)"<br> ldap: tls_keyfile = "(null)"<br> ldap: tls_randfile = "(null)"<br> ldap: tls_require_cert = "allow"<br> ldap: password = ""<br> ldap: basedn = "dc=aiueo,dc=com"<br> ldap: filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"<br> ldap: base_filter = "(objectclass=radiusprofile)"<br> ldap: default_profile = "(null)"<br> ldap: profile_attribute = "(null)"<br> ldap: password_header = "{CRYPT}"<br> ldap: password_attribute = "userPassword"<br> ldap: access_attr = "(null)"<br> ldap: groupname_attribute = "cn"<br> ldap: groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"<br> ldap: groupmembership_attribute = "(null)"<br> ldap: dictionary_mapping = "/etc/raddb/ldap.attrmap"<br> ldap: ldap_debug = 0<br> ldap: ldap_connections_number
= 5<br> ldap:<br> compare_check_items = no<br> ldap: access_attr_used_for_allow = yes<br> ldap: do_xlat = yes<br> ldap: set_auth_type = yes<br>rlm_ldap: Registering ldap_groupcmp for Ldap-Group<br>rlm_ldap: Registering ldap_xlat with xlat_name ldap<br>rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap<br>rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$<br>rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$<br>rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type<br>rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use<br>rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id<br>rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id<br>rlm_ldap: LDAP sambaLMPassword mapped to RADIUS LM-Password<br>rlm_ldap: LDAP sambaNTPassword mapped to RADIUS NT-Password<br>rlm_ldap: LDAP sambaAcctFlags mapped to RADIUS SMB-Account-CTRL-TEXT<br>rlm_ldap: LDAP radiusExpiration mapped to
RADIUS<br> Expiration<br>rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address<br>rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type<br>rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol<br>rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address<br>rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask<br>rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route<br>rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing<br>rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id<br>rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU<br>rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression<br>rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host<br>rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service<br>rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port<br>rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS<br>
Callback-Number<br>rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id<br>rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network<br>rlm_ldap: LDAP radiusClass mapped to RADIUS Class<br>rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout<br>rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout<br>rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action<br>rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service<br>rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node<br>rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group<br>rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link<br>rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network<br>rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone<br>rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit<br>rlm_ldap: LDAP<br>
radiusLoginLATPort mapped to RADIUS Login-LAT-Port<br>rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message<br>conns: 0x801024c0<br>Module: Instantiated ldap (ldap)<br>Module: Loaded eap<br> eap: default_eap_type = "peap"<br> eap: timer_expire = 60<br> eap: ignore_unknown_eap_types = no<br> eap: cisco_accounting_username_bug = no<br> gtc: challenge = "Password: "<br> gtc: auth_type = "PAP"<br>rlm_eap: Loaded and initialized type gtc<br> tls: rsa_key_exchange = no<br> tls: dh_key_exchange = yes<br> tls: rsa_key_length = 512<br> tls: dh_key_length = 512<br> tls: verify_depth = 0<br> tls: CA_path = "(null)"<br> tls: pem_file_type = yes<br> tls: private_key_file = "/etc/raddb/certs/cert-srv.pem"<br> tls: certificate_file = "/etc/raddb/certs/cert-srv.pem"<br> tls: CA_file = "/etc/raddb/certs/demoCA/cacert.pem"<br> tls: private_key_password = "whatever"<br> tls: dh_file = "/etc/raddb/certs/dh"<br> tls: random_file = "/etc/raddb/certs/random"<br> tls: fragment_size
=<br> 1024<br> tls: include_length = yes<br> tls: check_crl = no<br> tls: check_cert_cn = "(null)"<br> tls: cipher_list = "(null)"<br> tls: check_cert_issuer = "(null)"<br>rlm_eap_tls: Loading the certificate file as a chain<br>WARNING: rlm_eap_tls: Unable to set DH parameters. DH cipher suites may not work!<br>WARNING: Fix this by running the OpenSSL command listed in eap.conf<br>rlm_eap: Loaded and initialized type tls<br> peap: default_eap_type = "mschapv2"<br> peap: copy_request_to_tunnel = no<br> peap: use_tunneled_reply = no<br> peap: proxy_tunneled_request_as_eap = yes<br>rlm_eap: Loaded and initialized type peap<br> mschapv2: with_ntdomain_hack = no<br>rlm_eap: Loaded and initialized type mschapv2<br>Module: Instantiated eap (eap)<br>Module: Loaded preprocess<br> preprocess: huntgroups = "/etc/raddb/huntgroups"<br> preprocess: hints = "/etc/raddb/hints"<br> preprocess: with_ascend_hack = no<br> preprocess: ascend_channels_per_line = 23<br> preprocess:
with_ntdomain_hack<br> = no<br> preprocess: with_specialix_jetstream_hack = no<br> preprocess: with_cisco_vsa_hack = no<br> preprocess: with_alvarion_vsa_hack = no<br>Module: Instantiated preprocess (preprocess)<br>Module: Loaded realm<br> realm: format = "suffix"<br> realm: delimiter = "@"<br> realm: ignore_default = no<br> realm: ignore_null = no<br>Module: Instantiated realm (suffix)<br>Module: Loaded files<br> files: usersfile = "/etc/raddb/users"<br> files: acctusersfile = "/etc/raddb/acct_users"<br> files: preproxy_usersfile = "/etc/raddb/preproxy_users"<br> files: compat = "no"<br>Module: Instantiated files (files)<br>Module: Loaded Acct-Unique-Session-Id<br> acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"<br>Module: Instantiated acct_unique (acct_unique)<br>Module: Loaded detail<br> detail: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"<br> detail: detailperm = 384<br> detail: dirperm = 493<br>
detail: locking =<br> no<br>Module: Instantiated detail (detail)<br>Module: Loaded radutmp<br> radutmp: filename = "/var/log/radius/radutmp"<br> radutmp: username = "%{User-Name}"<br> radutmp: case_sensitive = yes<br> radutmp: check_with_nas = yes<br> radutmp: perm = 384<br> radutmp: callerid = yes<br>Module: Instantiated radutmp (radutmp)<br>Listening on authentication *:1812<br>Listening on accounting *:1813<br>Ready to process requests.</font></tt></tt></pre><p>
<hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a>