How to make an LDAP request from an external client

Questions and answers for configuring and deploying your integrations.

Moderator: emanuel

How to make an LDAP request from an external client

Postby Janhol on Wed Feb 24, 2010 5:57 am

We are looking into using Jitterbit as an LDAP proxy and I need some help in setting this up. What I want to do is make it possible for an external system to call a Jitterbit process using https with a username as password. The Jitterbit server will then have to perform an LDAP lookup with this username as parameter using the attribute "sAMAccountname". In case the username exists, I will perform other LDAP calls and finally return some LDAP attributes the the caller.

What is the best way to set this up?

</Jan>
Janhol Bookmark and Share
Community Jr. Contributor
Community Jr. Contributor
 
Posts: 27
Joined: Fri Mar 20, 2009 1:45 am
Location: Norway

Re: How to make an LDAP request from an external client

Postby Janhol on Wed Feb 24, 2010 6:26 am

I see that I forgot to mention it, but the Jitterbit server will make an LDAP search within a Microsoft AD...

</Jan>
Janhol Bookmark and Share
Community Jr. Contributor
Community Jr. Contributor
 
Posts: 27
Joined: Fri Mar 20, 2009 1:45 am
Location: Norway

Re: How to make an LDAP request from an external client

Postby emanuel on Tue Mar 09, 2010 3:36 pm

How would the user name and password be provided?

You would use an HTTP EndPoint for this. You would have to decide what the format should be for the request/response and use it as a source/target to a Jitterbit transformation. If the request/response is very simple you could just parse it in a script and provide the response in a variable. You can use either an LDAP -> (something) transformation or if your lookup is simple you could use LdapConnect/LdapSearch in a script. See the documentation of those methods.

/Cheers
Emanuel
Emanuel Norrbin
Software Engineer, Jitterbit Inc.
Jitterbit Open Source Integration
emanuel Bookmark and Share
Jitterbit Hero
Jitterbit Hero
 
Posts: 1224
Joined: Mon Feb 13, 2006 12:16 pm
Location: Alameda, CA

Re: How to make an LDAP request from an external client

Postby Janhol on Wed Mar 10, 2010 2:27 am

The idea was to provide the username and password as incoming url parameters

</Jan>
Janhol Bookmark and Share
Community Jr. Contributor
Community Jr. Contributor
 
Posts: 27
Joined: Fri Mar 20, 2009 1:45 am
Location: Norway

Re: How to make an LDAP request from an external client

Postby emanuel on Thu Mar 11, 2010 6:59 pm

Those are available using $jitterbit.networking.http.query.* variables (that would be eg $jitterbit.networking.http.query.username and $jitterbit.networking.http.query.password). I don't remember if that feature made it into the community version or not but you could try it. Otherwise you could have them send it as part of the request.

/Emanuel
Emanuel Norrbin
Software Engineer, Jitterbit Inc.
Jitterbit Open Source Integration
emanuel Bookmark and Share
Jitterbit Hero
Jitterbit Hero
 
Posts: 1224
Joined: Mon Feb 13, 2006 12:16 pm
Location: Alameda, CA


Return to Using Jitterbit

cron
SourceForge.net Logo  open source integration