Hi Sébastien,

I remove the [i] and it doesn't resolve my pb. Only one member is added
and i know that in some groups i have more than 100 members.....

After relaunchibg the syn, i have this error:

membersSrcDn: uid=D,OU=users,DC=idiap,DC=ch
Apr 03 14:11:49 - ERROR - Error while reading entry
uid=d,OU=users,DC=idiap,DC=ch: javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid=d,OU=users'
membersSrcDn: uid=i,OU=users,DC=idiap,DC=ch
Apr 03 14:11:49 - ERROR - Error while reading entry
uid=D,OU=users,DC=idiap,DC=ch: javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid=D,OU=users'
membersSrcDn: uid=C,OU=users,DC=idiap,DC=ch
Apr 03 14:11:49 - ERROR - Error while reading entry
uid=i,OU=users,DC=idiap,DC=ch: javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid=i,OU=users'
membersSrcDn: uid=a,OU=users,DC=idiap,DC=ch
Apr 03 14:11:49 - ERROR - Error while reading entry
uid=C,OU=users,DC=idiap,DC=ch: javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid=C,OU=users'
membersSrcDn: uid==,OU=users,DC=idiap,DC=ch
Apr 03 14:11:49 - ERROR - Error while reading entry
uid=a,OU=users,DC=idiap,DC=ch: javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid=a,OU=users'
membersSrcDn: uid=p,OU=users,DC=idiap,DC=ch
Apr 03 14:11:49 - ERROR - Error while reading entry
uid==,OU=users,DC=idiap,DC=ch: javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid==,OU=users'
membersSrcDn: uid=c,OU=users,DC=idiap,DC=ch
Apr 03 14:11:49 - ERROR - Error while reading entry
uid=p,OU=users,DC=idiap,DC=ch: javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid=p,OU=users'
membersSrcDn: uid=,,OU=users,DC=idiap,DC=ch
Apr 03 14:11:49 - ERROR - Error while reading entry
uid=c,OU=users,DC=idiap,DC=ch: javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid=c,OU=users'
membersSrcDn: uid=h,OU=users,DC=idiap,DC=ch
Apr 03 14:11:49 - ERROR - Error while reading entry
uid=h,OU=users,DC=idiap,DC=ch: javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid=h,OU=users'
Apr 03 14:11:49 - ERROR - Programmatic error


Effectively, i don't understand why there is this a DN with a single
character....

regards,

LMP

On 03/04/14 13:57, Sébastien Bahloul wrote:
> Hi Louis-Marie,
>
> It seems that the code that throw this error is in the following line :
>
>  try {
>                             agriCN = srcLdap.attribute(membersSrcDn*[i]*,
> "cn").get(0);
>                             } catch (e) {
>                             continue;
>                                 }
>
> I would say that :
> - you print the full string
> - you are trying to read an attribute of a DN that contains a single
> character
>
> Regards,
>
> Sebastien BAHLOUL
> IAM / Security specialist
> Ldap Synchronization Connector : http://lsc-project.org
> Blog : http://sbahloul.wordpress.com/
>
>
> 2014-04-03 13:29 GMT+02:00 Plumel Louis-Marie
> <[email protected] <mailto:[email protected]>>:
>
>     Hello again,
>
>     Here it is the error i have when i launch my sync:
>
>
>
>
>     Caused by: java.lang.RuntimeException:
>     org.apache.directory.shared.ldap.model.exception.LdapInvalidDnException:
>     ERR_04202 A value is missing on some RDN
>             at
>     org.lsc.jndi.JndiServices.rewriteBase(JndiServices.java:650)
>     ~[lsc-core-2.0.3.jar:na]
>             at
>     org.lsc.jndi.JndiServices.doReadEntry(JndiServices.java:682)
>     ~[lsc-core-2.0.3.jar:na]
>             at org.lsc.jndi.JndiServices.readEntry(JndiServices.java:657)
>     ~[lsc-core-2.0.3.jar:na]
>             at
>     org.lsc.jndi.ScriptableJndiServices._attr(ScriptableJndiServices.java:218)
>     [lsc-core-2.0.3.jar:na]
>             ... 38 common frames omitted
>     Caused by:
>     org.apache.directory.shared.ldap.model.exception.LdapInvalidDnException:
>     ERR_04202 A value is missing on some RDN
>             at
>     org.apache.directory.shared.ldap.model.name.Dn.<init>(Dn.java:276)
>     ~[shared-all-1.0.0-M11.jar:1.0.0-M11]
>             at
>     org.apache.directory.shared.ldap.model.name.Dn.<init>(Dn.java:208)
>     ~[shared-all-1.0.0-M11.jar:1.0.0-M11]
>             at
>     org.lsc.jndi.JndiServices.rewriteBase(JndiServices.java:638)
>     ~[lsc-core-2.0.3.jar:na]
>             ... 41 common frames omitted
>     membersSrcDn: uid=i,OU=users,DC=idiap,DC=ch
>     Apr 03 11:46:13 - ERROR - Programmatic error
>     java.lang.reflect.InvocationTargetException: null
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     ~[na:1.6.0_27]
>             at
>     
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     ~[na:1.6.0_27]
>             at
>     
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     ~[na:1.6.0_27]
>             at java.lang.reflect.Method.invoke(Method.java:616)
>     ~[na:1.6.0_27]
>             at
>     org.lsc.jndi.ScriptableObject.wrap(ScriptableObject.java:92)
>     [lsc-core-2.0.3.jar:na]
>             at
>     org.lsc.jndi.ScriptableObject.wrapString(ScriptableObject.java:155)
>     [lsc-core-2.0.3.jar:na]
>             at
>     
> org.lsc.jndi.ScriptableJndiServices.attribute(ScriptableJndiServices.java:211)
>     [lsc-core-2.0.3.jar:na]
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     ~[na:1.6.0_27]
>             at
>     
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     ~[na:1.6.0_27]
>             at
>     
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     ~[na:1.6.0_27]
>             at java.lang.reflect.Method.invoke(Method.java:616)
>     ~[na:1.6.0_27]
>             at
>     sun.org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
>     [na:1.7R2]
>             at
>     
> sun.org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
>     [na:1.7R2]
>             at
>     sun.org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
>     [na:1.7R2]
>
>
>     Do you have an idea?
>
>     I'm not at all a java specialist....
>
>     Best,
>
>     LM
>     _______________________________________________________________
>     Ldap Synchronization Connector (LSC) - http://lsc-project.org
>
>     lsc-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     http://lists.lsc-project.org/listinfo/lsc-users
>
>

_______________________________________________________________
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