Download full document:

authenticationldapaction

Configuration for LDAP action resource.

Properties

(click to see Operations)

NameData TypePermissionsDescription
name<String>Read-writeName 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').
Minimum length = 1
serverip<String>Read-writeIP address assigned to the LDAP server.
Minimum length = 1
servername<String>Read-writeLDAP server name as a FQDN. Mutually exclusive with LDAP IP address.
Minimum length = 1
serverport<Integer>Read-writePort on which the LDAP server accepts connections.
Default value: 389
Minimum value = 1
authtimeout<Double>Read-writeNumber of seconds the Citrix ADC waits for a response from the RADIUS server.
Default value: 3
Minimum value = 1
ldapbase<String>Read-writeBase (node) from which to start LDAP searches.
If the LDAP server is running locally, the default value of base is dc=netscaler, dc=com.
ldapbinddn<String>Read-writeFull distinguished name (DN) that is used to bind to the LDAP server.
Default: cn=Manager,dc=netscaler,dc=com.
ldapbinddnpassword<String>Read-writePassword used to bind to the LDAP server.
Minimum length = 1
ldaploginname<String>Read-writeLDAP login name attribute.
The Citrix ADC uses the LDAP login name to query external LDAP servers or Active Directories.
searchfilter<String>Read-writeString 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.).
Minimum length = 1
groupattrname<String>Read-writeLDAP group attribute name.
Used for group extraction on the LDAP server.
subattributename<String>Read-writeLDAP group sub-attribute name.
Used for group extraction from the LDAP server.
sectype<String>Read-writeType of security used for communications between the Citrix ADC and the LDAP server. For the PLAINTEXT setting, no encryption is required.
Default value: PLAINTEXT
Possible values = PLAINTEXT, TLS, SSL
svrtype<String>Read-writeThe type of LDAP server.
Default value: AAA_LDAP_SERVER_TYPE_DEFAULT
Possible values = AD, NDS
ssonameattribute<String>Read-writeLDAP single signon (SSO) attribute.
The Citrix ADC uses the SSO name attribute to query external LDAP servers or Active Directories for an alternate username.
authentication<String>Read-writePerform 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.
Default value: ENABLED
Possible values = ENABLED, DISABLED
requireuser<String>Read-writeRequire a successful user search for authentication.
Default value: YES
Possible values = YES, NO
passwdchange<String>Read-writeAllow password change requests.
Default value: DISABLED
Possible values = ENABLED, DISABLED
nestedgroupextraction<String>Read-writeAllow nested group extraction, in which the Citrix ADC queries external LDAP servers to determine whether a group is part of another group.
Default value: OFF
Possible values = ON, OFF
maxnestinglevel<Double>Read-writeIf nested group extraction is ON, specifies the number of levels up to which group extraction is performed.
Default value: 2
Minimum value = 2
followreferrals<String>Read-writeSetting this option to ON enables following LDAP referrals received from the LDAP server.
Default value: OFF
Possible values = ON, OFF
maxldapreferrals<Double>Read-writeSpecifies the maximum number of nested referrals to follow.
Default value: 1
Minimum value = 1
referraldnslookup<String>Read-writeSpecifies the DNS Record lookup Type for the referrals.
Default value: A-REC
Possible values = A-REC, SRV-REC, MSSRV-REC
mssrvrecordlocation<String>Read-writeMSSRV 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>.
validateservercert<String>Read-writeWhen to validate LDAP server certs.
Default value: NO
Possible values = YES, NO
ldaphostname<String>Read-writeHostname 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.
groupnameidentifier<String>Read-writeName that uniquely identifies a group in LDAP or Active Directory.
groupsearchattribute<String>Read-writeLDAP group search attribute.
Used to determine to which groups a group belongs.
groupsearchsubattribute<String>Read-writeLDAP group search subattribute.
Used to determine to which groups a group belongs.
groupsearchfilter<String>Read-writeString 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)"". (Be sure to enclose the search string in two sets of double quotation marks; both sets are needed.).
defaultauthenticationgroup<String>Read-writeThis is the default group that is chosen when the authentication succeeds in addition to extracted groups.
attribute1<String>Read-writeExpression that would be evaluated to extract attribute1 from the ldap response.
attribute2<String>Read-writeExpression that would be evaluated to extract attribute2 from the ldap response.
attribute3<String>Read-writeExpression that would be evaluated to extract attribute3 from the ldap response.
attribute4<String>Read-writeExpression that would be evaluated to extract attribute4 from the ldap response.
attribute5<String>Read-writeExpression that would be evaluated to extract attribute5 from the ldap response.
attribute6<String>Read-writeExpression that would be evaluated to extract attribute6 from the ldap response.
attribute7<String>Read-writeExpression that would be evaluated to extract attribute7 from the ldap response.
attribute8<String>Read-writeExpression that would be evaluated to extract attribute8 from the ldap response.
attribute9<String>Read-writeExpression that would be evaluated to extract attribute9 from the ldap response.
attribute10<String>Read-writeExpression that would be evaluated to extract attribute10 from the ldap response.
attribute11<String>Read-writeExpression that would be evaluated to extract attribute11 from the ldap response.
attribute12<String>Read-writeExpression that would be evaluated to extract attribute12 from the ldap response.
attribute13<String>Read-writeExpression that would be evaluated to extract attribute13 from the ldap response.
attribute14<String>Read-writeExpression that would be evaluated to extract attribute14 from the ldap response.
attribute15<String>Read-writeExpression that would be evaluated to extract attribute15 from the ldap response.
attribute16<String>Read-writeExpression that would be evaluated to extract attribute16 from the ldap response.
attributes<String>Read-writeList 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.
sshpublickey<String>Read-writeSSH PublicKey is attribute on AD. This attribute is used to retrieve ssh PublicKey for RBA authentication.
Minimum length = 1
pushservice<String>Read-writeName of the service used to send push notifications.
Minimum length = 1
otpsecret<String>Read-writeOneTimePassword(OTP) Secret key attribute on AD. This attribute is used to store and retrieve secret key used for OTP check.
Minimum length = 1
email<String>Read-writeThe Citrix ADC uses the email attribute to query the Active Directory for the email id of a user.
Default value: mail
Maximum length = 128
kbattribute<String>Read-writeKnowledgeBasedAuthentication(KBA) attribute on AD. This attribute is used to store and retrieve preconfigured Question and Answer knowledge base used for KBA authentication.
Minimum length = 1
Maximum length = 127
alternateemailattr<String>Read-writeThe NetScaler appliance uses the alternateive email attribute to query the Active Directory for the alternative email id of a user.
Maximum length = 128
success<Double>Read-only.
failure<Double>Read-only.
__count<Double>Read-onlycount parameter

Operations

(click to see Properties)

ADD| DELETE| UPDATE| UNSET| GET (ALL)| GET| COUNT

Some options that you can use for each operations:

  • Getting warnings in response:NITRO allows you to get warnings in an operation by specifying the "warning" query parameter as "yes". For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:

    http://<netscaler-ip-address>/nitro/v1/config/login?warning=yes

    If any, the warnings are displayed in the response payload with the HTTP code "209 X-NITRO-WARNING".

  • Authenticated access for individual NITRO operations:NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:

    X-NITRO-USER:<username>

    X-NITRO-PASS:<password>

    Note:In such cases, make sure that the request header DOES not include the following:

    Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

Note:

Mandatory parameters are marked in redand placeholder content is marked in <green>.

add

URL:http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction

HTTP Method:POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Content-Type:application/json

Request Payload:

{"authenticationldapaction":{
<b>"name":<String_value>,
</b>"serverip":<String_value>,
"servername":<String_value>,
"serverport":<Integer_value>,
"authtimeout":<Double_value>,
"ldapbase":<String_value>,
"ldapbinddn":<String_value>,
"ldapbinddnpassword":<String_value>,
"ldaploginname":<String_value>,
"searchfilter":<String_value>,
"groupattrname":<String_value>,
"subattributename":<String_value>,
"sectype":<String_value>,
"svrtype":<String_value>,
"ssonameattribute":<String_value>,
"authentication":<String_value>,
"requireuser":<String_value>,
"passwdchange":<String_value>,
"nestedgroupextraction":<String_value>,
"maxnestinglevel":<Double_value>,
"followreferrals":<String_value>,
"maxldapreferrals":<Double_value>,
"referraldnslookup":<String_value>,
"mssrvrecordlocation":<String_value>,
"validateservercert":<String_value>,
"ldaphostname":<String_value>,
"groupnameidentifier":<String_value>,
"groupsearchattribute":<String_value>,
"groupsearchsubattribute":<String_value>,
"groupsearchfilter":<String_value>,
"defaultauthenticationgroup":<String_value>,
"attribute1":<String_value>,
"attribute2":<String_value>,
"attribute3":<String_value>,
"attribute4":<String_value>,
"attribute5":<String_value>,
"attribute6":<String_value>,
"attribute7":<String_value>,
"attribute8":<String_value>,
"attribute9":<String_value>,
"attribute10":<String_value>,
"attribute11":<String_value>,
"attribute12":<String_value>,
"attribute13":<String_value>,
"attribute14":<String_value>,
"attribute15":<String_value>,
"attribute16":<String_value>,
"attributes":<String_value>,
"sshpublickey":<String_value>,
"pushservice":<String_value>,
"otpsecret":<String_value>,
"email":<String_value>,
"kbattribute":<String_value>,
"alternateemailattr":<String_value>
}}

Response:

HTTP Status Code on Success: 201 Created HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

delete

URL:http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction/name_value<String>

HTTP Method:DELETE

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

update

URL:http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction

HTTP Method:PUT

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Content-Type:application/json

Request Payload:

{"authenticationldapaction":{
<b>"name":<String_value>,
</b>"serverip":<String_value>,
"servername":<String_value>,
"serverport":<Integer_value>,
"authtimeout":<Double_value>,
"ldapbase":<String_value>,
"ldapbinddn":<String_value>,
"ldapbinddnpassword":<String_value>,
"ldaploginname":<String_value>,
"searchfilter":<String_value>,
"groupattrname":<String_value>,
"subattributename":<String_value>,
"sectype":<String_value>,
"svrtype":<String_value>,
"ssonameattribute":<String_value>,
"authentication":<String_value>,
"requireuser":<String_value>,
"passwdchange":<String_value>,
"validateservercert":<String_value>,
"ldaphostname":<String_value>,
"nestedgroupextraction":<String_value>,
"maxnestinglevel":<Double_value>,
"groupnameidentifier":<String_value>,
"groupsearchattribute":<String_value>,
"groupsearchsubattribute":<String_value>,
"groupsearchfilter":<String_value>,
"followreferrals":<String_value>,
"maxldapreferrals":<Double_value>,
"referraldnslookup":<String_value>,
"mssrvrecordlocation":<String_value>,
"defaultauthenticationgroup":<String_value>,
"attribute1":<String_value>,
"attribute2":<String_value>,
"attribute3":<String_value>,
"attribute4":<String_value>,
"attribute5":<String_value>,
"attribute6":<String_value>,
"attribute7":<String_value>,
"attribute8":<String_value>,
"attribute9":<String_value>,
"attribute10":<String_value>,
"attribute11":<String_value>,
"attribute12":<String_value>,
"attribute13":<String_value>,
"attribute14":<String_value>,
"attribute15":<String_value>,
"attribute16":<String_value>,
"attributes":<String_value>,
"otpsecret":<String_value>,
"sshpublickey":<String_value>,
"pushservice":<String_value>,
"email":<String_value>,
"kbattribute":<String_value>,
"alternateemailattr":<String_value>
}}

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

unset

URL:http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction?action=unset

HTTP Method:POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Content-Type:application/json

Request Payload:

{"authenticationldapaction":{
<b>"name":<String_value>,
</b>"serverport":true,
"authtimeout":true,
"ldapbase":true,
"ldapbinddn":true,
"ldapbinddnpassword":true,
"ldaploginname":true,
"searchfilter":true,
"groupattrname":true,
"subattributename":true,
"sectype":true,
"svrtype":true,
"ssonameattribute":true,
"authentication":true,
"requireuser":true,
"passwdchange":true,
"validateservercert":true,
"ldaphostname":true,
"nestedgroupextraction":true,
"maxnestinglevel":true,
"groupnameidentifier":true,
"groupsearchattribute":true,
"groupsearchsubattribute":true,
"groupsearchfilter":true,
"followreferrals":true,
"maxldapreferrals":true,
"referraldnslookup":true,
"mssrvrecordlocation":true,
"defaultauthenticationgroup":true,
"attribute1":true,
"attribute2":true,
"attribute3":true,
"attribute4":true,
"attribute5":true,
"attribute6":true,
"attribute7":true,
"attribute8":true,
"attribute9":true,
"attribute10":true,
"attribute11":true,
"attribute12":true,
"attribute13":true,
"attribute14":true,
"attribute15":true,
"attribute16":true,
"attributes":true,
"otpsecret":true,
"pushservice":true,
"email":true,
"kbattribute":true,
"alternateemailattr":true
}}

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

get (all)

URL:http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction

Query-parameters:

attrs

http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction?attrs=property-name1,property-name2

Use this query parameter to specify the resource details that you want to retrieve.

filter

http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction?filter=property-name1:property-val1,property-name2:property-val2

Use this query-parameter to get the filtered set of authenticationldapaction resources configured on NetScaler.Filtering can be done on any of the properties of the resource.

view

http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction?view=summary

Note:By default, the retrieved results are displayed in detail view (?view=detail).

pagination

http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction?pagesize=#no;pageno=#no

Use this query-parameter to get the authenticationldapaction resources in chunks.

HTTP Method:GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Accept:application/json

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the errorResponse Headers:

Content-Type:application/json

Response Payload:

{ "authenticationldapaction": [ {
"name":<String_value>,
"serverip":<String_value>,
"servername":<String_value>,
"serverport":<Integer_value>,
"authtimeout":<Double_value>,
"ldapbinddn":<String_value>,
"ldapbinddnpassword":<String_value>,
"ldaploginname":<String_value>,
"ldapbase":<String_value>,
"searchfilter":<String_value>,
"groupattrname":<String_value>,
"subattributename":<String_value>,
"sectype":<String_value>,
"svrtype":<String_value>,
"ssonameattribute":<String_value>,
"authentication":<String_value>,
"requireuser":<String_value>,
"success":<Double_value>,
"failure":<Double_value>,
"nestedgroupextraction":<String_value>,
"maxnestinglevel":<Double_value>,
"followreferrals":<String_value>,
"maxldapreferrals":<Double_value>,
"referraldnslookup":<String_value>,
"mssrvrecordlocation":<String_value>,
"validateservercert":<String_value>,
"ldaphostname":<String_value>,
"groupnameidentifier":<String_value>,
"groupsearchattribute":<String_value>,
"groupsearchsubattribute":<String_value>,
"groupsearchfilter":<String_value>,
"passwdchange":<String_value>,
"defaultauthenticationgroup":<String_value>,
"attribute1":<String_value>,
"attribute2":<String_value>,
"attribute3":<String_value>,
"attribute4":<String_value>,
"attribute5":<String_value>,
"attribute6":<String_value>,
"attribute7":<String_value>,
"attribute8":<String_value>,
"attribute9":<String_value>,
"attribute10":<String_value>,
"attribute11":<String_value>,
"attribute12":<String_value>,
"attribute13":<String_value>,
"attribute14":<String_value>,
"attribute15":<String_value>,
"attribute16":<String_value>,
"attributes":<String_value>,
"otpsecret":<String_value>,
"sshpublickey":<String_value>,
"pushservice":<String_value>,
"email":<String_value>,
"kbattribute":<String_value>,
"alternateemailattr":<String_value>
}]}

get

URL:http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction/name_value<String>

Query-parameters:

attrs

http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction/name_value<String>?attrs=property-name1,property-name2

Use this query parameter to specify the resource details that you want to retrieve.

view

http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction/name_value<String>?view=summary

Note:By default, the retrieved results are displayed in detail view (?view=detail).

HTTP Method:GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Accept:application/json

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the errorResponse Headers:

Content-Type:application/json

Response Payload:

{ "authenticationldapaction": [ {
"name":<String_value>,
"serverip":<String_value>,
"servername":<String_value>,
"serverport":<Integer_value>,
"authtimeout":<Double_value>,
"ldapbinddn":<String_value>,
"ldapbinddnpassword":<String_value>,
"ldaploginname":<String_value>,
"ldapbase":<String_value>,
"searchfilter":<String_value>,
"groupattrname":<String_value>,
"subattributename":<String_value>,
"sectype":<String_value>,
"svrtype":<String_value>,
"ssonameattribute":<String_value>,
"authentication":<String_value>,
"requireuser":<String_value>,
"success":<Double_value>,
"failure":<Double_value>,
"nestedgroupextraction":<String_value>,
"maxnestinglevel":<Double_value>,
"followreferrals":<String_value>,
"maxldapreferrals":<Double_value>,
"referraldnslookup":<String_value>,
"mssrvrecordlocation":<String_value>,
"validateservercert":<String_value>,
"ldaphostname":<String_value>,
"groupnameidentifier":<String_value>,
"groupsearchattribute":<String_value>,
"groupsearchsubattribute":<String_value>,
"groupsearchfilter":<String_value>,
"passwdchange":<String_value>,
"defaultauthenticationgroup":<String_value>,
"attribute1":<String_value>,
"attribute2":<String_value>,
"attribute3":<String_value>,
"attribute4":<String_value>,
"attribute5":<String_value>,
"attribute6":<String_value>,
"attribute7":<String_value>,
"attribute8":<String_value>,
"attribute9":<String_value>,
"attribute10":<String_value>,
"attribute11":<String_value>,
"attribute12":<String_value>,
"attribute13":<String_value>,
"attribute14":<String_value>,
"attribute15":<String_value>,
"attribute16":<String_value>,
"attributes":<String_value>,
"otpsecret":<String_value>,
"sshpublickey":<String_value>,
"pushservice":<String_value>,
"email":<String_value>,
"kbattribute":<String_value>,
"alternateemailattr":<String_value>
}]}

count

URL:http://<netscaler-ip-address>/nitro/v1/config/authenticationldapaction?count=yes

HTTP Method:GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Accept:application/json

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the errorResponse Headers:

Content-Type:application/json

Response Payload:

{ "authenticationldapaction": [ { "__count": "#no"} ] }