I originally posted this on the dev list and opened a bug for this but
was asked to post this to the users list.
https://bugzilla.samba.org/show_bug.cgi?id=10565
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"
On 25/04/14 16:46, Taylor, Jonn wrote:> I originally posted this on the dev list and opened a bug for this but > was asked to post this to the users list. > > https://bugzilla.samba.org/show_bug.cgi?id=10565 > > 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"Hi, I think that this should be: SMBD_EXTRA_OPTS="--private-dir=/clusterdata/private" Rowland> > # 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" > > >
On 2014-04-25 at 10:46 -0500, Taylor, Jonn wrote:> I originally posted this on the dev list and opened a bug for this > but was asked to post this to the users list. > > https://bugzilla.samba.org/show_bug.cgi?id=10565 > > Using sernet 4.1 packages. I am unable to get smbd to use private dir.What do you expect of smbd to do with private dir? This directory is usually used to take two or three tdb databases: secrets.tdb, passdb.tdb, and as of new netlogon_creds_cli.tdb. In a samba-ctdb cluster, these databases are handled by ctdb, and hence the private dir is not used at all. It is also not necessary. So in a clustering setup it is perfectly normal for smbd to not use the private dir. Unless of course you want to configure soemthing special and non-standard. Cheers - Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20140503/4c2977f4/attachment.pgp>