Le 4 novembre 2011 03:22, Rohler, Brian L <[email protected]> a écrit : > This code is failing with the below errors. The reason for trying to put this > logic in place is due to the 20 character limitation with AD and > sAMAccountName attribute. The uid in the error report below has 22 characters > and thus fails. I was hoping to put this code in place so if I receive any > uids greater than 20 characters I trim it to 20. If the uid is 20 or less it > is left alone.
The error you get now is : > Nov 03 21:17:43 - ERROR - Error while adding entry > cn=miguelricardohernan,cn=Users in directory :javax.naming.NamingException: > [LDAP: error code 80 - 00000523: SysErr: DSID-031A1202, problem 22 (Invalid > argument), data 0 I think your DN is not complete. What is your DN build rule? Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

