I would like for users to be assigned to owncloud groups based on the user attribute "ou". So for example, I use the "ou" attribute in ldap to designate the student's graduating class, e.g. "ou=2017". I would like all owncloud users with attribute "ou=2017" to be in an owncloud group called "2017". Is that possible? How would I do that? Thanks!
It isn't possible. The app uses LDAP groups to provide membership. You should research about it (I don't have a good link now)