Displaying 14 results from an estimated 14 matches for "ctdb_service_smb".
2014 Jul 18
1
ctdb do not start nmbd if serving AD
...teve
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_SERVICE_SMB:-samba}
CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-""}
;;
*)
# Use redhat style as default:
CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smb}
CTDB_SERVICE_NMB=${CTDB_SERVI...
2014 Aug 23
2
CTDB 50.samba: ERROR: smb.conf cache create failed
...uster/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_SERVICE_SMB:-samba}
CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-""}
;;
*)
# Use redhat style as default:
CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smb}
CTDB_SERVICE_NMB=${CTDB_SE...
2014 Aug 16
1
CTDB: Failed to connect client socket to daemon.
...db) 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=${CTDB_SERVICE_SMB:-smbd}
# CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-""}
CTDB_SERVICE_SMB=smbd
;;
*)
# Use redhat style as default:
# CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smb}
# CT...
2014 Aug 15
1
ctdb event script 50.samba does not start smbd
...u.
/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_SERVICE_SMB:-smbd} ##changed to smbd here
#CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-""}
;;
*)
# Use redhat style as default:
CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smb}
CTDB_S...
2016 Oct 06
1
Ctdb and mdb
...it works fine, but we want that the users be able to find the server in the network section of windows explorer.
We are using fedora 23 and nmb doesn't start with ctdb i tried the following change in /etc/ctdb/events.d/50.samba
*)
# Use redhat style as default:
CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smb}
CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmb}
;;
esac
and nmb started but in the windows explorer appeared two nodes one with the shared ip and the other with its own ip. and both with the linux hostname
I believe only one node should appear w...
2016 Oct 21
6
CTDB and locking issues in 4.4.6 (Classic domain)
...on. I have tested the locking on these and it
works. The only difference I can find that in prod,
/etc/default/sernet-samba-ctdb contains these lines:
CTDB_MANAGES_SAMBA=yes
CTDB_MANAGES_WINBIND=yes
Whereas in the test environment they are:
CTDB_SERVICE_WINBIND="sernet-samba-winbindd"
CTDB_SERVICE_SMB="sernet-samba-smbd"
I'm wondering if this is what's making the difference?
Cheers,
Alex
--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requ...
2016 Oct 21
0
CTDB and locking issues in 4.4.6 (Classic domain)
...; and it works. The only difference I can find that in prod,
> /etc/default/sernet-samba-ctdb contains these lines:
>
> CTDB_MANAGES_SAMBA=yes
> CTDB_MANAGES_WINBIND=yes
>
> Whereas in the test environment they are:
> CTDB_SERVICE_WINBIND="sernet-samba-winbindd"
> CTDB_SERVICE_SMB="sernet-samba-smbd"
>
> I'm wondering if this is what's making the difference?
>
> Cheers,
>
> Alex
>
>
The above is not what I meant, apologies. In the prod cluster, these lines:
CTDB_SERVICE_WINBIND="sernet-samba-winbindd"
CTDB_SERVICE_SMB=&qu...
2016 Oct 21
1
CTDB and locking issues in 4.4.6 (Classic domain)
...c/default/sernet-samba-ctdb contains these lines:
> > >
> > > CTDB_MANAGES_SAMBA=yes
> > > CTDB_MANAGES_WINBIND=yes
> > >
> > > Whereas in the test environment they are:
> > > CTDB_SERVICE_WINBIND="sernet-samba-winbindd"
> > > CTDB_SERVICE_SMB="sernet-samba-smbd"
> > >
> > > I'm wondering if this is what's making the difference?
>
> > The above is not what I meant, apologies. In the prod cluster, these
> lines:
> >
> > CTDB_SERVICE_WINBIND="sernet-samba-winbindd"
>...
2019 Jul 09
1
CTDB Samba 4.10 example?
....
Anyways... heres what i did:
## IN /etc/ctdb/script.options
## (this was the most tricky thing for me since i use the sernet build)
| CTDB_SAMBA_SKIP_SHARE_CHECK=yes # For me this is needed couse of the use of the vfs_glusterfs module. You may not need it.
| CTDB_SERVICE_NMB=sernet-samba-nmbd
| CTDB_SERVICE_SMB=sernet-samba-smbd
| CTDB_SERVICE_WINBIND=sernet-samba-winbindd
## IN /etc/ctdb/commands.sh
| ctdb event script enable legacy 50.samba
| ctdb event script enable legacy 49.winbind
## IN /etc/ctdb/ctdb.conf
| [cluster]
| recovery lock = /pathTo/your/.ctdb/lockfile
## IN /etc/ctdb/nodes you...
2010 Aug 17
1
UID syncing issues with CTDB
...utomount: files
aliases: files nisplus
ctdb.conf:
CTDB_RECOVERY_LOCK="/EDAPT/ctdb/CTDB_lock"
CTDB_PUBLIC_INTERFACE=eth0
CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
CTDB_MANAGES_SAMBA=no
CTDB_SAMBA_CHECK_PORTS="445"
CTDB_MANAGES_WINBIND=no
CTDB_INIT_STYLE=redhat
CTDB_SERVICE_SMB=smb
CTDB_SERVICE_WINBIND=winbind
ulimit -n 10000
CTDB_NODES=/etc/ctdb/nodes
CTDB_DBDIR=/var/ctdb
CTDB_DBDIR_PERSISTENT=/EDAPT/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=...
2014 Oct 07
1
CDTB On Samba 4.1.12 As Member files server.
...DB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
CTDB_MANAGES_SAMBA=yes
CTDB_SAMBA_SKIP_SHARE_CHECK=yes
CTDB_NFS_SKIP_SHARE_CHECK=yes
CTDB_MANAGES_WINBIND=yes
CTDB_MANAGES_VSFTPD=no
CTDB_MANAGES_ISCSI=no
CTDB_MANAGES_NFS=no
CTDB_MANAGES_HTTPD=no
CTDB_SYSLOG=yes
CTDB_DEBUGLEVEL=NOTICE
CTDB_INIT_STYLE=
CTDB_SERVICE_SMB=samba
CTDB_SERVICE_WINBIND=winbind
CTDB_NODES=/etc/ctdb/nodes
CTDB_NOTIFY_SCRIPT=/etc/ctdb/notify.sh
CTDB_DBDIR=/var/lib/ctdb
CTDB_DBDIR_PERSISTENT=/var/lib/ctdb/persistent
CTDB_EVENT_SCRIPT_DIR=/etc/ctdb/events.d
CTDB_SOCKET=/var/lib/ctdb/ctdb.socket
CTDB_TRANSPORT="tcp"
CTDB_MONITOR_FRE...
2016 Oct 20
2
CTDB and locking issues in 4.4.6 (Classic domain)
Hi Alex,
On Thu, 20 Oct 2016 14:28:38 +0100, Alex Crow via samba
<samba at lists.samba.org> wrote:
> >
> > It appears that samba is still using local databases and not clustered
> > databases.
> >
> > What does "ctdb getdbmap" list? Is locking.tdb a clustered database?
> > Do you have "clustering = yes" in smb.conf on all the
2011 Apr 27
1
CTDB / Samba4. Nodes don't become healthy on first startup
...ur config:
/etc/default/ctdb
CTDB_RECOVERY_LOCK="mnt/data/lockfile"
CTDB_PUBLIC_INTERFACE=eth1 # varies per server
CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
CTDB_MANAGES_SAMBA=yes
CTDB_SAMBA_CHECK_PORTS="445" # work around grep error in log
CTDB_MANAGES_WINBIND=yes
CTDB_SERVICE_SMB=samba4 #name of our init script
CTDB_NODES=/etc/ctdb/nodes
CTDB_DBDIR=/var/ctdb
CTDB_DBDIR_PERSISTENT=/var/ctdb/persistent
CTDB_LOGFILE=/var/log/log.ctdb
CTDB_DEBUGLEVEL=3
/etc/ctdb/public_addresses
192.168.2.119/24 eth1
192.168.2.120/24 eth1
192.168.2.121/24 eth1
(network adapter varies)...
2012 May 24
0
Could not find node to take over public address
...stance samba
# packages) with a different init script layout.
# There is no default.
CTDB_INIT_STYLE=
## Description: Samba smb services init script
# The following is a smb specific Samba init script / service that you
# can override from auto-detection.
## Type: string
## Default: smb
CTDB_SERVICE_SMB=smb
## Description: Samba nmb services init script
# The following is a nmb specific Samba init script / service that you
# can override from auto-detection.
## Type: string
## Default: nmb
CTDB_SERVICE_NMB=nmb
## Description: Samba winbind services init script
# The following is a winbi...