Skip to main content

PP's FreeIPA Module

Project description

PP’s FreeIPA Module

PyPI package: ppipa

If you spot any problems or have any improvement ideas then feel free to open an issue and I will be glad to look into it for you.

Installation

A recommended way of installing the tool is pip install.

pip install

The tool is available in PyPI and can be installed using pip:

$ pip install --user ppipa

Usage

from ppipa import FreeIPAServer

ipa = FreeIPAServer(host='ipa01.example.com', bindpw='password')

users = ipa.find_users_by_email(email='first.last@example.com')
n = len(users)

user = ipa.users().get('first.last')
cn = user.cn
is_ldap_group_member = user.is_member_of('ldap_group')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ppipa, version 1.0.6
Filename, size File type Python version Upload date Hashes
Filename, size ppipa-1.0.6-py2.py3-none-any.whl (17.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size ppipa-1.0.6.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page