Use active directory UID and GID for users

I am using openSUSE 11.2 with active directory for authentication. I configured it using the Window Domain Membership YaST2 module and I can login successfully (although unreliably). The problem is that I need the UID and GID of the users on my computer to match the UID and GID assigned by Active Directory. Currently it just assigns UIDs and GIDs starting at 10000, which is completely different than the UID and GID used by Active Directory and by other Linux computer runs by the school (those use CentOS). Does anyone know how to get my openSUSE computer to assign UIDs and GIDs from Active Directory?

Does anyone have any ideas about how to do this? I know it is possible, other Linux distributions do it. It is really critical that I get this working so I can get my computer to integrate with the rest of my department’s systems.

TheBlackCat wrote:

>
> I am using openSUSE 11.2 with active directory for authentication. I
> configured it using the Window Domain Membership YaST2 module and I can
> login successfully (although unreliably). The problem is that I need
> the UID and GID of the users on my computer to match the UID and GID
> assigned by Active Directory. Currently it just assigns UIDs and GIDs
> starting at 10000, which is completely different than the UID and GID
> used by Active Directory and by other Linux computer runs by the school
> (those use CentOS). Does anyone know how to get my openSUSE computer to
> assign UIDs and GIDs from Active Directory?
>
>
I do not think it has something to do with the fact that the other computers
are centos based but that they are run by the school.

Mapping of uids and gids is nothing which is done by magic default behaviour
between linux (whatever flavour or distro) and the AD.

You should ask the admin of the school network (the one responsible for the
centos machines) how this is done on that machines to configure your
opensuse to do the same.

I would expect they use a tool like this commercial one for example

http://www.likewise.com/products/likewise_open/uid-gid-management-tool.php

or some special scripts, configurations

Did you read

/usr/share/doc/manual/opensuse-manuals_en/manual/cha.security.ad.html

as preparation on your machine?

It is available via the opensuse-manuals_en package.