Displaying 7 results from an estimated 7 matches for "ctdb_base".
2014 Aug 23
2
CTDB 50.samba: ERROR: smb.conf cache create failed
...ocket = /var/lib/run/ctdb/ctdbd.socket
pid director = /var/run/samba
[users]
path = /cluster/users
read only = No
[profiles]
path = /cluster/profiles
read only = No
[shared]
path = /cluster/shared
force create mode = 0770
read only = No
50.samba
#!/bin/sh
# ctdb event script for Samba
[ -n "$CTDB_BASE" ] || \
export CTDB_BASE=$(cd -P $(dirname "$0") ; dirname "$PWD")
. $CTDB_BASE/functions
detect_init_style
case $CTDB_INIT_STYLE in
suse)
CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smb}
CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmb}
;;
debian)
CTDB_SERVICE_SMB=${CTDB...
2014 Jul 18
1
ctdb do not start nmbd if serving AD
...ript but can't decipher the bit that starts nmbd.
Qn: Do we have a 'start smbd' version of 50.samba?
Or could any script guru get this to disable nmbd;)
Cheers and TIA,
Steve
Oh, and thanks for an amazing piece of software in ctdb.
#!/bin/sh
# ctdb event script for Samba
[ -n "$CTDB_BASE" ] || \
export CTDB_BASE=$(cd -P $(dirname "$0") ; dirname "$PWD")
. $CTDB_BASE/functions
detect_init_style
case $CTDB_INIT_STYLE in
suse)
CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smb}
CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmb}
;;
debian)
CTDB_SERVICE_SMB=${CTDB...
2014 Aug 16
1
CTDB: Failed to connect client socket to daemon.
...l/var/run/ctdb/ctdbd.socket
--public-addresses=/etc/ctdb/public_addresses -d NOTICE --syslog
**************
2. CTDB does not start smbd but is started correctly (with response from
ctdb) upon:
sudo service smbd start
/etc/ctdb/events.d/50.samba
#!/bin/sh
# ctdb event script for Samba
[ -n "$CTDB_BASE" ] || \
export CTDB_BASE=$(cd -P $(dirname "$0") ; dirname "$PWD")
. $CTDB_BASE/functions
detect_init_style
case $CTDB_INIT_STYLE in
suse)
CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smb}
CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmb}
;;
debian)
# CTDB_SERVICE_SMB=${CTD...
2014 Aug 15
1
ctdb event script 50.samba does not start smbd
...rt|
force-reload|status}"
exit 1
;;
esac
exit 0
Here is the event script. We got as far as changing samba to smbd for
debian as we're on Ubuntu.
/usr/local/etc/ctdb/events.d/50.samba (marked executable)
#!/bin/sh
# ctdb event script for Samba
[ -n "$CTDB_BASE" ] || \
export CTDB_BASE=$(cd -P $(dirname "$0") ; dirname "$PWD")
. $CTDB_BASE/functions
detect_init_style
case $CTDB_INIT_STYLE in
suse)
CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smb}
CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmb}
;;
debian)
CTDB_SERVICE_SMB=${CTDB...
2013 Jan 09
0
[Announce] CTDB 2.1 available for download
Highlights
=======
* Support for Samba 4.0.0
To use CTDB 2.1 with Samba 3.x, enable Samba3AvoidDeadlocks tunable
* Set CTDB_BASE in eventscripts, so they can be run easily
* Clean up orphaned interfaces
* Do not restart NFS on reconfigure event
* Fix RSN based recovery of persistent databases to avoid corruption
* Re-factor and separate IP allocation algorithms
Reporting bugs & Development Discussion
==============...
2016 Dec 07
0
[Announce] Samba 4.5.2 Available for Download
...issing attribute when an
attribute is both MUST and replicated.
o Amitay Isaacs <amitay at gmail.com>
* BUG 12366: provision,dlz-bind: Add support for BIND 9.11.x.
* BUG 12392: ctdb-locking: Reset real-time priority in lock helper.
* BUG 12407: ctdb-scripts: Fix calculation of CTDB_BASE.
* BUG 12434: ctdb-recovery: Avoid NULL dereference in failure case.
o Stefan Metzmacher <metze at samba.org>
* BUG 10297: s3:smbd: Only pass UCF_PREP_CREATEFILE to filename_convert() if
we may create a new file.
o Mathieu Parent <math.parent at gmail.com>
* BUG 12371:...
2016 Dec 07
0
[Announce] Samba 4.5.2 Available for Download
...issing attribute when an
attribute is both MUST and replicated.
o Amitay Isaacs <amitay at gmail.com>
* BUG 12366: provision,dlz-bind: Add support for BIND 9.11.x.
* BUG 12392: ctdb-locking: Reset real-time priority in lock helper.
* BUG 12407: ctdb-scripts: Fix calculation of CTDB_BASE.
* BUG 12434: ctdb-recovery: Avoid NULL dereference in failure case.
o Stefan Metzmacher <metze at samba.org>
* BUG 10297: s3:smbd: Only pass UCF_PREP_CREATEFILE to filename_convert() if
we may create a new file.
o Mathieu Parent <math.parent at gmail.com>
* BUG 12371:...