[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 name -U administrator%password -C fullname The user is created, but disable. I'd like to enable it, and to add a start session script attached to this user.

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

[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

[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

[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 PID since it should close all files that opened by terminal server users .. It any flexible way to manage open

[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

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 the

[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

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 4.4

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

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? is

[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

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 sends 52 bye ACK

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 to

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

[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

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

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

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: Server

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 Sun, Oct 07, 2007 at

[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

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 10/7/07, Volker Lendecke

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/s.

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 scaling)

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 have fixed

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 routers (thereby

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 issue. Turning on

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] ~]#

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 user

[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 server name smbd[6170]: getpeername failed. Error was Der Socket ist nicht verbunden Oct 8 19:01:12 server name smbd[27824]: getpeername failed. Error was Der Socket ist nicht

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]

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] 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]

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 if it's

[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 ?

svn commit: samba r25566 - in branches/SAMBA_4_0: . source/lib/util

2007-10-08 Thread jelmer
Author: jelmer Date: 2007-10-08 10:05:13 + (Mon, 08 Oct 2007) New Revision: 25566 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25566 Log: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev [EMAIL PROTECTED] Modified: branches/SAMBA_4_0/

svn commit: samba r25567 - in branches/SAMBA_3_2/source/winbindd: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 10:54:33 + (Mon, 08 Oct 2007) New Revision: 25567 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25567 Log: make do_async() non static metze Modified: branches/SAMBA_3_2/source/winbindd/winbindd_async.c Changeset: Modified:

svn commit: samba r25568 - in branches/SAMBA_3_2/source: . winbindd

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 11:11:46 + (Mon, 08 Oct 2007) New Revision: 25568 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25568 Log: move idmap related functions into their own file. the final goal is to have 3 child dispatch tables 'domain', 'idmap' and

svn commit: samba r25569 - in branches/SAMBA_3_2/source/winbindd: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 11:13:36 + (Mon, 08 Oct 2007) New Revision: 25569 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25569 Log: move more idmap stuff into winbindd_idmap.c metze Modified: branches/SAMBA_3_2/source/winbindd/winbindd_idmap.c

svn commit: samba r25570 - in branches/SAMBA_3_2/source: . winbindd

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 11:15:28 + (Mon, 08 Oct 2007) New Revision: 25570 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25570 Log: move code of the locator child into its own file metze Added: branches/SAMBA_3_2/source/winbindd/winbindd_locator.c

svn commit: samba r25571 - in branches/SAMBA_3_2/source/winbindd: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 12:25:57 + (Mon, 08 Oct 2007) New Revision: 25571 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25571 Log: split up child_dispatch_table into domain, idmap and locator tables metze Modified:

svn commit: samba r25572 - in branches/SAMBA_3_2: . source/rpcclient

2007-10-08 Thread jelmer
Author: jelmer Date: 2007-10-08 12:56:27 + (Mon, 08 Oct 2007) New Revision: 25572 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25572 Log: Fix warnings (values are always true). Modified: branches/SAMBA_3_2/ branches/SAMBA_3_2/source/rpcclient/cmd_lsarpc.c

svn commit: samba r25573 - in branches/SAMBA_3_2/source/winbindd: .

2007-10-08 Thread idra
Author: idra Date: 2007-10-08 12:56:57 + (Mon, 08 Oct 2007) New Revision: 25573 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25573 Log: Add my (C) as well Modified: branches/SAMBA_3_2/source/winbindd/winbindd_idmap.c Changeset: Modified:

svn commit: samba r25574 - in branches/SAMBA_4_0: . source/selftest/env

2007-10-08 Thread jelmer
Author: jelmer Date: 2007-10-08 12:57:30 + (Mon, 08 Oct 2007) New Revision: 25574 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25574 Log: Support SMBD_OPTIONS, NMBD_OPTIONS and WINBINDD_OPTIONS environment variables for make test. Modified:

svn commit: samba r25575 - in branches: SAMBA_3_2/source/lib SAMBA_3_2_0/source/lib

2007-10-08 Thread gd
Author: gd Date: 2007-10-08 13:31:08 + (Mon, 08 Oct 2007) New Revision: 25575 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25575 Log: Document S-1-5-12 (restriced code sid). Guenther Modified: branches/SAMBA_3_2/source/lib/util_sid.c

svn commit: samba r25576 - in branches/SAMBA_4_0/source/auth: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 14:18:19 + (Mon, 08 Oct 2007) New Revision: 25576 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25576 Log: BOOL - bool metze Modified: branches/SAMBA_4_0/source/auth/auth_server.c branches/SAMBA_4_0/source/auth/auth_unix.c

svn commit: samba r25577 - in branches/SAMBA_4_0/source: client lib/gencache

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 14:19:35 + (Mon, 08 Oct 2007) New Revision: 25577 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25577 Log: BOOL - bool metze Modified: branches/SAMBA_4_0/source/client/smbmount.c

svn commit: samba r25578 - in branches/SAMBA_4_0/source/libcli/swig: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 14:21:22 + (Mon, 08 Oct 2007) New Revision: 25578 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25578 Log: BOOL - bool metze Modified: branches/SAMBA_4_0/source/libcli/swig/libcli_nbt.i Changeset: Modified:

svn commit: samba r25579 - in branches/SAMBA_4_0/source/torture: . nbt smb2

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 14:22:10 + (Mon, 08 Oct 2007) New Revision: 25579 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25579 Log: BOOL - bool metze Modified: branches/SAMBA_4_0/source/torture/locktest2.c

svn commit: samba r25580 - in branches/SAMBA_4_0: . source/selftest

2007-10-08 Thread jelmer
Author: jelmer Date: 2007-10-08 14:57:11 + (Mon, 08 Oct 2007) New Revision: 25580 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25580 Log: Error out if there are no tests to run. Modified: branches/SAMBA_4_0/ branches/SAMBA_4_0/source/selftest/selftest.pl

svn commit: samba r25581 - in branches/SAMBA_4_0/source/selftest: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 15:22:26 + (Mon, 08 Oct 2007) New Revision: 25581 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25581 Log: move variable to the place it belongs to. metze Modified: branches/SAMBA_4_0/source/selftest/selftest.pl Changeset:

svn commit: samba r25582 - in branches/SAMBA_4_0/source: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 17:43:27 + (Mon, 08 Oct 2007) New Revision: 25582 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25582 Log: build nmblookup with make testsuite as it's needed in the blackbox tests metze Modified:

svn commit: samba r25583 - in branches/SAMBA_3_2/source: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 18:04:07 + (Mon, 08 Oct 2007) New Revision: 25583 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25583 Log: it makes no sense to run blackbox.kinit against samba3 metze Modified: branches/SAMBA_3_2/source/samba3-skip Changeset:

svn commit: samba r25584 - in branches/SAMBA_3_2/source: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 20:05:46 + (Mon, 08 Oct 2007) New Revision: 25584 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25584 Log: don't run WINBIND tests untill the faked users work with a running winbindd metze Modified:

svn commit: samba r25585 - in branches/SAMBA_4_0/source/selftest/env: .

2007-10-08 Thread metze
Author: metze Date: 2007-10-08 20:06:37 + (Mon, 08 Oct 2007) New Revision: 25585 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25585 Log: don't start winbindd untill the build-farm faked users work with it metze Modified:

[SCM] UNNAMED PROJECT branch, v3-0-stable, updated. abb1b37035a3f25f31048902c38dfe029cc6c615

2007-10-08 Thread Gerald (Jerry) Carter
The branch, v3-0-stable has been updated via abb1b37035a3f25f31048902c38dfe029cc6c615 (commit) from 963b4b5e0adecbe799005200e69ac3f6b413420f (commit) http://gitweb.samba.org/?p=jerry/draft2/samba.git;a=shortlog;h=v3-0-stable Those revisions listed above that are new to this

svn commit: samba r25586 - in branches/SAMBA_4_0/source/lib/replace: .

2007-10-08 Thread jra
Author: jra Date: 2007-10-08 23:10:09 + (Mon, 08 Oct 2007) New Revision: 25586 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25586 Log: Fix getaddrinfo detection - from Timur. Jeremy. Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4 Changeset:

svn commit: samba r25587 - in branches: SAMBA_3_2/source/lib/replace SAMBA_3_2_0/source/lib/replace

2007-10-08 Thread jra
Author: jra Date: 2007-10-08 23:11:33 + (Mon, 08 Oct 2007) New Revision: 25587 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=25587 Log: Fix getaddrinfo detection code. From Timur. Jeremy. Modified: branches/SAMBA_3_2/source/lib/replace/libreplace.m4

Build status as of Tue Oct 9 00:00:02 2007

2007-10-08 Thread build
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2007-10-08 00:01:53.0 + +++ /home/build/master/cache/broken_results.txt 2007-10-09 00:00:26.0 + @@ -1,24 +1,24 @@ -Build status as of Mon Oct 8 00:00:02 2007 +Build status as of Tue Oct