Commit Graph

50 Commits

Author SHA1 Message Date
29685a66b5
Black'd 2020-11-20 12:04:17 +01:00
2f2142025f
Print json-serializable in adduser and showgroup 2020-11-20 12:02:29 +01:00
8fbf159461
Print json-serialized output for showuser
Also add `--show-user` flag on cli and black the module.
2020-11-20 12:02:08 +01:00
581270c6c1
Add flag on cli + black
Copied from argparse==3.9 the BooleanOptionalAction, to allow one to
have boolean (optional) flags on the cli.

Also enforced black formatting.
2020-11-20 11:16:07 +01:00
d90151ce25 Handle user already in group 2020-10-12 18:55:36 +02:00
1333c03954 Nicer prints 2020-10-12 18:42:09 +02:00
eb9827bb33 Lower log level 2020-10-12 18:38:13 +02:00
6003807e44 Update readme 2020-10-11 22:03:21 +02:00
69959d0b18 Add to group 2020-10-11 14:53:32 +02:00
8b901ca5d5 Add and delete users 2020-10-11 12:41:44 +02:00
ae81ec3885 Move cli abstraction 2020-10-11 11:55:36 +02:00
d762251476 Command line sugar 2020-10-11 01:11:56 +02:00
a5bb63fb14 Show user 2020-10-10 23:27:08 +02:00
d6f48e4861 Load custom configs 2020-10-10 21:14:21 +02:00
75e2ee1b04 Begin phicli 2020-10-10 18:45:16 +02:00
86e8ed669b Hash password 2020-10-10 12:59:41 +02:00
affcc47fe9 Clean user and group dictionaries 2020-10-10 12:54:28 +02:00
b46b4fa01e Get all groups 2020-10-10 11:25:14 +02:00
6d14ed9246 Users and group dictionaries 2020-10-05 14:51:16 +02:00
8efd4bd75c Add to groups 2020-10-04 23:01:38 +02:00
cdddc250fb Clean abstraction 2020-10-04 17:45:09 +02:00
User Identifier
0b91ee1f22 Delete user after adding it 2020-10-04 16:47:33 +02:00
User Identifier
81b81c6a50 Log as root 2020-10-04 14:23:26 +02:00
User Identifier
93328aa2cf Failing add user test 2020-10-03 18:42:18 +02:00
User Identifier
dbf6ca966f Search by organizational unit 2020-09-30 18:42:28 +02:00
User Identifier
3e299f96b1 Fix typo 2020-09-30 16:42:53 +02:00
User Identifier
4dd11a881e Remove attribute mapping 2020-09-30 16:38:31 +02:00
7883b2d1c0 Make tests run again
I had to remove all the aiohttp crap for the moment.
2020-09-30 12:43:15 +02:00
bec6123d47
Addedd pipenv helper files. 2019-04-12 16:26:19 +02:00
4cffb72e48
Updating the url in setup.py 2019-04-12 16:25:36 +02:00
871ba1e43b
openldap/README.md updated. 2019-04-12 16:25:10 +02:00
9413293578
Change openldap/Makefile. 2019-04-12 16:22:36 +02:00
d274c1a2ac Pin aiohttp version to 2.3.8 2018-03-10 15:15:56 +01:00
7029b88fa7 Remove unused file 2018-03-10 11:29:46 +01:00
597db33271 Add API tests 2017-12-27 11:02:38 +01:00
d4e41024b0 Adjust setup.py for flake8 2017-12-24 13:21:14 +01:00
4bb28d92b0 Adjust setup.py for pytest 2017-12-24 12:38:38 +01:00
8668b43880 Cleanup 2017-12-24 12:37:08 +01:00
cdc55411b5 Add LDAP tests 2017-12-23 17:18:12 +01:00
774a12f523 Remove hardcoded zsh dependency 2017-12-23 16:03:20 +01:00
cb3a7f9424 Python 3.4 is not supported 2017-12-23 15:05:19 +01:00
6696238d57 Rename daemon script and add shebang 2017-12-23 14:44:16 +01:00
ce7369da06 Remove outdated documentation 2017-12-23 14:43:36 +01:00
c79d89c0b7 Add API for retrieving user info 2017-12-22 19:23:13 +01:00
8f69c33de1 Add test users to LDAP directory 2017-12-21 12:30:10 +01:00
9ee69fb907 Refactor LDAP Client
* Enable LDAP traffic logging
* Specify CA certificates file
* Move client creation to actual parent
* Fix OpenLDAP container certificate generation
2017-12-18 20:28:54 +01:00
ced97f549c Use unprivileged user 2017-12-17 10:51:25 +01:00
72b91d123e Make LDAP connection thread safe
Add open() and close() methods to LDAP Client.
2017-12-17 10:33:25 +01:00
da40fc6c20 Add vim and emacs swap files to .gitignore 2017-12-17 10:30:28 +01:00
4bd5d74975 Import 2017-12-16 23:17:01 +01:00