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.22.tar.gz
.
File metadata
- Download URL: ipaconnector-0.0.22.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec6771c318a3d492ffa8629e40860b7c07c549df070f2850d16ab20b15a1b591 |
|
MD5 | 8ee8cc8e8684b6e398260629d27c552a |
|
BLAKE2b-256 | b998a667c255ffa5e15932f5d6af95144c3eca7de086665bac70ffb98065bcbb |