Date: Tue, 24 Oct 2000 23:13:12 -0600 From: "Breen Ouellette" <the.man@breeno.net> To: <questions@freebsd.org> Subject: Samba semaphore timeout problems Message-ID: <001201c03e42$58517170$050210ac@tao>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
I am currently getting semaphore timeout messages when my Windows based clients try to access Samba (2.0.7) on the FreeBSD box (4.1). Is it possible that my smb.conf is causing this? I will include it below. Also, one of the shares is pointing to a ccd virtual disk which consists of two 15GB partitions. Could this be causing problems? I will include my cdd.conf in this message as well.
This behavior is erratic. Sometimes machines log in just fine, other times no go. A machine may access the shares fine with one user, and if someone else logs in two minutes later from the same machine they cannot access the Samba shares. Usually, if a user cannot get to the Samba shares, they can go read a share on a different machine, then come back to the Samba machine and get in just fine. It is really annoying, however, especially waiting for mapped drives to time out when logging in.
I didn't experience these problems in 4.0 with Samba 2.0.6, but my smb.conf has changed since then, plus I wasn't using ccd then. If I have to, I will return to 4.0/2.0.6, but this seems like backtracking, which I don't like to do.
--smb.conf:
[global]
#Server setup
encrypt passwords = yes
local master = no
netbios name = JEEVES
server string =
workgroup = BREENO
#Network configuration
allow hosts = 172.16.2. localhost
#Global share values
browseable = no
guest account = nobody
guest ok = yes
guest only = yes
hide dot files = yes
invalid users = root
map to guest = Bad User
security = user
writeable = no
#Logging options
debug timestamp = yes
log level = 2
log file = /var/log/samba.log.%m
max log size = 50
[homes]
comment = %U's home folder
guest ok = no
guest only = no
inherit permissions = yes
valid users = lex
writeable = yes
[Music]
browseable = yes
comment = Music folder
path = /export/music
[Upload]
browseable = yes
comment = Upload folder
inherit permissions = yes
path = /export/upload
writeable = yes
[Optra]
browseable = yes
comment = Lexmark Optra E310 printer
path = /var/spool/samba
print command = /usr/bin/lpr -r %s
printable = yes
printer = lp
printing = BSD
--EOF
--ccd.conf:
#
# /etc/ccd.conf
#
# ccd ileave flags compnent devices
ccd0 0 none /dev/ad0s2e /dev/ad3s2e
--EOF
Thanks in advance for any help.
-Breen Ouellette
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4207.2601" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I am currently getting semaphore
timeout messages when my Windows based clients try to access Samba (2.0.7) on
the FreeBSD box (4.1). Is it possible that my smb.conf is causing
this? I will include it below. Also, one of the shares is pointing
to a ccd virtual disk which consists of two 15GB partitions. Could this be
causing problems? I will include my cdd.conf in this message as
well. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> This behavior is erratic.
Sometimes machines log in just fine, other times no go. A machine may
access the shares fine with one user, and if someone else logs in two minutes
later from the same machine they cannot access the Samba shares. Usually,
if a user cannot get to the Samba shares, they can go read a share on a
different machine, then come back to the Samba machine and get in just
fine. It is really annoying, however, especially waiting for mapped drives
to time out when logging in.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I didn't experience these
problems in 4.0 with Samba 2.0.6, but my smb.conf has changed since then, plus I
wasn't using ccd then. If I have to, I will return to 4.0/2.0.6, but this
seems like backtracking, which I don't like to do.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>--smb.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2>[global]<BR> #Server setup<BR> encrypt
passwords = yes<BR> local master = no<BR> netbios name =
JEEVES<BR> server string =<BR> workgroup = BREENO</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> #Network configuration<BR> allow hosts =
172.16.2. localhost</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> #Global share values<BR> browseable =
no<BR> guest account = nobody<BR> guest ok = yes<BR> guest only =
yes<BR> hide dot files = yes<BR> invalid users = root<BR> map to
guest = Bad User<BR> security = user<BR> writeable = no</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> #Logging options<BR> debug timestamp =
yes<BR> log level = 2<BR> log file =
/var/log/samba.log.%m<BR> max log size = 50</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[homes]<BR> comment = %U's home
folder<BR> guest ok = no<BR> guest only = no<BR> inherit
permissions = yes<BR> valid users = lex<BR> writeable =
yes</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[Music]<BR> browseable = yes<BR> comment
= Music folder<BR> path = /export/music</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[Upload]<BR> browseable = yes<BR> comment
= Upload folder<BR> inherit permissions = yes<BR> path =
/export/upload<BR> writeable = yes</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[Optra]<BR> browseable = yes<BR> comment
= Lexmark Optra E310 printer<BR> path = /var/spool/samba<BR> print
command = /usr/bin/lpr -r %s<BR> printable = yes<BR> printer =
lp<BR> printing = BSD<BR></FONT><FONT face=Arial size=2>--EOF</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>--ccd.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2>#<BR># /etc/ccd.conf<BR>#</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># ccd ileave flags compnent
devices<BR>ccd0 0 none /dev/ad0s2e
/dev/ad3s2e<BR>--EOF</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Thanks in advance for any
help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> -Breen
Ouellette</FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201c03e42$58517170$050210ac>
