Skip to main content

Freeipa辅助工具。

Project description

ipa-utils

Freeipa管理工具集。请指定子命令进行操作。

安装

pip install ipa-utils

安装的命令

  • ipa-utils

ipa-utils提供的子命令

  • get-user-details 查询用户信息,支持yaml/json等格式输出。

命令帮助信息

ipa-utils命令下提供全局参数用于ldap服务的连接,各子命令下提供其它参数详细子命令帮助信息。

E:\ipa-utils>ipa-utils --help
Usage: ipa-utils [OPTIONS] COMMAND [ARGS]...

  Freeipa管理工具集。请指定子命令进行操作。

Options:
  -h, --host TEXT      Ldap服务器地址,默认为127.0.0.1。
  -p, --port INTEGER   Ldap服务端口,默认为389。
  -u, --username TEXT  Ldap帐号,不提供时使用匿名查询。不同权限的帐号,查询范围或字段可能不相同。
  -p, --password TEXT  Ldap帐号,不提供时使用匿名查询。不同权限的帐号,查询范围或字段可能不相同。
  -b, --base-dn TEXT   Ldap的BaseDN。如果为空则自动获取BaseDN,如果有多个,则自动选择第1个命名空间(排除了cn=changelog之类的管理类命名空间)。
  --help               Show this message and exit.

Commands:
  get-user-detail  查询用户信息,支持yaml/json等格式输出。

get-user-detail子命令用于查询用户详细信息。支持yaml/json等格式输出。

E:\ipa-utils>ipa-utils get-user-detail --help
Usage: ipa-utils get-user-detail [OPTIONS] USERNAME

  查询用户信息,支持yaml/json等格式输出。

Options:
  -o, --output-format [yaml|json]
                                  信息输出格式,默认为yaml格式输出。
  --help                          Show this message and exit.

Project details


Download files

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

Source Distribution

ipa-utils-0.1.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

ipa_utils-0.1.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file ipa-utils-0.1.2.tar.gz.

File metadata

  • Download URL: ipa-utils-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for ipa-utils-0.1.2.tar.gz
Algorithm Hash digest
SHA256 60b6a1d282e3ab5524660ce0fd58eb45aa2d99ae2aa1c0ac5fe1df013398eb44
MD5 097599cc13c094f4cc904eca01aecf25
BLAKE2b-256 d19459c3dcef88735cca6e5c4aa710ccfce47d2002e22774759e01438d911289

See more details on using hashes here.

File details

Details for the file ipa_utils-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ipa_utils-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for ipa_utils-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e4c69452163ab8853291bb93311421be4bf908845633e6ffd48ce2eeb8e43e0
MD5 5fabaf8f8be5586c3131996f84f894b3
BLAKE2b-256 6764b24145051b74a1a9b52dc66467c252768a78c9f8eaf001dda3973600e42a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page