On 04/22/2013 05:26 PM, Fabio Martelli wrote:
how do you do the import of the content.xml - or is that done with a build tool?
With the standalone distribution you have to replace the content.xml
(<TOMCAT-HOME>/webapps/syncope/WEB-INF/classes/content.xml).
If you are using a persistent db you have to drop all syncope tables before
restarting.
Please, consider that users are not exported/imported.
Best regards,
F.
Import didn't work, so did it by hand, Fabio.
Even when I changed the DB to
jpa.url=jdbc:h2:syncopedb;DB_CLOSE_DELAY=-1 in persistence.properties of
the 1.1.1 Snapshot instance.
(the same DB setting as the 1.1.0 instance I exported the content.xml from).
Finally, I'm getting something coming through to my opendj when saving
the role with ldap resource (almost there...).
This is great thanks for all the help today (although I have to fix the
schema issue with ldap) at least the add is going to the groups base.
[nik@nik-laptop OpenDJ]$ tailf logs/access
[22/Apr/2013:18:02:16 +0200] SEARCH REQ conn=244 op=259 msgID=260
base="" scope=baseObject filter="(objectClass=*)" attrs="subschemaSubentry"
[22/Apr/2013:18:02:16 +0200] SEARCH RES conn=244 op=259 msgID=260
result=0 nentries=1 etime=0
[22/Apr/2013:18:02:16 +0200] ADD REQ conn=244 op=260 msgID=261
dn="cn=defaulLdap,ou=groups,o=usharesoft"
[22/Apr/2013:18:02:16 +0200] ADD RES conn=244 op=260 msgID=261 result=65
message="Entry cn=defaulLdap,ou=groups,o=usharesoft violates the
Directory Server schema configuration because it includes attribute uid
which is not allowed by any of the objectclasses defined in that entry"
etime=1
[22/Apr/2013:18:02:16 +0200] SEARCH REQ conn=244 op=261 msgID=262
base="" scope=baseObject filter="(objectClass=*)" attrs="subschemaSubentry"
[22/Apr/2013:18:02:16 +0200] SEARCH RES conn=244 op=261 msgID=262
result=0 nentries=1 etime=0
[22/Apr/2013:18:02:16 +0200] SEARCH REQ conn=244 op=262 msgID=263
base="ou=people,o=usharesoft" scope=wholeSubtree
filter="(&(&(objectClass=top)(objectClass=groupOfUniqueNames))(uid=defaulLdap))"
attrs="description,uid"
[22/Apr/2013:18:02:16 +0200] SEARCH RES conn=244 op=262 msgID=263
result=0 nentries=0 etime=0
[22/Apr/2013:18:02:16 +0200] SEARCH REQ conn=244 op=263 msgID=264
base="ou=groups,o=usharesoft" scope=wholeSubtree
filter="(&(&(objectClass=top)(objectClass=groupOfUniqueNames))(uid=defaulLdap))"
attrs="description,uid"
[22/Apr/2013:18:02:16 +0200] SEARCH RES conn=244 op=263 msgID=264
result=0 nentries=0 etime=0
rgds,
NIk