Project

General

Profile

Bug #11033

hammer auth-source does not allow all the settings

Added by Martin Bacovsky about 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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.

  1. 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:


Related issues

Has duplicate Hammer CLI - Bug #11146: hammer cli needs options for server_type and groups_base for auth_source_ldapDuplicate2015-07-17

Associated revisions

Revision 66f32673 (diff)
Added by Martin Bacovsky about 4 years ago

Fixes #11033 - adding missing params to auth_source ldap API docs

Revision 6bb7e026 (diff)
Added by Martin Bacovsky about 4 years ago

Refs #11033 - set Enum normalizer on enumerated values

Revision dcc46f3f
Added by Tomas Strachota about 4 years ago

Merge pull request #173 from mbacovsky/110033_enum

Refs #11033 - set Enum normalizer on enumerated values

Revision 0bf4a3f3 (diff)
Added by Martin Bacovsky about 4 years ago

Fixes #11033 - adding missing params to auth_source ldap API docs

(cherry picked from commit 66f3267354ee2a7391ef8feba27d1cb050d9b5df)

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2523 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal about 4 years ago

  • Category set to API
  • Legacy Backlogs Release (now unused) set to 35

#3 Updated by Martin Bacovsky about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal about 4 years ago

  • Has duplicate Bug #11146: hammer cli needs options for server_type and groups_base for auth_source_ldap added

#5 Updated by Frank Grötzner over 3 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.

Also available in: Atom PDF