Web lists-archives.com

Re: [Samba] Samba nns winbind not working




On Fri, 12 Apr 2019 12:53:49 +0200
Marco Gemignani via samba <samba@xxxxxxxxxxxxxxx> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba