Bug #11033
closedhammer auth-source does not allow all the settings
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1236216
Description of problem:
Using hammer auth-source to add an LDAP Authentication source does not allow a number of paramters to be set:
- 'Server Type' cannot be set and defaults to POSIX (I have to manually change this to 'Active Directory')
- 'Groups base DN' cannot be set
- 'LDAP filter' cannot be set.
- hammer auth-source ldap create --help
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
--host HOST
--name NAME
--onthefly-register ONTHEFLY_REGISTER One of true/false, yes/no, 1/0.
--port PORT defaults to 389
--tls TLS One of true/false, yes/no, 1/0.
-h, --help print help
Version-Release number of selected component (if applicable):
6.1 public beta.
How reproducible:
Always.
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2523 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
- Category set to API
- Translation missing: en.field_release set to 35
Updated by Martin Bacovsky over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 66f3267354ee2a7391ef8feba27d1cb050d9b5df.
Updated by Dominic Cleal over 9 years ago
- Has duplicate Bug #11146: hammer cli needs options for server_type and groups_base for auth_source_ldap added
Updated by Frank Grötzner over 8 years ago
The parameters --server-type, --groups-base and --ldap-filter which I missed some time ago are now present - is anything missing? Otherwise I would suggest to close this bug.