[Samba] problem with sessions
Rowland Penny
rpenny at samba.org
Wed Mar 1 15:52:48 UTC 2017
On Wed, 1 Mar 2017 16:24:36 +0100
Tony Peña <emperor.cu at gmail.com> wrote:
> Hi thanks by answer quickly
>
> yes is a ad pdc, i refers to PDC i think will be the same, now i saw
> isn't. anyway, this is the smb.conf and krb5.conf
I suggest you change your smb.conf to:
[global]
workgroup = sambadc
realm = SAMBADC.LCL
netbios name = samba-dc
server string = SAMBA DC
server role = active directory domain controller
server services = -dns
ldap server require strong auth = no
idmap_ldb:use rfc2307 = yes
interfaces = lo,ens160
bind interfaces only = yes
log level = 3
log file = /var/log/samba/samba.log
max log size = 100000
include = /etc/samba/shares.conf
[netlogon]
path = /var/lib/samba/sysvol/sambadc.lcl/scripts
read only = no
[sysvol]
path = /var/lib/samba/sysvol
read only = no
and change /etc/krb5.conf to:
[libdefaults]
default_realm = SERVERDC.LCL
dns_lookup_kdc = true
dns_lookup_realm = false
I noticed you have this in smb.conf:
include = /etc/samba/shares.conf
What is in there ?
You also seem to be using Bind9 instead of the internal DNS server, how
have you set this up ?
what is in /etc/hosts and /etc/resolv.conf ?
Rowland
More information about the samba
mailing list