problem with Samba 2.2.3a (Suse dist)
Rafael Moll Campello
rafael.moll at tlc-solutions.com
Thu Nov 28 09:07:02 GMT 2002
> Hi,
> I have a problem with Samba 2.2.3a (Suse dist). We have a server , with =
> DHCP and Samba.We have migrated from Caldera 2.1.The clients are =
> Win95/98.All the thinghs seems to be Ok, but in a few minutes , the =
> clients lost the share units in Samba if nobody are using the units.I =
> modified samba.conf with:
> [global]
> deadtime=3D0
> keep alive =3D 30
>
> in order to resolve the problem, but I can=B4t do it. The clients lost =
> the conection even if some programs have files open. If you click over =
> the unit with the Explorer , reconnect it easily. We don=B4t have net =
> problems: ping work nice, and the network wires are tested and ok.We =
> dont have any problems with the old dist (Caldera).
> I use the same samba.conf with Suse dist that Caldera in order to test =
> , but nothing change...
> Any idea?
> Thanks
>
> /---------------/
> The harware are:
> Pentium IV 2,5=20
> QDI Platinix 2D/533 Mhz
> 512 Mb DDR Ram=20
> Hd Seagate 40 Gb 7200 rpm Barracuda.
>
> The samba.conf file are:
>
> # /etc/samba/smb.conf ist the main samba configuration file. Cf. the
> # manual page of smb.conf and the included documantation in
> # /usr/share/doc/packages/samba in order to understand the options
> # listed here and many more features.
> #
> # Lines in this example which starts with ; and # are ignored comment
> # ones. # indicates a comment and ; a deactivated example line.
> #
> # We suggest to use the command 'testparm' after any changes you made.
> #
> # Copyright (c) 1999 - 2001 SuSE GmbH Nuernberg, Germany.
> #
> # Please send bugfixes or comments to feedback at suse.de.
> #
> [global]
> workgroup =3D OFICINA
> server string =3D TLC SMB SERVER
> log file =3D /var/log/samba/smb.%m.%U
> debug level=3D2
> max log size =3D 50
> security =3D user
> encrypt passwords =3D yes
> smb passwd file =3D /etc/samba/smbpasswd
> username map =3D /etc/samba/smbusers
> socket options =3D TCP_NODELAY IPTOS_THROUGHPUT =
> SO_RCVBUF=3D4096 SO_SNDBUF=3D4096
> getwd cache =3D yes
> read size =3D 65536
> read prediction =3D yes
> read raw =3D no
> write raw =3D no
> max xmit =3D 16384
> deadtime=3D0
> keep alive =3D 30
>
> local master =3D yes
> os level =3D 33
> domain master =3D yes
> preferred master =3D yes
> domain logons =3D yes
> logon script =3D %U.bat
> include =3D /etc/samba/%m.conf
> include =3D /etc/samba/%U.conf
> include =3D /etc/samba/generic.conf
> default case =3D upper
> case sensitive =3D no
>
> # Where to store roving profiles (only for Win95 and WinNT)
> # %L substitutes for this servers netbios name, %U is username
> # You must uncomment the [Profiles] share below
> ; logon path =3D \\%L\Profiles\%U
> ; wins support =3D yes
>
> # WINS Server - Tells the NMBD components of Samba to be a WINS Client
> # Note: Samba can be either a WINS Server, or a WINS Client, but =
> NOT=20
> both
> ; wins server =3D w.x.y.z
>
> # WINS Proxy - Tells Samba to answer name resolution queries on
> # behalf of a non WINS capable client, for this to work there must be
> # at least one WINS Server on the network. The default is NO.
> ; wins proxy =3D yes
>
> # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
> # via DNS nslookups. The built-in default for versions 1.9.17 is yes,
> # this has been changed in version 1.9.18 to no.
> dns proxy =3D no
>
> # Case Preservation can be handy - system default is _no_
> # NOTE: These can be set on a per share basis
> ; preserve case =3D no
> ; short preserve case =3D no
> # Default case is normally upper case for all DOS files
> ; default case =3D lower
> # Be very careful with case sensitivity - it can break things!
> ; case sensitive =3D no
>
> >#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D Share Definitions =
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D
> [homes]
> comment =3D Home Directories
> ; this gives access to a 'Public' sub-directory in each user's home...
> ; (it is named 'public' as it is intended to be used by other sharing
> ; technologies (like NetWare, appletalk) too and may get disclosed due
> ; to weak protocols! -- hmm, even less secure than NFS? :)
> path =3D /apps/users/%U
> browseable =3D no
> writable =3D yes
> create mask =3D 0750
>
> # Un-comment the following and create the netlogon directory for Domain =
> Logons
> [netlogon]
> comment =3D Samba Network Logon Service
> path =3D /logon
> guest ok =3D no
> writable =3D no
> browsable =3D no
> root preexec =3D /usr/bin/hala.pl %U %h
>
>
> # Un-comment the following to provide a specific roving profile share
> # the default is to use the user's home directory
> ;[Profiles]
> ; path =3D /home/samba/profiles
> ; browseable =3D no
> ; guest ok =3D yes
>
>
> # A publicly accessible directory, but read only, except for people in
> # the "users" group
> [tot$]
> comment =3D disco_red
> volume =3D linux
> path =3D /apps
> browseable =3D yes
> public =3D yes
> writable =3D yes
> printable =3D no
> create mask =3D 0777
>
> [contabilidad$]
> comment =3D contabilidad
> volume =3D contabilidad
> path =3D /apps/contabilidad
> browseable =3D no
> public =3D yes
> writable =3D yes
> printable =3D no
> create mask =3D 0777
> [facturacion$]
> comment =3D facturacion
> volume =3D facturacion
> path =3D /apps/facturacion
> browseable =3D no
> public =3D yes
> writable =3D yes
> printable =3D no
> create mask =3D 0777
> [ofimatica$]
> comment =3D ofimatica
> volume =3D ofimatica
> path =3D /apps/ofimatica
> browseable =3D no
> public =3D yes
> writable =3D yes
> printable =3D no
> create mask =3D 0777
> [comunes$]
> comment =3D comunes
> volume =3D comunes
> path =3D /apps/comunes
> browseable =3D no
> public =3D yes
> writable =3D yes
> printable =3D no
> create mask =3D 0777
>
> # Other examples.
> #
> # This one is useful for people to share files, BUT
> # access to '/tmp' or '/var/tmp' should *not* be given lightly,
> # as this can (still) pose a security threat!
> # Better use a dedicate sub-directory to /(var/)tmp or something
> # like a [public] share!
> [tmp$]
> comment =3D Temporary file space
> path =3D /tmp
> read only =3D no
> public =3D yes
> browseable =3D no
***************************************
Rafael Moll Campello
Ingeniero Técnico Informático.
Dpto. Diseño Gráfico y Web
rafael.moll at tlc-solutions.com
"Prefiero molestar con la verdad que
complacer con adulaciones." (Séneca)
***************************************
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba-technical
mailing list