[Samba] CTDB + Samba + Winbind + ActiveDirectory

Jeremy Farrar jeremy.farrar at gmail.com
Fri Apr 30 15:43:05 MDT 2010


I am attempting to configure a Samba cluster using DRBD and CTDB. I am
currently having some issues with winbind. Everytime I start winbind or
attempt to join my server to the domain the machine stalls and the ctdb
error log is filled with the following:

2010/04/30 14:49:59.367076 [ 8394]: server/ctdb_control.c:445 Unknown CTDB
control opcode 119

I have not been able to find a description of this error. Any assistance
would be greatly appreciated. Thanks.

Here is a copy of my smb.conf:

   server string = %h
   workgroup = [DOMAIN]
   password server = [DOMAIN CONTROLLER]
   realm = [DOMAIN].LOCAL
   security = ads
   idmap backend = tdb2
   private dir = /[DOMAIN]/ctdb
   idmap uid = 10000-200000
   idmap gid = 10000-200000
   template shell = /bin/bash
#   template homedir = /[DOMAIN]/home/%U
    template homedir = /home/[DOMAIN]/%U
   winbind uid = 10000-200000
   winbind gid = 10000-200000
   winbind trusted domains only = no
   winbind use default domain = true
   winbind offline logon = false
   winbind enum users = yes
   winbind enum groups = yes
   obey pam restrictions = yes
   printcap name = /etc/printcap
   clustering = yes
    # logs split per machine
    log file = /var/log/samba/%m.log
    # max 50KB per log file, then rotate
    max log size = 50
    disable netbios = yes
   passdb backend = tdbsam

#============================ Share Definitions
==============================

[homes]
    comment = Home Directories
    path = /[DOMAIN]/home
    browseable = no
    writable = yes
#    acl compatibility = auto
    acl check permissions = True
    nt acl support = yes
    ea support = yes
    acl map full control = True
    map acl inherit = yes
    inherit acls = yes
    vfs object = mysql_audit
        mysql_audit:host=mysql1.[DOMAIN].local
        mysql_audit:user=smbd
        mysql_audit:pass=TpwqOnYz
        mysql_audit:name=smbd
        mysql_audit:port=3306

Here is a copy of my ctdb configuration:

CTDB_RECOVERY_LOCK="/[DOMAIN]/ctdb/CTDB_lock"
CTDB_PUBLIC_INTERFACE=eth0
CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
CTDB_INIT_STYLE=redhat
ulimit -n 10000
CTDB_NODES=/etc/ctdb/nodes
CTDB_DBDIR=/var/ctdb
CTDB_DBDIR_PERSISTENT=/[DOMAIN]/ctdb/persistent
CTDB_EVENT_SCRIPT_DIR=/etc/ctdb/events.d
CTDB_SOCKET=/tmp/ctdb.socket
CTDB_TRANSPORT="tcp"
CTDB_LOGFILE=/var/log/log.ctdb
CTDB_DEBUGLEVEL=2


More information about the samba mailing list