Beast <[EMAIL PROTECTED]> wrote:
When login using PAP, I was able to access internal network (ping, check mail etc), but when using MSCHAPv2 I was able to login but was _not_ able to access internal network.
And what does the server say when you run it in debugging mode?
You *are* running it in debugging mode, and looking at the Access-Accept packets, aren't you?
OK, these was debug log, one for PAP and one for MSCHAPv2.
Once loging in into VPN, client pinging some host, works with PAP but not with MSCHAP.
Username and password and hash has been changed.
--
--beast
Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /opt/freeradius/etc/raddb/clients.conf main: prefix = "/opt/freeradius" main: localstatedir = "/opt/freeradius/var" main: logdir = "/opt/freeradius/var/log/radius" main: libdir = "/opt/freeradius/lib" main: radacctdir = "/opt/freeradius/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 = yes main: log_file = "/opt/freeradius/var/log/radius/radius.log" main: log_auth = yes main: log_auth_badpass = yes main: log_auth_goodpass = yes main: pidfile = "/opt/freeradius/var/run/radiusd/radiusd.pid" main: user = "(null)" main: group = "(null)" main: usercollide = no main: lower_user = "before" main: lower_pass = "no" main: nospace_user = "before" main: nospace_pass = "no" main: checkrad = "/opt/freeradius/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 read_config_files: reading clients read_config_files: reading realms radiusd: entering modules setup Module: Library search path is /opt/freeradius/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 MS-CHAP mschap: use_mppe = yes mschap: require_encryption = no mschap: require_strong = yes mschap: with_ntdomain_hack = no mschap: passwd = "(null)" mschap: authtype = "MS-CHAP" mschap: ntlm_auth = "(null)" Module: Instantiated mschap (mschap) Module: Loaded PAP pap: encryption_scheme = "crypt" Module: Instantiated pap (pap) Module: Loaded LDAP ldap: server = "127.0.0.1" ldap: port = 389 ldap: net_timeout = 1 ldap: timeout = 4 ldap: timelimit = 3 ldap: identity = "cn=radius,ou=jakarta,dc=indorama,dc=com" 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 = "verysecret" ldap: basedn = "dc=indorama,dc=com" ldap: filter = "(&(uid=%{Stripped-User-Name:-%{User-Name}})(objectClass=mailUser)(vpnAccess=ACCEPT) )" ldap: base_filter = "(objectclass=radiusprofile)" ldap: default_profile = "(null)" ldap: profile_attribute = "(null)" ldap: password_header = "(null)" 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 = "/opt/freeradius/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 rlm_ldap: Registering ldap_groupcmp for Ldap-Group rlm_ldap: Registering ldap_xlat with xlat_name ldap rlm_ldap: reading ldap<->radius mappings from file /opt/freeradius/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 userPassword mapped to RADIUS Crypt-Password rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration 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 conns: 0x814eb20 Module: Instantiated ldap (ldap) Module: Loaded preprocess preprocess: huntgroups = "/opt/freeradius/etc/raddb/huntgroups" preprocess: hints = "/opt/freeradius/etc/raddb/hints" preprocess: with_ascend_hack = no preprocess: ascend_channels_per_line = 23 preprocess: with_ntdomain_hack = yes preprocess: with_specialix_jetstream_hack = no preprocess: with_cisco_vsa_hack = no Module: Instantiated preprocess (preprocess) Module: Loaded detail detail: detailfile = "/opt/freeradius/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 = "/opt/freeradius/var/log/radius/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 Ready to process requests. rad_recv: Access-Request packet from host 11.2.100.202:2049, id=79, length=142 User-Name = "beast" MS-CHAP-Challenge = 0xbb7cee425db5b096eadce60e44e7a784 MS-CHAP2-Response = 0x0100bf2710a3b2c8db7608bba128c02ba73800000000000000001953aba11dfc97cee9802d065227b4f145547b5b5120b99f NAS-Port = 0 NAS-Port-Type = Virtual Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 11.2.100.203 rad_lowerpair: User-Name now 'beast' rad_rmspace_pair: User-Name now 'beast' Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "preprocess" returns ok for request 0 rlm_ldap: - authorize rlm_ldap: performing user authorization for beast radius_xlat: '(&(uid=beast)(objectClass=mailUser)(vpnAccess=ACCEPT) )' radius_xlat: 'dc=indorama,dc=com' rlm_ldap: ldap_get_conn: Checking Id: 0 rlm_ldap: ldap_get_conn: Got Id: 0 rlm_ldap: attempting LDAP reconnection rlm_ldap: (re)connect to 127.0.0.1:389, authentication 0 rlm_ldap: bind as cn=radius,ou=jakarta,dc=indorama,dc=com/verysecret to 127.0.0.1:389 rlm_ldap: waiting for bind result ... rlm_ldap: Bind was successful rlm_ldap: performing search in dc=indorama,dc=com, with filter (&(uid=beast)(objectClass=mailUser)(vpnAccess=ACCEPT) ) rlm_ldap: looking for check items in directory... rlm_ldap: Adding userPassword as Crypt-Password, value { & op=21 rlm_ldap: Adding sambaNTPassword as NT-Password, value 5616073383AEC86DDE1B650230BC21A8 & op=21 rlm_ldap: Adding sambaLMPassword as LM-Password, value 62CF8F22A6498F1986CA3DF1DA09DAC4 & op=21 rlm_ldap: looking for reply items in directory... rlm_ldap: user beast authorized to use remote access rlm_ldap: ldap_release_conn: Release Id: 0 modcall[authorize]: module "ldap" returns ok for request 0 rlm_mschap: Found MS-CHAP attributes. Setting 'Auth-Type = MS-CHAP' modcall[authorize]: module "mschap" returns ok for request 0 modcall: group authorize returns ok for request 0 rad_check_password: Found Auth-Type MS-CHAP auth: type "MS-CHAP" Processing the authenticate section of radiusd.conf modcall: entering group Auth-Type for request 0 rlm_mschap: Found LM-Password rlm_mschap: Found NT-Password rlm_mschap: Told to do MS-CHAPv2 for beast with NT-Password rlm_mschap: adding MS-CHAPv2 MPPE keys modcall[authenticate]: module "mschap" returns ok for request 0 modcall: group Auth-Type returns ok for request 0 Login OK: [beast/<no User-Password attribute>] (from client snapgear-sme350 port 0) Sending Access-Accept of id 79 to 11.2.100.202:2049 MS-CHAP2-Success = 0x01533d46423838303338443646414135303230423231343339374533344436413935463538383645343637 MS-MPPE-Recv-Key = 0x20bdf482cf96b39387764062ca32a2d6 MS-MPPE-Send-Key = 0xf3af8d5d95ad54de710de8824e393f14 MS-MPPE-Encryption-Policy = 0x00000001 MS-MPPE-Encryption-Types = 0x00000004 Finished request 0 Going to the next request --- Walking the entire request list --- Waking up in 6 seconds... rad_recv: Accounting-Request packet from host 11.2.100.202:2049, id=80, length=76 Acct-Status-Type = Start Acct-Session-Id = "c5" User-Name = "beast" NAS-Port = 0 NAS-Port-Type = Virtual Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 11.2.100.203 Framed-Compression = None rad_lowerpair: User-Name now 'beast' rad_rmspace_pair: User-Name now 'beast' Processing the accounting section of radiusd.conf modcall: entering group accounting for request 1 radius_xlat: '/opt/freeradius/var/log/radius/radacct//detail-20040830' rlm_detail: /opt/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /opt/freeradius/var/log/radius/radacct//detail-20040830 modcall[accounting]: module "detail" returns ok for request 1 radius_xlat: '/opt/freeradius/var/log/radius/radutmp' radius_xlat: 'beast' modcall[accounting]: module "radutmp" returns ok for request 1 modcall: group accounting returns ok for request 1 Sending Accounting-Response of id 80 to 11.2.100.202:2049 Finished request 1 Going to the next request --- Walking the entire request list --- Cleaning up request 1 ID 80 with timestamp 4132a786 Waking up in 5 seconds... --- Walking the entire request list --- Cleaning up request 0 ID 79 with timestamp 4132a785 Nothing to do. Sleeping until we see a request. rad_recv: Accounting-Request packet from host 11.2.100.202:2049, id=81, length=94 Acct-Status-Type = Stop Acct-Session-Id = "c5" User-Name = "beast" NAS-Port = 0 NAS-Port-Type = Virtual Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 11.2.100.203 Framed-Compression = None Acct-Input-Octets = 6881 Acct-Output-Octets = 274 Acct-Session-Time = 49 rad_lowerpair: User-Name now 'beast' rad_rmspace_pair: User-Name now 'beast' Processing the accounting section of radiusd.conf modcall: entering group accounting for request 2 radius_xlat: '/opt/freeradius/var/log/radius/radacct//detail-20040830' rlm_detail: /opt/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /opt/freeradius/var/log/radius/radacct//detail-20040830 modcall[accounting]: module "detail" returns ok for request 2 radius_xlat: '/opt/freeradius/var/log/radius/radutmp' radius_xlat: 'beast' modcall[accounting]: module "radutmp" returns ok for request 2 modcall: group accounting returns ok for request 2 Sending Accounting-Response of id 81 to 11.2.100.202:2049 Finished request 2 Going to the next request --- Walking the entire request list --- Cleaning up request 2 ID 81 with timestamp 4132a7b3 Nothing to do. Sleeping until we see a request.
Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /opt/freeradius/etc/raddb/clients.conf main: prefix = "/opt/freeradius" main: localstatedir = "/opt/freeradius/var" main: logdir = "/opt/freeradius/var/log/radius" main: libdir = "/opt/freeradius/lib" main: radacctdir = "/opt/freeradius/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 = yes main: log_file = "/opt/freeradius/var/log/radius/radius.log" main: log_auth = yes main: log_auth_badpass = yes main: log_auth_goodpass = yes main: pidfile = "/opt/freeradius/var/run/radiusd/radiusd.pid" main: user = "(null)" main: group = "(null)" main: usercollide = no main: lower_user = "before" main: lower_pass = "no" main: nospace_user = "before" main: nospace_pass = "no" main: checkrad = "/opt/freeradius/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 read_config_files: reading clients read_config_files: reading realms radiusd: entering modules setup Module: Library search path is /opt/freeradius/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 MS-CHAP mschap: use_mppe = yes mschap: require_encryption = no mschap: require_strong = yes mschap: with_ntdomain_hack = no mschap: passwd = "(null)" mschap: authtype = "MS-CHAP" mschap: ntlm_auth = "(null)" Module: Instantiated mschap (mschap) Module: Loaded PAP pap: encryption_scheme = "crypt" Module: Instantiated pap (pap) Module: Loaded LDAP ldap: server = "127.0.0.1" ldap: port = 389 ldap: net_timeout = 1 ldap: timeout = 4 ldap: timelimit = 3 ldap: identity = "cn=radius,ou=jakarta,dc=indorama,dc=com" 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 = "verysecret" ldap: basedn = "dc=indorama,dc=com" ldap: filter = "(&(uid=%{Stripped-User-Name:-%{User-Name}})(objectClass=mailUser)(vpnAccess=ACCEPT) )" ldap: base_filter = "(objectclass=radiusprofile)" ldap: default_profile = "(null)" ldap: profile_attribute = "(null)" ldap: password_header = "(null)" 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 = "/opt/freeradius/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 rlm_ldap: Registering ldap_groupcmp for Ldap-Group rlm_ldap: Registering ldap_xlat with xlat_name ldap rlm_ldap: reading ldap<->radius mappings from file /opt/freeradius/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 userPassword mapped to RADIUS Crypt-Password rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration 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 conns: 0x814eb20 Module: Instantiated ldap (ldap) Module: Loaded preprocess preprocess: huntgroups = "/opt/freeradius/etc/raddb/huntgroups" preprocess: hints = "/opt/freeradius/etc/raddb/hints" preprocess: with_ascend_hack = no preprocess: ascend_channels_per_line = 23 preprocess: with_ntdomain_hack = yes preprocess: with_specialix_jetstream_hack = no preprocess: with_cisco_vsa_hack = no Module: Instantiated preprocess (preprocess) Module: Loaded detail detail: detailfile = "/opt/freeradius/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 = "/opt/freeradius/var/log/radius/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 Ready to process requests. rad_recv: Access-Request packet from host 11.2.100.202:2049, id=65, length=78 User-Name = "beast" User-Password = "mypassword" NAS-Port = 0 NAS-Port-Type = Virtual Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 11.2.100.204 rad_lowerpair: User-Name now 'beast' rad_rmspace_pair: User-Name now 'beast' Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "preprocess" returns ok for request 0 rlm_ldap: - authorize rlm_ldap: performing user authorization for beast radius_xlat: '(&(uid=beast)(objectClass=mailUser)(vpnAccess=ACCEPT) )' radius_xlat: 'dc=indorama,dc=com' rlm_ldap: ldap_get_conn: Checking Id: 0 rlm_ldap: ldap_get_conn: Got Id: 0 rlm_ldap: attempting LDAP reconnection rlm_ldap: (re)connect to 127.0.0.1:389, authentication 0 rlm_ldap: bind as cn=radius,ou=jakarta,dc=indorama,dc=com/verysecret to 127.0.0.1:389 rlm_ldap: waiting for bind result ... rlm_ldap: Bind was successful rlm_ldap: performing search in dc=indorama,dc=com, with filter (&(uid=beast)(objectClass=mailUser)(vpnAccess=ACCEPT) ) rlm_ldap: looking for check items in directory... rlm_ldap: Adding userPassword as Crypt-Password, value { & op=21 rlm_ldap: Adding sambaNTPassword as NT-Password, value 5616073383AER87DDE1B650230BC21A8 & op=21 rlm_ldap: Adding sambaLMPassword as LM-Password, value 62CF8F22A8498F1286CA3DF1DA09DAC4 & op=21 rlm_ldap: looking for reply items in directory... rlm_ldap: user beast authorized to use remote access rlm_ldap: ldap_release_conn: Release Id: 0 modcall[authorize]: module "ldap" returns ok for request 0 modcall[authorize]: module "mschap" returns noop for request 0 modcall: group authorize returns ok 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: login attempt by "beast" with password "mypassword" rlm_ldap: user DN: uid=beast,ou=people,ou=jakarta,dc=indorama,dc=com rlm_ldap: (re)connect to 127.0.0.1:389, authentication 1 rlm_ldap: bind as uid=beast,ou=people,ou=jakarta,dc=indorama,dc=com/mypassword to 127.0.0.1:389 rlm_ldap: waiting for bind result ... rlm_ldap: Bind was successful rlm_ldap: user beast authenticated succesfully modcall[authenticate]: module "ldap" returns ok for request 0 modcall: group Auth-Type returns ok for request 0 Login OK: [beast/mypassword] (from client snapgear-sme350 port 0) Sending Access-Accept of id 65 to 11.2.100.202:2049 Finished request 0 Going to the next request --- Walking the entire request list --- Waking up in 6 seconds... rad_recv: Accounting-Request packet from host 11.2.100.202:2049, id=66, length=76 Acct-Status-Type = Start Acct-Session-Id = "ff" User-Name = "beast" NAS-Port = 0 NAS-Port-Type = Virtual Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 11.2.100.204 Framed-Compression = None rad_lowerpair: User-Name now 'beast' rad_rmspace_pair: User-Name now 'beast' Processing the accounting section of radiusd.conf modcall: entering group accounting for request 1 radius_xlat: '/opt/freeradius/var/log/radius/radacct//detail-20040830' rlm_detail: /opt/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /opt/freeradius/var/log/radius/radacct//detail-20040830 modcall[accounting]: module "detail" returns ok for request 1 radius_xlat: '/opt/freeradius/var/log/radius/radutmp' radius_xlat: 'beast' modcall[accounting]: module "radutmp" returns ok for request 1 modcall: group accounting returns ok for request 1 Sending Accounting-Response of id 66 to 11.2.100.202:2049 Finished request 1 Going to the next request Cleaning up request 1 ID 66 with timestamp 4132a490 Waking up in 6 seconds... --- Walking the entire request list --- Cleaning up request 0 ID 65 with timestamp 4132a490 Nothing to do. Sleeping until we see a request. rad_recv: Accounting-Request packet from host 11.2.100.202:2049, id=67, length=94 Acct-Status-Type = Stop Acct-Session-Id = "ff" User-Name = "beast" NAS-Port = 0 NAS-Port-Type = Virtual Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 11.2.100.204 Framed-Compression = None Acct-Input-Octets = 3475 Acct-Output-Octets = 1284 Acct-Session-Time = 64 rad_lowerpair: User-Name now 'beast' rad_rmspace_pair: User-Name now 'beast' Processing the accounting section of radiusd.conf modcall: entering group accounting for request 2 radius_xlat: '/opt/freeradius/var/log/radius/radacct//detail-20040830' rlm_detail: /opt/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /opt/freeradius/var/log/radius/radacct//detail-20040830 modcall[accounting]: module "detail" returns ok for request 2 radius_xlat: '/opt/freeradius/var/log/radius/radutmp' radius_xlat: 'beast' modcall[accounting]: module "radutmp" returns ok for request 2 modcall: group accounting returns ok for request 2 Sending Accounting-Response of id 67 to 11.2.100.202:2049 Finished request 2 Going to the next request --- Walking the entire request list --- Cleaning up request 2 ID 67 with timestamp 4132a4cd Nothing to do. Sleeping until we see a request.