[Samba] R: R: winbindd no access console with root
rpenny at samba.org
Thu Dec 22 11:35:16 UTC 2022
On 22/12/2022 10:57, Corrado Ravinetto via samba wrote:
>> There is an obvious reason why 'root' isn't working, perhaps you will understand why after reading this:
> I red this, but my Domain User have rid = 503 and all users have like primarygroup 503
> Then i can't change this to all my users.
> I haven't unix user, only my linux user is root thai i use to manage my linux box
> So what can i change to use ONLY root as account ??
Start the domain range at '500' instead of '0'
Add these lines to your smb.conf:
username map = /usr/local/samba/etc/user.map
min domain uid = 0
Create /usr/local/samba/etc/user.map containing this:
!root = LXCERRUTI\Administrator
Reload the Samba config or restart Samba.
Run 'net cache flush'
You should now be able to use ' root' on Linux, Administrator from
Windows will be mapped to root.
If you have given Administrator a uidNumber and/or a gidNumber, you
should remove them.
>> Do you still have any pre-vista Windows machines in your domain ?
>> If not, you can remove all the SMBv1 lines.
> Yes, too much xp ☹
I don't know if you noticed, but XP is dead, it had a nice funeral :-D
More information about the samba