Chetan Gaonker | 7f4bf74 | 2016-05-04 15:56:08 -0700 | [diff] [blame] | 1 | # -*- text -*- |
| 2 | ## |
| 3 | ## sql.conf -- SQL modules |
| 4 | ## |
| 5 | ## $Id: e1431d634a28f20a0e5deaeedd66a161deb88eb7 $ |
| 6 | |
| 7 | ###################################################################### |
| 8 | # |
| 9 | # Configuration for the SQL module |
| 10 | # |
| 11 | # The database schemas and queries are located in subdirectories: |
| 12 | # |
| 13 | # sql/<DB>/main/schema.sql Schema |
| 14 | # sql/<DB>/main/queries.conf Authorisation and Accounting queries |
| 15 | # |
| 16 | # Where "DB" is mysql, mssql, oracle, or postgresql. |
| 17 | # |
| 18 | # |
| 19 | |
| 20 | sql { |
| 21 | # The sub-module to use to execute queries. This should match |
| 22 | # the database you're attempting to connect to. |
| 23 | # |
| 24 | # * rlm_sql_mysql |
| 25 | # * rlm_sql_mssql |
| 26 | # * rlm_sql_oracle |
| 27 | # * rlm_sql_postgresql |
| 28 | # * rlm_sql_sqlite |
| 29 | # * rlm_sql_null (log queries to disk) |
| 30 | # |
| 31 | driver = "rlm_sql_sqlite" |
| 32 | |
| 33 | sqlite { |
| 34 | filename = "/opt/db/radius.sqlite3" |
| 35 | } |
| 36 | |
| 37 | sqlite { |
| 38 | filename = "/opt/db/radius.sqlite3" |
| 39 | } |
| 40 | |
| 41 | sqlite { |
| 42 | filename = "/opt/db/radius.sqlite3" |
| 43 | } |
| 44 | |
| 45 | sqlite { |
| 46 | filename = "/opt/db/radius.sqlite3" |
| 47 | } |
| 48 | |
| 49 | sqlite { |
| 50 | filename = "/opt/db/radius.sqlite3" |
| 51 | } |
| 52 | |
| 53 | sqlite { |
| 54 | filename = "/opt/db/radius.sqlite3" |
| 55 | } |
| 56 | |
| 57 | sqlite { |
| 58 | filename = "/opt/db/radius.sqlite3" |
| 59 | } |
| 60 | |
| 61 | sqlite { |
| 62 | filename = "/opt/db/radius.sqlite3" |
| 63 | } |
| 64 | |
| 65 | sqlite { |
| 66 | filename = "/opt/db/radius.sqlite3" |
| 67 | } |
| 68 | |
| 69 | sqlite { |
| 70 | filename = "/opt/db/radius.sqlite3" |
| 71 | } |
| 72 | |
| 73 | sqlite { |
| 74 | filename = "/opt/db/radius.sqlite3" |
| 75 | } |
| 76 | |
| 77 | sqlite { |
| 78 | filename = "/opt/db/radius.sqlite3" |
| 79 | } |
| 80 | |
| 81 | sqlite { |
| 82 | filename = "/opt/db/radius.sqlite3" |
| 83 | } |
| 84 | |
| 85 | sqlite { |
| 86 | filename = "/opt/db/radius.sqlite3" |
| 87 | } |
| 88 | |
| 89 | sqlite { |
| 90 | filename = "/opt/db/radius.sqlite3" |
| 91 | } |
| 92 | |
| 93 | sqlite { |
| 94 | filename = "/opt/db/radius.sqlite3" |
| 95 | } |
| 96 | |
| 97 | sqlite { |
| 98 | filename = "/opt/db/radius.sqlite3" |
| 99 | } |
| 100 | |
| 101 | sqlite { |
| 102 | filename = "/opt/db/radius.sqlite3" |
| 103 | } |
| 104 | |
| 105 | sqlite { |
| 106 | filename = "/opt/db/radius.sqlite3" |
| 107 | } |
| 108 | |
| 109 | sqlite { |
| 110 | filename = "/opt/db/radius.sqlite3" |
| 111 | } |
| 112 | |
| 113 | sqlite { |
| 114 | filename = "/opt/db/radius.sqlite3" |
| 115 | } |
| 116 | |
| 117 | sqlite { |
| 118 | filename = "/opt/db/radius.sqlite3" |
| 119 | } |
| 120 | |
| 121 | sqlite { |
| 122 | filename = "/opt/db/radius.sqlite3" |
| 123 | } |
| 124 | |
| 125 | sqlite { |
| 126 | filename = "/opt/db/radius.sqlite3" |
| 127 | } |
| 128 | |
| 129 | sqlite { |
| 130 | filename = "/opt/db/radius.sqlite3" |
| 131 | } |
| 132 | |
| 133 | sqlite { |
| 134 | filename = "/opt/db/radius.sqlite3" |
| 135 | } |
| 136 | |
| 137 | sqlite { |
| 138 | filename = "/opt/db/radius.sqlite3" |
| 139 | } |
| 140 | |
| 141 | sqlite { |
| 142 | filename = "/opt/db/radius.sqlite3" |
| 143 | } |
| 144 | |
| 145 | sqlite { |
| 146 | filename = "/opt/db/radius.sqlite3" |
| 147 | } |
| 148 | |
| 149 | sqlite { |
| 150 | filename = "/opt/db/radius.sqlite3" |
| 151 | } |
| 152 | |
| 153 | sqlite { |
| 154 | filename = "/opt/db/radius.sqlite3" |
| 155 | } |
| 156 | |
| 157 | sqlite { |
| 158 | filename = "/opt/db/radius.sqlite3" |
| 159 | } |
| 160 | |
| 161 | sqlite { |
| 162 | filename = "/opt/db/radius.sqlite3" |
| 163 | } |
| 164 | |
| 165 | sqlite { |
| 166 | filename = "/opt/db/radius.sqlite3" |
| 167 | } |
| 168 | |
| 169 | sqlite { |
| 170 | filename = "/opt/db/radius.sqlite3" |
| 171 | } |
| 172 | |
| 173 | sqlite { |
| 174 | filename = "/opt/db/radius.sqlite3" |
| 175 | } |
| 176 | |
| 177 | sqlite { |
| 178 | filename = "/opt/db/radius.sqlite3" |
| 179 | } |
| 180 | |
| 181 | sqlite { |
| 182 | filename = "/opt/db/radius.sqlite3" |
| 183 | } |
| 184 | |
| 185 | sqlite { |
| 186 | filename = "/opt/db/radius.sqlite3" |
| 187 | } |
| 188 | |
| 189 | sqlite { |
| 190 | filename = "/opt/db/radius.sqlite3" |
| 191 | } |
| 192 | |
| 193 | sqlite { |
| 194 | filename = "/opt/db/radius.sqlite3" |
| 195 | } |
| 196 | |
| 197 | sqlite { |
| 198 | filename = "/opt/db/radius.sqlite3" |
| 199 | } |
| 200 | |
| 201 | sqlite { |
| 202 | filename = "/opt/db/radius.sqlite3" |
| 203 | } |
| 204 | |
| 205 | sqlite { |
| 206 | filename = "/opt/db/radius.sqlite3" |
| 207 | } |
| 208 | |
| 209 | sqlite { |
| 210 | filename = "/opt/db/radius.sqlite3" |
| 211 | } |
| 212 | |
| 213 | sqlite { |
| 214 | filename = "/opt/db/radius.sqlite3" |
| 215 | } |
| 216 | |
| 217 | sqlite { |
| 218 | filename = "/opt/db/radius.sqlite3" |
| 219 | } |
| 220 | |
| 221 | sqlite { |
| 222 | filename = "/opt/db/radius.sqlite3" |
| 223 | } |
| 224 | |
| 225 | sqlite { |
| 226 | filename = "/opt/db/radius.sqlite3" |
| 227 | } |
| 228 | |
| 229 | sqlite { |
| 230 | filename = "/opt/db/radius.sqlite3" |
| 231 | } |
| 232 | |
| 233 | sqlite { |
| 234 | filename = "/opt/db/radius.sqlite3" |
| 235 | } |
| 236 | |
| 237 | sqlite { |
| 238 | filename = "/opt/db/radius.sqlite3" |
| 239 | } |
| 240 | |
| 241 | sqlite { |
| 242 | filename = "/opt/db/radius.sqlite3" |
| 243 | } |
| 244 | |
| 245 | sqlite { |
| 246 | filename = "/opt/db/radius.sqlite3" |
| 247 | } |
| 248 | |
| 249 | sqlite { |
| 250 | filename = "/opt/db/radius.sqlite3" |
| 251 | } |
| 252 | |
| 253 | sqlite { |
| 254 | filename = "/opt/db/radius.sqlite3" |
| 255 | } |
| 256 | |
| 257 | sqlite { |
| 258 | filename = "/opt/db/radius.sqlite3" |
| 259 | } |
| 260 | |
| 261 | sqlite { |
| 262 | filename = "/opt/db/radius.sqlite3" |
| 263 | } |
| 264 | |
| 265 | sqlite { |
| 266 | filename = "/opt/db/radius.sqlite3" |
| 267 | } |
| 268 | |
| 269 | sqlite { |
| 270 | filename = "/opt/db/radius.sqlite3" |
| 271 | } |
| 272 | |
| 273 | sqlite { |
| 274 | filename = "/opt/db/radius.sqlite3" |
| 275 | } |
| 276 | |
| 277 | sqlite { |
| 278 | filename = "/opt/db/radius.sqlite3" |
| 279 | } |
| 280 | |
| 281 | sqlite { |
| 282 | filename = "/opt/db/radius.sqlite3" |
| 283 | } |
| 284 | |
| 285 | sqlite { |
| 286 | filename = "/opt/db/radius.sqlite3" |
| 287 | } |
| 288 | |
| 289 | sqlite { |
| 290 | filename = "/opt/db/radius.sqlite3" |
| 291 | } |
| 292 | |
| 293 | sqlite { |
| 294 | filename = "/opt/db/radius.sqlite3" |
| 295 | } |
| 296 | |
| 297 | sqlite { |
| 298 | filename = "/opt/db/radius.sqlite3" |
| 299 | } |
| 300 | |
| 301 | sqlite { |
| 302 | filename = "/opt/db/radius.sqlite3" |
| 303 | } |
| 304 | |
| 305 | sqlite { |
| 306 | filename = "/opt/db/radius.sqlite3" |
| 307 | } |
| 308 | |
| 309 | sqlite { |
| 310 | filename = "/opt/db/radius.sqlite3" |
| 311 | } |
| 312 | |
| 313 | sqlite { |
| 314 | filename = "/opt/db/radius.sqlite3" |
| 315 | } |
| 316 | |
| 317 | sqlite { |
| 318 | filename = "/opt/db/radius.sqlite3" |
| 319 | } |
| 320 | |
| 321 | sqlite { |
| 322 | filename = "/opt/db/radius.sqlite3" |
| 323 | } |
| 324 | |
| 325 | sqlite { |
| 326 | filename = "/opt/db/radius.sqlite3" |
| 327 | } |
| 328 | |
| 329 | sqlite { |
| 330 | filename = "/opt/db/radius.sqlite3" |
| 331 | } |
| 332 | |
| 333 | sqlite { |
| 334 | filename = "/opt/db/radius.sqlite3" |
| 335 | } |
| 336 | |
| 337 | sqlite { |
| 338 | filename = "/opt/db/radius.sqlite3" |
| 339 | } |
| 340 | |
| 341 | sqlite { |
| 342 | filename = "/opt/db/radius.sqlite3" |
| 343 | } |
| 344 | |
| 345 | sqlite { |
| 346 | filename = "/opt/db/radius.sqlite3" |
| 347 | } |
| 348 | |
| 349 | sqlite { |
| 350 | filename = "/opt/db/radius.sqlite3" |
| 351 | } |
| 352 | |
| 353 | sqlite { |
| 354 | filename = "/opt/db/radius.sqlite3" |
| 355 | } |
| 356 | |
| 357 | sqlite { |
| 358 | filename = "/opt/db/radius.sqlite3" |
| 359 | } |
| 360 | |
| 361 | sqlite { |
| 362 | filename = "/opt/db/radius.sqlite3" |
| 363 | } |
| 364 | |
| 365 | sqlite { |
| 366 | filename = "/opt/db/radius.sqlite3" |
| 367 | } |
| 368 | |
| 369 | sqlite { |
| 370 | filename = "/opt/db/radius.sqlite3" |
| 371 | } |
| 372 | |
| 373 | sqlite { |
| 374 | filename = "/opt/db/radius.sqlite3" |
| 375 | } |
| 376 | |
| 377 | sqlite { |
| 378 | filename = "/opt/db/radius.sqlite3" |
| 379 | } |
| 380 | |
| 381 | sqlite { |
| 382 | filename = "/opt/db/radius.sqlite3" |
| 383 | } |
| 384 | |
| 385 | sqlite { |
| 386 | filename = "/opt/db/radius.sqlite3" |
| 387 | } |
| 388 | |
| 389 | sqlite { |
| 390 | filename = "/opt/db/radius.sqlite3" |
| 391 | } |
| 392 | |
| 393 | sqlite { |
| 394 | filename = "/opt/db/radius.sqlite3" |
| 395 | } |
| 396 | |
| 397 | sqlite { |
| 398 | filename = "/opt/db/radius.sqlite3" |
| 399 | } |
| 400 | |
| 401 | sqlite { |
| 402 | filename = "/opt/db/radius.sqlite3" |
| 403 | } |
| 404 | |
| 405 | sqlite { |
| 406 | filename = "/opt/db/radius.sqlite3" |
| 407 | } |
| 408 | |
| 409 | sqlite { |
| 410 | filename = "/opt/db/radius.sqlite3" |
| 411 | } |
| 412 | |
| 413 | sqlite { |
| 414 | filename = "/opt/db/radius.sqlite3" |
| 415 | } |
| 416 | |
| 417 | sqlite { |
| 418 | filename = "/opt/db/radius.sqlite3" |
| 419 | } |
| 420 | |
| 421 | sqlite { |
| 422 | filename = "/opt/db/radius.sqlite3" |
| 423 | } |
| 424 | |
| 425 | sqlite { |
| 426 | filename = "/opt/db/radius.sqlite3" |
| 427 | } |
| 428 | |
| 429 | sqlite { |
| 430 | filename = "/opt/db/radius.sqlite3" |
| 431 | } |
| 432 | |
| 433 | sqlite { |
| 434 | filename = "/opt/db/radius.sqlite3" |
| 435 | } |
| 436 | |
| 437 | sqlite { |
| 438 | filename = "/opt/db/radius.sqlite3" |
| 439 | } |
| 440 | |
| 441 | sqlite { |
| 442 | filename = "/opt/db/radius.sqlite3" |
| 443 | } |
| 444 | |
| 445 | sqlite { |
| 446 | filename = "/opt/db/radius.sqlite3" |
| 447 | } |
| 448 | |
| 449 | sqlite { |
| 450 | filename = "/opt/db/radius.sqlite3" |
| 451 | } |
| 452 | |
| 453 | sqlite { |
| 454 | filename = "/opt/db/radius.sqlite3" |
| 455 | } |
| 456 | |
| 457 | sqlite { |
| 458 | filename = "/opt/db/radius.sqlite3" |
| 459 | } |
| 460 | |
| 461 | sqlite { |
| 462 | filename = "/opt/db/radius.sqlite3" |
| 463 | } |
| 464 | |
| 465 | sqlite { |
| 466 | filename = "/opt/db/radius.sqlite3" |
| 467 | } |
| 468 | |
| 469 | sqlite { |
| 470 | filename = "/opt/db/radius.sqlite3" |
| 471 | } |
| 472 | |
| 473 | sqlite { |
| 474 | filename = "/opt/db/radius.sqlite3" |
| 475 | } |
| 476 | |
| 477 | sqlite { |
| 478 | filename = "/opt/db/radius.sqlite3" |
| 479 | } |
| 480 | |
| 481 | sqlite { |
| 482 | filename = "/opt/db/radius.sqlite3" |
| 483 | } |
| 484 | |
| 485 | sqlite { |
| 486 | filename = "/opt/db/radius.sqlite3" |
| 487 | } |
| 488 | |
| 489 | sqlite { |
| 490 | filename = "/opt/db/radius.sqlite3" |
| 491 | } |
| 492 | |
| 493 | sqlite { |
| 494 | filename = "/opt/db/radius.sqlite3" |
| 495 | } |
| 496 | |
| 497 | sqlite { |
| 498 | filename = "/opt/db/radius.sqlite3" |
| 499 | } |
| 500 | |
| 501 | sqlite { |
| 502 | filename = "/opt/db/radius.sqlite3" |
| 503 | } |
| 504 | |
| 505 | sqlite { |
| 506 | filename = "/opt/db/radius.sqlite3" |
| 507 | } |
| 508 | |
| 509 | sqlite { |
| 510 | filename = "/opt/db/radius.sqlite3" |
| 511 | } |
| 512 | |
| 513 | sqlite { |
| 514 | filename = "/opt/db/radius.sqlite3" |
| 515 | } |
| 516 | |
| 517 | sqlite { |
| 518 | filename = "/opt/db/radius.sqlite3" |
| 519 | } |
| 520 | |
| 521 | sqlite { |
| 522 | filename = "/opt/db/radius.sqlite3" |
| 523 | } |
| 524 | |
| 525 | sqlite { |
| 526 | filename = "/opt/db/radius.sqlite3" |
| 527 | } |
| 528 | |
| 529 | sqlite { |
| 530 | filename = "/opt/db/radius.sqlite3" |
| 531 | } |
| 532 | |
| 533 | sqlite { |
| 534 | filename = "/opt/db/radius.sqlite3" |
| 535 | } |
| 536 | |
| 537 | sqlite { |
| 538 | filename = "/opt/db/radius.sqlite3" |
| 539 | } |
| 540 | |
| 541 | sqlite { |
| 542 | filename = "/opt/db/radius.sqlite3" |
| 543 | } |
| 544 | |
| 545 | sqlite { |
| 546 | filename = "/opt/db/radius.sqlite3" |
| 547 | } |
| 548 | |
| 549 | sqlite { |
| 550 | filename = "/opt/db/radius.sqlite3" |
| 551 | } |
| 552 | |
| 553 | sqlite { |
| 554 | filename = "/opt/db/radius.sqlite3" |
| 555 | } |
| 556 | |
| 557 | sqlite { |
| 558 | filename = "/opt/db/radius.sqlite3" |
| 559 | } |
| 560 | |
| 561 | sqlite { |
| 562 | filename = "/opt/db/radius.sqlite3" |
| 563 | } |
| 564 | |
| 565 | sqlite { |
| 566 | filename = "/opt/db/radius.sqlite3" |
| 567 | } |
| 568 | |
| 569 | sqlite { |
| 570 | filename = "/opt/db/radius.sqlite3" |
| 571 | } |
| 572 | |
| 573 | sqlite { |
| 574 | filename = "/opt/db/radius.sqlite3" |
| 575 | } |
| 576 | |
| 577 | sqlite { |
| 578 | filename = "/opt/db/radius.sqlite3" |
| 579 | } |
| 580 | |
| 581 | sqlite { |
| 582 | filename = "/opt/db/radius.sqlite3" |
| 583 | } |
| 584 | |
| 585 | sqlite { |
| 586 | filename = "/opt/db/radius.sqlite3" |
| 587 | } |
| 588 | |
| 589 | sqlite { |
| 590 | filename = "/opt/db/radius.sqlite3" |
| 591 | } |
| 592 | |
| 593 | sqlite { |
| 594 | filename = "/opt/db/radius.sqlite3" |
| 595 | } |
| 596 | |
| 597 | sqlite { |
| 598 | filename = "/opt/db/radius.sqlite3" |
| 599 | } |
| 600 | |
| 601 | sqlite { |
| 602 | filename = "/opt/db/radius.sqlite3" |
| 603 | } |
| 604 | |
| 605 | sqlite { |
| 606 | filename = "/opt/db/radius.sqlite3" |
| 607 | } |
| 608 | |
| 609 | sqlite { |
| 610 | filename = "/opt/db/radius.sqlite3" |
| 611 | } |
| 612 | |
| 613 | sqlite { |
| 614 | filename = "/opt/db/radius.sqlite3" |
| 615 | } |
| 616 | |
| 617 | sqlite { |
| 618 | filename = "/opt/db/radius.sqlite3" |
| 619 | } |
| 620 | |
| 621 | sqlite { |
| 622 | filename = "/opt/db/radius.sqlite3" |
| 623 | } |
| 624 | |
| 625 | sqlite { |
| 626 | filename = "/opt/db/radius.sqlite3" |
| 627 | } |
| 628 | |
| 629 | sqlite { |
| 630 | filename = "/opt/db/radius.sqlite3" |
| 631 | } |
| 632 | |
| 633 | sqlite { |
| 634 | filename = "/opt/db/radius.sqlite3" |
| 635 | } |
| 636 | |
| 637 | sqlite { |
| 638 | filename = "/opt/db/radius.sqlite3" |
| 639 | } |
| 640 | |
| 641 | sqlite { |
| 642 | filename = "/opt/db/radius.sqlite3" |
| 643 | } |
| 644 | |
| 645 | sqlite { |
| 646 | filename = "/opt/db/radius.sqlite3" |
| 647 | } |
| 648 | |
| 649 | sqlite { |
| 650 | filename = "/opt/db/radius.sqlite3" |
| 651 | } |
| 652 | |
| 653 | sqlite { |
| 654 | filename = "/opt/db/radius.sqlite3" |
| 655 | } |
| 656 | |
| 657 | sqlite { |
| 658 | filename = "/opt/db/radius.sqlite3" |
| 659 | } |
| 660 | |
| 661 | sqlite { |
| 662 | filename = "/opt/db/radius.sqlite3" |
| 663 | } |
| 664 | |
| 665 | sqlite { |
| 666 | filename = "/opt/db/radius.sqlite3" |
| 667 | } |
| 668 | |
| 669 | sqlite { |
| 670 | filename = "/opt/db/radius.sqlite3" |
| 671 | } |
| 672 | |
| 673 | sqlite { |
| 674 | filename = "/opt/db/radius.sqlite3" |
| 675 | } |
| 676 | |
| 677 | sqlite { |
| 678 | filename = "/opt/db/radius.sqlite3" |
| 679 | } |
| 680 | |
| 681 | sqlite { |
| 682 | filename = "/opt/db/radius.sqlite3" |
| 683 | } |
| 684 | |
| 685 | sqlite { |
| 686 | filename = "/opt/db/radius.sqlite3" |
| 687 | } |
| 688 | |
| 689 | sqlite { |
| 690 | filename = "/opt/db/radius.sqlite3" |
| 691 | } |
| 692 | |
| 693 | sqlite { |
| 694 | filename = "/opt/db/radius.sqlite3" |
| 695 | } |
| 696 | |
| 697 | sqlite { |
| 698 | filename = "/opt/db/radius.sqlite3" |
| 699 | } |
| 700 | |
| 701 | sqlite { |
| 702 | filename = "/opt/db/radius.sqlite3" |
| 703 | } |
| 704 | |
| 705 | sqlite { |
| 706 | filename = "/opt/db/radius.sqlite3" |
| 707 | } |
| 708 | |
| 709 | sqlite { |
| 710 | filename = "/opt/db/radius.sqlite3" |
| 711 | } |
| 712 | |
| 713 | sqlite { |
| 714 | filename = "/opt/db/radius.sqlite3" |
| 715 | } |
| 716 | |
| 717 | sqlite { |
| 718 | filename = "/opt/db/radius.sqlite3" |
| 719 | } |
| 720 | |
| 721 | sqlite { |
| 722 | filename = "/opt/db/radius.sqlite3" |
| 723 | } |
| 724 | |
| 725 | sqlite { |
| 726 | filename = "/opt/db/radius.sqlite3" |
| 727 | } |
| 728 | |
| 729 | sqlite { |
| 730 | filename = "/opt/db/radius.sqlite3" |
| 731 | } |
| 732 | |
| 733 | sqlite { |
| 734 | filename = "/opt/db/radius.sqlite3" |
| 735 | } |
| 736 | |
| 737 | sqlite { |
| 738 | filename = "/opt/db/radius.sqlite3" |
| 739 | } |
| 740 | |
| 741 | sqlite { |
| 742 | filename = "/opt/db/radius.sqlite3" |
| 743 | } |
| 744 | |
| 745 | sqlite { |
| 746 | filename = "/opt/db/radius.sqlite3" |
| 747 | } |
| 748 | |
| 749 | sqlite { |
| 750 | filename = "/opt/db/radius.sqlite3" |
| 751 | } |
| 752 | |
| 753 | sqlite { |
| 754 | filename = "/opt/db/radius.sqlite3" |
| 755 | } |
| 756 | |
| 757 | sqlite { |
| 758 | filename = "/opt/db/radius.sqlite3" |
| 759 | } |
| 760 | |
| 761 | sqlite { |
| 762 | filename = "/opt/db/radius.sqlite3" |
| 763 | } |
| 764 | |
| 765 | sqlite { |
| 766 | filename = "/opt/db/radius.sqlite3" |
| 767 | } |
| 768 | |
| 769 | sqlite { |
| 770 | filename = "/opt/db/radius.sqlite3" |
| 771 | } |
| 772 | |
| 773 | sqlite { |
| 774 | filename = "/opt/db/radius.sqlite3" |
| 775 | } |
| 776 | |
| 777 | sqlite { |
| 778 | filename = "/opt/db/radius.sqlite3" |
| 779 | } |
| 780 | |
| 781 | sqlite { |
| 782 | filename = "/opt/db/radius.sqlite3" |
| 783 | } |
| 784 | |
| 785 | sqlite { |
| 786 | filename = "/opt/db/radius.sqlite3" |
| 787 | } |
| 788 | |
| 789 | sqlite { |
| 790 | filename = "/opt/db/radius.sqlite3" |
| 791 | } |
| 792 | |
| 793 | sqlite { |
| 794 | filename = "/opt/db/radius.sqlite3" |
| 795 | } |
| 796 | |
| 797 | sqlite { |
| 798 | filename = "/opt/db/radius.sqlite3" |
| 799 | } |
| 800 | |
| 801 | sqlite { |
| 802 | filename = "/opt/db/radius.sqlite3" |
| 803 | } |
| 804 | |
| 805 | sqlite { |
| 806 | filename = "/opt/db/radius.sqlite3" |
| 807 | } |
| 808 | |
| 809 | sqlite { |
| 810 | filename = "/opt/db/radius.sqlite3" |
| 811 | } |
| 812 | |
| 813 | # |
| 814 | # Several drivers accept specific options, to set them, a |
| 815 | # config section with the the name as the driver should be added |
| 816 | # to the sql instance. |
| 817 | # |
| 818 | # Driver specific options are: |
| 819 | # |
| 820 | # sqlite { |
| 821 | # # Path to the sqlite database |
| 822 | # filename = "/my/sqlite/database.db" |
| 823 | # |
| 824 | # # If the file above does not exist and bootstrap is set |
| 825 | # # a new database file will be created, and the SQL statements |
| 826 | # # contained within the file will be executed. |
| 827 | # bootstrap = "/my/sqlite/schema.sql" |
| 828 | # } |
| 829 | # |
| 830 | # mysql { |
| 831 | # # If any of the below files are set tls encryption is enabled |
| 832 | # tls { |
| 833 | # ca_file = "/etc/ssl/certs/my_ca.crt" |
| 834 | # ca_path = "/etc/ssl/certs/" |
| 835 | # certificate_file = "/etc/ssl/certs/private/client.crt" |
| 836 | # private_key_file = "/etc/ssl/certs/private/client.key" |
| 837 | # cipher = "DHE-RSA-AES256-SHA:AES128-SHA" |
| 838 | # } |
| 839 | # } |
| 840 | # |
| 841 | |
| 842 | # The dialect of SQL you want to use, this should usually match |
| 843 | # the driver you selected above. |
| 844 | # |
| 845 | # If you're using rlm_sql_null, then it should be the type of |
| 846 | # database the logged queries are going to be executed against. |
| 847 | dialect = "sqlite" |
| 848 | |
| 849 | # Connection info: |
| 850 | # |
| 851 | # server = "localhost" |
| 852 | # port = 3306 |
| 853 | # login = "radius" |
| 854 | # password = "radpass" |
| 855 | |
| 856 | # Database table configuration for everything except Oracle |
| 857 | radius_db = "radius" |
| 858 | |
| 859 | # If you are using Oracle then use this instead |
| 860 | # radius_db = "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=your_sid)))" |
| 861 | |
| 862 | # If you're using postgresql this can also be used instead of the connection info parameters |
| 863 | # radius_db = "dbname=radius host=localhost user=radius password=raddpass" |
| 864 | |
| 865 | # If you want both stop and start records logged to the |
| 866 | # same SQL table, leave this as is. If you want them in |
| 867 | # different tables, put the start table in acct_table1 |
| 868 | # and stop table in acct_table2 |
| 869 | acct_table1 = "radacct" |
| 870 | acct_table2 = "radacct" |
| 871 | |
| 872 | # Allow for storing data after authentication |
| 873 | postauth_table = "radpostauth" |
| 874 | |
| 875 | # Tables containing 'check' items |
| 876 | authcheck_table = "radcheck" |
| 877 | groupcheck_table = "radgroupcheck" |
| 878 | |
| 879 | # Tables containing 'reply' items |
| 880 | authreply_table = "radreply" |
| 881 | groupreply_table = "radgroupreply" |
| 882 | |
| 883 | # Table to keep group info |
| 884 | usergroup_table = "radusergroup" |
| 885 | |
| 886 | # If set to 'yes' (default) we read the group tables |
| 887 | # If set to 'no' the user MUST have Fall-Through = Yes in the radreply table |
| 888 | # read_groups = yes |
| 889 | |
| 890 | # Remove stale session if checkrad does not see a double login |
| 891 | delete_stale_sessions = yes |
| 892 | |
| 893 | # Write SQL queries to a logfile. This is potentially useful for tracing |
| 894 | # issues with authorization queries. |
| 895 | # logfile = ${logdir}/sqllog.sql |
| 896 | |
| 897 | # As of version 3.0, the "pool" section has replaced the |
| 898 | # following configuration items: |
| 899 | # |
| 900 | # num_sql_socks |
| 901 | # connect_failure_retry_delay |
| 902 | # lifetime |
| 903 | # max_queries |
| 904 | |
| 905 | # |
| 906 | # The connection pool is new for 3.0, and will be used in many |
| 907 | # modules, for all kinds of connection-related activity. |
| 908 | # |
| 909 | # When the server is not threaded, the connection pool |
| 910 | # limits are ignored, and only one connection is used. |
| 911 | # |
| 912 | pool { |
| 913 | # Number of connections to start |
| 914 | start = 5 |
| 915 | |
| 916 | # Minimum number of connections to keep open |
| 917 | min = 4 |
| 918 | |
| 919 | # Maximum number of connections |
| 920 | # |
| 921 | # If these connections are all in use and a new one |
| 922 | # is requested, the request will NOT get a connection. |
| 923 | # |
| 924 | # Setting 'max' to LESS than the number of threads means |
| 925 | # that some threads may starve, and you will see errors |
| 926 | # like "No connections available and at max connection limit" |
| 927 | # |
| 928 | # Setting 'max' to MORE than the number of threads means |
| 929 | # that there are more connections than necessary. |
| 930 | # |
| 931 | max = ${thread[pool].max_servers} |
| 932 | |
| 933 | # Spare connections to be left idle |
| 934 | # |
| 935 | # NOTE: Idle connections WILL be closed if "idle_timeout" |
| 936 | # is set. |
| 937 | spare = 3 |
| 938 | |
| 939 | # Number of uses before the connection is closed |
| 940 | # |
| 941 | # 0 means "infinite" |
| 942 | uses = 0 |
| 943 | |
| 944 | # The lifetime (in seconds) of the connection |
| 945 | lifetime = 0 |
| 946 | |
| 947 | # idle timeout (in seconds). A connection which is |
| 948 | # unused for this length of time will be closed. |
| 949 | idle_timeout = 60 |
| 950 | |
| 951 | # NOTE: All configuration settings are enforced. If a |
| 952 | # connection is closed because of "idle_timeout", |
| 953 | # "uses", or "lifetime", then the total number of |
| 954 | # connections MAY fall below "min". When that |
| 955 | # happens, it will open a new connection. It will |
| 956 | # also log a WARNING message. |
| 957 | # |
| 958 | # The solution is to either lower the "min" connections, |
| 959 | # or increase lifetime/idle_timeout. |
| 960 | } |
| 961 | |
| 962 | # Set to 'yes' to read radius clients from the database ('nas' table) |
| 963 | # Clients will ONLY be read on server startup. |
| 964 | # read_clients = yes |
| 965 | |
| 966 | # Table to keep radius client info |
| 967 | client_table = "nas" |
| 968 | |
| 969 | # Read database-specific queries |
| 970 | $INCLUDE ${modconfdir}/${.:name}/main/${dialect}/queries.conf |
| 971 | } |