[Samba] Samba 4 problems

Jeremy Allison
Thu, 18 Dec 2014 17:49:28 -0000

On Thu, Dec 18, 2014 at 12:10:18PM -0500, Brett Wynkoop
wrote:
> Greeting-
>
> It has been years since I last set up a Samba server.  The last one I
> did was a 2.x version!
>
> For the last two weeks I have been fighting with 2 issues with a samba
> 4 server I have set up for testing.
>
> . Encrypted transport seems to not work for me
>
> . Unix user smith and Samba user smith seem to have different UID
>   numbers when files are created.
>
>
> At the moment the second issue is the most vexing, but if I do not
> solve the first issue as well the project I am testing this for will
> need to be implemented using some other technology.
>
> Here is my current smb4.conf file:
>
> # Global parameters
> [global]
>         workgroup = EXAMPLE
>         kerberos method = secrets and keytab
>         local master = yes
>         netbios name = HOSTNAME
>         log level = 4
>
>         dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr,
> netlogon, lsa rpc, spoolss, drsuapi, dssetup, unixinfo, browser,
> eventlog6, backupkey,  winreg , srvsvc
>
>         realm = EXAMPLE.COM
>         os level = 20
>         username map = /var/db/samba4/private/users.map
>         client max protocol = SMB3
> #        server min protocol = SMB3
>         hide dot files = no
>         winbind trusted domains only = yes
>
>         server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
> winbind,  nt p_signd, kcc, smb

Remove 'smb' from this line. In fact, remove this line
completely. Where did you find docs telling you to add
this to the smb.conf ?