[Samba] How to login with local account while Samba in AD?

Rowland Penny rpenny at samba.org
Wed Jan 11 12:18:17 UTC 2023



On 11/01/2023 12:01, Leszek Szczepanowski wrote:
> I helped myself in a way, that I'm can mount share by
> 1) using specific server IP out of the cluster

Are we talking something like a ctdb cluster here ?

> 2) as a domain I put that server hostname

You just created a workgroup.

> 3) created local linux user on that machine only

Did you also make the 'local' user a Samba user ?

> 
> And it allowed me to mount a share :)
> 
> mount -v -t cifs -o rw,username=nasuser,domain=FS,password=<password for 
> nasuser>  //<real machine ip>/symptoms /mnt/

I think that your files will have a new owner.

> 
> FS is also used as a name for the Samba itself.

It would have to be, or it wouldn't have worked.

Rowland



More information about the samba mailing list