[lsc-users] Issues syncing ApacheDS Ldap with MySQl DB
clem.oudot at gmail.com
Mon Oct 20 09:14:58 CEST 2014
2014-10-17 14:03 GMT+02:00 <jijo.cs10 at iitp.ac.in>:
> I am facing some lsc issues.Really want some help.
> I am using Apache Directory Studio with ApacheDS LDAP Server v2.0 and
> MySQL DB using MYSQL WorkBench v6.1. I am using lsc to sync Groups from
> ldap to mysql.
> the AD structure is :
> ----------member = uid=User1
> ----------member = uid=User2
> ----------member = uid=User3
> Each Group has some 'member' attributes ( because Apache LDAP Server do
> not allow 'memberOf' in inetOrgPerson!!) which have uid of some users in
memberOf is ofter a computed attribute, you can not edit it, but the LDAP
directory will maintain it for you.
> In SQLDB i have Groups,Users and user_group table which references other 2
> tables(to give membership info)
> the issues are the following :
> 1) I am able to sync ou=Users seperately in users table of DB and
> ou=Groups seperately in groups table in DB. but i need to sync groups, and
> through groups i need to fill users table and users_groups table. how can
> i do that.?
> 2) basically my issue is that i will fetch group attributes including
> multivalued members attr from ou=Groups... but then how do i recursively
> fetch member attributes from ou=Users and then fill the users table in DB?
You can try the foreach keyword in iBatis:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lsc-users