I'm setting up a file server in Ubuntu using Samba4. I need an easy way to manage users, so I'm using LDAP Account Manager with OpenLDAP
I can successfully create users by running sudo smbpasswd -a <user_name>
I set up OpenLDAP and LDAP Account Manager. When I try to make a new Windows group, it throws the error Was unable to create DN: cn=test,ou=group,dc=<mydomainname>,dc=org.
LDAP error, server says: Invalid syntax - objectClass: value #0 invalid per syntax
Following instructions online, I ran a Schema Test, and the result was:
Schema test
Users
Unix The attribute unixHomeDirectory is not supported for the
object class posixAccount by your LDAP server.
Shadow No problems found.
Windows The object class user is not supported by your LDAP server.
Groups
Windows The object class group is not supported by your LDAP server.
I see that there is a problem in the configuration. How can I fix it? I can't find any instructions online on how to set this up properly.