netscaler.adc.authenticationldapaction module – Configuration for LDAP action resource.
Note
This module is part of the netscaler.adc collection (version 2.6.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install netscaler.adc
.
To use it in a playbook, specify: netscaler.adc.authenticationldapaction
.
New in netscaler.adc 2.0.0
Synopsis
Configuration for LDAP action resource.
Parameters
Parameter |
Comments |
---|---|
The NetScaler appliance uses the alternateive email attribute to query the Active Directory for the alternative email id of a user |
|
Base NITRO API path. Define only in case of an ADM service proxy call Default: |
|
Expression that would be evaluated to extract attribute1 from the ldap response |
|
Expression that would be evaluated to extract attribute10 from the ldap response |
|
Expression that would be evaluated to extract attribute11 from the ldap response |
|
Expression that would be evaluated to extract attribute12 from the ldap response |
|
Expression that would be evaluated to extract attribute13 from the ldap response |
|
Expression that would be evaluated to extract attribute14 from the ldap response |
|
Expression that would be evaluated to extract attribute15 from the ldap response |
|
Expression that would be evaluated to extract attribute16 from the ldap response |
|
Expression that would be evaluated to extract attribute2 from the ldap response |
|
Expression that would be evaluated to extract attribute3 from the ldap response |
|
Expression that would be evaluated to extract attribute4 from the ldap response |
|
Expression that would be evaluated to extract attribute5 from the ldap response |
|
Expression that would be evaluated to extract attribute6 from the ldap response |
|
Expression that would be evaluated to extract attribute7 from the ldap response |
|
Expression that would be evaluated to extract attribute8 from the ldap response |
|
Expression that would be evaluated to extract attribute9 from the ldap response |
|
List of attribute names separated by ‘,’ which needs to be fetched from ldap server. Note that preceeding and trailing spaces will be removed. Attribute name can be 127 bytes and total length of this string should not cross 2047 bytes. These attributes have multi-value support separated by ‘,’ and stored as key-value pair in AAA session |
|
Perform LDAP authentication. If authentication is disabled, any LDAP authentication attempt returns authentication success if the user is found. CAUTION! Authentication should be disabled only for authorization group extraction or where other (non-LDAP) authentication methods are in use and either bound to a primary list or flagged as secondary. Choices:
|
|
Number of seconds the Citrix ADC waits for a response from the RADIUS server. |
|
The Citrix ADC uses the cloud attributes to extract additional attributes from LDAP servers required for Citrix Cloud operations Choices:
|
|
This is the default group that is chosen when the authentication succeeds in addition to extracted groups. |
|
The Citrix ADC uses the email attribute to query the Active Directory for the email id of a user |
|
Setting this option to Choices:
|
|
LDAP group attribute name. Used for group extraction on the LDAP server. |
|
Name that uniquely identifies a group in LDAP or Active Directory. |
|
LDAP group search attribute. Used to determine to which groups a group belongs. |
|
String to be combined with the default LDAP group search string to form the search value. For example, the group search filter “”vpnallowed=true”” when combined with the group identifier “”samaccount”” and the group name “”g1”” yields the LDAP search string “”(&(vpnallowed=true)(samaccount=g1)””. If nestedGroupExtraction is ENABLED, the filter is applied on the first level group search as well, otherwise first level groups (of which user is a direct member of) will be fetched without applying this filter. (Be sure to enclose the search string in two sets of double quotation marks; both sets are needed.) |
|
LDAP group search subattribute. Used to determine to which groups a group belongs. |
|
KnowledgeBasedAuthentication(KBA) attribute on AD. This attribute is used to store and retrieve preconfigured Question and Answer knowledge base used for KBA authentication. |
|
Base (node) from which to start LDAP searches. If the LDAP server is running locally, the default value of base is dc=netscaler, dc=com. |
|
Full distinguished name (DN) that is used to bind to the LDAP server. Default: cn=Manager,dc=netscaler,dc=com |
|
Password used to bind to the LDAP server. |
|
Hostname for the LDAP server. If -validateServerCert is ON then this must be the host name on the certificate from the LDAP server. A hostname mismatch will cause a connection failure. |
|
LDAP login name attribute. The Citrix ADC uses the LDAP login name to query external LDAP servers or Active Directories. |
|
The ID of the managed NetScaler instance to which NetScaler Console has to configure as a proxy server. Define only in case of an ADM service proxy call |
|
The IP of the managed NetScaler instance to which NetScaler Console has to configure as a proxy server. Define only in case of an ADM service proxy call |
|
The name of the managed NetScaler instance to which NetScaler Console has to configure as a proxy server. Define only in case of an ADM service proxy call |
|
The password of the managed NetScaler instance. Define only in case of an ADM service proxy call In Settings > Administration > System Configurations > Basic Settings, if you select Prompt Credentials for Instance Login, ensure to configure username and password of a managed instance. |
|
The username of the managed NetScaler instance. Define only in case of an ADM service proxy call In Settings > Administration > System Configurations > Basic Settings, if you select Prompt Credentials for Instance Login, ensure to configure username and password of a managed instance. |
|
Specifies the maximum number of nested referrals to follow. |
|
If nested group extraction is ON, specifies the number of levels up to which group extraction is performed. |
|
MSSRV Specific parameter. Used to locate the DNS node to which the SRV record pertains in the domainname. The domainname is appended to it to form the srv record. Example : For “dc._msdcs”, the srv record formed is _ldap._tcp.dc._msdcs.<domainname>. |
|
Name for the new LDAP action. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Cannot be changed after the LDAP action is added. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my authentication action” or ‘my authentication action’). |
|
Allow nested group extraction, in which the Citrix ADC queries external LDAP servers to determine whether a group is part of another group. Choices:
|
|
The IP address of the NetScaler ADC appliance acting as a proxy server. Define only in case of an ADM service proxy call Choices:
|
|
The authentication token provided by a login operation. |
|
The password with which to authenticate to the NetScaler ADC node. |
|
Which protocol to use when accessing the nitro API objects. Choices:
|
|
The username with which to authenticate to the NetScaler ADC node. |
|
The ip address of the NetScaler ADC appliance where the nitro API calls will be made. The port can be specified with the colon (:). E.g. 192.168.1.1:555. |
|
OneTimePassword(OTP) Secret key attribute on AD. This attribute is used to store and retrieve secret key used for OTP check |
|
Allow password change requests. Choices:
|
|
Name of the service used to send push notifications |
|
Specifies the DNS Record lookup Type for the referrals Choices:
|
|
Require a successful user search for authentication. CAUTION! This field should be set to Choices:
|
|
If The module will not save the configuration on the NetScaler ADC node if it made no changes. Choices:
|
|
String to be combined with the default LDAP user search string to form the search value. For example, if the search filter “vpnallowed=true” is combined with the LDAP login name “samaccount” and the user-supplied username is “bob”, the result is the LDAP search string “”&(vpnallowed=true)(samaccount=bob)”” (Be sure to enclose the search string in two sets of double quotation marks; both sets are needed.). |
|
Type of security used for communications between the Citrix ADC and the LDAP server. For the Choices:
|
|
IP address assigned to the LDAP server. |
|
LDAP server name as a FQDN. Mutually exclusive with LDAP IP address. |
|
Port on which the LDAP server accepts connections. |
|
SSH PublicKey is attribute on AD. This attribute is used to retrieve ssh PublicKey for RBA authentication |
|
LDAP single signon (SSO) attribute. The Citrix ADC uses the SSO name attribute to query external LDAP servers or Active Directories for an alternate username. |
|
The state of the resource being configured by the module on the NetScaler ADC node. When When When Choices:
|
|
LDAP group sub-attribute name. Used for group extraction from the LDAP server. |
|
The type of LDAP server. Choices:
|
|
If Choices:
|
|
When to validate LDAP server certs Choices:
|
Notes
Note
For more information on using Ansible to manage NetScaler ADC Network devices see https://www.ansible.com/integrations/networks/citrixadc.
Examples
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Indicates if any change is made by the module Returned: always Sample: |
|
Dictionary of before and after changes Returned: always Sample: |
|
List of differences between the actual configured object and the configuration specified in the module Returned: when changed Sample: |
|
Indicates if the module failed or not Returned: always Sample: |
|
list of logged messages by the module Returned: always Sample: |