Use this Snap to authenticate Active Directory user credentials against an LDAP server through the authentication API. This Snap returns whether a given user entry (Username and Password combination) is valid in the Active Directory instance.
Prerequisites
Valid account to connect to the Active Directory server.
A document with the user's LDAP credentials (username and password).
Output
Document
Min: 1
Max: 1
Router
Filter
Mapper
REST Post
SQL Server - Select
A document containing the authentication result (success or failure).
Snap Settings
Parameter Name
Data Type
Description
Default Value
Example
Label
String
Specify a name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.
Active Directory Authenticate Users
AD Auth User
Username
String/Expression
Required.Username of the user. This value can be passed as a Pipeline parameter or through an input document.
N/A
JohnDoe
Password
String/Expression
Required. The password associated with the username provided. This value can be passed as a Pipeline parameter or through an input document.
N/A
sFispGq@j3o!
Pass through
Check box
Select this check box to specifywhether the data in the incoming documentmust be passed through and merged with the output document. If selected, the input document is passed through to the output view under the key original.
Selected
Selected
Snap Execution
Drop-down list
Select one of the three following modes in which the Snap executes:
Validate & Execute. Performs limited execution of the Snap and generates a data preview during Pipeline validation, then performs full execution of the Snap (unlimited records) during Pipeline runtime.
Execute only. Performs full execution of the Snap during Pipeline executionwithout generating preview data.
Disabled. Disables the Snap and all Snaps downstream from it.
The Snap execution is successful, but the value provided as password is not valid.
Ensure that the password provided in the Snap is valid/correct.
Failed to validate account: Connection error occurred due to invalid credentials or configuration
Connection error occurs due to invalid credentials or configuration.
Ensure that the provided Snap account credentials are valid, and any additional configuration (if required) is completed.
Examples
Verifying the Username and Password against the Active Directory
There are cases where the Active Directory is used as an authentication server. The Username and Password can be passed from other Pipelines, Ultra, or Triggered Tasks. The following Pipeline verifies user credentials against an Active Directory and returns the details where the authentication result is success. Each entry that fails authentication, also contains the reason and suggested resolution for the error. The Pipeline drops the document when the username and password are not valid.
For purposes of demonstration, the Mapper in this Pipeline sets up a user's AD credentials into the output of the Mapper for passing them to the Authenticate Users Snap. Configure the Mapper Snap to prepare a document input for the Authenticate Users Snap with credentials of multiple users, if it suits your requirements.
Mapper Snap
Output
Configure the Authenticate Users Snap to capture the user credentials from the Mapper output and verify them against the LDAP server to which it is connecting.
Authenticate Users Snap
Output
Using the pass-through functionality
In certain scenarios, the Snap may be unable to process the entire input due to limitations imposed by the endpoint's API. In such cases, we recommend that you select the Pass through checkbox to ensure that the unprocessed input is not lost. You can process the remaining input data using more of the same Snap in the Pipeline. Alternatively, you can also write the original data into a separate file using a combination of the Mapper Snap and the File Writer Snap.
The Pipeline uses a Filter Snap to filter the document with "success" authentication result (output from Authenticate Users Snap) and pass it into the downstream Snap. When the username or password is not valid, the Pipeline drops the document with the following response: result = fail.
Filter Snap
Output
After the authentication is complete, we can use other Snaps to suit the need. For example:
Query data from SQL Server database using SQL Server - Select Snap
Forward the request to another service using REST Post Snap.
Updated and certified against the current SnapLogic Platform release.
August 2024
main27765
Stable
Updated and certified against the current SnapLogic Platform release.
May 2024
main26341
Stable
Updated and certified against the current SnapLogic Platform release.
February 2024
main25112
Stable
Updated and certified against the current SnapLogic Platform release.
November 2023
main23721
Stable
Updated and certified against the current SnapLogic Platform release.
August 2023
434patches23465
Latest
Fixed an issue with the Update Entry Snap that caused a null pointer exception when both a delimiter was provided and the attribute value was set to null.
August 2023
main22460
Stable
Updated and certified against the current SnapLogic Platform release.
May 2023
433patches21612
Latest
Fixed the following issues with the Active Directory Update Entry Snap where the Snap produced incorrect results with the version main21015:
When set to null, all the string attributes were updated with the literal "null" string instead of an empty string.
The Snap failed withjavax.naming.directory.InvalidAttributeValueException error when all the number-type attributes were set to null.
May 2023
main21015
Stable
Upgraded with the latest SnapLogic Platform release.
February 2023
main19844
Stable
Upgraded with the latest SnapLogic Platform release.
November 2022
main18944
Stable
Upgraded with the latest SnapLogic Platform release.
September 2022
430patches17872
Latest
The Azure Directory Search Snap doesn't fetch duplicate records when the Group result checkbox is not enabled.
August 2022
main17386
Stable
Upgraded with the latest SnapLogic Platform release.
4.29
main15993
Stable
Upgraded with the latest SnapLogic Platform release.
4.28
main14627
Stable
Added the Active Directory Remove MemberSnap that enables you to remove an existing member from a specified group in Active Directory.
4.27
main12833
Stable
Enhanced the Active Directory Search Snap with a new fieldset, Returning Attributes, to define attributes that you want the Snap to return in the search results.
4.26 Patch
426patches11280
Latest
Fixed an issue with the Active Directory Add Member Snap that failed when using forward slash "/" in theDistinguishednamefield.
4.26
main11181
Stable
Upgraded with the latest SnapLogic Platform release.
4.25
main9554
Stable
Upgraded with the latest SnapLogic Platform release.
4.24
main8556
Stable
Upgraded with the latest SnapLogic Platform release.
4.23 Patch
423patches8210
Latest
Fixes an issue of fetching search records in the Active Directory Search Snap by adding a new field, Limit, to specify the number of search records to be fetched from the Active Directory.
Previously thePage Sizefield worked similar to theLimitfield, that is, it sets the limit on fetching records instead of fetching all the records.
The Active Directory Search Snap output now displays the number of records that you specify in theLimitfield underSettings. If your Pipelines use the Snap with thePage Sizefield, they may fail to execute if the downstream Snap expects the same count. To retrieve all the records, configure the Snap with default settings, that is,Limit: 0 andPage Size: 1000.
4.23 Patch
423patches7454
Latest
Adds the Pass through check box in all the Snaps to include pass-through functionality. Select this check box to embed the upstream input documents under theoriginal field of the output document along with other records.
4.23
main7430
Stable
Enhances the Active Directory Search Snap by adding a new field, Group results, to group the output result in a single array.
Upgraded with the latest SnapLogic Platform release.
4.21
snapsmrc542
Stable
Upgraded with the latest SnapLogic Platform release.
4.20 Patch
activedirectory8789
Latest
Fixes the Active Directory Snaps to successfully read special characters in the Existing distinguished name and Distinguished name Snap settings without requiring escape characters.
4.20
snapsmrc535
Stable
Fixes theSearchSnap and theList UsersSnap wherein the Snaps displayed only the first element of an array field. Now, the Snaps display all the elements of an array field.
4.19 Patch
activedirectory8506
Latest
Fixes the Search Snap and the List Users Snap wherein the Snaps displayed only the first element of an array field. Now, the Snaps display all the elements of an array field.
4.19
snapsmrc528
Stable
Upgraded with the latest SnapLogic Platform release.
4.18
snapsmrc523
Stable
Upgraded with the latest SnapLogic Platform release.
4.17 Patch
ALL7402
Latest
Pushed automatic rebuild of the latest version of each Snap Pack to SnapLogic UAT and Elastic servers.
4.17
snapsmrc515
Stable
Added the Snap Execution field to all Standard-mode Snaps. In some Snaps, this field replaces the existing Execute during preview check box.
4.16
snapsmrc508
Stable
Upgraded with the latest SnapLogic Platform release.
4.15
snapsmrc500
Stable
Upgraded with the latest SnapLogic Platform release.
4.14
snapsmrc490
Stable
Upgraded with the latest SnapLogic Platform release.
4.13
snapsmrc486
Stable
Upgraded with the latest SnapLogic Platform release.
4.12
snapsmrc480
Stable
Upgraded with the latest SnapLogic Platform release.
4.11 Patch
activedirectory4630
Latest
Resolved an issue with the Active Directory Search Snap that Ignored PartialResultException and did not handle the slashes and backslashes in the search function:
Added the original exception to SnapdataException for the Active Directory Snaps.
Improved the error message.
4.11
snapsmrc465
Stable
Upgraded with the latest SnapLogic Platform release.
4.10
snapsmrc414
Stable
Upgraded with the latest SnapLogic Platform release.
4.9
snapsmrc405
Stable
Upgraded with the latest SnapLogic Platform release.
4.8
snapsmrc398
Stable
Upgraded with the latest SnapLogic Platform release.
4.7
snapsmrc382
Stable
Upgraded with the latest SnapLogic Platform release.
4.6 Patch
activedirectory2056
Latest
Resolved an issue with modifying the "unicodePwd" attribute using the Active Directory - Update Entry Snap.
4.6
rcmsf233
Stable
Extended support for a der encoded representation of Anaplan Certificate for Anaplan account validation.
Resolved an issue in Create Entry, Search, and Update Entry Snaps that caused certain attributes to not appear in suggestions.
4.5.1
rcmsf231
Stable
Upgraded with the latest SnapLogic Platform release.
4.5
rcmsf231
Stable
Upgraded with the latest SnapLogic Platform release.
4.3.2
Stable
Resolved an issue in Active Directory Search resulting in an error using a port value in the server URI.
4.3.0
Stable
The Update Snap now populates all attributes during Suggest. The Search Snap now shows those attributes that have values.
4.2.2
Stable
Resolved an issue with the account failing to validate after the last Snap release.
Resolved an issue with the Active Directory Search Snap failing to throw an exception for an invalid search.
Resolved an issue with the Active Directory Search Snap not routing an error to the error view for a null search.
Resolved an issue with the Active Directory Search Snap adding a blank space on all strings.
Updated the tooltips within the Active Directory Snap Pack.
4.2.1
Stable
Resolved "Pass through only supported for Map data." message showing in Active Directory Rename Snap.