A user group issue: how to set user group?

Hi all,
We have a ldap server and connected to owncloud server successfully. But the ldap server has no group property, so all users is in a default group.
But we have many departments, all of the users belong to a department.

Anyway, we have a database, every user in the database has the same username in ldap, and have group property in database.
So i am wondering if I can transfer the group property in my database to oc database? by using data integrator tools such as oracle odi, so the user in oc can have their group.

Can this working?

Thanks.

Hi,

when reading the following documentation correctly you need to work with LDAP groups and ownCloud will catch the correct group and put the users in the local groups of oC:

https://doc.owncloud.org/server/latest/admin_manual/configuration_user/user_auth_ldap.html