[Samba] sharing folder on samba 4AD
Rowland penny
rpenny at samba.org
Thu Jul 30 07:47:36 UTC 2020
On 30/07/2020 01:10, jmpatagonia wrote:
> is a dc samba 4ad
In which case it looks like the libnss-winbind links haven't been
created. There are two ways of doing this, depending on whether your
Samba was self compiled or if you are using packages.
See here for self compiled Samba:
https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC
If you are using packages, then you will need to install packages to do
the above for you. Typically on Debian, you will need to install
libnss-winbind, libpam-winbind and libpam-krb5, other distros will have
similar packages.
You will also need to ad 'winbind' to the 'passwd' & 'group' lines in
/etc/nsswitch.conf
Finally, I suppose that I should point out that we do not recommend
using a DC as a fileserver, which is the only reason to make AD users &
groups visible to the OS on a DC.
Rowland
More information about the samba
mailing list