[Samba] Group mapping giving incorrect GIDs

a.nielsen at research.uq.edu.au a.nielsen at research.uq.edu.au
Wed Nov 9 04:33:39 GMT 2005


I think I've narrowed down my problem to the fact that the group mapping is
not giving me the same GID for all 'equivalent' groups, as seen here:

$ net groupmap list
DOMAIN\Group1 (S-1-5-21-620321403-24207062-1845911597-172256) -> unixgrp1

$ getent group unixgrp1

$ getent group DOMAIN\\Group1

This means that the GID of unixgrp1 is 203, however the GID of DOMAIN\Group1
is completely different!  Given the group mapping, I was expecting that both
groups would be returned with a GID of 203, so that according to the Linux
box both those groups are the same.

As it stands now, when DOMAIN\User1 connects, it's using a GID of 10001
which has no access to the filesystem.  It should be connecting as GID 203,
which has the correct filesystem permissions.

Is what I'm trying to do even possible?


More information about the samba mailing list