Project

General

Profile

Actions

Bug #11033

closed

hammer auth-source does not allow all the settings

Added by Martin Bacovsky over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Has duplicate Hammer CLI - Bug #11146: hammer cli needs options for server_type and groups_base for auth_source_ldapDuplicate07/17/2015Actions
Actions #1

Updated by The Foreman Bot over 8 years ago

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

Updated by Dominic Cleal over 8 years ago

  • Category set to API
  • translation missing: en.field_release set to 35
Actions #3

Updated by Martin Bacovsky over 8 years ago

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

Updated by Dominic Cleal over 8 years ago

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

Updated by Frank Grötzner almost 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.

Actions

Also available in: Atom PDF