Hi Sebastien

thanks a lot for your quick feedback.

The configuration you suggested didn't work for me at first attempt. I had to change:

<mainIdentifier>"mail="+srcBean.getDatasetFirstValueById("mail") + 
",ou=People,dc=lsc-project,dc=org"</mainIdentifier>

to

<mainIdentifier>srcBean.getMainIdentifier()</mainIdentifier>

With this modification, it works like a charm!

However, using mail as the pivot attribute doesn't fit my needs. I changed the configuration in order to use sAMAccountName, in a consistently way. But after that I got the wrong behaviour I described in my first email.

Then I tried with pivot=cn and it works! But obviously cn cannot be used in a real scenario.

The other options left would be to use objectGUID or objectSid, but I'm facing problem with those too (encoding related).

I think I could debug the problems with sAMAccountName if I could see the SQL generated by iBATIS. I tried to follow some instruction I found in public forums (basically setting some log4j.properties file in the classpath) but that didn't work.

Do you have any clue on why using sAMAccountName gives these problems?
Can you tell me how to see the generated SQL?

Thanks again!

-Luca


______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for 
the sole use of the addressee and may contain legally privileged, confidential, 
and proprietary data.  If you are not the intended recipient, please advise the 
sender by replying promptly to this email and then delete and destroy this 
email and any attachments without any further use, copying or forwarding
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to