Re: [Samba] samba file locking

2010-03-14 Thread Janez Kosmrlj
On Mon, Mar 15, 2010 at 6:52 AM, Janez Kosmrlj wrote: > > >> >>> Hi, >>> I tried your configuration. Everything works, as long as i test with text >>> files. But when i tried with the java application i just get a lot of the >>> folowing errors: >>> *mmap failed for CEN and END part of zip file* >

Re: [Samba] Samba/Unix password sync with LDAP backend

2010-03-14 Thread Miguel Medalha
I suppose that this is not possible due to differences in hashing methods. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

[Samba] Samba/Unix password sync with LDAP backend

2010-03-14 Thread Miguel Medalha
I have been using Samba+Linux+openLDAP. The password synchronization between the Samba and Unix accounts works well with the use of the "ldap passwd sync" parameter in smb.conf. Now I am in the process of installing my first server using CentOS/Red Hat/389 Directory Server and this does not wo

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread John Drescher
>> Give a man a switch, and he'll switch! > What about? What "switch" you mean? The "switch" here is a metaphor for ability to change the default socket options. Basically giving you an ability to change some setting does not mean the setting will help if you do change it. John -- To unsubscrib

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread live.fx
Helmut Hullen wrote: > > Give a man a switch, and he'll switch! > Viele Gruesse! > Helmut > What about? What "switch" you mean? -- View this message in context: http://old.nabble.com/Samba-3.5-slow.-Help-with-benchmarks-%21-tp27894473p27897251.html Sent from the Samba - General mailing list

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread live.fx
Miguel Medalha wrote: > > >> Can you show me, how yours SAMBA work in Gigabit LAN ? What speeds ? >> > > I can't measure them right now but I can tell you that I have 2 networks > consisting of Samba Domain Controllers serving only Windows clients and > the network speeds are very high.

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread live.fx
John M. Drescher wrote: > > Socket options will not quadruple your speed. > > I would start by investigating the reason for slowness. Is this with > small files? What performance do you get for a 4GB file? Could > permissions be slowing you down? Could it be the raid? > > Thanks for attenti

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread Helmut Hullen
Hallo, John, Du meintest am 14.03.10: >> I just did a search in Google and I also found the warnings about >> the use of "sockect options" with Linux kernel 2.6. So, I suppose >> that one finds what one is looking for... > I have seen enough recommendations not to mess with the socket > options

Re: [Samba] XP clients cannot find profile after logout when re-login

2010-03-14 Thread Adam
check the perms of /var/lib/samba/profiles/username set to atleast 700 and owned by that user? Matt wrote: I'm facing a problem with logins on XP (only used by now) clients when a user has logged out first. The user starts his PC, he is able to login to the domain and igets his profile in a

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread Miguel Medalha
From John H Terpstra, one of the Samba developers: "This parameter is counter-productive since the 2.6 kernel auto-tunes the socket send and receive buffer sizes. Suggest you delete it." -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.o

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread John Drescher
> I just did a search in Google and I also found the warnings about the use of > "sockect options" with Linux kernel 2.6. So, I suppose that one finds what > one is looking for... > -- I have seen enough recommendations not to mess with the socket options on modern kernels. John -- To unsubscribe

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread John Drescher
> I`m about "google search". Most results is about "samba performance tuning" > and contain "socket options" improvements. > Socket options will not quadruple your speed. > I would start by investigating the reason for slowness. Is this with small files? What performance do you get for a 4GB fil

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread Miguel Medalha
I`m about "google search". Most results is about "samba performance tuning" and contain "socket options" improvements. I just did a search in Google and I also found the warnings about the use of "sockect options" with Linux kernel 2.6. So, I suppose that one finds what one is looking fo

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread live.fx
Miguel Medalha wrote: > > >> I use "socket options" because 99% places in Internet recommends this, >> and >> no one say about "modern kernels" - really. You are first :) And of >> course, >> this options not give me any visible effect. >> >> > > The problem with the information on the I

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread Miguel Medalha
Can you show me, how yours SAMBA work in Gigabit LAN ? What speeds ? I can't measure them right now but I can tell you that I have 2 networks consisting of Samba Domain Controllers serving only Windows clients and the network speeds are very high. One of the networks is dedicated to Des

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread Miguel Medalha
I use "socket options" because 99% places in Internet recommends this, and no one say about "modern kernels" - really. You are first :) And of course, this options not give me any visible effect. The problem with the information on the Internet is that it persists, even if it is no long

[Samba] Persistent error in documentation

2010-03-14 Thread Miguel Medalha
The book "Samba 3 By Example", under section "5.4.5 LDAP Initialization and Creation of User and Group Accounts", contains the following statement: « The configuration file for the |nss_ldap| library is the file |/etc/ldap.conf| that provides only one possible LDAP search command that is speci

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread live.fx
Miguel Medalha wrote: > >> socket options = SO_BROADCAST SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 >> TCP_NODELAY IPTOS_LOWDELAY > > It has been repeated "ad nauseam" that with modern kernels you shouldn't > use "socket options" unless you know very well what you are doing and > you have a v

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread Miguel Medalha
/|use sendfile|/ = yes Ooops! Something went wrong with copy/paste. Of course the option should be: use sendfile = yes -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread Miguel Medalha
socket options = SO_BROADCAST SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 TCP_NODELAY IPTOS_LOWDELAY It has been repeated "ad nauseam" that with modern kernels you shouldn't use "socket options" unless you know very well what you are doing and you have a very good reason for doing so.

[Samba] Samba 3.5 slow. Help with benchmarks !

2010-03-14 Thread live.fx
Situation: Server: Linux OpenSUSE 11.2 x86 fileserver. Quad Core CPU, 2 Gb RAM, Raid 5 SMB-shared massive. 2TB Samba 3.5.1 Clients: 16 Linux clients (OpenSUSE 11.2) - connect to server trough NFS. 8 Windows clients (5 Windows XP, 3 or 4 Windows 7). Server - is member of windows Domain. (anot