[Announce] Samba 4.3.1 Available for Download

Thomas Bork tombork at web.de
Mon Oct 26 12:29:50 UTC 2015


Am 26.10.2015 um 12:48 schrieb Rowland Penny:

> If I run your backup command:
> tdbbackup -s .samba.bak /usr/local/samba/var/lock/gencache_notrans.tdb
> I get no errors and if I then check again:
> ls /usr/local/samba/var/lock/gencache_notrans.*
> I get:
> /usr/local/samba/var/lock/gencache_notrans.tdb
> /usr/local/samba/var/lock/gencache_notrans.tdb.samba.bak

Maybe your os provides no mutexes or you disabled these on build time?

> I think that you should answer the questions I asked in my previous post.

OS is eisfair, see

http://www.eisfair.org/

testeis # smbd -b | grep -i mutex
    HAVE_DECL_PTHREAD_MUTEX_ROBUST
    HAVE_PTHREAD_MUTEXATTR_SETROBUST
    HAVE_PTHREAD_MUTEX_CONSISTENT
    HAVE_ROBUST_MUTEXES
    USE_TDB_MUTEX_LOCKING
testeis # uname -a
Linux testeis 3.2.71-eisfair-1-VIRT #1 SMP Wed Oct 14 00:34:29 CEST 2015 
i686 i686 i386 GNU/Linux
testeis # /lib/libc
libc-2.15.so  libc.so.6
testeis # /lib/libc-2.15.so
GNU C Library stable release version 2.15, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.7.4.
Compiled on a Linux 3.2.54 system.
Available extensions:
         crypt add-on version 2.1 by Michael Glad and others
         Support for some architectures added on, not maintained in 
glibc core.
         GNU Libidn by Simon Josefsson
         NoVersion patch for broken glibc 2.0 binaries
         Native POSIX Threads Library by Ulrich Drepper et al
         BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
testeis # cat /etc/smb.conf
#----------------------------------------------------------------------------
# Samba configuration file generated by /var/install/config.d/samba.sh
#
# Version of Samba for eisfair is 2.21.0.
# SAMBA_MANUAL_CONFIGURATION is no.
#
# Do not edit this file, use 'Edit Samba Configuration'
# in Samba Services Menu!
#
# Creation date: 2015-10-26 15:04:23
#----------------------------------------------------------------------------
[global]
  dos charset = CP850
  unix charset = UTF-8
  workgroup = TOMMAIK
  serverstring =
  interfaces = 127.0.0.1/8 192.168.0.12/255.255.255.0
  bind interfaces only = yes
  security = user
  password server =
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*Password:* %n\n *Reenter*New*Password:* %n\n 
*Password*changed*
  username map = /etc/user.map
  username level = 2
  unix password sync = yes
  debug level = 0
  max log size = 10000
  nameresolveorder = lmhosts host wins bcast
  time server = yes
  deadtime = 60
  printing = lprng
  printcap name = /etc/printcap
  printcap cache time = 0
  load printers = no
  mangling method = hash2
  domain logons = no
  add user script = /usr/sbin/useradd -m '%u' -c '%u'
  add machine script =
  delete user script =
  add group script = /var/install/bin/add-group '%g'
  delete group script = /var/install/bin/remove-group '%g'
  add user to group script = /usr/sbin/usermod -G '%g' '%u'
  delete user from group script = /usr/sbin/userdel '%g' '%u'
  set primary group script = /var/install/bin/modify-user -g '%u' '%g'
  os level = 0
  preferred master = no
  local master = no
  domain master = no
  wins support = no
  wins hook =
  wins server =
  wins proxy = no
  kernel oplocks = no
  utmp = yes
  message command = /var/install/bin/samba-netbios-mail '%f' '%s'
  admin users = root
  hosts allow = 127.0.0. 192.168.0.0/255.255.255.0
  use sendfile = yes
  unix extensions = no
  wide links = yes
  enable core files = no
  max mux = 10000
  dos filemode = yes
  acl group control = yes
  force unknown acl user = yes
  inherit acls = yes
  map acl inherit = yes
  map hidden = no
  map system = no
  map archive = no
  map read only = no
  store dos attributes = yes
  ea support = yes
  oplocks = no
  level2 oplocks = no
  blocking locks = no
  hide files = /desktop.ini/Thumbs.db/
  dos filemode = yes
  passdb backend = tdbsam
  lanman auth = yes
  client lanman auth = yes
  client plaintext auth = yes
  client ntlmv2 auth = no
  require strong key = no
  allow nt4 crypto = yes
  min receivefile size = 16384
  aio read size = 16384
  aio write size = 16384
  acl allow execute always = yes
  print notify backchannel = no
  socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE

[homes]
  comment = home directory on testeis
  writeable = yes
  create mode = 0600
  force create mode = 0600
  directory mode= 0700
  force directory mode= 0700
  browseable = no
  valid users = %S root

[all]
  comment = root directory on testeis
  read only = no
  browseable = no
  path = /
  dont descend = proc,sys,dev
  valid users = root
  create mode = 0700
  force create mode = 0700
  directory mode= 0700
  force directory mode= 0700

[public]
  comment = public directory on testeis
  path = /public
  force create mode = 0777
  force directory mode= 0777
  browseable = yes
  writeable = yes

[print$]
  comment = samba printer drivers on %h
  browseable = yes
  writeable = no
  path = /samba_printer_drivers
  write list = root

-- 
der tom
[eisfair-team]



More information about the samba-technical mailing list