Hi

Le vendredi 6 novembre 2009 17:37:48, vous avez écrit :
> Hi,
> 
> This error is just saying that you are trying to create an entry that 
> doesn't have the right objectClasses.
> 
> You need to use syncoptions, something like this to start:
> > lsc.syncoptions.user =
> > org.lsc.beans.syncoptions.PropertiesBasedSyncOptions
> > lsc.syncoptions.user.default.action = K
> >
> > # objectClass <- top/person/organizationalperson/inetOrgPerson
> > lsc.syncoptions.user.objectClass.action = F
> > lsc.syncoptions.user.objectClass.force_value =
> > "top";"person";"organizationalPerson";"inetOrgPerson"
> 
> Etc. Add your objectClass list here.
ok, so i put :
lsc.syncoptions.oracle_2_ldap.objectClass.force_value = "top"; 
"organizationalPerson";"inetOrgPerson";"posixAccount";"sambaSamAccount";"eduPerson";"supannPerson";"radiusprofile";"inetLocalMailRecipient";"sambaGroupMapping";"uboPersonne"

And , i have generate : 
PosixAccount.xml with the " Wizard" (ant lsc::generateWizard)
and fPosixAccount.java

so i have :
in : etc/sql-map-config.d
InetOrgPerson.xml
PosixAccount.xml

in : src/impl/java/org/lsc/objects/flat/

fInetOrgPerson.java
fPosixAccount.java

in src/impl/java/org/lsc/objects/
inetOrgPerson.java
posixAccount.java

But, i don't know what to do with ?




> 
> Once this is working, I think you can write a JavaScript statement to 
> 
> read your objectClasses from the source DB. Something like :
> > lsc.syncoptions.user.objectClass.force_value =
> > srcBean.getAttributeById("objectClass[0]");
> > srcBean.getAttributeById("objectClass[1]"); etc...
> 
> Of course you need to have the right request in 
> etc/sql-map-config.d/InetOrgPerson.xml.
> 
> A hint: while you're setting up your connector, it can be useful to see 
> more logs. Edit etc/log4j.properties and change all levels (ERROR, INFO, 
> WARN) to "DEBUG".
> 
> Hope this helps,
> Jonathan
> 

 Thanks for helps,

Regards,

Laurent
_______________________________________________________________
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