LDAP to Database job question

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
jared5494
Participant
Posts: 2
Joined: Mon Dec 31, 2007 8:57 am

LDAP to Database job question

Post by jared5494 »

Thanks for looking and any help you can provide!

I am doing some research on DataStage to see if you can create a simple job that will extract values from a LDAP and put them into a DB2 table. How would you go about doing this?

The LDAP connection string looks like this:
ldapUser: cn=xxxxx,ou=yyyyy,o=zzzzz
ldapURL: ldap://ldapserver:389/O=wwwww
ldapPassword: daPassword

Let me know if you need anymore information.

Thanks again,
Jared
rameshrr3
Premium Member
Premium Member
Posts: 609
Joined: Mon May 10, 2004 3:32 am
Location: BRENTWOOD, TN

Post by rameshrr3 »

Are you using Datastage TX? If so you may have to post it in a different forum.( TX)
. Search might help you too use LDAP as the search string ..
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Yes, as noted, TX has an LDAP adapter.....and of course, if you are a DataStage EE and a TX (now WebSphere TX) site, then you could use MapStage to invoke a TX map from within DS...... for DataStage EE or Server, JavaPack is probably the best route to take to read LDAP. Libraries (and skills) for LDAP are readily available for Java, and integrating a java class into DataStage is childs play if you put a DataStage person and a Java person together (or have the skills combined!)...

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Arise! :D

Out of curiousity, is there a way to do this without TX or the Java pack? I've been offered up a perl script shooting LDAP information out to standard out as a possible solution but wondering what other approach there might be. For us 'Don't Haves', that is.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply