Commit Graph

186 Commits

Author SHA1 Message Date
Michael Spang e28b159cdc POSIX ACL support in addhomedir and addclub 2007-12-20 02:27:51 -05:00
Michael Spang 3307bfc56e Remove obsolete function ceo_add_club() 2007-12-20 00:35:36 -05:00
David Bartley c7aea5c7cf Add sudo entry to ldap when creating clubs 2007-12-19 21:51:20 -05:00
David Bartley a2a5e3771a Improved tab-completion 2007-12-18 15:58:07 -05:00
David Bartley 5a504220aa Improve exception handling 2007-12-18 01:49:13 -05:00
David Bartley d4c47073e0 Clarify group failure 2007-12-18 01:37:44 -05:00
David Bartley 7a282739e2 Add tab completion for userid fields 2007-12-18 01:24:58 -05:00
David Bartley 7c6c3d00a7 Remove extraneous whitespace 2007-12-18 01:22:09 -05:00
Michael Spang 92513f4587 Allow init of MemberException with no arguments 2007-12-17 18:44:55 -05:00
David Bartley f37a9452d5 Merge branch 'master' of /users/git/public/pyceo 2007-12-16 18:34:44 -05:00
David Bartley c22b6e91a3 Only allow 3 password attempts 2007-12-16 18:34:42 -05:00
Michael Spang 6acb5c0f93 Merge branch 'master' of caffeine:/srv/git/public/pyceo 2007-12-16 18:32:26 -05:00
Michael Spang 14069b2c08 Add manpages and remove TODO 2007-12-16 18:31:55 -05:00
Michael Spang 06d1e8b48b Remove ceoquery
Just use the GUI's search feature or ldapsearch directly.
2007-12-16 18:11:42 -05:00
David Bartley 40cf5ec2f3 Add password prompt 2007-12-16 18:06:09 -05:00
Michael Spang ba05827977 Remove python-pam dependency
Only chsh and chfn depended on it.
2007-12-16 15:54:54 -05:00
Michael Spang 97b72fc4e7 Don't try to install chsh and chfn
They are gone!
2007-12-16 01:20:33 -05:00
Michael Spang fb829d6687 Enlarge the shells list 2007-12-16 01:19:16 -05:00
Michael Spang 9470a42998 Remove chfn and chsh and allow shell changes in the gui
The chsh and chfn programs were broken anyway.
2007-12-16 01:16:21 -05:00
Michael Spang 1231cddf56 Display "Connecting..." during gui startup 2007-12-15 16:18:26 -05:00
Michael Spang b94a9fb5bc Fix list by term and list by name
The list comprehension was incorrect.
2007-12-15 16:07:02 -05:00
Michael Spang 36413de090 Better error handling in the gui 2007-12-14 02:09:18 -05:00
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