| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK Online Homework Delivery System |
3 | # WeBWorK Online Homework Delivery System |
| 4 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
4 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
| 5 | # $CVSHeader: webwork2/conf/global.conf.dist,v 1.176 2006/09/07 17:03:51 sh002i Exp $ |
5 | # $CVSHeader: webwork2/conf/global.conf.dist,v 1.177 2006/09/08 19:53:21 sh002i Exp $ |
| 6 | # |
6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify it under |
7 | # This program is free software; you can redistribute it and/or modify it under |
| 8 | # the terms of either: (a) the GNU General Public License as published by the |
8 | # the terms of either: (a) the GNU General Public License as published by the |
| 9 | # Free Software Foundation; either version 2, or (at your option) any later |
9 | # Free Software Foundation; either version 2, or (at your option) any later |
| 10 | # version, or (b) the "Artistic License" which comes with this package. |
10 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 504 | # Select the authentication module to use for proctor logins. |
504 | # Select the authentication module to use for proctor logins. |
| 505 | # |
505 | # |
| 506 | # A string or a hash is accepted, as above. |
506 | # A string or a hash is accepted, as above. |
| 507 | # |
507 | # |
| 508 | $authen{proctor_module} = "WeBWorK::Authen::Proctor"; |
508 | $authen{proctor_module} = "WeBWorK::Authen::Proctor"; |
|
|
509 | |
|
|
510 | # Options for particular authentication modules |
|
|
511 | |
|
|
512 | $authen{ldap_options} = { |
|
|
513 | # hosts to attempt to connect to, in order. for example: |
|
|
514 | # auth.myschool.edu -- uses LDAP scheme and port 389 |
|
|
515 | # ldap://auth.myschool.edu:666 -- non-standard port |
|
|
516 | # ldaps://auth.myschool.edu -- uses LDAPS scheme and port 636 |
|
|
517 | # ldaps://auth.myschool.edu:389 -- SSL on non-SSL port |
|
|
518 | net_ldap_hosts => [ |
|
|
519 | "ldaps://corona-dmc.its.rochester.edu", |
|
|
520 | "ldaps://corona-dmb.acs.rochester.edu", |
|
|
521 | ], |
|
|
522 | # connection options |
|
|
523 | net_ldap_options => { |
|
|
524 | timeout => 30, |
|
|
525 | version => 3, |
|
|
526 | }, |
|
|
527 | # base to use when searching for user's DN |
|
|
528 | net_ldap_base => "ou=people,dc=rochester,dc=edu", |
|
|
529 | # If LDAP rejects password, check it against the WeBWorK password database |
|
|
530 | failover => 1, |
|
|
531 | }; |
| 509 | |
532 | |
| 510 | ################################################################################ |
533 | ################################################################################ |
| 511 | # Authorization system |
534 | # Authorization system |
| 512 | ################################################################################ |
535 | ################################################################################ |
| 513 | |
536 | |