Dear UCS people,
I need a bit of help importing our users and groups into UCS while preserving the posix UID and GID.
Is there any reason groups that I create with gidNumber < 5000 do not work?
I have copied our files across to new UCS AD domain from our old Samba server. Until UCS we have had no ldap and no windows domain -- we controlled access with users' posix group membership and managed users on the samba server with smbpasswd.
I have migrated the users, setting their uidNumber to the UID from the old server.
I am trying to add the groups from the old server, like this:
univention-directory-manager groups/group create --position "cn=groups,dc=office,dc=domain,dc=co,dc=uk" --set name="all-users" --option posix --set gidNumber="100"
But this does not seem to work. I can see the group in the managment interface, I can assign users to it, but assigned users can't access files chowned GID 100. Also if I type
groups username I don't see the all-users group in the list; only the groups that have GID >5000.
What is the recommended way to migrate legacy posix users groups and files?
many thanks, Julian