Samba 4.1.7 clustering not using private dir
Jonn Taylor
jonnt at taylortelephone.com
Wed Apr 23 16:20:04 MDT 2014
Using sernet 4.1 packages. I am unable to get smbd to use private dir.
Set option in smb.conf and on command line.
sernet-samba-libsmbclient0-4.1.7-7.el6.x86_64
sernet-samba-libs-4.1.7-7.el6.x86_64
sernet-samba-client-4.1.7-7.el6.x86_64
sernet-samba-4.1.7-7.el6.x86_64
sernet-samba-common-4.1.7-7.el6.x86_64
sernet-samba-winbind-4.1.7-7.el6.x86_64
[global]
workgroup = TAYLORTELEPHONE
realm = TAYLORTELEPHONE.COM
netbios name = SHR01
server string = Cluster Share
interfaces = eth0, lo
security = ADS
private dir = /clusterdata/private
log file = /var/log/samba/log.samba
server min protocol = NT1
client signing = if_required
server signing = if_required
clustering = Yes
printcap name = /etc/printcap
wins server = 192.168.173.13, 192.168.173.14
template shell = /bin/bash
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
winbind refresh tickets = Yes
winbind offline logon = Yes
idmap config * : schema_mode = rfc2307
idmap config TAYLORTELEPHONE:backend = rid
idmap config TAYLORTELEPHONE:range = 500-4000000
idmap config * : range = 1000-4000000
idmap config * : backend = tdb2
admin users = "@TAYLORTELEPHONE\Domain Admins"
inherit acls = Yes
map acl inherit = Yes
# SAMBA_START_MODE defines how Samba should be started. Valid options
are one of
# "none" to not enable it at all,
# "classic" to use the classic smbd/nmbd/winbind daemons
# "ad" to use the Active Directory server (which starts the smbd
on its own)
# (Be aware that you also need to enable the services/init scripts that
# automatically start up the desired daemons.)
SAMBA_START_MODE="classic"
# SAMBA_RESTART_ON_UPDATE defines if the the services should be
restarted when
# the RPMs are updated. Setting this to "yes" effectively enables the
# functionality of the try-restart parameter of the init scripts.
SAMBA_RESTART_ON_UPDATE="yes"
# NMBD_EXTRA_OPTS may contain extra options that are passed as additional
# arguments to the nmbd daemon
NMBD_EXTRA_OPTS=""
# WINBINDD_EXTRA_OPTS may contain extra options that are passed as
additional
# arguments to the winbindd daemon
WINBINDD_EXTRA_OPTS=""
# SMBD_EXTRA_OPTS may contain extra options that are passed as additional
# arguments to the smbd daemon
SMBD_EXTRA_OPTS="private-dir=/clusterdata/private"
# SAMBA_EXTRA_OPTS may contain extra options that are passed as additional
# arguments to the samba daemon
SAMBA_EXTRA_OPTS=""
# SAMBA_IGNORE_NSUPDATE_G defines whether the samba daemon should be started
# when 'nsupdate -g' is not available. Setting this to "yes" would mean that
# samba will be started even without 'nsupdate -g'. This will lead to severe
# problems without a proper workaround!
SAMBA_IGNORE_NSUPDATE_G="no"
More information about the samba-technical
mailing list