Commit Graph

303 Commits

Author SHA1 Message Date
Michael Spang ed26812d98 Avoid trying to delete terms
Office staffers do not have permission to unregister members
from terms in the current setup. This breaks with the way
python-ldap's modifyModlist function works, as it attempts
to delete the terms then re-add them. Use David Bartley's
function instead, as it does not have this problem.
2007-12-12 03:04:46 -05:00
Michael Spang 8c19dc63b6 Make CEO non-SUID
It now binds to the directory as the invoking user.
2007-12-12 02:38:13 -05:00
Michael Spang 618bfa2d8d Set the login shell of new members
Somehow this got left out of addmember. The default
is sh which isn't terribly friendly.
2007-12-12 02:12:14 -05:00
Michael Spang 5bca2288af Merge accounts and members
This really only moves two functions: create_member and
create_club. Nothing else is left in accounts. Eventually,
it might make sense to separate it out again in a more
sane way (e.g. they should share the connection somehow).
2007-12-12 01:28:11 -05:00
Michael Spang 8782e58118 Remove unused cruft 2007-12-12 01:25:45 -05:00
Michael Spang fddc135056 Remove addhomedir
Yes, it's builtin now.
2007-12-12 01:25:44 -05:00
Michael Spang 3977cab631 Fix return in addmember and addclub 2007-12-12 01:25:44 -05:00
David Bartley 7254b4c880 Rename variables named 'type' 2007-12-12 01:19:25 -05:00
Michael Spang cc33ace5ea Bump version to 0.3.9
Version 0.4.0 should rip out the Kerberos and any other unused code.
2007-12-10 04:00:12 -05:00
Michael Spang 105dba95ff Silence pychecker and pylint warnings 2007-12-10 03:15:45 -05:00
Michael Spang 8501067211 Use addmember and addclub in the GUI to add accounts 2007-12-10 03:15:45 -05:00
Michael Spang fc6fa4b630 Build & install addmember and addclub 2007-12-10 03:15:45 -05:00
Michael Spang 3d20172dad Add sources for C account creation programs 2007-12-10 03:15:44 -05:00
Michael Spang 4ec2fceaca Add stolen Kerberos 5 admin headers 2007-12-10 03:15:36 -05:00
Michael Spang 0b805c08a4 Allow starting from main.py again 2007-12-10 03:15:36 -05:00
David Bartley d091a86fb5 Fix spelling errors 2007-12-09 21:13:18 -05:00
Michael Spang 5c844ec90e Prompt for "UWuserid" instead of "UWdir ID"
Some foolish individuals read the latter "student ID".
2007-12-09 20:32:45 -05:00
David Bartley 07d4a428f9 Simplify sasl code 2007-12-06 02:04:43 -05:00
David Bartley d1da12d13f Merge branch 'master' of /users/git/public/pyceo 2007-12-06 01:47:08 -05:00
Michael Spang 3c9bb06f99 Use Popen instead of popeni for kinit
popeni is mad hacks for talking to e.g. kadmin and using
a pseudo-terminal. When using kinit with a keytab, a pipe
will suffice.
2007-12-05 23:48:20 -05:00
David Bartley bf19290c70 Merge branch 'master' of /users/git/public/pyceo 2007-12-04 22:19:03 -05:00
Michael Spang 6c0f2227bd Documentation updates 2007-12-04 22:14:31 -05:00
Michael Spang 28e860abca Make ceoquery non-SUID 2007-12-04 22:01:48 -05:00
Michael Spang fc2c42ae19 Don't mess with the keytab in postinst 2007-12-04 21:57:09 -05:00
Michael Spang 28df5a8dc4 Remove old GUI 2007-12-04 21:44:16 -05:00
Michael Spang 1aa2a15d70 Update default config for SASL magic 2007-12-04 21:40:54 -05:00
David Bartley f1a3a28166 Cleanup code 2007-12-03 03:18:03 -05:00
David Bartley ac241a6e34 Fix seteuid magic 2007-12-03 02:58:44 -05:00
David Bartley 8aa2bd1b24 Bug fix 2007-11-28 03:41:44 -05:00
David Bartley 21f12b917c Office staff can modify office staff 2007-11-28 03:38:45 -05:00
David Bartley 98f40eb82d New ceo 0.3.3 release 2007-11-28 03:20:21 -05:00
David Bartley 380e8283a0 Restrict non-club modifications to syscom 2007-11-28 03:10:08 -05:00
David Bartley ee2b189a91 Bug fix 2007-11-28 03:05:17 -05:00
David Bartley 4ca42380ee Connect on startup 2007-11-27 19:36:44 -05:00
David Bartley 350ef6ef7a Add group/club management 2007-11-27 19:29:06 -05:00
David Bartley 4f18425f71 Check for invalid usernames in positions page 2007-11-27 19:24:53 -05:00
David Bartley 7ce6543ce6 Add sasl support 2007-11-27 19:21:47 -05:00
David Bartley a2f7888d5d Don't build ceo-old 2007-11-27 18:47:40 -05:00
Michael Spang 7bc7e8e964 Bugs 2007-11-21 19:04:45 -05:00
Michael Spang 5435a95f02 Bump version to 0.3.2 2007-11-21 17:21:57 -05:00
David Bartley 95019e376a Complete group and position management 2007-11-15 05:28:58 -05:00
David Bartley 97ac7fb7bd Merge branch 'master' of /users/git/public/pyceo 2007-11-13 22:49:59 -05:00
Michael Spang a9ecb9aac8 Fix CEO group add for rfc2307bis 2007-11-13 22:41:30 -05:00
David Bartley 4236e5ec08 Don't add non-ceo group members in list_group 2007-11-13 22:36:09 -05:00
David Bartley db037b5251 Improve group search
* Add 'Search by group'
* Use member_list to display results
2007-11-13 20:50:14 -05:00
David Bartley d7dc1542c2 Add line before back on group lists 2007-11-13 19:38:49 -05:00
David Bartley ade4c0cfe1 Make back window of first wizard pane work 2007-11-13 19:37:59 -05:00
David Bartley fe458135be Add preliminary group management functions 2007-11-13 19:30:01 -05:00
David Bartley b7b67399a8 Lookup name and program based on uwdir id 2007-11-11 00:03:28 -05:00
Michael Spang 31c05d869f Remove remnants of SQL interface 2007-10-26 00:09:53 -04:00