[Samba] Samba performance tuning

2007-10-08 Thread Daniel L. Miller
Hi all! I've seen a number of posts regarding Samba performance - either comments about perceived poor performance, or recommended parameter changes. Instead of some arbitrary buffer numbers, or "play with it until it works", are there any analysis tools that can give quantitative answers ?

Re: [Samba] SWAT smbpasswd authentication

2007-10-08 Thread Andrew Bartlett
On Tue, 2007-09-18 at 18:16 +0200, Antoine Jacoutot wrote: > On Monday 17 September 2007 20:44:23 Antoine Jacoutot wrote: > > Stupid question but is it possible to make SWAT use the smbpasswd file > > to authenticate users instead of the system passwd file? > > Hey guys. > > I'd just like to know

Re: [Samba] numerous IPC$ connections

2007-10-08 Thread simo
On Mon, 2007-10-01 at 10:06 -0400, Mike Davis wrote: > After upgrading to 3.0.26a and moving to linux my member > server gets hundreds of IPC$ connections when I run > smbstatus. I also see in my logs the following... > > [2007/10/01 10:01:15, 0] > lib/util_tdb.c:tdb_chainlock_with_timeout_int

Re: [Samba] Can't chown a file to an ADS username

2007-10-08 Thread Stas
the winbindd.log you posted contains winbind startup messages? if not try to restart winbind and check winbind log for errors . /etc/nsswitch.conf contains winbind related strings? On 10/8/07, Eric Diven <[EMAIL PROTECTED]> wrote: > I'm not actually getting much from it. I'm assuming that all of

RE: [Samba] Can't chown a file to an ADS username

2007-10-08 Thread Eric Diven
Okay, I've just tried this on my working solaris setup, and I definitely get stuff in the log file when I run getent passwd. Is there an nsswitch log that would tell me if nsswitch is even trying to call the winbind libraries? ~Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EM

[Samba] Mysterious Messages in Log File

2007-10-08 Thread Matthias Balke
Hi everybody, I have some Problems with my Samba Server. My Log is full of these messages: Oct 8 19:01:12 smbd[6170]: getpeername failed. Error was Der Socket ist nicht verbunden Oct 8 19:01:12 smbd[27824]: getpeername failed. Error was Der Socket ist nicht verbunden Oct 8 19:01:12

Re: [Samba] Samba v3.0.26a

2007-10-08 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam Tauno Williams wrote: >> I got samba 3.0.26a on my Fedora 7, and when i try to add users with >> smbpasswd -a username, it only works if the user exists as a linux >> user... i got a Centos 4.4 system with samba 3.0.10 and it works even >> if the

RE: [Samba] Can't chown a file to an ADS username

2007-10-08 Thread Eric Diven
I'm not actually getting much from it. I'm assuming that all of winbinds logging goes to [logpath]/winbindd.log. If that's the case, I'm seeing nsswitch related stuff happening when winbind starts up, but not when I run getent passwd. I'm running winbind at debug level 3. [EMAIL PROTECTED] ~]# c

Re: [Samba] Re: Unusable performance over WAN (part 2)

2007-10-08 Thread James Lamanna
On 10/8/07, Mike Eggleston <[EMAIL PROTECTED]> wrote: > On Mon, 08 Oct 2007, James Lamanna might have said: > > > On 10/8/07, Mike Eggleston <[EMAIL PROTECTED]> wrote: > > > On Mon, 08 Oct 2007, James Lamanna might have said: > > > > > > > So as it turns out, apparently it was a window scaling issu

Re: [Samba] Re: Unusable performance over WAN (part 2)

2007-10-08 Thread Mike Eggleston
On Mon, 08 Oct 2007, James Lamanna might have said: > On 10/8/07, Mike Eggleston <[EMAIL PROTECTED]> wrote: > > On Mon, 08 Oct 2007, James Lamanna might have said: > > > > > So as it turns out, apparently it was a window scaling issue. > > > Turning on an excessively large window size on the route

Re: [Samba] Re: Unusable performance over WAN (part 2)

2007-10-08 Thread James Lamanna
On 10/8/07, Mike Eggleston <[EMAIL PROTECTED]> wrote: > On Mon, 08 Oct 2007, James Lamanna might have said: > > > So as it turns out, apparently it was a window scaling issue. > > Turning on an excessively large window size on the routers (thereby > > enabling dynamic TCP window scaling) seems to h

Re: [Samba] Re: Unusable performance over WAN (part 2)

2007-10-08 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Eggleston wrote: > On Mon, 08 Oct 2007, James Lamanna might have said: > >> So as it turns out, apparently it was a window scaling issue. >> Turning on an excessively large window size on the routers (thereby >> enabling dynamic TCP window scalin

Re: [Samba] Re: Unusable performance over WAN (part 2)

2007-10-08 Thread Mike Eggleston
On Mon, 08 Oct 2007, James Lamanna might have said: > So as it turns out, apparently it was a window scaling issue. > Turning on an excessively large window size on the routers (thereby > enabling dynamic TCP window scaling) seems to have fixed the issue. I > now get transfer rates around 130-160k

Re: [Samba] Re: Unusable performance over WAN (part 2)

2007-10-08 Thread James Lamanna
On 10/8/07, James Lamanna <[EMAIL PROTECTED]> wrote: > On 10/8/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > On 10/8/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > > On 10/7/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > > > On 10/7/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > > > > On 1

[Samba] Migrate Files and Shares

2007-10-08 Thread Vijay S
I have read about the net commands and the possible use of robocopy for migrating shares and files (with ACL preservation) from Windows to Samba. I have also read about many users who have posted various errors with both methods (error 5, access_denied, etc). However, I have been unable to find a

Re: [Samba] Re: Unusable performance over WAN (part 2)

2007-10-08 Thread James Lamanna
On 10/8/07, James Lamanna <[EMAIL PROTECTED]> wrote: > On 10/8/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > On 10/7/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > > On 10/7/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > > > On 10/7/07, Volker Lendecke <[EMAIL PROTECTED]> wrote: > > > > > On

Re: [Samba] Re: Unusable performance over WAN (part 2)

2007-10-08 Thread James Lamanna
On 10/8/07, James Lamanna <[EMAIL PROTECTED]> wrote: > On 10/7/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > On 10/7/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > > On 10/7/07, Volker Lendecke <[EMAIL PROTECTED]> wrote: > > > > On Sun, Oct 07, 2007 at 09:31:23AM -0700, James Lamanna wrote: >

Re: [Samba] Can't chown a file to an ADS username

2007-10-08 Thread Stas
winbind's log may be helpful On 10/8/07, Eric Diven <[EMAIL PROTECTED]> wrote: > I've got a samba install on Linux with winbind installed, etc. I've > configured it the same as I have under Solaris, but for some reason, I > can't chown a file to an AD username. I have joined the box to the > d

RE: [Samba] Can't chown a file to an ADS username

2007-10-08 Thread Eric Diven
Samba version is 3.0.24, running on CentOS 4.3, sorry about that. ~Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Diven Sent: Monday, October 08, 2007 12:35 PM To: samba@lists.samba.org Subject: [Samba] Can't chown a file to an ADS username I

[Samba] Can't chown a file to an ADS username

2007-10-08 Thread Eric Diven
I've got a samba install on Linux with winbind installed, etc. I've configured it the same as I have under Solaris, but for some reason, I can't chown a file to an AD username. I have joined the box to the domain, I can wbinfo -u/-g and get lists of users and groups on the domain. When I run get

Re: [Samba] smbd process per user ( Samba 3 + Terminal server )

2007-10-08 Thread Stas
Terminal server already configured with "EnableMultiUser=1" , but all sessions from Terminal server appears under same PID : file-srv:~ # net status sessions PID Username Group Machine --- 8742 DOMAIN\user1 DOMAIN

Re: [Samba] Re: Samba + LDAP

2007-10-08 Thread Adam Tauno Williams
> Ok, lets put this better, maybe i confused some stuff... > I got my ldap server on the centos machine, lots of users configured > there, and works fine on the samba of that machine. > Then i got Fedora 7 machine, with Samba configured to authenticate from > the centos machine LDAP. > When i try t

Re: [Samba] Re: Unusable performance over WAN (part 2)

2007-10-08 Thread James Lamanna
On 10/7/07, James Lamanna <[EMAIL PROTECTED]> wrote: > On 10/7/07, James Lamanna <[EMAIL PROTECTED]> wrote: > > On 10/7/07, Volker Lendecke <[EMAIL PROTECTED]> wrote: > > > On Sun, Oct 07, 2007 at 09:31:23AM -0700, James Lamanna wrote: > > > > > > > Server sends 1500 byte packet > > > > Client send

[Samba] Re: Samba + LDAP

2007-10-08 Thread Ricardo Manuel Esteves (VI)
Ok, lets put this better, maybe i confused some stuff... I got my ldap server on the centos machine, lots of users configured there, and works fine on the samba of that machine. Then i got Fedora 7 machine, with Samba configured to authenticate from the centos machine LDAP. When i try to connect

Re: [Samba] Samba v3.0.26a

2007-10-08 Thread Adam Tauno Williams
> I got samba 3.0.26a on my Fedora 7, and when i try to add users with > smbpasswd -a username, it only works if the user exists as a linux > user... i got a Centos 4.4 system with samba 3.0.10 and it works even > if the user doesn't exists on the system. > Can anyone explain me why this happens?

Re: [Samba] smbd process per user ( Samba 3 + Terminal server )

2007-10-08 Thread Eric Roseme
Depends upon your terminal server. NT4 and W2000 - yes. W2003 - no (unless they added the EnableMultipleUsers parameter from W2000). I wrote a kind of wordy paper about this: http://www.docs.hp.com/en/5015/Samba-TerminalServer_104Final.pdf. This paper version does not include the W2000 fix,

Re: [Samba] Samba + LDAP

2007-10-08 Thread Mike Eggleston
On Mon, 08 Oct 2007, simo might have said: > On Mon, 2007-10-08 at 15:45 +0100, Ricardo Manuel Esteves (VI) wrote: > > Hi, > > > > I got samba 3.0.26a on my Fedora 7, and when i try to add users with > > smbpasswd -a username, it only works if the user exists as a linux > > user... i got a Centos

[Samba] Samba v3.0.26a

2007-10-08 Thread Ricardo Manuel Esteves (VI)
Hi, I got samba 3.0.26a on my Fedora 7, and when i try to add users with smbpasswd -a username, it only works if the user exists as a linux user... i got a Centos 4.4 system with samba 3.0.10 and it works even if the user doesn't exists on the system. Can anyone explain me why this happens? is i

Re: [Samba] Samba + LDAP

2007-10-08 Thread simo
On Mon, 2007-10-08 at 15:45 +0100, Ricardo Manuel Esteves (VI) wrote: > Hi, > > I got samba 3.0.26a on my Fedora 7, and when i try to add users with > smbpasswd -a username, it only works if the user exists as a linux > user... i got a Centos 4.4 system with samba 3.0.10 and it works even > if th

[Samba] Samba + LDAP

2007-10-08 Thread Ricardo Manuel Esteves (VI)
Hi, I got samba 3.0.26a on my Fedora 7, and when i try to add users with smbpasswd -a username, it only works if the user exists as a linux user... i got a Centos 4.4 system with samba 3.0.10 and it works even if the user doesn't exists on the system. Can anyone explain me why this happens? is i

[Samba] smbd process per user ( Samba 3 + Terminal server )

2007-10-08 Thread Stas
Hello all. It is possible to force Samba 3 server to create "smbd" process for each user that open file from Terminal Server ? Sometimes I need close files , but can't do that by "kill " since it should close all files that opened by terminal server users .. It any flexible way to manage open file

[Samba] ACL inherit and windows folder security settings

2007-10-08 Thread E.V. Suprun
We have the following share: [users] path = /home read only = No inherit acls = yes inherit permissions = yes inherit owner = yes the /home permissions are: drwxr-xr-x ... root root ... /home There are /home/user1, /home/user2, ... folders. When they ar

[Samba] uploading from osx incredible slow

2007-10-08 Thread Steffen Rohe
Hi together, we have a network of windows and osx computers, which all using a debian linux server as dataslave in a 100 MBit network. Samba 3.024 is running on the debian box. Now transfering files from the debian box to the osx clients is working at full speed of the network. But transfer

Re: [Samba] security = domain -- samba adds its netbios name as samba domain to LDAP

2007-10-08 Thread Christian Brandes
Ok. I think I understood something wrong. I thought the logfile was from a member server, not from a BDC. If a BDC creates its own name as a sambaDomain object in LDAP, then there's a misconfiguration or a bug. A BDC does not have a local SAM, only member servers do. In my case you were complete

[Samba] create users on MS AD domain server

2007-10-08 Thread Vincent MALIEN
Hello, I use samba with winbind and I want to create users on a Microsoft Active Directory domain server. I used the command: net user ADD -U administrator%password -C The user is created, but disable. I'd like to enable it, and to add a start session script attached to this user. The man page