Commit Graph

511 Commits

Author SHA1 Message Date
Max Erenberg 448692018a add test for group.to_dict() with one member 2021-08-19 00:23:55 +00:00
Max Erenberg 6bf4d75a60 log error message instead of traceback 2021-08-19 00:19:57 +00:00
Max Erenberg 5bda74eaf9 fix test_group_to_dict 2021-08-19 00:05:44 +00:00
Max Erenberg df5d9e5f14 Merge branch 'v1' into groups_api 2021-08-19 00:02:09 +00:00
Max Erenberg 57ab275634 implement /api/groups endpoints 2021-08-18 23:48:17 +00:00
Max Erenberg e370035b25 add cffi as dev dependency 2021-08-18 19:53:30 +00:00
Max Erenberg d78d31eec0 add Kerberos delegation (#5)
This PR adds unconstrained Kerberos delegation to the API.

The client obtains a forwarded TGT and sends it, base64-encoded, in an HTTP header named 'X-KRB5-CRED'. The server reads this credential, creates a new credentials cache for the user, and stores the credential into the new cache. The server can now authenticate to other services (e.g. LDAP) over GSSAPI using the forwarded client's credentials.

Reviewed-on: #5
Co-authored-by: Max Erenberg <merenber@localhost>
Co-committed-by: Max Erenberg <merenber@localhost>
2021-08-18 15:39:14 -04:00
Max Erenberg dd59bea918 add Kerberos delegation 2021-08-18 01:59:24 +00:00
Max Erenberg d82b5a763b use ldap3 instead of python-ldap 2021-08-15 05:04:49 +00:00
Max Erenberg 6cdb41d47b move all tests to top-level folder 2021-08-14 00:11:56 +00:00
Max Erenberg cbf4aa43f8 add tests for uwldap 2021-08-04 20:59:36 +00:00
Max Erenberg 9e4d564a33 move INI file locations 2021-08-04 17:15:06 +00:00
Max Erenberg 3ecf43731f add tests for Group class 2021-08-04 06:33:50 +00:00
Max Erenberg e7bfe36c0b add tests for User class 2021-08-04 05:54:21 +00:00
Max Erenberg 87298e18b3 cast string values in Config 2021-08-04 03:30:19 +00:00
Max Erenberg baeb83b1e2 use ConfigParser 2021-08-03 23:19:33 +00:00
Max Erenberg 4a312378b7 remove mailman transactions 2021-08-03 20:11:13 +00:00
Max Erenberg 96cb2bc808 add updateprograms 2021-08-03 14:09:07 +00:00
Max Erenberg 7c67a07200 use create_sync_response 2021-08-03 03:20:11 +00:00
Max Erenberg c32e565f68 implement renewals and password resets 2021-08-02 08:01:13 +00:00
Max Erenberg da14764687 Merge branch 'v1' of https://git.csclub.uwaterloo.ca/public/pyceo into v1 2021-08-02 07:21:20 +00:00
Max Erenberg ff2ac95d5e add PATCH /api/members/:username endpoint 2021-08-02 07:19:29 +00:00
Max Erenberg 9227552b29 re-send EHLO after STARTTLS 2021-07-31 08:34:06 -04:00
Max Erenberg 7b749701f0 add README 2021-07-24 21:35:09 +00:00
Max Erenberg e966e3f307 add app factory 2021-07-24 21:09:10 +00:00
Max Erenberg 3b78b7ffb4 add MailService and MailmanService 2021-07-24 00:08:22 +00:00
Max Erenberg de0f473881 add base classes for users and groups 2021-07-19 05:47:39 +00:00
Max Erenberg 0c6dc18085 update mailman path to use virtualenv 2021-05-18 01:52:09 -04:00
Zachary Seguin 2a7777b59e Set userPassword field for SASL authentication 2021-05-07 21:54:49 -04:00
Max Erenberg b5dda1df3d decrease minimum username length from 3 to 2 2021-05-02 18:12:44 -04:00
Max Erenberg 176e863f9b rename package version to buster 2021-04-11 22:34:38 -04:00
Max Erenberg 7223ac6278 update debian changelog 2021-04-11 21:56:34 -04:00
Max Erenberg eaff8d779b use Mailman 3 to subscribe new members to csc-general 2021-04-11 16:10:56 -04:00
Zachary Seguin 1a3244e039 Move adduser and mail operations to phosphoric-acid due to decommissioning of aspartame
Build for buster and stretch
2021-03-21 23:19:07 -04:00
Jennifer Zhou e73c7aae39 Merge branch 'master' of /users/git/public/pyceo 2018-10-21 22:41:58 -04:00
Jennifer Zhou 723f7ecfe7 Packaging for bionic 2018-10-21 22:40:04 -04:00
Jennifer Zhou d82fa5780b Packaging for bionic 2018-10-21 22:31:28 -04:00
Zachary Seguin 82cb7b1e64 Package for buster 2018-04-15 14:33:23 -04:00
Zachary Seguin 3976b1b17e Build ceo for Jessie and Xenial 2017-05-02 00:27:59 -04:00
Zachary Seguin c3ac824d67 Add python-dnspython as a dependency 2017-05-02 00:27:33 -04:00
Zachary Seguin df5f61ffd0 Update check_email to handle hosts without an A record (either AAAA only or MX only) 2017-05-01 17:36:05 -04:00
Zachary Seguin 466af409b4 Build for stretch 2017-01-20 23:08:35 -05:00
Zachary Seguin 548ee6de58 Re-build so debian.csclub include library as a dependency 2016-02-20 16:12:32 -05:00
Zachary Seguin 44db85fe2f Resolves issue where CEO would not start 2016-02-20 00:10:06 -05:00
Felix Bauckholt 4b0db35899 Replace the stub of the library with a system call to "librarian" 2016-02-19 21:57:54 -05:00
Zachary Seguin db90d4ce00 Update CEO for latest package versions on Jessie 2015-11-11 22:45:42 -05:00
Sean Hunt 5cf982e8d5 Remind users that club accounts are free. 2014-07-22 14:25:33 -04:00
Sean Hunt a23cd81cf7 Package for saucy. 2013-12-05 16:24:13 -05:00
Luqman Aden 0bb49fe405 Packaging for jessie. 2013-10-10 22:03:59 -04:00
Jeremy Roman 359c1f14eb squeeze build :( 2013-09-16 08:34:37 -04:00