Re: Re: [Samba] slow connect

2003-03-17 Thread JJunge

Maybe your Server does not have the one and only master browser table.
To guarantee, that the server is the maste browser ad in smb.conf :

   os level = 250
   name resolve order = wins lmhosts host bcast
   wins support = yes
   preferred master = yes
   local master = yes

The higher the os level, the more possible is the election of the server as
master brower,
a value of 250 is higher than any MS server or client will have by default.
Make shure nmbd is started.
preferred master and local master will help to make shure your server hast
the one and only master
browser table. The installation of a wins server will reduce the amount of
broadcast clients will perform
just to say "hello my name is  and im still in the network"

To guarantee the client is using the wins server add in dhcpd.conf in the
host section, where 192.168.0.1
should be replaced by your wins servers ip:

   # WINS Server
   option netbios-node-type 8;
   option netbios-name-servers 192.168.0.1;

Every workstation or server that ist not ip configured by dhcp add the wins
server by hand.



---

Jörg Junge
EDV-Koordinator

Paritätischer Wohlfahrtsverband
Landesverband Thüringen e.V.
Bergstr. 11
99192 Neudietendorf

Tel : +49 36202 26 204
Fax: +49 36202 26 234




Hi Norman,

It's my smb.conf file

How do you think ? What is wrong ?

to slow connect :(

Dariusz

Thanks




--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-16 Thread Dariusz Blada

- Original Message -
From: "Norman Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 5:08 PM
Subject: Re: [Samba] slow connect


> Did you try putting the w2k's ip in your samba server's host file?
>
> Norman
>
> Dariusz Blada wrote:
>
> >Hello !
> >
> >My problem is :
> >
> >I have very slow transfer if I copy files from server samba to windows
2000.
> >In the opposite direction transfer is very good.
> >
> >Please help
> >
> >Greet All
> >
> >
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Hi Norman , Hi people !

This case finished very good for me ,because I solved problem .

What was wrong! It's only phisical connect (conductor)
That wasn't configuraton's problems

See ya

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-16 Thread Dariusz Blada

Hi People !

I checked my connect via ftp. And problem is the same . I copyed one file
3,6 MB and when ...
from windows to linux speed was very good ,but
from linux to windows speed was very very slowly

These behavior is in case of samba

What should I do now ?

Greetings to Norman Zhang


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Rashkae
Have you tried tranfering files both ways with ftp to rule out any
possible network configuration errors?


On Fri, 14 Mar 2003, Norman Zhang wrote:

Hi Darek,

Your config looks good. I don't have any clues yet. Do you have the latest
update from Samba? Does the slow transfer works for small files or large
files transfer?

Norman

- Original Message -
From: "Dariusz Blada" <[EMAIL PROTECTED]>
To: "Norman Zhang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 10:56 AM
Subject: Re: [Samba] slow connect

> Did you try putting the w2k's ip in your samba server's host file?
>
> >I have very slow transfer if I copy files from server samba to windows
> >2000. In the opposite direction transfer is very good.

[global]
   workgroup = BDFG
   netbios name = lx2000
   server string = LinuxPvsw2000i
   hosts allow = 192.168.100. 127.
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

   pam password change = yes
   obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no

[PSQLDATA]
 comment = Pervasive databases
 path = /usr/local/psql/data
 force user = psql
 force group = pvsw
 read only = No
 create mask = 0664
 directory mask = 0775
 public = yes

[PVPIPE$]
 comment = Pervasive pipes
 path = /usr/local/psql/etc/pipe
 # only members of group pvsw will have access
 # valid users = @pvsw
 # Absolutely necessary - prevents caching
 oplocks = no
 read only = yes
 # browseable = No

[lxbdf]
 comment = dysk na linuksie
 path = /var/lxbdf
 force user = psql
 force group = pvsw
 read only = No
 create mask = 0664
 directory mask = 0775
 public = yes

Dariusz

Thanks

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Norman Zhang
Hi Darek,

Your config looks good. I don't have any clues yet. Do you have the latest
update from Samba? Does the slow transfer works for small files or large
files transfer?

Norman

- Original Message -
From: "Dariusz Blada" <[EMAIL PROTECTED]>
To: "Norman Zhang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 10:56 AM
Subject: Re: [Samba] slow connect

> Did you try putting the w2k's ip in your samba server's host file?
>
> >I have very slow transfer if I copy files from server samba to windows
> >2000. In the opposite direction transfer is very good.

[global]
   workgroup = BDFG
   netbios name = lx2000
   server string = LinuxPvsw2000i
   hosts allow = 192.168.100. 127.
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

   pam password change = yes
   obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no

[PSQLDATA]
 comment = Pervasive databases
 path = /usr/local/psql/data
 force user = psql
 force group = pvsw
 read only = No
 create mask = 0664
 directory mask = 0775
 public = yes

[PVPIPE$]
 comment = Pervasive pipes
 path = /usr/local/psql/etc/pipe
 # only members of group pvsw will have access
 # valid users = @pvsw
 # Absolutely necessary - prevents caching
 oplocks = no
 read only = yes
 # browseable = No

[lxbdf]
 comment = dysk na linuksie
 path = /var/lxbdf
 force user = psql
 force group = pvsw
 read only = No
 create mask = 0664
 directory mask = 0775
 public = yes

Dariusz

Thanks

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Dariusz Blada

- Original Message -
From: "Norman Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 5:08 PM
Subject: Re: [Samba] slow connect


> Did you try putting the w2k's ip in your samba server's host file?
>
> Norman
>
> Dariusz Blada wrote:
>
> >Hello !
> >
> >My problem is :
> >
> >I have very slow transfer if I copy files from server samba to windows
2000.
> >In the opposite direction transfer is very good.
> >
> >Please help
> >
> >Greet All
> >
> >
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Hi Norman,

It's my smb.conf file

How do you think ? What is wrong ?

to slow connect :(

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#=== Global Settings
=
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = BDFG
   netbios name = lx2000

# server string is the equivalent of the NT Description field
   server string = LinuxPvsw2000i

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
   hosts allow = 192.168.100. 127.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
;   printcap name = /etc/printcap
;   load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
;   printing = lprng

# Uncomment this if you want a guest account, you must add this to
/etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
   max log size = 0

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = user

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *
;   password server = 

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd

# The following is needed to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
;   ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#the encrypted SMB passwords. They allow the Unix password
#to be kept in sync with the SMB password.
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.

   pam password change = yes

# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /etc/samba/smb.con

Re: [Samba] slow connect

2003-03-14 Thread Dariusz Blada

- Original Message -
From: "Norman Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 5:08 PM
Subject: Re: [Samba] slow connect


> Did you try putting the w2k's ip in your samba server's host file?
>
> Norman
>
> Dariusz Blada wrote:
>
> >Hello !
> >
> >My problem is :
> >
> >I have very slow transfer if I copy files from server samba to windows
2000.
> >In the opposite direction transfer is very good.
> >
> >Please help
> >
> >Greet All
> >
> >
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Hi Norman,

Have you got any ideas yet ?

Please help!

Dariusz


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Dariusz Blada
[EMAIL PROTECTED] etc]# /sbin/service smb restart
Shutting down SMB services:[  OK  ]
Shutting down NMB services:[  OK  ]
Starting SMB services: [  OK  ]
Starting NMB services: [  OK  ]
[EMAIL PROTECTED] etc]# /sbin/service xinetd restart
Stopping xinetd:   [  OK  ]
Starting xinetd:   [  OK  ]
[EMAIL PROTECTED] etc]#

Hi Norman

I putted these entries and without results :(
and I restarted services (look above)

Darek (Dariusz)

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Norman Zhang
Hi Dariusz,

Please add the entries in both lmhosts and hosts. lmhosts requires NetBIOS
name rather than host name. Even tough, your W2K receives IP from a DHCP, if
you set the lease time to long enough, most of the time the IP does not
change. Try this first see if it helps.

Norman

- Original Message -
From: "Dariusz Blada" <[EMAIL PROTECTED]>
To: "Norman Zhang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 9:29 AM
Subject: Re: [Samba] slow connect

hello

I added lines in files /etc/samba/lmhosts (is it correct file)

or I should add these lines in files /etc/hosts ?

Thanks

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Dariusz Blada

- Original Message -
From: "Norman Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 6:20 PM
Subject: Re: [Samba] slow connect


> Add the IP address and host name of your W2K machine to the hosts file (on
a
> separate line below 127.0.0.1 localhost).
>
> e.g.,
>
> your.w2k.ip.addressyour.w2k.host.name
>
> HTH,
> Norman
>
> - Original Message -
> From: "Dariusz Blada" <[EMAIL PROTECTED]>
> To: "Norman Zhang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, March 14, 2003 8:51 AM
> Subject: Re: [Samba] slow connect
>
>
> My file named lmhosts contain :
>
> 127.0.0.1localhost
>
> Is it good? if not what have I should do?
>
> Thanks
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

hello

I added lines in files /etc/samba/lmhosts (is it correct file)

or I should add these lines in files /etc/hosts ?

Thanks

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Dariusz Blada
Yes I was putting the w2k's ip in my samba server's host file (lmhost) but
without result.

My computer with w2k receive ip from dhcp linux

What have I should do in this case ?



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Norman Zhang
Add the IP address and host name of your W2K machine to the hosts file (on a
separate line below 127.0.0.1 localhost).

e.g.,

your.w2k.ip.addressyour.w2k.host.name

HTH,
Norman

- Original Message -
From: "Dariusz Blada" <[EMAIL PROTECTED]>
To: "Norman Zhang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 8:51 AM
Subject: Re: [Samba] slow connect


My file named lmhosts contain :

127.0.0.1localhost

Is it good? if not what have I should do?

Thanks

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Dariusz Blada

- Original Message -
From: "Norman Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 5:08 PM
Subject: Re: [Samba] slow connect


> Did you try putting the w2k's ip in your samba server's host file?
>
> Norman
>
> Dariusz Blada wrote:
>
> >Hello !
> >
> >My problem is :
> >
> >I have very slow transfer if I copy files from server samba to windows
2000.
> >In the opposite direction transfer is very good.
> >
> >Please help
> >
> >Greet All
> >
> >
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

My file named lmhosts contain :

127.0.0.1localhost

Is it good? if not what have I should do?

Thanks

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] slow connect

2003-03-14 Thread Norman Zhang
Did you try putting the w2k's ip in your samba server's host file?

Norman

Dariusz Blada wrote:

Hello !

My problem is :

I have very slow transfer if I copy files from server samba to windows 2000.
In the opposite direction transfer is very good.
Please help

Greet All
 



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] slow connect

2003-03-14 Thread Dariusz Blada
Hello !

My problem is :

I have very slow transfer if I copy files from server samba to windows 2000.
In the opposite direction transfer is very good.

Please help

Greet All
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba