[Samba] samba automatically delete folders ??????????

J.Bakshi joydeep at infoservices.in
Thu Mar 27 16:08:25 GMT 2008


Dear list,

I am facing really a mysterious problem with samba.

I am using clarkconnect server where samba-3.0.25b-1.1.cc is installed.

I have created some samba users and windows XP user can share their
samba files and folders without any problem.

But the problem which happened here third time is auto deletion of files
and folders !!!!!!!!!!!!!!!!!!!!!!!!!!

An user ( FROM XP) simply deleted 2 files in a folder and when he came
back one level up he found that some folders have been *DIAPERED* !!!!!!!!

I *REALLY* have no answer to this problem. My brain does not provide me
any logic at all !!!!

Is it a bug in Samba ?

Pleeeaaasseee  suggest.

below is my smb.conf

################################
[global]
local master = no
admin users = joydeep
unix password sync = yes

domain logons = no
domain master = yes
os level = 55
passwd program = /usr/sbin/userpasswd %u
passwd chat = *password:* %n\n *password:* %n\n *successfully.*
   netbios name = ClarkConnect
   workgroup = Enterprise
   server string = ClarkConnect Enterprise Edition

bind interfaces only = yes
interfaces = lo eth1

use client driver = yes
printcap name = /etc/printcap
load printers = yes

security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

#### modification, changing 2 to 1 to minimise log writing ###
debug level = 1
syslog = false
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
utmp = yes

#keep alive = 10
#deadtime = 5
max xmit = 4096
oplocks = yes
read raw = yes
write raw = yes
getwd cache = yes


# For low-risk security reasons on Win2000/WinXP networks (no Win98)
# restrict anonymous = 2

# WINS / VPN
# ----------

wins support = yes
wins server =

# Other handy directives
# ----------------------
# preferred master =
# remote announce =
# remote browse sync =

# Authconfig adds these
#----------------------

idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no

# PDC
#----

add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s
/bin/false -M %u


#============================ Share Definitions
==============================

include = /etc/samba/flexshare.conf

[printers]
#printing = cups
path = /tmp
browseable = yes
printable = yes
public = yes
guest ok = yes

[shared]
comment = Public Shared Folder
path = /home/shared
browseable = yes
guest only = yes
writable = yes
public = yes
#############################################

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
http://infoservices.in/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the samba mailing list