Skip to main content

Is there a way to do an LDAP search from within a workflow?

I don’t mean using something like powershell. 

The Commserve can be configured for LDAP authentication, is there any way to use that same LDAP connection to do a query?

 

 

Powershell would be your best bet for LDAP functions.  I’ve seen some customers try to use the SQL Server LDAP connection and performs queries via CommServDBQuery or SQLQuery but you run into an issue unless you are using NTLM Authentication with the database which workflow does support.

I’ve seen some workflows use the built in java methods for querying LDAP but not sure how robust the apis for what you need it to do.

https://www.baeldung.com/java-ldap-auth


Powershell would be your best bet for LDAP functions.  I’ve seen some customers try to use the SQL Server LDAP connection and performs queries via CommServDBQuery or SQLQuery but you run into an issue unless you are using NTLM Authentication with the database which workflow does support.

I’ve seen some workflows use the built in java methods for querying LDAP but not sure how robust the apis for what you need it to do.

https://www.baeldung.com/java-ldap-auth

Awesome answer. 

I would have never thought to use SQL for LDAP queries but it makes perfect sense.

Thanks.