Displaying 2 results from an estimated 2 matches for "computer_hostnam".
Did you mean:
computer_hostname
2020 Jun 15
2
Samba as a domain member:
On 6/15/20 12:35 PM, Rowland penny via samba wrote:
> On 15/06/2020 18:02, Christopher Cox via samba wrote:
>> Actually, as far as a base statement, you can have both,
>
> You cannot have the same user in /etc/passwd and AD, though if you persevere
> enough you probably could create them in both databases.
>
> Lets take a user called 'fred':
>
> rowland at
2020 Jun 15
0
Samba as a domain member:
...c/nsswitch.conf will be similar to this:? passwd:????????
compat winbind
That line means, check /etc/passwd first and if the user isn't found,
then check winbind. So, if the username exists in /etc/passwd, winbind
will never be checked.
As far as Samba is concerned, the local user will be
COMPUTER_HOSTNAME\username, domain users will be DOMAIN\username, to
prove this:
rowland at devstation:~/tests$ sudo net getdomainsid
SID for local machine DEVSTATION is:
S-1-5-21-1108792384-1865707183-3144552696
SID for domain SAMDOM is: S-1-5-21-1768301897-3342589593-1064908849
As I hope you can see, there ar...