[Samba] Error while trying to manage file share
Rowland penny
rpenny at samba.org
Wed Nov 27 16:08:05 UTC 2019
On 27/11/2019 15:56, Marian Thieme wrote:
> yes, to both:
> our users have uids usually from 4000-6000. And we also maintain the
> relevant groups in that range. I've added uidNumber and gidNumber. THe
> setup is the result of a migration from an pure openLdap Directory to
> an AD.
> I have local users on the samba based file server in /etc/passwd with
> uids below 1000. I can see all the AD users if search them via
> samba/windbind/nss in AD.
if you have, for instance, a user called 'fred' in /etc/passwd and a
user also called 'fred' in AD, delete the user in /etc/passwd. The same
goes for groups.
Unless you are referring to local system users with an ID of less than
1000 (e.g. sshd), then move them to the range where they belong, 1000
upwards.
I asked what docs you have been following, you never said, but I think
it is the outdated ones, try reading here:
https://wiki.samba.org/index.php/Main_Page
and here:
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member#Setting_up_a_Basic_smb.conf_File
Rowland
More information about the samba
mailing list