Unreproduceable bug in Samba 2.0.6
Andreas Kies
akies at katla.gppm.de
Tue May 23 13:38:59 GMT 2000
Hello Samba Developers,
Recently I've caused an endless loop in Samba, which caused the log file
to fill up all usable disk space.
This is what I've done ( or better, what I think I've done, because the
bug is not reproduceable ) :
- Mounted my home directory via Windows Explorer under Windoze NT.
- Logged into account under same name on same machine ( bash )
- created a soft link to another users directory in my home directory :
ln -s ../murr
- refreshed the display in Windoze Explorer. The previously created link
now appears as a directory.
- double clicked on the link, went 2 directory levels deeper to directory
~murr/intranet/services
- Opened a few files there
- Removed the soft link from shell level. At the time Windoze Explorer was
still in the same directory. I agree, that it is not a smart idea to
access files through a link which has been manually removed. I can't
remember if Explorer displayed any error, but I think it didn't.
About 20 minutes later the disk was full, with entries all looking like
the following ones.
All attempts to reproduce the bug failed, so maybe I was doing something
else, I simply can not remember.
The machine here is Linux kernel 2.2.14.
Samba version is 2.0.6, as supplied in Suse Linux 6.4.
More details in attached testparam output.
Configuration is pretty much plain vanilla, except that the machine is
configured as a master browser.
Best regards
Andreas
---------------------------------------------
Line break at equal sign caused by mailer
---------------------------------------------
[2000/05/17 18:04:59, 0] smbd/nttrans.c:create_directory_notify_hash(1424)
create_directory_notify_hash: Unable to stat name =
murr/intranet/service. Error was No such file or directory
[2000/05/17 18:04:59, 0] smbd/nttrans.c:create_directory_notify_hash(1424)
create_directory_notify_hash: Unable to stat name =
murr/intranet/service. Error was No such file or directory
[2000/05/17 18:04:59, 0] smbd/nttrans.c:create_directory_notify_hash(1424)
create_directory_notify_hash: Unable to stat name =
murr/intranet/service. Error was No such file or directory
[2000/05/17 18:04:59, 0] smbd/nttrans.c:create_directory_notify_hash(1424)
create_directory_notify_hash: Unable to stat name =
murr/intranet/service. Error was No such file or directory
[2000/05/17 18:04:59, 0] smbd/nttrans.c:create_directory_notify_hash(1424)
create_directory_notify_hash: Unable to stat name =
murr/intranet/service. Error was No such file or directory
-------------- next part --------------
Load smb config files from /etc/smb.conf
Processing section "[homes]"
Processing section "[cdrom]"
Processing section "[printers]"
Processing section "[download]"
Loaded services file OK.
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = BEL_ETAGE
netbios name =
netbios aliases =
server string = i586#200 Intranet, Linux 2.2.14
interfaces = 194.45.184.53/255.255.255.0
bind interfaces only = No
security = SHARE
encrypt passwords = No
update encrypted = No
allow trusted domains = Yes
hosts equiv =
min passwd length = 5
map to guest = Bad User
null passwords = No
password server =
smb passwd file = /etc/smbpasswd
root directory = /
passwd program = /bin/passwd
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
username map = /etc/users.map
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
use rhosts = No
log level = 2
syslog = 1
syslog only = No
log file =
max log size = 5000
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
read bmpx = No
read raw = Yes
write raw = Yes
nt smb support = Yes
nt pipe support = Yes
nt acl support = Yes
announce version = 4.2
announce as = NT
max mux = 50
max xmit = 65535
name resolve order = lmhosts host wins bcast
max packet = 65535
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 30
lpq cache time = 10
max disk size = 0
max open files = 10000
read prediction = No
read size = 16384
shared mem size = 1048576
socket options = TCP_NODELAY
stat cache size = 50
load printers = Yes
printcap name = /etc/printcap
printer driver file = /etc/printers.def
strip dot = No
character set =
mangled stack = 50
coding system =
client code page = 850
stat cache = Yes
domain groups =
domain admin group =
domain guest group =
domain admin users =
domain guest users =
machine password timeout = 604800
add user script =
delete user script =
logon script =
logon path = \\%N\%U\profile
logon drive =
logon home = \\%N\%U
domain logons = No
os level = 2
lm announce = Auto
lm interval = 60
preferred master = Yes
local master = Yes
domain master = Yes
browse list = Yes
dns proxy = Yes
wins proxy = No
wins server =
wins support = Yes
wins hook =
kernel oplocks = Yes
ole locking compatibility = Yes
oplock break wait time = 10
smbrun = /usr/bin/smbrun
config file =
preload =
lock dir = /var/lock/samba
default service =
message command =
dfree command =
valid chars =
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map =
time offset = 0
unix realname = No
NIS homedir = No
panic action =
comment =
path =
alternate permissions = No
revalidate = No
username =
guest account = nobody
invalid users =
valid users =
admin users =
read list =
write list =
force user =
force group =
read only = Yes
create mask = 0644
force create mode = 00
security mask = -1
force security mode = -1
directory mask = 0755
force directory mode = 00
directory security mask = -1
force directory security mode = -1
guest only = No
guest ok = No
only user = No
hosts allow =
hosts deny =
status = Yes
max connections = 0
min print space = 0
strict sync = No
sync always = No
print ok = No
postscript = No
printing = bsd
print command = lpr -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j
lppause command =
lpresume command =
queuepause command =
queueresume command =
printer name =
printer driver = NULL
printer driver location =
default case = lower
case sensitive = No
preserve case = Yes
short preserve case = Yes
mangle case = No
mangling char = ~
hide dot files = Yes
delete veto files = No
veto files =
hide files =
veto oplock files =
map system = No
map hidden = No
map archive = Yes
mangled names = Yes
mangled map =
browseable = Yes
blocking locks = Yes
fake oplocks = No
locking = Yes
oplocks = Yes
level2 oplocks = No
oplock contention limit = 2
strict locking = No
share modes = Yes
copy =
include =
exec =
preexec close = No
postexec =
root preexec =
root preexec close = No
root postexec =
available = Yes
volume =
fstype = NTFS
set directory = No
wide links = Yes
follow symlinks = Yes
dont descend =
magic script =
magic output =
delete readonly = No
dos filetimes = No
dos filetime resolution = No
fake directory create times = No
[homes]
comment = Heimatverzeichnis
read only = No
browseable = No
[cdrom]
comment = Linux CD-ROM
path = /cdrom
guest ok = Yes
locking = No
[printers]
comment = All Printers
path = /tmp
create mask = 0700
guest ok = Yes
print ok = Yes
browseable = No
[download]
comment = Intranet Download Distribution
path = /home/bad/download
guest ok = Yes
locking = No
More information about the samba
mailing list