[Samba] Files alway locked

Oliver Werner oliver.werner at kontrast.de
Thu Apr 27 14:02:53 UTC 2017


i have some new problems in samba.

- some files have a lock but no user has open this file
- i can’t replace some files because samba says its locked but file is not(!) locked
- some files are not visible

i hope anyone has an idea for this issues… :(

My Version  is samba 4.4.12


      netbios name = ID-175
      security = ADS
      workgroup = HQ
      realm = HQ.LOCAL

      log file = /var/log/samba/%m.log
	 	 log level = 3 passdb:5 auth:10 winbind:10

      dedicated keytab file = /etc/krb5.keytab
      kerberos method = secrets and keytab

      winbind trusted domains only = no
      winbind use default domain = yes
      winbind enum users  = yes
      winbind enum groups = yes
      winbind cache time = 300
	winbind refresh tickets = yes

      # Default idmap config used for BUILTIN and local accounts/groups
      idmap config *:backend = tdb
      idmap config *:range = 500-1023

      # idmap config for domain HQKONTRAST
      idmap config HQKONTRAST:backend = ad
      idmap config HQKONTRAST:schema_mode = rfc2307
      idmap config HQKONTRAST:range = 1024-99999

      # Use settings from AD for login shell and home directory
      winbind nss info = rfc2307

  comment = deleted daily
  path = /data/customers
  browseable = yes
  writeable = yes
  public = yes
  force group = Kontrast_Intern
  create mask = 0666
  directory mask = 0777
  vfs objects = full_audit
  full_audit:prefix = %u
  full_audit:success = mkdir rename rmdir unlink pwrite
  full_audit:failure = none
  full_audit:facility = LOCAL5
  full_audit:priority = NOTICE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.samba.org/pipermail/samba/attachments/20170427/610f41d9/signature.sig>

More information about the samba mailing list