[Samba] Diagnosing Performance Issues

2010-10-04 Thread Shane Arnold
Hi All, First off my apologies if this is the wrong place to be asking. I seem to have a problem where the smbd process is using a massive amount of CPU for network transfers. It averages about 70-90% usage on both cores of a dual-core machine when transferring between disks (or over the

Re: [Samba] help with AD integration

2010-10-04 Thread Gaiseric Vandal
According to your page getent passwd is showing the domain users. If you try to ssh into your linux machine as ben, with the way nsswitch.conf is configured, it will try to authenticated you as the ben in /etc/passwd not the one in the AD domain. I suggest you try the following

[Samba] WG: install samba 4 alpha13 on centos 5.5 make error

2010-10-04 Thread Daniel Müller
Hi, A new try: What I did. Took the old source directory I made for samba4 12: Cd /samba4 Rsync the new samba4 13 in it by: rsync -avz samba.org::ftp/unpacked/samba_4_0_test/ . cd samba4/source made: make clean then ./autogen.sh then ./configure.developer then make idl_full The same error

Re: [Samba] Diagnosing Performance Issues

2010-10-04 Thread Shane Arnold
Unfortunately an strace of the smbd process provides me with nothing useful as I am not a samba developer. However I'll happily provide the strace output for anyone interested :) On 04/10/2010 2:05 PM, Volker Lendecke wrote: On Mon, Oct 04, 2010 at 01:21:39PM +0800, Shane Arnold wrote:

Re: [Samba] Diagnosing Performance Issues

2010-10-04 Thread Volker Lendecke
On Mon, Oct 04, 2010 at 01:21:39PM +0800, Shane Arnold wrote: First off my apologies if this is the wrong place to be asking. I seem to have a problem where the smbd process is using a massive amount of CPU for network transfers. It averages about 70-90% usage on both cores of a dual-core

[Samba] Pb with net command

2010-10-04 Thread Hervé Hénoch
Hello When I want to add a user with the following command (Version 3.5.5-SerNet-Debian on lenny) : net rpc user add user I have the message : Failed to add user user with error: No such User. But in my LDAP database, the user is added only in Posix sense (objectClass=PosixGroup without

Re: [Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-04 Thread RegioGis
Please ignore previous message. I messed up some testing results I'm trying to clear out things straight first. -- View this message in context: http://samba.2283325.n4.nabble.com/File-permissions-getting-destroyed-with-M-software-on-ZFS-tp2915766p2954213.html Sent from the Samba -

[Samba] Can samba3 support more than one wins server

2010-10-04 Thread Daniel Müller
Dear all, is it possible to have two entries in “wins server= wins1 wins2”. I run the samba4WINS besides samba3 --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax:

Re: [Samba] help with AD integration

2010-10-04 Thread Ben George
i tried to telnet to sun1(unix) machine..but login failed. i tried benvin user on AD..not ben /var/samba/log [2010/10/04 15:24:06, 6] nsswitch/winbindd.c:(641) accepted socket 23 [2010/10/04 15:24:06, 10] nsswitch/winbindd.c:(326) process_request: request fn INTERFACE_VERSION [2010/10/04

Re: [Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-04 Thread RegioGis
Hi, I see you use samba with zfs. But how on earth do you prevent the 'deny' aces from being the first in the ACL, and thus denying all access to the resource ? I'm able to add permissions via the MS UI ( I added an AD group 'regio-users' ) When I then create a file or folder via Samba, I get

Re: [Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-04 Thread Gaiseric Vandal
I had a lot of problems with this as well.I found it hard to find much documentation on the zfs module in samba from either samba or sun. (PS- A big thumbs down to Sun and the OpenSolaris crowd for apparently abandoning samba.) I am running Samba 3.0.x from Sun on two servers and samba

Re: [Samba] help with samba AD integration

2010-10-04 Thread Ben George
Support contract..? how much for that the thing i am doing this is to fix my job..because this this my 1st project. i didn't get salery to..anyway can u please give your rate for this.. :( On Mon, Oct 4, 2010 at 1:08 PM, d...@penguinfactory.co.uk wrote: On Mon, Oct 04, 2010 at 12:24:50PM

Re: [Samba] rpcclient errors

2010-10-04 Thread Jeffrey Bernhard
I'm resending this yet again. PLEASE: Someone respond if only to let me know that this really is going to the list -- I would be grateful for just that much! I'm running Ubuntu 10.04 LTS and loaded (via apt-get) Samba version 2:3.4.7 as part of the effort to bring up Sambafax. A dpkg-query gives

Re: [Samba] Windows 7 machine trust accounts expiring

2010-10-04 Thread John Drescher
On Thu, Jul 15, 2010 at 11:52 AM, Peter Rindfuss rindf...@wzb.eu wrote: There was an earlier thread about failing trust relationships between Windows 7 and Samba. Since we occasionally experience the same problem with Win 7 clients against a Samba 3.5.4 server, I investigated this a bit

Re: [Samba] rpcclient and NTLMV2 authentication

2010-10-04 Thread keith Fayne
rpcclient will honour the same setting in the smb.conf as smbclient - 'client ntlmv2 auth = yes' should do it. Thanks for the prompt reply; this has resolved my issue. -- To unsubscribe from this list go to the following URL and read the instructions:

[Samba] help with AD integration

2010-10-04 Thread Ben George
HI Friends please check my problem http://bentgeorge.com/samba/ Thanks Ben.T.George -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] samba with AD help.

2010-10-04 Thread Ben George
Hi please check with this link http://bentgeorge.com/samba/ On Fri, Oct 1, 2010 at 5:09 PM, Gaiseric Vandal gaiseric.van...@gmail.com wrote: But your output shows params.c:pm_process() - Processing configuration file /etc/sfw/smb.conf On 10/01/2010 07:26 AM, Ben George

Re: [Samba] Windows 7 machine trust accounts expiring

2010-10-04 Thread Peter Rindfuss
On 2010-10-04 16:23, John Drescher wrote: On Thu, Jul 15, 2010 at 11:52 AM, Peter Rindfussrindf...@wzb.eu wrote: There was an earlier thread about failing trust relationships between Windows 7 and Samba. Since we occasionally experience the same problem with Win 7 clients against a Samba 3.5.4

[Samba] samba 3.4.7 as NT4 domain member and win9x

2010-10-04 Thread Chris Weiss
I'm certain i'm just missing something and haven't hit the right search terms yet, however, the terms I've been trying all lead to others with the same problems and no solutions at all. My network is quite legacy, but has been working: nt4 PDC and BDC several samba file servers, various revisions

Re: [Samba] Samba 3.5.5. id-map issues with Active Directory

2010-10-04 Thread Haven
Its taken a lot of fairly random experimentation but I've finally got configs that work under samba 3.5.5 on both Gentoo and Debian with 2008 server. The sections in my old config that seemed to be causing the problems and their replacements are shown below: Old broken: idmap

[Samba] samba 3.4.7 as NT4 domain member and win9x

2010-10-04 Thread Chris Weiss
I'm certain i'm just missing something and haven't hit the right search terms yet, however, the terms I've been trying all lead to others with the same problems and no solutions at all. My network is quite legacy, but has been working: nt4 PDC and BDC several samba file servers, various revisions

[Samba] Strange message

2010-10-04 Thread David Noriega
I'm seeing the following message: [2010/10/04 11:09:40, 0] lib/sysquotas.c:sys_get_quota(421) sys_path_to_bdev() failed for path [.]! [2010/10/04 11:09:40, 0] lib/sysquotas.c:sys_get_quota(421) sys_path_to_bdev() failed for path [.]! [2010/10/04 11:09:45, 0] lib/sysquotas.c:sys_get_quota(421)

[Samba] Enforcing filesystem permissions

2010-10-04 Thread Dennis Jacobfeuerborn
Hi, I'm trying to get samba to force a certain set of permissions for files and directories but so far I don't have much success. This is what I'm trying to enforce: create mask = 0770 security mask = 0770 directory mask = 0770 directory security mask = 0770

Re: [Samba] help with AD integration

2010-10-04 Thread Max León
You need to ensure that pam is allowing ssh or telnet access, not sure in Solaris but in RedHat based sistems is inside /etc/pam.d You will have to allow access through pam only enabled accounts since usually the access is restricted to shadow by default. On 10/4/10 7:11 AM, Gaiseric Vandal

Re: [Samba] Windows 7 machine trust accounts expiring

2010-10-04 Thread Martin Hochreiter
Am 04.10.2010 16:23 schrieb John Drescher: On Thu, Jul 15, 2010 at 11:52 AM, Peter Rindfussrindf...@wzb.eu wrote: There was an earlier thread about failing trust relationships between Windows 7 and Samba. Since we occasionally experience the same problem with Win 7 clients against a Samba

Re: [Samba] Windows 7 machine trust accounts expiring

2010-10-04 Thread John Drescher
On Mon, Oct 4, 2010 at 12:58 PM, Martin Hochreiter linux...@wavenet.at wrote:  Am 04.10.2010 16:23 schrieb John Drescher: On Thu, Jul 15, 2010 at 11:52 AM, Peter Rindfussrindf...@wzb.eu  wrote: There was an earlier thread about failing trust relationships between Windows 7 and Samba. Since

Re: [Samba] help with AD integration

2010-10-04 Thread Gaiseric Vandal
Presumably Ben is able to ssh / telnet in for NON-Samba accounts FYI- I did need to update my /etc/pam.conf on Solaris 10 clients when I moved to LDAP backend for unix accounts. I had to add an entry to allow ldap authentication.(I don't think I had to do this for Solaris 9.) I don't

Re: [Samba] store samba account in ldap

2010-10-04 Thread Udo Müller
Am 25.09.10 20:43, schrieb hesam mohamadian: hi want to setup samba file sharing that identify their samba users from ldap and windows linux client can access their own files but without joining to any domain can you introduce me some resource and how to Use google and search for samba ldap.

[Samba] More strangeness with ZFS and Samba

2010-10-04 Thread CJ Keist
A new problem now. Running Samba 3.5.4, on Solaris 10 with zfs. Issue with Microsoft Office 2007: User opens up a .xlsx, then closes the file (Not Excel). Then user reopens the .xlsx file and now Excel says the file is read-only. But permissions on the file have not changed! Only fix is to

Re: [Samba] samba 3.4.7 as NT4 domain member and win9x

2010-10-04 Thread Dale Schroeder
Chris, Since Win 95/98 cannot be true domain member, perhaps try adding to [global] map untrusted to domain = Yes Dale On 10/04/2010 10:52 AM, Chris Weiss wrote: I'm certain i'm just missing something and haven't hit the right search terms yet, however, the terms I've been trying all

Re: [Samba] More strangeness with ZFS and Samba

2010-10-04 Thread Daniel Müller
On Mon, 04 Oct 2010 12:07:49 -0600, CJ Keist cj.ke...@colostate.edu wrote: A new problem now. Running Samba 3.5.4, on Solaris 10 with zfs. Issue with Microsoft Office 2007: User opens up a .xlsx, then closes the file (Not Excel). Then user reopens the .xlsx file and now Excel says the file

Re: [Samba] Enforcing filesystem permissions

2010-10-04 Thread Dale Schroeder
Dennis, Maybe this instead: inherit permissions (S) The permissions on new files and directories are normally governed by create mask http://debpdc:901/swat/help/manpages/smb.conf.5.html#CREATEMASK, directory mask

Re: [Samba] samba 3.4.7 as NT4 domain member and win9x

2010-10-04 Thread Chris Weiss
On Mon, Oct 4, 2010 at 1:32 PM, Dale Schroeder d...@briannassaladdressing.com wrote:  Chris, Since Win 95/98 cannot be true domain member well not directly, but setting user-level access control and providing the domain does allow it to provide the domain with the username when accessing other

Re: [Samba] Enforcing filesystem permissions

2010-10-04 Thread Dennis Jacobfeuerborn
That's a possible way but this would be more of a workaround rather than a solution. I'd still like to know why the permissions end up all wrong. Also this only deals with the permissions during the creation of the directory. If the reason for the messed up permissions is indeed that the client

[Samba] Need help compiling Samba on Solaris

2010-10-04 Thread Stroh, George
I had limited success compiling 3.4.8 and 3.5.4 on Solaris 10 8/07 x86. I downloaded the source code from Samba.org and the dependencies from sunfreeware.com. After some googling and trial and error with the LDDFLAGS, CPPFLAGS and such, it sort of compiled. I need to know how to properly set

[Samba] Solaris 10, zfs and windows

2010-10-04 Thread Stroh, George
This seems to work. The Samba (3.0.37) server is running Solaris 10 8/07 with the share on zfs and joined to a windows 2003 active directory domain. Files created in Solaris can be edited from windows without the permission being changed. Files created from windows have the correct Solaris

[Samba] samba 3.3 - poor performance (compared to NFS)

2010-10-04 Thread scott_stone
I have a system that I'm vetting as a NAS server. It has a 2.0TB XFS filesystem mounted on /storage and I'm doing benchmarks using nfs3, nfs4, and samba. I'm testing via iozone by mounting the filesystem from my nas client box and then running iozone on the mounted filesystem. NFS seems

Re: [Samba] samba 3.3 - poor performance (compared to NFS)

2010-10-04 Thread Jeremy Allison
On Mon, Oct 04, 2010 at 02:51:17PM -0700, scott_st...@trendmicro.com wrote: I have a system that I'm vetting as a NAS server. It has a 2.0TB XFS filesystem mounted on /storage and I'm doing benchmarks using nfs3, nfs4, and samba. I'm testing via iozone by mounting the filesystem from my nas

Re: [Samba] samba 3.3 - poor performance (compared to NFS)

2010-10-04 Thread scott_stone
OK, I can do that. In production this box will not be CIFS-mounted by Linux machines, but I wanted to do the iozone benchmarks so I could compare apples-to-apples vs. NFS. I will go hunt down and repackage a newer CIFS client for centos 5.5. Any other hints on server-side tuning that I

Re: [Samba] Need help compiling Samba on Solaris

2010-10-04 Thread Gaiseric Vandal
Sort of compiled? Does that mean some options didn't compile? I was able to compile samba 3.4.x. (as you point out, it requires tinkering with the CPPFLAGS etc.)The latest OpenLDAP from sunfreeware should be fine (plus its dependencies, which are listed.) Presumably you are using GCC

[Samba] 3.4.9 printing addprinter command reparse doesn't see new printer

2010-10-04 Thread Jack Downes
hello I have cups printing with cups 1.4.4. I'm using the included smbaddprinter.pl command to add printers to my server. Now, my error is that when I add the printer, I get ACCESS DENIED in the windows client, but if I check cups, there the printer is. And if I wait a bit with the

Re: [Samba] samba 3.3 - poor performance (compared to NFS)

2010-10-04 Thread Gary Dale
On 04/10/10 05:55 PM, scott_st...@trendmicro.com wrote: OK, I can do that. In production this box will not be CIFS-mounted by Linux machines, but I wanted to do the iozone benchmarks so I could compare apples-to-apples vs. NFS. I will go hunt down and repackage a newer CIFS client for

[Samba] re. 3.4.9 printing addprinter command reparse doesn't see new printer

2010-10-04 Thread Gary Dale
Please don't hijack threads. You could try something like /etc/init.d/samba restart (or your local equivalent) to the end of perl script. -- hello I have cups printing with cups 1.4.4. I'm using the included smbaddprinter.pl command to add

Re: [Samba] re. 3.4.9 printing addprinter command reparse doesn't see new printer

2010-10-04 Thread Jack Downes
? I didn't hijack a thread... this is a mailing list. All I did was hit reply list to a random email, cleaned out the messages subject and started a new thread. How is that wrong..? I did try your suggestion, and it doesn't do anything but interrupt the operation... and I get an

Re: [Samba] samba 3.3 - poor performance (compared to NFS)

2010-10-04 Thread Jeremy Allison
On Mon, Oct 04, 2010 at 02:55:28PM -0700, scott_st...@trendmicro.com wrote: OK, I can do that. In production this box will not be CIFS-mounted by Linux machines, but I wanted to do the iozone benchmarks so I could compare apples-to-apples vs. NFS. I will go hunt down and repackage a newer

[Samba] limit the samba access to 1 concurrent session per user? limit a samba user only to access from 1 IP?

2010-10-04 Thread Andrew Schneider
Hello All, Is there a way to limit the samba access to 1 concurrent session per user? or limit a samba user only to access from 1 IP? Ive been searching arround but have not had luck. Thanks -Andrew -- To unsubscribe from this list go to the following URL and read the instructions:

Re: [Samba] re. 3.4.9 printing addprinter command reparse doesn't see new printer

2010-10-04 Thread Guy Rouillier
On 10/4/2010 6:30 PM, Jack Downes wrote: ? I didn't hijack a thread... this is a mailing list. All I did was hit reply list to a random email, cleaned out the messages subject and started a new thread. How is that wrong..? That is exactly hijacking a thread. Because you clicked reply

[Samba] Working from RHEL 5 SRPM's to build samba-3.6.0pre1 chokes on 'make pch'

2010-10-04 Thread Nico Kadel-Garcia
I'm trying to get a clean RPM built for samba-3.6.0pre1, to tets out CIFS 2. The old RHEL SRPM's do a 'make pch' command that barfs hard on samba-3.6.0pre1. Is this a command that is no longer appropriate or necessary on this version of Samba? Does it have any genuine use? -- To unsubscribe from

Re: [Samba] re. 3.4.9 printing addprinter command reparse doesn't see new printer

2010-10-04 Thread Gary Dale
OK. Perhaps you can be more specific about what you are trying to accomplish. I don't recall adding printers to a server as being something that happens frequently. yet I get the impression that your concern is that you have to wait before the added printer becomes available. That doesn't seem

Re: [Samba] limit the samba access to 1 concurrent session per user? limit a samba user only to access from 1 IP?

2010-10-04 Thread vishesh kumar
share modes = yes strict locking = yes I think that it can limit concurrent file access . On 10/5/10, Andrew Schneider aschneider...@gmail.com wrote: Hello All, Is there a way to limit the samba access to 1 concurrent session per user? or limit a samba user only to access from 1 IP? Ive

Re: [Samba] store samba account in ldap

2010-10-04 Thread vishesh kumar
First try to setup openldap by including samba schema (conf file slapd.conf) . Then change passdb backend to ldap in smb.conf. As muller googling is best way. On 10/4/10, Udo Müller deb...@cs-ol.de wrote: Am 25.09.10 20:43, schrieb hesam mohamadian: hi want to setup samba file sharing that

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Volker Lendecke
The branch, master has been updated via b958f98 s3: Attempt to get the Tru64 build a bit further from 355849e spoolss: fill in spoolss_DeletePort IDL. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log -

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Volker Lendecke
The branch, master has been updated via 515c8f0 s3: Fix a pointer error from b958f98 s3: Attempt to get the Tru64 build a bit further http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Jelmer Vernooij
The branch, master has been updated via c676c95 compile_et: Support using system compile_et. via 0bda3f8 heimdal: Support using system com_err. from 587315f land-remote: Force running in foreground when pushing to master.

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Jelmer Vernooij
The branch, master has been updated via 587315f land-remote: Force running in foreground when pushing to master. via f1b62ea land-remote: Announce what address email is going to be sent to. via 20d3969 tdb: Only use system pytdb when using system tdb. via e805bf5

Build status as of Mon Oct 4 06:00:01 2010

2010-10-04 Thread build
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2010-10-03 00:00:35.0 -0600 +++ /home/build/master/cache/broken_results.txt 2010-10-04 00:00:14.0 -0600 @@ -1,4 +1,4 @@ -Build status as of Sun Oct 3 06:00:03 2010 +Build status as of Mon Oct

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Günther Deschner
The branch, master has been updated via 355849e spoolss: fill in spoolss_DeletePort IDL. via 279e0c9 spoolss: fill in spoolss_SetPort IDL. via 2ff1c9e spoolss: fill in spoolss_AddPortEx IDL. from 7d0d6d4 s4:kdc/db-glue.c - remove unused variable

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Stefan Metzmacher
The branch, master has been updated via 59d00fc lib/util/asn1: let asn1_peek_full_tag() return an error if we fail to parse tag hdr/len via 42d1a84 libcli/ldap: ldap_full_packet() requires at least 6 bytes via 4423aa5 tsocket: make sure we delete the fd event before

[SCM] Samba GTK+ frontends branch, master, updated. d48c930139613fc91ca531428a8a3ebe9ba82557

2010-10-04 Thread Jelmer Vernooij
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project Samba GTK+ frontends. The branch, master has been updated via d48c930139613fc91ca531428a8a3ebe9ba82557 (commit) via

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Matthias Dieter Wallnöfer
The branch, master has been updated via 6320cfa s4:dsdb/common/util.c - change the usage of the RECYCLED control from 59d00fc lib/util/asn1: let asn1_peek_full_tag() return an error if we fail to parse tag hdr/len http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Kai Blin
The branch, master has been updated via b5f2633 dnsp: Add support for parsing HINFO records via 65d2cfd dnsp: Parse TXT records via da21f78 dnsp: Add MX record parsing via 8ff715c dnsp: Allow parsing of records via ee7ee2c ndr: Implement push function

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Matthieu Patou
The branch, master has been updated via d09cfc0 unittests: add a test to avoid regression on previous fix via 19f835d unittests: makes the unit tests for ldb.python back in order via 9dcad79 pyldb: test return code before trying to talloc_steal via b53fbc7

How this update has slipped in my batch was Re: [SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Matthieu Patou
Hi all, On 05/10/2010 00:24, Matthieu Patou wrote: The branch, master has been updated via d09cfc0 unittests: add a test to avoid regression on previous fix via 19f835d unittests: makes the unit tests for ldb.python back in order via 9dcad79 pyldb: test return code

[SCM] Samba Shared Repository - branch v3-6-test updated

2010-10-04 Thread Jeremy Allison
The branch, v3-6-test has been updated via ebfcac8 Ported from master 97b76364e7c8103ee6dd6e41d85d3932e46eafdc - Author: Volker Lendecke v...@samba.org s3: Attempt to fix a ton of warnings on the build farm via c25d408 s3: Fix a pointer error via 1b0a10b s3: Move #define

[SCM] Samba Shared Repository - branch master updated

2010-10-04 Thread Jelmer Vernooij
The branch, master has been updated via 5548d3d Add missing dependencies for com_err. via 6ea99a2 ldb: Refer to ldb(3), not ldb(7). via c8b6be0 heimdal-build: Simplify calls to convenience functions. via 3c0a57a heimdal-build: Add HEIMDAL_BINARY convenience method.

[SCM] CTDB repository - branch 1.0.112 updated - ctdb-1.0.111-145-g02e26fd

2010-10-04 Thread Ronnie Sahlberg
The branch, 1.0.112 has been updated via 02e26fd7c4fed1af485c2a94eb34254809cb401e (commit) via 9ceae8fedc2f439791b2018ba5567a965af2712d (commit) from 4a7d634f2bde9b3a84fd4a034045245a220f7589 (commit) http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=1.0.112 - Log