pull/5/head
Michael Gregson 14 years ago
parent 0628f6edee
commit 2d599b60e9
  1. 2
      ceo/library.py
  2. 15
      etc/accounts.cf.example
  3. 3
      etc/ldap.cf.example

@ -39,7 +39,7 @@ class Book(SQLObject):
Call this with a username to sign out
a book.
"""
if members.registered(u,terms.currrent()):
if members.registered(u, terms.current()):
s = Signout(username=u, book=self,
outdate=datetime.today(), indate=None)

@ -9,6 +9,9 @@ member_min_id = 20001
member_max_id = 29999
member_shell = "/bin/bash"
member_home = "/users"
#member_home_acl = "u::rwx,g::rx,o::rx"
#member_home_dacl =
member_home_acl =
### Club Account Options ###
@ -16,6 +19,7 @@ club_min_id = 30001
club_max_id = 39999
club_shell = "/bin/bash"
club_home = "/users"
club_home_acl = "A+group:%s:rwpRAxaWdDcCs:fd:allow"
### Administrative Account Options
@ -26,9 +30,9 @@ admin_home = "/users"
### Home Directory Options ###
skeleton_dir = "/etc/skel"
homedir_mode = 0755
quota_prototype = "ctdalek"
skeleton_dir = "/users/skel"
homedir_mode = "0755"
refquota = "4G"
### Validation Tuning ###
@ -36,4 +40,7 @@ username_regex = "^[a-z][-a-z0-9]*$"
min_password_length = 4
shells_file = "/etc/shells"
privileged_group = "staff"
notify_hook = "/etc/csc/thingie"
notify_hook = "/etc/csc/notify-hook"
expired_account_email = "/etc/csc/expired-account"
mathsoc_regex = ".*(mat/|vpa/se|computer science|math).*"
mathsoc_dont_count = "cpdohert dlgawley dtbartle mbiggs saforres tmyklebu"

@ -4,10 +4,11 @@ server_url = "ldaps:///"
users_base = "ou=People,dc=csclub,dc=uwaterloo,dc=ca"
groups_base = "ou=Group,dc=csclub,dc=uwaterloo,dc=ca"
sudo_base = "ou=SUDOers,dc=csclub,dc=uwaterloo,dc=ca"
admin_bind_dn =
admin_bind_userid = "ceo"
admin_bind_keytab = "/etc/csc/ceo.keytab"
admin_bind_userid = "ceo"
sasl_mech = "GSSAPI"
sasl_realm = "CSCLUB.UWATERLOO.CA"
Loading…
Cancel
Save