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> </DIV> <DIV><FONT face=3DArial size=3D2> 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). Is it possible that my smb.conf is causing=20 this? I will include it below. Also, one of the shares is = pointing=20 to a ccd virtual disk which consists of two 15GB partitions. Could = this be=20 causing problems? I will include my cdd.conf in this message = as=20 well. </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> This behavior is = erratic. =20 Sometimes machines log in just fine, other times no go. 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. = 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. 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> </DIV> <DIV><FONT face=3DArial size=3D2> 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. 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> </DIV> <DIV><FONT face=3DArial size=3D2>--smb.conf:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>[global]<BR> #Server = setup<BR> encrypt=20 passwords =3D yes<BR> local master =3D no<BR> netbios name =3D = JEEVES<BR> server string =3D<BR> workgroup =3D = BREENO</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> #Network = configuration<BR> allow hosts =3D=20 172.16.2. localhost</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> #Global share = values<BR> browseable =3D=20 no<BR> guest account =3D nobody<BR> guest ok =3D = yes<BR> guest only =3D=20 yes<BR> hide dot files =3D yes<BR> invalid users =3D = root<BR> map to=20 guest =3D Bad User<BR> security =3D user<BR> writeable =3D = no</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> #Logging options<BR> debug = timestamp =3D=20 yes<BR> log level =3D 2<BR> log file =3D=20 /var/log/samba.log.%m<BR> max log size =3D 50</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>[homes]<BR> comment =3D %U's home=20 folder<BR> guest ok =3D no<BR> guest only =3D = no<BR> inherit=20 permissions =3D yes<BR> valid users =3D lex<BR> writeable =3D=20 yes</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>[Music]<BR> browseable =3D = yes<BR> comment=20 =3D Music folder<BR> path =3D /export/music</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>[Upload]<BR> browseable =3D = yes<BR> comment=20 =3D Upload folder<BR> inherit permissions =3D yes<BR> path =3D = /export/upload<BR> writeable =3D yes</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>[Optra]<BR> browseable =3D = yes<BR> comment=20 =3D Lexmark Optra E310 printer<BR> path =3D = /var/spool/samba<BR> print=20 command =3D /usr/bin/lpr -r %s<BR> printable =3D = yes<BR> printer =3D=20 lp<BR> printing =3D BSD<BR></FONT><FONT face=3DArial = size=3D2>--EOF</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </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> </DIV> <DIV><FONT face=3DArial size=3D2># = ccd ileave flags compnent=20 devices<BR>ccd0 0 none /dev/ad0s2e=20 /dev/ad3s2e<BR>--EOF</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> Thanks in advance = for any=20 help.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> -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>