[Samba] CTDB and locking issues in 4.4.6 (Classic domain)

Ralph Böhme slow at samba.org
Thu Nov 3 14:28:31 UTC 2016


On Thu, Nov 03, 2016 at 02:24:23PM +0000, Alex Crow wrote:
> 
> On 03/11/16 13:12, Ralph Böhme wrote:
> > 
> > > Hi there,
> > > 
> > > Can you send your smb.conf so I can compare it to mine?
> > sure. It's a virtual cluster in LXC containers with 3 nodes,
> > filesystem is a bind mount with ext4.
> > 
> > # cat /var/lib/lxc/ctdb-node0/rootfs/opt/samba/etc/smb.conf
> > [global]
> >      clustering = yes
> >      ctdbd socket = /opt/samba/var/run/ctdb/ctdbd.socket
> >      log file = /var/log/samba/log.%m
> >      debug pid = yes
> >      log level = 2
> > 
> >      netbios name = CTDB-CLUSTER
> >      workgroup = CLUSTER
> >      security = user
> > 
> >      idmap config *:backend = tdb
> >      idmap config *:range = 10000-99999
> > 
> >      store dos attributes = yes
> >      read only = no
> >      ea support = yes
> > 
> >      include = registry
> > 
> >      disable spoolss = yes
> > 
> > [test]
> >      path = /cluster/data/share
> > 
> > -slow
> 
> Ah, my smb.conf is missing the "ctdb socket" parameter. According to "man
> smb.conf" this should be set, but I don't remember seeing it on the wiki
> pages.

if it's not set, the default is used which works in many cases, but
not in mine. If the default wasn't working in your setup, you'd
notice, as clients wouldn't be able to talk to ctdb at all.

-slow



More information about the samba mailing list