Re: [Samba] Winbind Samba 3.5.1

2010-04-23 Thread Giovani Moda
 Winbind log shows:
 [13916]: request interface version
 [13916]: request location of privileged pipe
 [13916]: pam auth markr
 [13753]: dual pam auth markr
 could not open handle to NETLOGON pipe
 Plain-text authentication for user markr returned 
 NT_STATUS_INVALID_HANDLE (PAM: 4)
 [13916]: request interface version
 [13916]: request misc info
 [13916]: request netbios name
 [13916]: request domain name
 [13916]: domain_info [APPEL]
 [13916]: pam auth crap domain: [APPEL] user: markr
 [13753]: pam auth crap domain: APPEL user: markr
 could not open handle to NETLOGON pipe (error:
NT_STATUS_INVALID_HANDLE)
 NTLM CRAP authentication for user [APPEL]\[markr] returned 
 NT_STATUS_INVALID_HANDLE (PAM: 4)

Just saw those on samba 3.5.2. Everything works (wbinfo -t, wbinfo -u,
etc), except authentication through winbind. My scenario is a PDC with
winbind authenticating on the same machine. Used to work fine on 3.4.x.

Any hints?

Thanks,

Giovani Moda

 

__ Information from ESET NOD32 Antivirus, version of virus
signature database 5035 (20100416) __

The message was checked by ESET NOD32 Antivirus.

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


Re: [Samba] Samba + BDE and slow speed on reading (long)

2008-02-07 Thread Giovani Moda - MR Informática
 SO_RCVBUF=1 has resolved the problem. I don't know why, but it 
did.


Both times, the server was connected to a D-Link DES-1024 switch. 
Switching


NIC's and cables had no effect, but SO_RCVBUF=1 solved it instantly. 
Could

it be related tho this version of samba and the problem I'm having now?

Any thoughts?

Thanks,

Giovani Moda

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

To: samba@lists.samba.org


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



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


[Samba] Samba + BDE and slow speed on reading (long)

2008-02-06 Thread Giovani Moda - MR Informática

Hello list.

I'm new here, and I'm joining because I'm having a problem wich I can't 
figure out the solution myself. Here's what's happening:


A Samba 3.0.24 is serving files to seven Windows XP clients. Three of those 
clients run an application with a BDE database. The problem is that when 
running this application on Samba, it gets very, VERY slow, causing it to 
hang. I have noticed also an unusual low speed when receiving files from the 
samba server over network. When sending files to the server, the speed is 
OK. Since the databases used by that apllication have about 50Mb each, the 
problem must be caused by that slow speed on receiving files from the 
server.


I've twiked the configuration a bit, and came to this results:

socket options = SO_RCVBUF=65535 SO_SNDBUF=65535 TCP_NODELAY 
IPTOS_LOWDELAY - Very slow on reading, fast when writing
socket options = TCP_NODELAY IPTOS_LOWDELAY - still slow on read, but a 
little better. Fast when writing
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768 - significant 
improvement when reading files, but the application still hangs due to the 
slow speed. Fast when reading.
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768 
SO_RCVBUF=32768 - same as above, but writing speed shows deterioration.


Other significant parameters:

  max connections = 50
  dos filetimes = yes
  max open files = 4000
  nt acl support = yes
  preserve case = yes
  strict locking = no
  deadtime = 15
  unix charset = iso8859-1
  display charset = cp850
  oplocks = no
  kernel oplocks = no
  level2 oplocks = no
 local master = yes
  os level = 64
  domain master = yes
  time server = yes
  preferred master = yes
  domain logons = yes
  name resolve order = wins bcast host lmhosts
  wins support = yes
  wins proxy = yes
  dns proxy = no


So, I went for socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768 
and got these results:


Copying a 45678592 bytes throug samba, it takes from 45 to 60 seconds to 
transfer. The same file though FTP takes only 3.9 seconds. I know FTP is the 
fastest protocol and cannot be compared to samba, but still, that's a HUGE 
difference.


As a desperate measure, I've copied the whole database to a XP machine, 
shared the folder to the network, mapped it to the other stations, and the 
application runs perfectly again.


Conclusion: there's definitely a problem when reading files from samba 
server. It's not network related, since FTP is really fast, and when serving 
the database from XP, the speed is OK too. The server is a brand new Core 2 
Duo E4500, 2GB RAM, 160 GB HD SATAII, NIC Realtek r8169 connected to a 
DES-1008D Gigabit Switch. The distro in question is FC5 fully updated.


As a related topic, I've came across a situation (two times and couting) 
when writing files to the samba server is painfully slow. On both cases, 
setting SO_RCVBUF=1 has resolved the problem. I don't know why, but it did. 
Both times, the server was connected to a D-Link DES-1024 switch. Switching 
NIC's and cables had no effect, but SO_RCVBUF=1 solved it instantly. Could 
it be related tho this version of samba and the problem I'm having now?


Any thoughts?

Thanks,

Giovani Moda

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


Re: [Samba] Samba + BDE and slow speed on reading (long)

2008-02-06 Thread Giovani Moda - MR Informática
Several posters have said that the Realtek 8168 and 8169 chips have caused 
slow file transfers with Samba.  They solved their problem by changing to 
another NIC.


Well, it's worth trying. I'll schedule the mainteinance with my client and 
let you guys know. Any restrictions with D-Link DGE-530T?


Thanks,

Giovani



Dale

Giovani Moda - MR Informática wrote:

Hello list.

I'm new here, and I'm joining because I'm having a problem wich I can't 
figure out the solution myself. Here's what's happening:


A Samba 3.0.24 is serving files to seven Windows XP clients. Three of 
those clients run an application with a BDE database. The problem is that 
when running this application on Samba, it gets very, VERY slow, causing 
it to hang. I have noticed also an unusual low speed when receiving files 
from the samba server over network. When sending files to the server, the 
speed is OK. Since the databases used by that apllication have about 50Mb 
each, the problem must be caused by that slow speed on receiving files 
from the server.


I've twiked the configuration a bit, and came to this results:

socket options = SO_RCVBUF=65535 SO_SNDBUF=65535 TCP_NODELAY 
IPTOS_LOWDELAY - Very slow on reading, fast when writing
socket options = TCP_NODELAY IPTOS_LOWDELAY - still slow on read, but a 
little better. Fast when writing
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768 - significant 
improvement when reading files, but the application still hangs due to 
the slow speed. Fast when reading.
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768 
SO_RCVBUF=32768 - same as above, but writing speed shows deterioration.


Other significant parameters:

  max connections = 50
  dos filetimes = yes
  max open files = 4000
  nt acl support = yes
  preserve case = yes
  strict locking = no
  deadtime = 15
  unix charset = iso8859-1
  display charset = cp850
  oplocks = no
  kernel oplocks = no
  level2 oplocks = no
 local master = yes
  os level = 64
  domain master = yes
  time server = yes
  preferred master = yes
  domain logons = yes
  name resolve order = wins bcast host lmhosts
  wins support = yes
  wins proxy = yes
  dns proxy = no


So, I went for socket options = TCP_NODELAY IPTOS_LOWDELAY 
SO_SNDBUF=32768 and got these results:


Copying a 45678592 bytes throug samba, it takes from 45 to 60 seconds to 
transfer. The same file though FTP takes only 3.9 seconds. I know FTP is 
the fastest protocol and cannot be compared to samba, but still, that's a 
HUGE difference.


As a desperate measure, I've copied the whole database to a XP machine, 
shared the folder to the network, mapped it to the other stations, and 
the application runs perfectly again.


Conclusion: there's definitely a problem when reading files from samba 
server. It's not network related, since FTP is really fast, and when 
serving the database from XP, the speed is OK too. The server is a brand 
new Core 2 Duo E4500, 2GB RAM, 160 GB HD SATAII, NIC Realtek r8169 
connected to a DES-1008D Gigabit Switch. The distro in question is FC5 
fully updated.


As a related topic, I've came across a situation (two times and couting) 
when writing files to the samba server is painfully slow. On both cases, 
setting SO_RCVBUF=1 has resolved the problem. I don't know why, but it 
did. Both times, the server was connected to a D-Link DES-1024 switch. 
Switching NIC's and cables had no effect, but SO_RCVBUF=1 solved it 
instantly. Could it be related tho this version of samba and the problem 
I'm having now?


Any thoughts?

Thanks,

Giovani Moda





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


[Samba] Samba + BDE and slow speed on reading (long)

2008-02-01 Thread Giovani Moda - MR Informática
Hello list.

I'm new here, and I'm joining because I'm having a problem wich I can't figure 
out the solution myself. Here's what's happening:

A Samba 3.0.24 is serving files to seven Windows XP clients. Three of those 
clients run an application with a BDE database. The problem is that when 
running this application on Samba, it gets very, VERY slow, causing it to hang. 
I have noticed also an unusual low speed when receiving files from the samba 
server over network. When sending files to the server, the speed is OK. Since 
the databases used by that apllication have about 50Mb each, the problem must 
be caused by that slow speed on receiving files from the server.

I've twiked the configuration a bit, and came to this results:

socket options = SO_RCVBUF=65535 SO_SNDBUF=65535 TCP_NODELAY IPTOS_LOWDELAY - 
Very slow on reading, fast when writing
socket options = TCP_NODELAY IPTOS_LOWDELAY - still slow on read, but a little 
better. Fast when writing
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768 - significant 
improvement when reading files, but the application still hangs due to the slow 
speed. Fast when reading.
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768 SO_RCVBUF=32768 - 
same as above, but writing speed shows deterioration.

Other significant parameters:

   max connections = 50
   dos filetimes = yes
   max open files = 4000
   nt acl support = yes
   preserve case = yes
   strict locking = no
   deadtime = 15
   unix charset = iso8859-1
   display charset = cp850
   oplocks = no
   kernel oplocks = no
   level2 oplocks = no
  local master = yes
   os level = 64
   domain master = yes
   time server = yes
   preferred master = yes
   domain logons = yes
   name resolve order = wins bcast host lmhosts
   wins support = yes
   wins proxy = yes
   dns proxy = no

So, I went for socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768 and 
got these results:

Copying a 45678592 bytes throug samba, it takes from 45 to 60 seconds to 
transfer. The same file though FTP takes only 3.9 seconds. I know FTP is the 
fastest protocol and cannot be compared to samba, but still, that's a HUGE 
difference.

As a desperate measure, I've copied the whole database to a XP machine, shared 
the folder to the network, mapped it to the other stations, and the application 
runs perfectly again.

Conclusion: there's definitely a problem when readind files from samba server. 
It's not network related, since FTP is really fast, and when serving the 
database from XP, the speed is OK too. The server is a brand new Core 2 Duo 
E4500, 2GB RAM, 160 GB HD SATAII. The switch is also new. The distro in 
question is FC5.

As a related topic, I've came across a situation (two times and couting) when 
writing files to the samba server is painfully slow. On both cases, setting 
SO_RCVBUF=1 has resolved the problem. I don't know why, but it did. Both times, 
the server was connected to a D-Link DES-1024 switch. Switching NIC's and 
cables had no effect, but SO_RCVBUF=1 solved it instantly. Could it be related 
tho this version of samba and the problem I'm having now?

Any thoughts?

Thanks,

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


[Samba] Samba 3.0.10 errors

2005-01-24 Thread Giovani Moda - MR Informtica
Hello,
I'm constantly getting those errors on my samba server:
[2005/01/24 11:04:16, 0] lib/util_sock.c:read_socket_data(384)
 read_socket_data: recv failure for 4. Error = Connection reset by peer
[2005/01/24 16:54:32, 0] lib/util_sock.c:get_peer_addr(1000)
 getpeername failed. Error was Transport endpoint is not connected
There are logs created with the client's IP numbers, filled with the errors 
mentioned above, and a log file named 0.0.0.0.log, also with those errors. 
The things is: there should NOT be log files named after the client's IP 
number, since my smb.conf have a log file = /var/log/samba/%m.log entry.

There are also log files ( the expected ones) named after the client's 
netbios named that contains no errors at all.

It appears that samba is, sometimes, unable to get the netbios name of the 
clients. I haven't seen those on other versions of samba, so I'm guessing 
that's not a default (or normal) operation.

Everything seems to be working fine, but these error messages are kinda 
worrying me. Any idea of what those are?

My configuration is samba-3.0.10, PDC, security = user. No winbind, no 
openldap, no ADS. All the clients are Windows XP SP2. Simples as it can be. 
But still, those errors.

I have tried all the settings I know, I've searched everywhere, but no luck 
on getting those fixed.

Any ideas would be much appreciated.
Thanks advanced;
Giovani 


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19/01/2005
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba