getting data from ldap - active directory

Formally known as "Mercator Inside Integrator 6.7", DataStage TX enables high-volume, complex transactions without the need for additional coding.

Moderators: chulett, rschirm

Post Reply
Alex_sp
Participant
Posts: 11
Joined: Fri Aug 25, 2006 4:38 am
Location: Madrid-Spain

getting data from ldap - active directory

Post by Alex_sp »

Hi to all.
Well i'm trying to get some attributes of all users from our ldap.
I'm using JNDI adapter like this:
-url "ldap://user:pass@ip:389/OU=Usuarios,DC=pol,DC=es??sub?(&(cn=*)(ObjectClass=user))"

The result is a XML file with all users with all their attributes (including all values for multievaluated attributes). all right on this way.

-url "ldap://user:pass@ip:389/OU=Usuarios,DC=pol,DC=es?cn,memberOf?sub?(&(cn=*)(ObjectClass=user))"

The result is a XML file with all users with "cn" and "memberOf" attributes ,but in returns only one value (the first and there is four values) for the multievaluated attributte memberOf. There is some way ti get all values from member of on this way?. isn't efficient to get forty attributes for each user when i'm using only two (cn and memberOf).

thanks to all
Post Reply