Skip site navigation (1)Skip section navigation (2)
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
This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C03E0F.FB6A1980
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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. =20

    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 =3D yes
 local master =3D no
 netbios name =3D JEEVES
 server string =3D
 workgroup =3D BREENO

 #Network configuration
 allow hosts =3D 172.16.2. localhost

 #Global share values
 browseable =3D no
 guest account =3D nobody
 guest ok =3D yes
 guest only =3D yes
 hide dot files =3D yes
 invalid users =3D root
 map to guest =3D Bad User
 security =3D user
 writeable =3D no

 #Logging options
 debug timestamp =3D yes
 log level =3D 2
 log file =3D /var/log/samba.log.%m
 max log size =3D 50

[homes]
 comment =3D %U's home folder
 guest ok =3D no
 guest only =3D no
 inherit permissions =3D yes
 valid users =3D lex
 writeable =3D yes

[Music]
 browseable =3D yes
 comment =3D Music folder
 path =3D /export/music

[Upload]
 browseable =3D yes
 comment =3D Upload folder
 inherit permissions =3D yes
 path =3D /export/upload
 writeable =3D yes

[Optra]
 browseable =3D yes
 comment =3D Lexmark Optra E310 printer
 path =3D /var/spool/samba
 print command =3D /usr/bin/lpr -r %s
 printable =3D yes
 printer =3D lp
 printing =3D 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

------=_NextPart_000_000D_01C03E0F.FB6A1980
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I am currently =
getting semaphore=20
timeout messages when my Windows based clients try to access Samba =
(2.0.7) on=20
the FreeBSD box (4.1).&nbsp; Is it possible that my smb.conf is causing=20
this?&nbsp; I will include it below.&nbsp; Also, one of the shares is =
pointing=20
to a ccd virtual disk which consists of two 15GB partitions.&nbsp; Could =
this be=20
causing problems?&nbsp; I will include my cdd.conf in this&nbsp;message =
as=20
well.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; This behavior is =
erratic.&nbsp;=20
Sometimes machines log in just fine, other times no go.&nbsp; A machine =
may=20
access the shares fine with one user, and if someone else logs in two =
minutes=20
later from the same machine they cannot access the Samba shares.&nbsp; =
Usually,=20
if a user cannot get to the Samba shares, they can go read a share on a=20
different machine, then come back to the Samba machine and get in just=20
fine.&nbsp; It is really annoying, however, especially waiting for =
mapped drives=20
to time out when logging in.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I didn't experience =
these=20
problems in 4.0 with Samba 2.0.6, but my smb.conf has changed since =
then, plus I=20
wasn't using ccd then.&nbsp; If I have to, I will return to 4.0/2.0.6, =
but this=20
seems like backtracking, which I don't like to do.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>--smb.conf:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>[global]<BR>&nbsp;#Server =
setup<BR>&nbsp;encrypt=20
passwords =3D yes<BR>&nbsp;local master =3D no<BR>&nbsp;netbios name =3D =

JEEVES<BR>&nbsp;server string =3D<BR>&nbsp;workgroup =3D =
BREENO</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;#Network =
configuration<BR>&nbsp;allow hosts =3D=20
172.16.2. localhost</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;#Global share =
values<BR>&nbsp;browseable =3D=20
no<BR>&nbsp;guest account =3D nobody<BR>&nbsp;guest ok =3D =
yes<BR>&nbsp;guest only =3D=20
yes<BR>&nbsp;hide dot files =3D yes<BR>&nbsp;invalid users =3D =
root<BR>&nbsp;map to=20
guest =3D Bad User<BR>&nbsp;security =3D user<BR>&nbsp;writeable =3D =
no</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;#Logging options<BR>&nbsp;debug =
timestamp =3D=20
yes<BR>&nbsp;log level =3D 2<BR>&nbsp;log file =3D=20
/var/log/samba.log.%m<BR>&nbsp;max log size =3D 50</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[homes]<BR>&nbsp;comment =3D %U's home=20
folder<BR>&nbsp;guest ok =3D no<BR>&nbsp;guest only =3D =
no<BR>&nbsp;inherit=20
permissions =3D yes<BR>&nbsp;valid users =3D lex<BR>&nbsp;writeable =3D=20
yes</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[Music]<BR>&nbsp;browseable =3D =
yes<BR>&nbsp;comment=20
=3D Music folder<BR>&nbsp;path =3D /export/music</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[Upload]<BR>&nbsp;browseable =3D =
yes<BR>&nbsp;comment=20
=3D Upload folder<BR>&nbsp;inherit permissions =3D yes<BR>&nbsp;path =3D =

/export/upload<BR>&nbsp;writeable =3D yes</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[Optra]<BR>&nbsp;browseable =3D =
yes<BR>&nbsp;comment=20
=3D Lexmark Optra E310 printer<BR>&nbsp;path =3D =
/var/spool/samba<BR>&nbsp;print=20
command =3D /usr/bin/lpr -r %s<BR>&nbsp;printable =3D =
yes<BR>&nbsp;printer =3D=20
lp<BR>&nbsp;printing =3D BSD<BR></FONT><FONT face=3DArial =
size=3D2>--EOF</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>--ccd.conf:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>#<BR># /etc/ccd.conf<BR>#</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2># =
ccd&nbsp;ileave&nbsp;flags&nbsp;compnent=20
devices<BR>ccd0&nbsp;0&nbsp;none&nbsp;/dev/ad0s2e=20
/dev/ad3s2e<BR>--EOF</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Thanks in advance =
for any=20
help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; -Breen=20
Ouellette</FONT></DIV></BODY></HTML>

------=_NextPart_000_000D_01C03E0F.FB6A1980--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201c03e42$58517170$050210ac>