[Samba] What is the Uid in smbstatus command?
rpenny at samba.org
Wed May 11 17:49:26 UTC 2022
On Wed, 2022-05-11 at 17:17 +0000, Jim Brand wrote:
> If you do have the same usernames in both, the local user will be
> used before the AD users and the two users are totally different
> users even if they are both called 'fred'.
> That explains a lot.
> For our old CentOS 5/6 servers, if we really just need a standalone
> file server, all userids are local, and don't otherwise need to join
> a domain, could we just use
> security = user
> Is that still a valid mode? Our clients are Windows 10.
Yes you can still use Samba as a standalone server, in which case you
will not require the 'idmap config' lines, but you will have to create
your users on all your Unix computers with the same passwords and, on
the ones that also run Samba, you will also have to create them again
as Samba users, again with the same passwords. You will end up running
what is known as a 'workgroup' and they do not scale well, which is why
Microsoft came up with NT4-style domains and then replaced those with
It is your network and you get to choose how you run it, but I would
recommend that you investigate the benefits of running an AD domain.
More information about the samba