Hi,
On 16/11/2009 18:01, Laurent wrote:
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 ?
You need to edit etc/sql-map-config.d/*.xml and change the SQL requests
there to work on your database.
You don't need to do anything with the files under src/impl. Just add
their names to the etc/lsc.properties file like this:
lsc.tasks.oracle_2_ldap.object = org.lsc.objects.posixAccount
-or-
lsc.tasks.oracle_2_ldap.object = org.lsc.objects.inetOrgPerson
(depending on which one you want to use)
Hope this helps,
Jonathan
--
--------------------------------------------------------------
Jonathan Clarke - [email protected]
--------------------------------------------------------------
Ldap Synchronization Connector (LSC) - http://lsc-project.org
--------------------------------------------------------------
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users