Commit Graph

114 Commits

Author SHA1 Message Date
Michael Spang 9110a41969 Cleanup warnings: unused imports, etc 2007-12-14 00:46:09 -05:00
Michael Spang 217c9806f1 Use python-ldap directly in members
This leaves only utility functions in ldapi.
2007-12-14 00:46:09 -05:00
Michael Spang b8be0f8149 Reorganize namespace
There were too many packages with only a couple of modules
in them. It took minimum four tab completes to find an
interesting file. This halves that.
2007-12-13 23:34:16 -05:00
Michael Spang 9a56175919 Reorganize build process
Now using Python's distutils for installing the Python modules
into the wrong place and python-support for moving them into
the right place, byte-compiling, and all that jazz.
2007-12-13 23:34:09 -05:00
Michael Spang 986151bca6 Bump version again 2007-12-12 03:41:37 -05:00
Michael Spang f0f65e4409 No connection needed for create_member() 2007-12-12 03:41:26 -05:00
Michael Spang 3bfa5002ab Merge branch 'master' of caffeine:/srv/git/public/pyceo 2007-12-12 03:39:23 -05:00
Michael Spang d822f029a7 Invert the sense of the return from addmember() or addclub()
It didn't quite work as-is. Whoops.
2007-12-12 03:39:17 -05:00
David Bartley ccfcdbb3cf Remove remaining bits of uid check 2007-12-12 03:33:09 -05:00
Michael Spang 2d7801864f Fix another return in addmember 2007-12-12 03:09:31 -05:00
Michael Spang a13412403c Bump version to 0.4.0 2007-12-12 03:07:42 -05:00
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