localgroup map

Florian Laws florian at void.s.bawue.de
Fri Apr 9 18:28:55 GMT 1999


On Fri, Apr 09, 1999 at 05:38:28PM +1000, Alexandre Lecuyer wrote:
> I am trying to use the "local group map", running samba 2.1.0 prealpha
> as a PDC.
> 
> The NT workstations being french versions of NT, I have edited the
> lib/util_pwdb.c
> to change Administrators to Administrateurs, etc...
> I have one line in localgroup.map :
> inst=BUILTIN\Administrateurs
> 
> When I try to login as user "localadm"
> (uid=511(localadm) gid=1509(inst) groups=1509(inst))
> I get the following message from the station : "the system couldn't
> open a session [..]"
> 
> and in the samba logs, I have this message :
> [1999/04/09 09:34:09, 0] passdb/sampassdb.c:pwdb_sam_map_names(740)
>   UNIX User localadm Primary Group is in the wrong domain! S-1-5-32-544
> 
> 

I have the same problems on german NT4SP4.
If you move the Adminstrators group ('inst' for you) from the primary group
in /etc/passwd to the secondary group machanism with usernames in /etc/group
you can log in, but have no administrator rights on the NT machine.

Any help?

Thanks,

Florian


More information about the samba-ntdom mailing list