[Samba] CTDB + Samba + Winbind + ActiveDirectory

tim clusters tim.clusters at gmail.com
Thu Dec 25 22:51:19 GMT 2008

Hi All,

Are there any special CTDB/SMB configuration settings/dependencies to manage
Winbind across CTDB managed servers authenticating via Active
Directory(AD)? An example would be Samba's IDMAP backend for Winbind: RID
vs. AD or tag Winbind to a primary CTDB node and point other nodes to
authenticate from AD via proxy primary CTDB node?

/etc/sysconfig/ctdb on all nodes is as follows:


I had asked this before, but I have a strange scenario where Windows node is
able to mount only from one of the CTDB-managed SMB servers. The NetBIOS
name is same on all the nodes and "net ads join" is issued only from one of
the CTDB nodes. Any guidance to resolve this would be greatly appreciated.

        workgroup = TESTDOMAIN
        realm = TESTDOMAIN.LOCAL
        netbios name = CTDB-HEAD
        security = ADS
        auth methods = winbind, sam
        password server =
        passdb backend = tdbsam
        log level = 10 winbind:10 auth:10 passdb:10
        log file = /var/log/samba/log.%m
        max log size = 10000
        smb ports = 445
        server signing = auto
        socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
        use mmap = No
        clustering = Yes
        dns proxy = No
        idmap backend = tdb2
        idmap uid = 10000000-20000000
        idmap gid = 10000000-20000000
        template homedir = /home/%D+%U
        template shell = /bin/bash
        winbind separator = +
        winbind enum users = Yes
        winbind enum groups = Yes
        nfs4:acedup = merge
        nfs4:chown = yes
        nfs4:mode = special
        gpfs:sharemodes = no
        fileid:mapping = fsname
        idmap config TESTDOMAIN:range = 10777216-57554431
        idmap config TESTDOMAIN:backend = rid
        force unknown acl user = Yes
        strict locking = Yes
        vfs objects = gpfs, fileid
        comment = Global SMB NameSpace
        path = /mnt/gpfs/nfsexport
        read only = No
        inherit permissions = Yes
        inherit acls = Yes
        guest ok = Yes

More information about the samba mailing list