2.9.2. hammer auth-source ldap

LDAP 認証ソースを管理します。

Usage:
    hammer auth-source ldap [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create an LDAP authentication source
 delete                        Delete an LDAP authentication source
 info                          Show an LDAP authentication source
 list                          List all LDAP authentication sources
 update                        Update an LDAP authentication source

Options:
 -h, --help                    Print help

2.9.2.1. hammer auth-source ldap create

LDAP 認証ソースを作成します。

Usage:
    hammer auth-source ldap create [OPTIONS]

Options:
 --account ACCOUNT
 --account-password ACCOUNT_PASSWORD       Required if onthefly_register is true
 --attr-firstname ATTR_FIRSTNAME           Required if onthefly_register is true
 --attr-lastname ATTR_LASTNAME             Required if onthefly_register is true
 --attr-login ATTR_LOGIN                   Required if onthefly_register is true
 --attr-mail ATTR_MAIL                     Required if onthefly_register is true
 --attr-photo ATTR_PHOTO
 --base-dn BASE_DN
 --groups-base GROUPS_BASE                 Groups base DN
 --host HOST
 --ldap-filter LDAP_FILTER                 LDAP filter
 --location LOCATION_NAME                  Location name
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS               REPLACE locations with given ids
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                           JSON is acceptable and preferred way for complex parameters
 --location-title LOCATION_TITLE           Location title
 --location-titles LOCATION_TITLES         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                           JSON is acceptable and preferred way for complex parameters
 --locations LOCATION_NAMES                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                           JSON is acceptable and preferred way for complex parameters
 --name NAME
 --onthefly-register ONTHEFLY_REGISTER     One of true/false, yes/no, 1/0.
 --organization ORGANIZATION_NAME          Organization name
 --organization-id ORGANIZATION_ID         Organization ID
 --organization-ids ORGANIZATION_IDS       REPLACE organizations with given ids.
                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                           JSON is acceptable and preferred way for complex parameters
 --organization-title ORGANIZATION_TITLE   Organization title
 --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                           JSON is acceptable and preferred way for complex parameters
 --organizations ORGANIZATION_NAMES        Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                           JSON is acceptable and preferred way for complex parameters
 --port PORT                               Defaults to 389
 --server-type SERVER_TYPE                 Type of the LDAP server
                                           Possible value(s): 'free_ipa', 'active_directory', 'posix'
 --tls TLS                                 One of true/false, yes/no, 1/0.
 --use-netgroups USE_NETGROUPS             Use NIS netgroups instead of posix groups, applicable only when server_type
                                           Is posix or free_ipa
                                           One of true/false, yes/no, 1/0.
 --usergroup-sync USERGROUP_SYNC           Sync external user groups on login
                                           One of true/false, yes/no, 1/0.
 -h, --help                                Print help