CTDB complains about net serverid and Samba doesn't bind to public addresses

Alexander forsmbg at googlemail.com
Tue Sep 7 03:29:45 MDT 2010


Hi Michael, thanks for your reply, first of all.


On Tue, Sep 7, 2010 at 10:58 AM, Michael Adam <obnox at samba.org> wrote:
> What version/repository/branch did you use?
> The current official ctdb repository is Ronnie Sahlberg's repo:
> git://git.samba.org/sahlberg/ctdb.git
>

Yes, that's the one I used - I've actually tried both ways, the one
with rsync and the one with git, listed on
http://ctdb.samba.org/download.html and on CTDB Wiki
I stuck to the git one eventually. The exact command I used was:

git clone git://git.samba.org/sahlberg/ctdb.git ctdb

> Uh, seems like it has not been ported back to 3.5.
> Maybe you could file a bug for this one?
>

Sure, will do. In the meanwhile - what's the version that has it? I've
tried to compile latest 3.4.x one from source and seemingly it was not
there as well. Is that 3.3 that has it?

> Could you paste your smb.conf?
> In order for samba to work with ctdb's public ip distribution
> mechanism, you need to configure samba to listen on the wildcard
> address, i.e. not use "interfaces = " or "bind interfaces only = yes"
> in your samba config.
>

Yep, that's something I've taken into account and ensured there were
no "interfaces" or "bind..." in the smb.conf. Anyway, please see
below:

[global]

        workgroup = TESTDOM
        realm = TESTDOM.TEST.COM
        security = ads
        password server = dc1.testdom.test.com
        encrypt passwords = yes
        lanman auth = no
        log level = 2
        syslog = 0
        log file = /var/log/samba/common.log
        max log size = 5000
        time server = yes
        wide links = yes
        unix extensions = no

        clustering = yes
        idmap backend = tdb2
        ctdbd socket = /tmp/ctdb.socket

[homes]
        comment = Home Directories
        path = /home/%S
        valid users = %S
        read only = No
        inherit permissions = Yes
        browseable = No


regards,
Alexander


More information about the samba-technical mailing list