rpenny at samba.org
Mon Nov 5 10:41:54 UTC 2018
On Mon, 5 Nov 2018 11:11:59 +0100
Corrado Ravinetto via samba <samba at lists.samba.org> wrote:
> Il 05/11/2018 10:54, Rowland Penny via samba ha scritto:
> > OK, you classicupgraded 3.6.x to 4.9.1, by this I take it you mean
> > you have upgraded a PDC to an AD DC, is this correct ?
> yes, is correct
> > What OS are you using ?
> centos 7.5 x86_64
> > What Samba packages are you using, or have you compiled Samba
> > yourself ?
> compiled from source from samba.org, 4.9.1 stable
> > If you are using Samba Packages, which ones did you install ?
> > If you compiled Samba yourself, did you create the libnss_winbind
> > links ?
> yes i have created link,
> my smb.conf from testparm :
> passdb backend = samba_dsdb
> realm = LXCERRUTI.COM
> server role = active directory domain controller
> winbind use default domain = Yes
> workgroup = LXCERRUTI
> rpc_server:tcpip = no
> rpc_daemon:spoolssd = embedded
> rpc_server:spoolss = embedded
> rpc_server:winreg = embedded
> rpc_server:ntsvcs = embedded
> rpc_server:eventlog = embedded
> rpc_server:srvsvc = embedded
> rpc_server:svcctl = embedded
> rpc_server:default = external
> winbindd:use external pipes = true
> idmap config * : backend = tdb
> map archive = No
> vfs objects = dfs_samba4 acl_xattr
You might as well remove the line 'winbind use default domain = Yes',
it does nothing on a DC.
I would also add 'idmap_ldb:use rfc2307 = yes'
When you run 'getent passwd username' does it produce output ?
If so, does it produce the output you expect ?
How are you starting Samba ?
More information about the samba