radutmp only show one user

Daniel Soto daxocam at uax.es
Tue Oct 5 10:03:52 CEST 2010



hi, 



mi name is Daniel. 



my problem is about simultaneous-use,  i need use this attribute, but when i try use it, only the last user logged apply this attribute. 



i think the problem is radutmp, when i execute the radwho command i only can see the last user logged. 



is possible a problem whit the nas-port (ever is nas port 0), too i received this message 



 Error: rlm_radutmp: Logout entry for NAS cisco_pruebas port 0 has wrong ID 


when the user that appear in radwho is disconnected. 





this is my radiusd -X 





Starting - reading configuration files ... 
reread_config:  reading radiusd.conf 
Config:   including file: /etc/raddb/proxy.conf 
Config:   including file: /etc/raddb/clients.conf 
Config:   including file: /etc/raddb/snmp.conf 
Config:   including file: /etc/raddb/eap.conf 
 main: prefix = "/usr" 
 main: localstatedir = "/var" 
 main: logdir = "/var/log/radius" 
 main: libdir = "/usr/lib" 
 main: radacctdir = "/var/log/radius/radacct" 
 main: hostname_lookups = yes 
 main: snmp = yes 
 main: max_request_time = 30 
 main: cleanup_delay = 5 
 main: max_requests = 1024 
 main: delete_blocked_requests = 0 
 main: port = 1812 
 main: allow_core_dumps = no 
 main: log_stripped_names = yes 
 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: bind_address = 12.12.12.40 IP address [12.12.12.40] 
 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 = "/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 = no 
 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 
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 PAP 
 pap: encryption_scheme = "clear" 
Module: Instantiated pap (pap) 
Module: Loaded CHAP 
Module: Instantiated chap (chap) 
Module: Loaded MS-CHAP 
 mschap: use_mppe = yes 
 mschap: require_encryption = no 
 mschap: require_strong = no 
 mschap: with_ntdomain_hack = no 
 mschap: passwd = "(null)" 
 mschap: ntlm_auth = "(null)" 
Module: Instantiated mschap (mschap) 
Module: Loaded Pam 
 pam: pam_auth = "radiusd" 
Module: Instantiated pam (pam) 
Module: Loaded System 
 unix: cache = no 
 unix: passwd = "/etc/passwd" 
 unix: shadow = "/etc/shadow" 
 unix: group = "/etc/group" 
 unix: radwtmp = "/var/log/radius/radwtmp" 
 unix: usegroup = no 
 unix: cache_reload = 600 
Module: Instantiated unix (unix) 
Module: Loaded LDAP 
 ldap: server = "10.40.30.80" 
 ldap: port = 389 
 ldap: net_timeout = 1 
 ldap: timeout = 4 
 ldap: timelimit = 3 
 ldap: identity = "" 
 ldap: tls_mode = no 
 ldap: start_tls = no 
 ldap: tls_cacertfile = "(null)" 
 ldap: tls_cacertdir = "(null)" 
 ldap: tls_certfile = "(null)" 
 ldap: tls_keyfile = "(null)" 
 ldap: tls_randfile = "(null)" 
 ldap: tls_require_cert = "allow" 
 ldap: password = "" 
 ldap: basedn = "ou=prf, dc=uax,dc=es" 
 ldap: filter = "(uid=%{Stripped-User-Name:-%{User-Name}})" 
 ldap: base_filter = "(objectclass=radiusprofile)" 
 ldap: default_profile = "(null)" 
 ldap: profile_attribute = "(null)" 
 ldap: password_header = "{clear}" 
 ldap: password_attribute = "userPassword" 
 ldap: access_attr = "(null)" 
 ldap: groupname_attribute = "cn" 
 ldap: groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))" 
 ldap: groupmembership_attribute = "(null)" 
 ldap: dictionary_mapping = "/etc/raddb/ldap.attrmap" 
 ldap: ldap_debug = 0 
 ldap: ldap_connections_number = 5 
 ldap: compare_check_items = no 
 ldap: access_attr_used_for_allow = yes 
 ldap: do_xlat = yes 
 ldap: set_auth_type = yes 
rlm_ldap: Registering ldap_groupcmp for Ldap-Group 
rlm_ldap: Creating new attribute ldap_client1-Ldap-Group 
rlm_ldap: Registering ldap_groupcmp for ldap_client1-Ldap-Group 
rlm_ldap: Registering ldap_xlat with xlat_name ldap_client1 
rlm_ldap: Over-riding set_auth_type, as we're not listed in the "authenticate" section. 
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap 
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$ 
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$ 
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type 
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use 
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id 
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id 
rlm_ldap: LDAP sambaLMPassword mapped to RADIUS LM-Password 
rlm_ldap: LDAP sambaNTPassword mapped to RADIUS NT-Password 
rlm_ldap: LDAP sambaAcctFlags mapped to RADIUS SMB-Account-CTRL-TEXT 
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration 
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address 
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password 
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password 
rlm_ldap: LDAP userPassword mapped to RADIUS User-Password 
rlm_ldap: LDAP digestHA1 mapped to RADIUS Digest-HA1 
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type 
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol 
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address 
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask 
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route 
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing 
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id 
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU 
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression 
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host 
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service 
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port 
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number 
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id 
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network 
rlm_ldap: LDAP radiusClass mapped to RADIUS Class 
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout 
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout 
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action 
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service 
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node 
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group 
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link 
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network 
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone 
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit 
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port 
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message 
conns: 0x9f4d188 
Module: Instantiated ldap (ldap_client1) 
 ldap: server = "10.40.40.20" 
 ldap: port = 389 
 ldap: net_timeout = 1 
 ldap: timeout = 4 
 ldap: timelimit = 3 
 ldap: identity = "" 
 ldap: tls_mode = no 
 ldap: start_tls = no 
 ldap: tls_cacertfile = "(null)" 
 ldap: tls_cacertdir = "(null)" 
 ldap: tls_certfile = "(null)" 
 ldap: tls_keyfile = "(null)" 
 ldap: tls_randfile = "(null)" 
 ldap: tls_require_cert = "allow" 
 ldap: password = "" 
 ldap: basedn = "ou=alum,dc=uax,dc=es" 
 ldap: filter = "(uid=%{Stripped-User-Name:-%{User-Name}})" 
 ldap: base_filter = "(objectclass=radiusprofile)" 
 ldap: default_profile = "(null)" 
 ldap: profile_attribute = "(null)" 
 ldap: password_header = "{clear}" 
 ldap: password_attribute = "(null)" 
 ldap: access_attr = "(null)" 
 ldap: groupname_attribute = "cn" 
 ldap: groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))" 
 ldap: groupmembership_attribute = "(null)" 
 ldap: dictionary_mapping = "/etc/raddb/ldap.attrmap" 
 ldap: ldap_debug = 0 
 ldap: ldap_connections_number = 5 
 ldap: compare_check_items = no 
 ldap: access_attr_used_for_allow = yes 
 ldap: do_xlat = yes 
 ldap: set_auth_type = yes 
rlm_ldap: Registering ldap_groupcmp for Ldap-Group 
rlm_ldap: Creating new attribute ldap_client2-Ldap-Group 
rlm_ldap: Registering ldap_groupcmp for ldap_client2-Ldap-Group 
rlm_ldap: Registering ldap_xlat with xlat_name ldap_client2 
rlm_ldap: Over-riding set_auth_type, as we're not listed in the "authenticate" section. 
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap 
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$ 
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$ 
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type 
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use 
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id 
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id 
rlm_ldap: LDAP sambaLMPassword mapped to RADIUS LM-Password 
rlm_ldap: LDAP sambaNTPassword mapped to RADIUS NT-Password 
rlm_ldap: LDAP sambaAcctFlags mapped to RADIUS SMB-Account-CTRL-TEXT 
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration 
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address 
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password 
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password 
rlm_ldap: LDAP userPassword mapped to RADIUS User-Password 
rlm_ldap: LDAP digestHA1 mapped to RADIUS Digest-HA1 
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type 
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol 
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address 
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask 
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route 
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing 
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id 
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU 
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression 
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host 
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service 
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port 
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number 
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id 
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network 
rlm_ldap: LDAP radiusClass mapped to RADIUS Class 
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout 
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout 
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action 
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service 
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node 
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group 
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link 
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network 
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone 
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit 
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port 
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message 
conns: 0x9f4e370 
Module: Instantiated ldap (ldap_client2) 
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 
rlm_eap: Loaded and initialized type leap 
 gtc: challenge = "Password: " 
 gtc: auth_type = "PAP" 
rlm_eap: Loaded and initialized type gtc 
 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 = yes 
 preprocess: with_alvarion_vsa_hack = no 
Module: Instantiated preprocess (preprocess) 
Module: Loaded detail 
 detail: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d" 
 detail: detailperm = 384 
 detail: dirperm = 493 
 detail: locking = no 
Module: Instantiated detail (auth_log) 
Module: Loaded attr_filter 
 attr_filter: attrsfile = "/etc/raddb/attrs" 
 rlm_attr_filter: Authorize method will be deprecated. 
Module: Instantiated attr_filter (attr_filter) 
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 acct_unique (acct_unique) 
 detail: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d" 
 detail: detailperm = 384 
 detail: dirperm = 493 
 detail: locking = no 
Module: Instantiated detail (detail) 
Module: Loaded radutmp 
 radutmp: filename = "/var/log/radius/radutmp" 
 radutmp: username = "%{User-Name}" 
 radutmp: case_sensitive = no 
 radutmp: check_with_nas = yes 
 radutmp: perm = 511 
 radutmp: callerid = yes 
Module: Instantiated radutmp (radutmp) 
Module: Loaded IPPOOL 
 ippool: session-db = "/etc/raddb/danipool.db" 
 ippool: ip-index = "/etc/raddb/ipindex.db" 
 ippool: range-start = 10.132.0.98 IP address [10.132.0.98] 
 ippool: range-stop = 10.132.0.100 IP address [10.132.0.100] 
 ippool: netmask = 255.255.255.0 IP address [255.255.255.0] 
 ippool: cache-size = 800 
 ippool: override = yes 
 ippool: maximum-timeout = 0 
Module: Instantiated ippool (dani_pool) 
 ippool: session-db = "/etc/raddb/mainpool.db" 
 ippool: ip-index = "/etc/raddb/mainindex.db" 
 ippool: range-start = 10.130.0.70 IP address [10.130.0.70] 
 ippool: range-stop = 10.130.0.100 IP address [10.130.0.100] 
 ippool: netmask = 255.255.255.0 IP address [255.255.255.0] 
 ippool: cache-size = 800 
 ippool: override = yes 
 ippool: maximum-timeout = 0 
Module: Instantiated ippool (main_pool) 
 detail: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d" 
 detail: detailperm = 384 
 detail: dirperm = 493 
 detail: locking = no 
Module: Instantiated detail (pre_proxy_log) 
 detail: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d" 
 detail: detailperm = 384 
 detail: dirperm = 493 
 detail: locking = no 
Module: Instantiated detail (reply_log) 
 main: smux_password = "" 
 main: snmp_write_access = yes 
SMUX connect try 1 
Can't connect to SNMP agent with SMUX: Connection refused 
Listening on authentication 12.12.12.40:1812 
Listening on accounting 12.12.12.40:1813 
Listening on proxy 12.12.12.40:1814 
Ready to process requests 

my nas is a cisco 1841 v12.4 

and my freeradius is version 1.1.3 over red hat. 




thanks 
-- 











thanks 
-- 








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20101005/39ac2bfe/attachment.html>


More information about the Freeradius-Users mailing list