[Samba] Samba nns winbind not working

Rowland Penny rpenny at samba.org
Fri Apr 12 11:09:00 UTC 2019


On Fri, 12 Apr 2019 12:53:49 +0200
Marco Gemignani via samba <samba at lists.samba.org> wrote:

> Hi,
> 
> i have a centos7 system, build samba from source usif
> samba-4.9.6.tar.gz
> 
> done provision as ad dc and all working good (i use samba a lot of
> time in past)
> 
> than i have problem on domain users/group, system not read them
> 
> vi /usr/local/samba/etc/smb.conf
> [global]
>          dns forwarder = 192.168.0.1
>          netbios name = DC
>          realm = TECNOGM.LAN
>          server role = active directory domain controller
>          workgroup = TECNOGM
>          idmap_ldb:use rfc2307 = yes

You are running as an AD DC

>          username map = /usr/local/samba/etc/user.map
>          vfs objects = acl_xattr
>          map acl inherit = yes
>          store dos attributes = yes

So remove the four lines above, they have no place in an AD DC smb.conf

> THE PROBLEM:
> 
> the system not read domain users and groups, infact
> 
> getent passwd TECNOGM\\test
> 
> give no result

It will not until you remove those 4 lines, you have wiped out the
method to connect to the AD database.
 
Rowland



More information about the samba mailing list