mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -07:00
[PR #6109/d2094669 backport][stable-6] add xorder_discovery parameter (#6110)
add xorder_discovery parameter (#6109)
* add xorder_discovery parameter
* fix regex raw string
* use dn logic from LdapGeneric
* Update documentation.
* Update changelog fragment.
* Improve if.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d209466985
)
Co-authored-by: Reto Kupferschmid <kupferschmid@puzzle.ch>
This commit is contained in:
parent
e87c2c9eb4
commit
c3db6343e5
4 changed files with 26 additions and 3 deletions
|
@ -65,4 +65,15 @@ options:
|
|||
choices: ['external', 'gssapi']
|
||||
default: external
|
||||
version_added: "2.0.0"
|
||||
xorder_discovery:
|
||||
description:
|
||||
- Set the behavior on how to process Xordered DNs.
|
||||
- C(enable) will perform a C(ONELEVEL) search below the superior RDN to find the matching DN.
|
||||
- C(disable) will always use the DN unmodified (as passed by the I(dn) parameter).
|
||||
- C(auto) will only perform a search if the first RDN does not contain an index number (C({x})).
|
||||
- Possible choices are C(enable), C(auto), C(disable).
|
||||
type: str
|
||||
choices: ['enable', 'auto', 'disable']
|
||||
default: auto
|
||||
version_added: "6.4.0"
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue