[Samba] Re: smbusers and root privs

reader at newsguy.com reader at newsguy.com
Mon Sep 11 15:31:26 GMT 2006


Felipe Augusto van de Wiel <felipe at paranacidade.org.br> writes:

> On 09/08/2006 08:26 PM, reader at newsguy.com escreveu:
>> Running samba-3.0.23c on Genoo linux
>> 
>> Is it possible with smbusers to allow a windows user to have root
>> privleges on a linux share?
>> 
>> A stock install of samba on Gentoo ends up with an /etc/samba/smbusers
>> file that contains this mapping:
>>   root = administrator admin
>> 
>> It appears then that other windows users could as well be mapped to
>> root like:
>>   root = administrator admin harry
>> 
>> and since I am the only user on either linux or windows on this home
>> network I'd like to map windows user harry to root but the above
>> example does not accomplish that.
>> 
>> Is there something else required?
>
> 	Did you tried to add harry to the Domain Administrators
> Group? (And you need netgroupmap configured to use that).
>

Harry is a member of the Administrators group and user accounts on the
windows xp pro machine.  I see nothing called 
`Domain Administrators' in the windows dialog for users and groups.

Harry has no account on the linux machine.  Hence the need to map to a
unix user account.  

It is not at all clear what I would need to do  with `net groupmap'.

Can you be a bit more specific?



More information about the samba mailing list