Re: [Samba] samba replacing novell

2010-11-24 Thread Mike Mercier
Hi,

If you experince slowdowns on Windows when the Novell client is
installed, you can try the following:

Start -> Control Panels -> Network Connection -> Advanced Menu ->
Advanced Settings -> Provider Order tab.

There you can change the order in which each network client is used
(moving the windows client above the novell client should help).

NOTE: Changing the order could make browsing your Novell
infrastructure slowdown...  you will have to test to see how things
work.

Mike

On Wed, Nov 24, 2010 at 8:29 AM, Matthew Daubenspeck
 wrote:
> On Wed, Nov 24, 2010 at 02:52:36PM +0200, Petre Bandac wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> I have found a workaround by installing a terminal server and having the
>> app work within the lan - browsing the database is ok, only when
>> printing to the local printer it takes about 30-40 sec
>>
>> however, I would like to find out what is the cause for this behaviour
>>
>> as shown by testparm, wins is enabled
>>
>> I will try to enter the machine in /etc/hosts and see if I get some
>> improvement
>
> Is the Novell client still installed?
>
> I have had MAJOR slowdowns when initially browsing anything on Samba, be
> it printers or shares, when the Novell client is still installed and
> functional. I've posted a couple of messages to list, but never really
> found the solution. If I remove the Novell client, or use a machine
> without it, browsing Samba is super quick and there are no issues. As
> soon as that client is installed, I notice the slowdown...
> --
>  Matthew Daubenspeck
>  http://oddprocess.org
>
> Gentoo Linux i686 Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
> 08:27:53 up 34 days, 16:16, 4 users, load average: 0.10, 0.05, 0.01
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba replacing novell

2010-11-24 Thread Matthew Daubenspeck
On Wed, Nov 24, 2010 at 02:52:36PM +0200, Petre Bandac wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I have found a workaround by installing a terminal server and having the
> app work within the lan - browsing the database is ok, only when
> printing to the local printer it takes about 30-40 sec
> 
> however, I would like to find out what is the cause for this behaviour
> 
> as shown by testparm, wins is enabled
> 
> I will try to enter the machine in /etc/hosts and see if I get some
> improvement

Is the Novell client still installed?

I have had MAJOR slowdowns when initially browsing anything on Samba, be
it printers or shares, when the Novell client is still installed and
functional. I've posted a couple of messages to list, but never really
found the solution. If I remove the Novell client, or use a machine
without it, browsing Samba is super quick and there are no issues. As
soon as that client is installed, I notice the slowdown...
-- 
  Matthew Daubenspeck
  http://oddprocess.org

Gentoo Linux i686 Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
08:27:53 up 34 days, 16:16, 4 users, load average: 0.10, 0.05, 0.01
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba replacing novell

2010-11-24 Thread Petre Bandac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have found a workaround by installing a terminal server and having the
app work within the lan - browsing the database is ok, only when
printing to the local printer it takes about 30-40 sec

however, I would like to find out what is the cause for this behaviour

as shown by testparm, wins is enabled

I will try to enter the machine in /etc/hosts and see if I get some
improvement

Moray Henderson wrote:
> Petre Bandac wrote:
>> - - when ran from a remote location (connected via openvpn), the app
> takes
>> a very long time to open, and when searching for records it takes more
>> than 2-3 minutes to display the results of the query (even though other
>> tests have shown the connectivity is ok and file transfer is as fast as
>> the line allows) - this happens even if this workstation is the only
> one
>> accesing the fileserver
> 
> Is name resolution working properly?  Windows shortcuts contain a hidden
> server name; if Windows has trouble resolving the server by name you can
> have long delays.  Similarly for database queries.
> 
> 
> Moray.
> "To err is human.  To purr, feline"
> 
> 
> 
> 
> 
> 

- --

Petre Bandac

Network Scientist

- -
pe...@kgb.ro
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFM7QqTwAhp/odORYgRAjHYAJ9sHclboiGZJoYetqysXhYOhXVFiwCgiN6I
9KgCMEO4b2uvzUaEG72Y/fI=
=LSSg
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba replacing novell

2010-11-24 Thread Moray Henderson
Petre Bandac wrote:
>- - when ran from a remote location (connected via openvpn), the app
takes
>a very long time to open, and when searching for records it takes more
>than 2-3 minutes to display the results of the query (even though other
>tests have shown the connectivity is ok and file transfer is as fast as
>the line allows) - this happens even if this workstation is the only
one
>accesing the fileserver

Is name resolution working properly?  Windows shortcuts contain a hidden
server name; if Windows has trouble resolving the server by name you can
have long delays.  Similarly for database queries.


Moray.
"To err is human.  To purr, feline"






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


Re: [Samba] samba replacing novell

2010-11-23 Thread Petre Bandac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hallo

attached is the tcpdump for the computer with the slow running app -
remote workstation with openvpn

(for the local computers - it is only the app that freezes, not the
whole operating system)

the workstations are all win xp

I shall test today from the remote workstation with the share from a 2k3
server and see what happens, in order to exactly locate where the
problem resides

I have also enabled debug level 10 and see what comes up; hopefully this
won't overload the server

thanks,

petre


Jeremy Allison wrote:
> On Tue, Nov 23, 2010 at 01:55:41AM +0200, Petre Bandac wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> hallo
>>
>> I have decomissioned an old novell netware serving as fileserver for a
>> foxpro app with a samba virtual freebsd machine under vmware esxi
>>
>> all works ok (time of response when browsing folders, throughput at
>> speed tests, etc), except the following foxpro related issues which I
>> could not solve in the  last week:
>>
>> - - when ran from LAN, the app randomly freezes from time to time
> 
> Can you get wireshark traces or debug level 10 logs of what is
> going on when the app freezes ? Does it eventually display an
> error message or is the client computer just frozen and needs
> to be rebooted ?
> 
>> - - when ran from a remote location (connected via openvpn), the app takes
>> a very long time to open, and when searching for records it takes more
>> than 2-3 minutes to display the results of the query (even though other
>> tests have shown the connectivity is ok and file transfer is as fast as
>> the line allows) - this happens even if this workstation is the only one
>> accesing the fileserver
>>
>> this behavior appeared only after switching from novell to samba
> 
> Again, traces of what is going on here would be needed. If the client
> machine is Win7, SMB2 support (due in Samba 3.6.0) might help as
> Microsoft have done lots of work on the SMB2 redirector for high
> latency links.
> 
> Jeremy.

- --

Petre Bandac

Network Scientist

- -
pe...@kgb.ro
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFM7EtqwAhp/odORYgRApB6AJ49ioulG2Z8I3x6kffLE5QUhI67RQCfZDjb
x8FXNHj0OW9adyxlMAwOFJE=
=O3eW
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] samba replacing novell

2010-11-23 Thread Jeremy Allison
On Tue, Nov 23, 2010 at 01:55:41AM +0200, Petre Bandac wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> hallo
> 
> I have decomissioned an old novell netware serving as fileserver for a
> foxpro app with a samba virtual freebsd machine under vmware esxi
> 
> all works ok (time of response when browsing folders, throughput at
> speed tests, etc), except the following foxpro related issues which I
> could not solve in the  last week:
> 
> - - when ran from LAN, the app randomly freezes from time to time

Can you get wireshark traces or debug level 10 logs of what is
going on when the app freezes ? Does it eventually display an
error message or is the client computer just frozen and needs
to be rebooted ?

> - - when ran from a remote location (connected via openvpn), the app takes
> a very long time to open, and when searching for records it takes more
> than 2-3 minutes to display the results of the query (even though other
> tests have shown the connectivity is ok and file transfer is as fast as
> the line allows) - this happens even if this workstation is the only one
> accesing the fileserver
> 
> this behavior appeared only after switching from novell to samba

Again, traces of what is going on here would be needed. If the client
machine is Win7, SMB2 support (due in Samba 3.6.0) might help as
Microsoft have done lots of work on the SMB2 redirector for high
latency links.

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


Re: [Samba] samba replacing novell

2010-11-23 Thread petre
hallo, please see answers below

> Does the application create temporary files?  Or does it try to create
> temporary files?  Can you configure the app to use the local client hard
> drive for temporary files.I found that some MS Office Apps do funny
> things with file permissions that are more likely to show up on a Samba
> server (mapping NTFS to Unix permissions) than on a Windows file server
> (native NTFS.)

the shortcuts for the app use start in = network path and running
directory = c:\ (used for tmp files)

>
> What version of Novell Netware?  Were you using IPX/SPX or TCP/IP?  Where
> you using the Netware client from Novell or the one from Microsoft?

the workstations had the novell netware client installed on (version 4 if
I am not mistaking) and the server was from around '96-'99

> Are you using a UNC path (e.g. \\myserver\share1) or drive mappings to the
> network share (e.g. P:  is mapped to \\myserver\share1.)

there is a script ran from startup which states something like

net use r: \\ip.add.re.ss\share /persistent:yes /USER:\user password

I have my reasons not to have a domain deployed there

I had a windows 2003 server installed as a virtual machine and will test
tomorrow if the behaviour is the same

I would like to keep the samba deployment, though ...

>
>
>
>
>
> -Original Message-
> From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
> On Behalf Of Petre Bandac
> Sent: Monday, November 22, 2010 6:56 PM
> To: samba@lists.samba.org
> Subject: [Samba] samba replacing novell
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> hallo
>
> I have decomissioned an old novell netware serving as fileserver for a
> foxpro app with a samba virtual freebsd machine under vmware esxi
>
> all works ok (time of response when browsing folders, throughput at
> speed tests, etc), except the following foxpro related issues which I
> could not solve in the  last week:
>
> - - when ran from LAN, the app randomly freezes from time to time
>
> - - when ran from a remote location (connected via openvpn), the app takes
> a very long time to open, and when searching for records it takes more
> than 2-3 minutes to display the results of the query (even though other
> tests have shown the connectivity is ok and file transfer is as fast as
> the line allows) - this happens even if this workstation is the only one
> accesing the fileserver
>
> this behavior appeared only after switching from novell to samba
>
> the question which would summarize this situation would be "what exactly
> did the novell netware for the foxpro app which samba does/cannot do?"
>
> I have tried with
>
> level2 oplocks = no
> oplocks = no
>
> added IPTOS_THROUGHPUT to socket options
>
> and the same result
>
> testparm output is below
>
>
> thank you for your time,
>
> petre
>
> ##
>
> [global]
> workgroup = SOME_WORKGROUP
> server string = fileserver
> security = SHARE
> map to guest = Bad Password
> guest account = conta
> client lanman auth = Yes
> log file = /var/log/samba34/log.%m
> max log size = 50
> socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 TCP_NODELAY
> dns proxy = No
> wins support = Yes
>
>
> - --
>
> Petre Bandac
>
> Network Scientist
>
> - -
> pe...@kgb.ro
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iD8DBQFM6wL9wAhp/odORYgRAriGAKCbR46R9Yko64aWuMxK9z8/af/FCACfV6Am
> Qfm0+MMXKRrzli3rNFKhhf8=
> =qTzg
> -END PGP SIGNATURE-
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>

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


Re: [Samba] samba replacing novell

2010-11-22 Thread Gaiseric Vandal
Does the application create temporary files?  Or does it try to create
temporary files?  Can you configure the app to use the local client hard
drive for temporary files.I found that some MS Office Apps do funny
things with file permissions that are more likely to show up on a Samba
server (mapping NTFS to Unix permissions) than on a Windows file server
(native NTFS.)   


What version of Novell Netware?  Were you using IPX/SPX or TCP/IP?  Where
you using the Netware client from Novell or the one from Microsoft?

Are you using a UNC path (e.g. \\myserver\share1) or drive mappings to the
network share (e.g. P:  is mapped to \\myserver\share1.)






-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
On Behalf Of Petre Bandac
Sent: Monday, November 22, 2010 6:56 PM
To: samba@lists.samba.org
Subject: [Samba] samba replacing novell

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hallo

I have decomissioned an old novell netware serving as fileserver for a
foxpro app with a samba virtual freebsd machine under vmware esxi

all works ok (time of response when browsing folders, throughput at
speed tests, etc), except the following foxpro related issues which I
could not solve in the  last week:

- - when ran from LAN, the app randomly freezes from time to time

- - when ran from a remote location (connected via openvpn), the app takes
a very long time to open, and when searching for records it takes more
than 2-3 minutes to display the results of the query (even though other
tests have shown the connectivity is ok and file transfer is as fast as
the line allows) - this happens even if this workstation is the only one
accesing the fileserver

this behavior appeared only after switching from novell to samba

the question which would summarize this situation would be "what exactly
did the novell netware for the foxpro app which samba does/cannot do?"

I have tried with

level2 oplocks = no
oplocks = no

added IPTOS_THROUGHPUT to socket options

and the same result

testparm output is below


thank you for your time,

petre

##

[global]
workgroup = SOME_WORKGROUP
server string = fileserver
security = SHARE
map to guest = Bad Password
guest account = conta
client lanman auth = Yes
log file = /var/log/samba34/log.%m
max log size = 50
socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 TCP_NODELAY
dns proxy = No
wins support = Yes


- --

Petre Bandac

Network Scientist

- -
pe...@kgb.ro
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFM6wL9wAhp/odORYgRAriGAKCbR46R9Yko64aWuMxK9z8/af/FCACfV6Am
Qfm0+MMXKRrzli3rNFKhhf8=
=qTzg
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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