IPA connector
Project description
IPA Connector
IPA Connector is script that allows to perform standard user/group add/delete/update operations on Red Hat IDM/FreeIPA. \
It requires to have .json file provided with changes specified to be made in IPA.
See examples at tests/sample_X.json
Requirements
IPA Connector requires python3.6 to be installed.
If you want to use Kerberos authentication, install also python package: requests_kerberos
Installation
optional virtualenv venv -ppython3; source venv/bin/activate;
optional pip install requests_kerberos
pip install ipaconnector
Usage
Default usage
This will try to connect to ipa.server.net using your current username and will ask you for password.
ipa-connector ipa.server.net path/to/file.json
Adjust log level and change user
ipa-connector ipa.server.net path/to/file.json --log-level 2 -u ipauser
Use Kerberos to log in
run kinit first
ipa-connector ipa.server.net path/to/file.json -k
Log level
Value | Log level |
---|---|
5 | ERROR |
4 | WARN |
3 | INFO |
2 | DEBUG |
1 | ALL |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ipaconnector-0.0.7.tar.gz
.
File metadata
- Download URL: ipaconnector-0.0.7.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9024ad6c3ed50f67fe4b063ab3b6aa1ba15a536f975f1189909b41ece6a48b3 |
|
MD5 | 8fc02a9c6ff09ed7ad74ce5145693e11 |
|
BLAKE2b-256 | 8b773976b7f335d79bc328d83d6041da74e5d4ffabe91682c20fdeaa904b9365 |