Le 17/05/2010 17:06, Jonathan Clarke a écrit :
Hi,
When posting new threads, please create a new message, and don't reply
to an old one... this breaks threading and archives as you can see here:
http://lists.lsc-project.org/pipermail/lsc-users/2010-May/thread.html#end
Thanks.
Oh yeah sorry.
On 17/05/2010 16:38, Romain wrote:
After search, i can see that this error is due that posixGroup in AD is
"group", so we have to make a conversion, and this message say that i
have an error of conversion. I think.
But how can i make this conversion ??
You need to force the value of the objectClass attribute using
syncoptions. Something like:
lsc.syncoptions.group.objectClass.action = F
lsc.syncoptions.group.objectClass.force_value = "group";"top"
(you'll have to check this, it's just a guess)
Jonathan
I have do that but i have always the same error.
Here is my error :
--------------------------------
mai 18 09:18:51 - ERROR - Error while adding entry
cn=Commercial,ou=Services in directory
:javax.naming.directory.NoSuchAttributeException: [LDAP: error code 16 -
00000057: LdapErr: DSID-0C090A75, comment: Error in attribute conversion
operation, data 0, vece]; remaining name 'cn=Commercial,ou=Services'
mai 18 09:18:51 - ERROR - Error while synchronizing ID
cn=Commercial,ou=Services: java.lang.Exception: Technical problem while
applying modifications to directory
dn: cn=Commercial,ou=Services,dc=nomotech,dc=local
changetype: add
cn: Commercial
gidNumber: 1000
objectClass: group
objectClass: top
mai 18 09:18:51 - ERROR - All entries: 1, to modify entries: 1, modified
entries: 0, errors: 1
--------------------------------------
Now i see that objectClass is group, but the error is same than before.
I have this line in syncoptions :
------------------------------------
lsc.syncoptions.group = org.lsc.beans.syncoptions.PropertiesBasedSyncOptions
lsc.syncoptions.group.default.action = F
lsc.syncoptions.group.objectClass.force_value = "group";"top"
----------------------------------------
and my lsc.properties is like that :
----------------------------------------
### Group ###
lsc.tasks.group.dn = "cn=" + srcBean.getAttributeValueById("cn") +
",ou=Services"
lsc.tasks.group.bean=org.lsc.beans.SimpleBean
lsc.tasks.group.condition.delete = false
# Source
lsc.tasks.group.srcService=org.lsc.jndi.SimpleJndiSrcService
lsc.tasks.group.srcService.filterAll= (&(cn=*))
lsc.tasks.group.srcService.baseDn=ou=Services
lsc.tasks.group.srcService.attrs=cn objectClass gidNumber
lsc.tasks.group.srcService.filterId = (cn={cn})
lsc.tasks.group.srcService.pivotAttrs = cn
# Destination
lsc.tasks.group.dstService=org.lsc.jndi.SimpleJndiDstService
lsc.tasks.group.dstService.filterAll= (&(cn=*))
lsc.tasks.group.dstService.baseDn=ou=Services
lsc.tasks.group.dstService.attrs = cn objectClass gidNumber
lsc.tasks.group.dstService.filterId = (cn={cn})
lsc.tasks.group.dstService.pivotAttrs = cn
---------------------------------------
For me i have an error in this part. But what.
Thanks
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users