Advertisement
Guest User

fajar

a guest
Feb 25th, 2009
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.73 KB | None | 0 0
  1. FreeRADIUS Version 2.1.3, for host x86_64-redhat-linux-gnu, built on Feb 12 2009 at 17:33:29
  2. Copyright (C) 1999-2008 The FreeRADIUS server project and contributors.
  3. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
  4. PARTICULAR PURPOSE.
  5. You may redistribute copies of FreeRADIUS under the terms of the
  6. GNU General Public License v2.
  7. Starting - reading configuration files ...
  8. including configuration file /etc/raddb/radiusd.conf
  9. including configuration file /etc/raddb/proxy.conf
  10. including configuration file /etc/raddb/clients.conf
  11. including files in directory /etc/raddb/modules/
  12. including configuration file /etc/raddb/modules/checkval
  13. including configuration file /etc/raddb/modules/always
  14. including configuration file /etc/raddb/modules/mac2ip
  15. including configuration file /etc/raddb/modules/pap
  16. including configuration file /etc/raddb/modules/ippool
  17. including configuration file /etc/raddb/modules/sql_log
  18. including configuration file /etc/raddb/modules/realm
  19. including configuration file /etc/raddb/modules/sqlcounter_expire_on_login
  20. including configuration file /etc/raddb/modules/mschap
  21. including configuration file /etc/raddb/modules/digest
  22. including configuration file /etc/raddb/modules/echo
  23. including configuration file /etc/raddb/modules/smbpasswd
  24. including configuration file /etc/raddb/modules/perl
  25. including configuration file /etc/raddb/modules/passwd
  26. including configuration file /etc/raddb/modules/preprocess
  27. including configuration file /etc/raddb/modules/detail.log
  28. including configuration file /etc/raddb/modules/exec
  29. including configuration file /etc/raddb/modules/policy
  30. including configuration file /etc/raddb/modules/radutmp
  31. including configuration file /etc/raddb/modules/files
  32. including configuration file /etc/raddb/modules/detail
  33. including configuration file /etc/raddb/modules/sradutmp
  34. including configuration file /etc/raddb/modules/pam
  35. including configuration file /etc/raddb/modules/attr_filter
  36. including configuration file /etc/raddb/modules/expr
  37. including configuration file /etc/raddb/modules/mac2vlan
  38. including configuration file /etc/raddb/modules/acct_unique
  39. including configuration file /etc/raddb/modules/inner-eap
  40. including configuration file /etc/raddb/modules/detail.example.com
  41. including configuration file /etc/raddb/modules/wimax
  42. including configuration file /etc/raddb/modules/chap
  43. including configuration file /etc/raddb/modules/ldap
  44. including configuration file /etc/raddb/modules/unix
  45. including configuration file /etc/raddb/modules/attr_rewrite
  46. including configuration file /etc/raddb/modules/counter
  47. including configuration file /etc/raddb/modules/logintime
  48. including configuration file /etc/raddb/modules/expiration
  49. including configuration file /etc/raddb/modules/linelog
  50. including configuration file /etc/raddb/modules/etc_group
  51. including configuration file /etc/raddb/eap.conf
  52. including configuration file /etc/raddb/policy.conf
  53. including files in directory /etc/raddb/sites-enabled/
  54. including configuration file /etc/raddb/sites-enabled/control-socket
  55. including configuration file /etc/raddb/sites-enabled/inner-tunnel
  56. including configuration file /etc/raddb/sites-enabled/default
  57. group = root
  58. user = root
  59. including dictionary file /etc/raddb/dictionary
  60. main {
  61. prefix = "/usr"
  62. localstatedir = "/var"
  63. logdir = "/var/log/radius"
  64. libdir = "/usr/lib64/freeradius"
  65. radacctdir = "/var/log/radius/radacct"
  66. hostname_lookups = no
  67. max_request_time = 30
  68. cleanup_delay = 5
  69. max_requests = 1024
  70. allow_core_dumps = no
  71. pidfile = "/var/run/radiusd/radiusd.pid"
  72. checkrad = "/usr/sbin/checkrad"
  73. debug_level = 0
  74. proxy_requests = yes
  75. log {
  76. stripped_names = no
  77. auth = yes
  78. auth_badpass = no
  79. auth_goodpass = no
  80. }
  81. security {
  82. max_attributes = 200
  83. reject_delay = 0
  84. status_server = yes
  85. }
  86. }
  87. client localhost {
  88. ipaddr = 127.0.0.1
  89. require_message_authenticator = no
  90. secret = "testing123"
  91. nastype = "other"
  92. }
  93. client 10.11.23.57 {
  94. require_message_authenticator = no
  95. secret = "testing123"
  96. shortname = "<CLIENT>"
  97. }
  98. radiusd: #### Loading Realms and Home Servers ####
  99. proxy server {
  100. retry_delay = 5
  101. retry_count = 3
  102. default_fallback = no
  103. dead_time = 120
  104. wake_all_if_all_dead = no
  105. }
  106. home_server localhost {
  107. ipaddr = 127.0.0.1
  108. port = 1812
  109. type = "auth"
  110. secret = "testing123"
  111. response_window = 20
  112. max_outstanding = 65536
  113. zombie_period = 40
  114. status_check = "status-server"
  115. ping_interval = 30
  116. check_interval = 30
  117. num_answers_to_alive = 3
  118. num_pings_to_alive = 3
  119. revive_interval = 120
  120. status_check_timeout = 4
  121. }
  122. home_server_pool my_auth_failover {
  123. type = fail-over
  124. home_server = localhost
  125. }
  126. realm example.com {
  127. auth_pool = my_auth_failover
  128. }
  129. realm LOCAL {
  130. }
  131. radiusd: #### Instantiating modules ####
  132. instantiate {
  133. Module: Linked to module rlm_exec
  134. Module: Instantiating exec
  135. exec {
  136. wait = no
  137. input_pairs = "request"
  138. shell_escape = yes
  139. }
  140. Module: Linked to module rlm_expr
  141. Module: Instantiating expr
  142. Module: Linked to module rlm_expiration
  143. Module: Instantiating expiration
  144. expiration {
  145. reply-message = "Password Has Expired "
  146. }
  147. Module: Linked to module rlm_logintime
  148. Module: Instantiating logintime
  149. logintime {
  150. reply-message = "You are calling outside your allowed timespan "
  151. minimum-timeout = 60
  152. }
  153. }
  154. radiusd: #### Loading Virtual Servers ####
  155. server inner-tunnel {
  156. modules {
  157. Module: Checking authenticate {...} for more modules to load
  158. Module: Linked to module rlm_pap
  159. Module: Instantiating pap
  160. pap {
  161. encryption_scheme = "auto"
  162. auto_header = no
  163. }
  164. Module: Linked to module rlm_chap
  165. Module: Instantiating chap
  166. Module: Linked to module rlm_mschap
  167. Module: Instantiating mschap
  168. mschap {
  169. use_mppe = yes
  170. require_encryption = no
  171. require_strong = no
  172. with_ntdomain_hack = no
  173. }
  174. Module: Linked to module rlm_unix
  175. Module: Instantiating unix
  176. unix {
  177. radwtmp = "/var/log/radius/radwtmp"
  178. }
  179. Module: Linked to module rlm_eap
  180. Module: Instantiating eap
  181. eap {
  182. default_eap_type = "peap"
  183. timer_expire = 60
  184. ignore_unknown_eap_types = no
  185. cisco_accounting_username_bug = no
  186. max_sessions = 2048
  187. }
  188. Module: Linked to sub-module rlm_eap_md5
  189. Module: Instantiating eap-md5
  190. Module: Linked to sub-module rlm_eap_leap
  191. Module: Instantiating eap-leap
  192. Module: Linked to sub-module rlm_eap_gtc
  193. Module: Instantiating eap-gtc
  194. gtc {
  195. challenge = "Password: "
  196. auth_type = "PAP"
  197. }
  198. Module: Linked to sub-module rlm_eap_tls
  199. Module: Instantiating eap-tls
  200. tls {
  201. rsa_key_exchange = no
  202. dh_key_exchange = yes
  203. rsa_key_length = 512
  204. dh_key_length = 512
  205. verify_depth = 0
  206. pem_file_type = yes
  207. private_key_file = "/etc/raddb/certs/server.pem"
  208. certificate_file = "/etc/raddb/certs/server.pem"
  209. CA_file = "/etc/raddb/certs/ca.pem"
  210. private_key_password = "whatever"
  211. dh_file = "/etc/raddb/certs/dh"
  212. random_file = "/etc/raddb/certs/random"
  213. fragment_size = 1024
  214. include_length = yes
  215. check_crl = no
  216. cipher_list = "DEFAULT"
  217. make_cert_command = "/etc/raddb/certs/bootstrap"
  218. cache {
  219. enable = no
  220. lifetime = 24
  221. max_entries = 255
  222. }
  223. }
  224. Module: Linked to sub-module rlm_eap_peap
  225. Module: Instantiating eap-peap
  226. peap {
  227. default_eap_type = "gtc"
  228. copy_request_to_tunnel = no
  229. use_tunneled_reply = no
  230. proxy_tunneled_request_as_eap = yes
  231. virtual_server = "inner-tunnel"
  232. }
  233. Module: Linked to sub-module rlm_eap_mschapv2
  234. Module: Instantiating eap-mschapv2
  235. mschapv2 {
  236. with_ntdomain_hack = no
  237. }
  238. Module: Checking authorize {...} for more modules to load
  239. Module: Linked to module rlm_realm
  240. Module: Instantiating suffix
  241. realm suffix {
  242. format = "suffix"
  243. delimiter = "@"
  244. ignore_default = no
  245. ignore_null = no
  246. }
  247. Module: Linked to module rlm_files
  248. Module: Instantiating files
  249. files {
  250. usersfile = "/etc/raddb/users"
  251. acctusersfile = "/etc/raddb/acct_users"
  252. preproxy_usersfile = "/etc/raddb/preproxy_users"
  253. compat = "no"
  254. }
  255. Module: Checking session {...} for more modules to load
  256. Module: Linked to module rlm_radutmp
  257. Module: Instantiating radutmp
  258. radutmp {
  259. filename = "/var/log/radius/radutmp"
  260. username = "%{User-Name}"
  261. case_sensitive = yes
  262. check_with_nas = yes
  263. perm = 384
  264. callerid = yes
  265. }
  266. Module: Checking post-proxy {...} for more modules to load
  267. Module: Checking post-auth {...} for more modules to load
  268. Module: Linked to module rlm_attr_filter
  269. Module: Instantiating attr_filter.access_reject
  270. attr_filter attr_filter.access_reject {
  271. attrsfile = "/etc/raddb/attrs.access_reject"
  272. key = "%{User-Name}"
  273. }
  274. }
  275. }
  276. modules {
  277. Module: Checking authenticate {...} for more modules to load
  278. Module: Linked to module rlm_pam
  279. Module: Instantiating pam
  280. pam {
  281. pam_auth = "radiusd"
  282. }
  283. Module: Linked to module rlm_ldap
  284. Module: Instantiating ldap
  285. ldap {
  286. server = "<LDAP_SERVER>"
  287. port = 389
  288. password = ""
  289. identity = ""
  290. net_timeout = 1
  291. timeout = 4
  292. timelimit = 3
  293. tls_mode = no
  294. start_tls = no
  295. tls_require_cert = "allow"
  296. tls {
  297. start_tls = no
  298. require_cert = "allow"
  299. }
  300. basedn = "o=Telkom"
  301. filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
  302. base_filter = "(objectclass=radiusprofile)"
  303. auto_header = no
  304. access_attr_used_for_allow = yes
  305. groupname_attribute = "cn"
  306. groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
  307. dictionary_mapping = "/etc/raddb/ldap.attrmap"
  308. ldap_debug = 0
  309. ldap_connections_number = 5
  310. compare_check_items = no
  311. do_xlat = yes
  312. set_auth_type = yes
  313. }
  314. rlm_ldap: Registering ldap_groupcmp for Ldap-Group
  315. rlm_ldap: Registering ldap_xlat with xlat_name ldap
  316. rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap
  317. rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
  318. rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
  319. rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
  320. rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
  321. rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
  322. rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
  323. rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
  324. rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
  325. rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
  326. rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
  327. rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
  328. rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
  329. rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
  330. rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
  331. rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
  332. rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
  333. rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
  334. rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
  335. rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
  336. rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
  337. rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
  338. rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
  339. rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
  340. rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
  341. rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
  342. rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
  343. rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
  344. rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
  345. rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
  346. rlm_ldap: LDAP radiusClass mapped to RADIUS Class
  347. rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
  348. rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
  349. rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
  350. rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
  351. rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
  352. rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
  353. rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
  354. rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
  355. rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
  356. rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
  357. rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
  358. rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
  359. conns: 0x12e88470
  360. Module: Checking authorize {...} for more modules to load
  361. Module: Linked to module rlm_preprocess
  362. Module: Instantiating preprocess
  363. preprocess {
  364. huntgroups = "/etc/raddb/huntgroups"
  365. hints = "/etc/raddb/hints"
  366. with_ascend_hack = no
  367. ascend_channels_per_line = 23
  368. with_ntdomain_hack = no
  369. with_specialix_jetstream_hack = no
  370. with_cisco_vsa_hack = no
  371. with_alvarion_vsa_hack = no
  372. }
  373. Module: Checking preacct {...} for more modules to load
  374. Module: Linked to module rlm_acct_unique
  375. Module: Instantiating acct_unique
  376. acct_unique {
  377. key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
  378. }
  379. Module: Checking accounting {...} for more modules to load
  380. Module: Linked to module rlm_detail
  381. Module: Instantiating detail
  382. detail {
  383. detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
  384. header = "%t"
  385. detailperm = 384
  386. dirperm = 493
  387. locking = no
  388. log_packet_header = no
  389. }
  390. Module: Instantiating attr_filter.accounting_response
  391. attr_filter attr_filter.accounting_response {
  392. attrsfile = "/etc/raddb/attrs.accounting_response"
  393. key = "%{User-Name}"
  394. }
  395. Module: Checking session {...} for more modules to load
  396. Module: Checking post-proxy {...} for more modules to load
  397. Module: Checking post-auth {...} for more modules to load
  398. }
  399. radiusd: #### Opening IP addresses and Ports ####
  400. listen {
  401. type = "auth"
  402. ipaddr = *
  403. port = 0
  404. }
  405. listen {
  406. type = "acct"
  407. ipaddr = *
  408. port = 0
  409. }
  410. listen {
  411. type = "control"
  412. listen {
  413. socket = "/var/run/radiusd/radiusd.sock"
  414. }
  415. }
  416. Listening on authentication address * port 1812
  417. Listening on accounting address * port 1813
  418. Listening on command file /var/run/radiusd/radiusd.sock
  419. Listening on proxy address * port 1814
  420. Ready to process requests.
  421. rad_recv: Access-Request packet from host 10.11.23.57 port 36611, id=188, length=58
  422. User-Name = "<USER>"
  423. User-Password = "<PASSWORD>"
  424. NAS-IP-Address = 127.0.1.1
  425. NAS-Port = 0
  426. +- entering group authorize {...}
  427. ++[preprocess] returns ok
  428. ++[chap] returns noop
  429. ++[mschap] returns noop
  430. [suffix] No '@' in User-Name = "<USER>", looking up realm NULL
  431. [suffix] No such realm "NULL"
  432. ++[suffix] returns noop
  433. [eap] No EAP-Message, not doing EAP
  434. ++[eap] returns noop
  435. ++[unix] returns notfound
  436. ++[files] returns noop
  437. [ldap] performing user authorization for <USER>
  438. [ldap] WARNING: Deprecated conditional expansion ":-". See "man unlang" for details
  439. [ldap] expand: (uid=%{Stripped-User-Name:-%{User-Name}}) -> (uid=<USER>)
  440. [ldap] expand: o=Telkom -> o=Telkom
  441. rlm_ldap: ldap_get_conn: Checking Id: 0
  442. rlm_ldap: ldap_get_conn: Got Id: 0
  443. rlm_ldap: attempting LDAP reconnection
  444. rlm_ldap: (re)connect to <LDAP_SERVER>:389, authentication 0
  445. rlm_ldap: bind as / to <LDAP_SERVER>:389
  446. rlm_ldap: waiting for bind result ...
  447. rlm_ldap: Bind was successful
  448. rlm_ldap: performing search in o=Telkom, with filter (uid=<USER>)
  449. [ldap] looking for check items in directory...
  450. [ldap] looking for reply items in directory...
  451. WARNING: No "known good" password was found in LDAP. Are you sure that the user is configured correctly?
  452. [ldap] Setting Auth-Type = LDAP
  453. [ldap] user <USER> authorized to use remote access
  454. rlm_ldap: ldap_release_conn: Release Id: 0
  455. ++[ldap] returns ok
  456. ++[expiration] returns noop
  457. ++[logintime] returns noop
  458. [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this.
  459. ++[pap] returns noop
  460. ++? if (!control:Auth-Type)
  461. ? Evaluating !(control:Auth-Type) -> TRUE
  462. ++? if (!control:Auth-Type) -> FALSE
  463. Found Auth-Type = LDAP
  464. +- entering group LDAP {...}
  465. [ldap] login attempt by "<USER>" with password "<PASSWORD>"
  466. [ldap] user DN: CN=Fajar Arief Nugraha,OU=operasi,OU=multimedia,O=Telkom
  467. rlm_ldap: (re)connect to <LDAP_SERVER>:389, authentication 1
  468. rlm_ldap: bind as CN=Fajar Arief Nugraha,OU=operasi,OU=multimedia,O=Telkom/<PASSWORD> to <LDAP_SERVER>:389
  469. rlm_ldap: waiting for bind result ...
  470. rlm_ldap: Bind was successful
  471. [ldap] user <USER> authenticated succesfully
  472. ++[ldap] returns ok
  473. Login OK: [<USER>] (from client <CLIENT> port 0)
  474. +- entering group post-auth {...}
  475. ++[exec] returns noop
  476. Sending Access-Accept of id 188 to 10.11.23.57 port 36611
  477. Finished request 0.
  478. Going to the next request
  479. Waking up in 4.9 seconds.
  480.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement