RE: [Samba] Samba write performance in kernel

2008-09-03 Thread Lin Mac
hi, I would like to know how should I test the RECVFILE functionality? I've been trying to test the splice and expect to see that smbd would at least try splice and fails maybe? But I found that my data path isn't going through the vfswrap_recvfile, which calls sys_recvfile and splice. I

[Samba] Block Streaming Video

2008-09-03 Thread Colin Williams
Hi All, We have a fileserver set up with Fedora 9 and Samba 3.2.0-17.fc9. Among other things on this server are numerous video files, which we are fine with sharing to the rest of the network via copy-and-run, but not directly streaming. Is there any way using Samba to detect whether a copy is

[Samba] samba start randomly a second nmbd process

2008-09-03 Thread Stéphane PURNELLE
Hi all, My samba server is executed under a software which control if samba is life. The software use some scripts which made the control and verify if process exist. If the process not exist or have a problem, the software restart the application ( in this case : samba) sometimes I see

RE [Samba] samba start randomly a second nmbd process

2008-09-03 Thread Stéphane PURNELLE
I can find into nmbd.log : [2008/09/03 10:50:32, 1] lib/util_tdb.c:tdb_log(682) tdb(unnamed): tdb_open_ex: /var/lib/samba/unexpected.tdb (26626,162113) is already open in this process [2008/09/03 10:50:32, 1] lib/util_tdb.c:tdb_log(682) tdb(unnamed): tdb_open_ex:

[Samba] addprinter from rpcclient fails

2008-09-03 Thread yann
Hi, I can use 'addriver' from rpcclient to add a cups printer, but addprinter reports (in samba logs) : rpc_server/srv_spoolss_nt.c:spoolss_addprinterex_level_2(7725) spoolss_addprinterex_level_2: add printer for printer [LaserJet_3330_MF] called and nosmb.conf parameter addprinter command is

Re: [Samba] Winbind 3.2.3 error with trusted domains

2008-09-03 Thread Volker Lendecke
On Tue, Sep 02, 2008 at 11:40:43AM -0800, James Zuelow wrote: I created a test samba install with nothing but the base Lenny packages + Samba/Kerberos, joined my production domain and it exhibits the same behavior. Can you run winbind under valgrind --tool=memcheck, and send all winbind log

[Samba] smbpasswd web frontend

2008-09-03 Thread Andrea Venturoli
Hello. Before starting to write such a thing myself, I'm asking whether it already exists. What I want is the ability to give a non-technical admin the ability to change passwords for any user. This web page will obviusly be protected and only accessible to him. The thing should be as

Re: [Samba] Question on : Winbindd dumps core in find_builtin_domain() at nsswitch/winbindd_util.c:673

2008-09-03 Thread Volker Lendecke
On Tue, Sep 02, 2008 at 05:54:02AM -0600, Har Gagan Sahai wrote: This is happening in our specific Active Directory setup. It is reaching this path finally and overwriting the builtin domain. This is causing the dump later. We have a bug raised in Novell on this issue (bug #292609, not sure

Re: [Samba] smbpasswd web frontend

2008-09-03 Thread Michael Mohn
Am 03.09.2008 um 11:51 schrieb Andrea Venturoli: Hello. Before starting to write such a thing myself, I'm asking whether it already exists. What I want is the ability to give a non-technical admin the ability to change passwords for any user. This web page will obviusly be protected

[Samba] universal netlogon script

2008-09-03 Thread Brad C
Hi Guys, Advise, I have 200 users, they all have access to 20 shares in different combinations. They all have their own netlogon scripts... its a management nightmare, is there a way to create a universal netlogon script that I can include all the shares to mount and it will silently fail on the

RE: [Samba] universal netlogon script

2008-09-03 Thread L.P.H. van Belle
i suggest go use kixscript here is a small example. connecting printers If INGROUP (dwangb_pr) = 1## if member of dwangb_pr CONNECTPRINTER(PDC,rol) ## connect printer rol from server PDC If INGROUP (dwangb_pr_def) = 1

Re: [Samba] universal netlogon script

2008-09-03 Thread Adam Williams
http://www.archivum.info/linux.samba/2008-06/msg00486.html http://lists.samba.org/archive/samba/2008-June/141457.html http://www.mail-archive.com/samba@lists.samba.org/msg91781.html Brad C wrote: Hi Guys, Advise, I have 200 users, they all have access to 20 shares in different combinations.

WG: [Samba] universal netlogon script

2008-09-03 Thread Daniel Müller
Hello Brad, If you are in linux/unix try a root preexec when the users login there home directories. Example: [home] root preexec=/your Path to/your script %U. In this script make a directory for all the links(if it does not exist).In it make a ln -s for all other directories that the user

Re: [Samba] universal netlogon script

2008-09-03 Thread Joachim Kieferle
Brad C wrote: Hi Guys, Advise, I have 200 users, they all have access to 20 shares in different combinations. They all have their own netlogon scripts... its a management nightmare, is there a way to create a universal netlogon script that I can include all the shares to mount and it will

Re: [Samba] universal netlogon script

2008-09-03 Thread Charles Marcus
On 9/3/2008 9:04 AM, Brad C wrote: Hi Guys, Advise, I have 200 users, they all have access to 20 shares in different combinations. They all have their own netlogon scripts... its a management nightmare, is there a way to create a universal netlogon script that I can include all the shares

[Samba] User permissions - nil authorised users

2008-09-03 Thread dfirth
I am a bit surprised by the behaviour of Samba user permissions (security = user) - although in fact it produces exactly what I want! Can I confirm it is correct, and ask one question? I have one class of shares (private) which I want only specified users to access. And another class which I

[Samba] Anonymous connection to Samba PDC?

2008-09-03 Thread Richard Foltyn
Hi, is there a way to anonymously connect a Windows client to a Samba PDC? I have some random clients which I currently don't want to add to the domain, but would still like them to have access to one share. For example, I have: [skener] path = /var/spool/scanner/scans browseable

[Samba] how was my samba compiled?

2008-09-03 Thread Mike Eggleston
Morning, I'm using the samba that came with my Fedora Core 5. I'm starting to get core dumps in the smbd process and think I need to recompile the latest samba code specifically for my samba box. Is there a way to get a list of compiler flags from the daemons so I can compile the same way? The

Re: [Samba] universal netlogon script

2008-09-03 Thread johnh
Here's mine, been working great for years also. Pretty involved, does lotsa stuff. :) Inserts stuff in databases, installs software, modifies registry entries... Much if this won't be of use to you, but dynamically mapping shares by group might be. ...and yes people, I know I'm an awful VB

Re: [Samba] User permissions - nil authorised users

2008-09-03 Thread Richard Foltyn
Hi, On Wed, Sep 3, 2008 at 4:37 PM, dfirth [EMAIL PROTECTED] wrote: I had thought that user security needed to match the users actual user name and password in windows. So I was surprised by this behaviour. This is not correct. security = user only means that users authenticate themselves by

Re: [Samba] Anonymous connection to Samba PDC?

2008-09-03 Thread John H Terpstra
On Wednesday 03 September 2008 09:43:14 Richard Foltyn wrote: Hi, is there a way to anonymously connect a Windows client to a Samba PDC? I have some random clients which I currently don't want to add to the domain, but would still like them to have access to one share. For example, I have:

Re: [Samba] how was my samba compiled?

2008-09-03 Thread John H Terpstra
On Wednesday 03 September 2008 10:00:56 Mike Eggleston wrote: Morning, I'm using the samba that came with my Fedora Core 5. I'm starting to get core dumps in the smbd process and think I need to recompile the latest samba code specifically for my samba box. Is there a way to get a list of

RE [Samba] how was my samba compiled?

2008-09-03 Thread Stéphane PURNELLE
After uploading samba source and uncompress the tar files. got o samba-3.x.x\source and call ./configure --help You will got all parameter for compiling samba. --- Stéphane PURNELLE [EMAIL PROTECTED] Service Informatique Corman S.A.

[Samba] access denied with ntback and samba shares

2008-09-03 Thread Christoph Sternberg
Hello, I am new on this list and I hope, my question is not an FAQ. I did a lot of searching but could not get the answer: With ntbackup on a windows 2003 server I try to backup 6 shares on a server running samba 3.0.24. When I select all 6 shares for backup I get an access denied-error from

Re: [Samba] how was my samba compiled?

2008-09-03 Thread Mike Eggleston
On Wed, 03 Sep 2008, John H Terpstra might have said: On Wednesday 03 September 2008 10:00:56 Mike Eggleston wrote: Morning, I'm using the samba that came with my Fedora Core 5. I'm starting to get core dumps in the smbd process and think I need to recompile the latest samba code

Re: [Samba] Anonymous connection to Samba PDC?

2008-09-03 Thread Richard Foltyn
Thanks a lot, once again. On Wed, Sep 3, 2008 at 5:15 PM, John H Terpstra [EMAIL PROTECTED] wrote: In your smb.conf [global] section add: map to guest = bad user - John T. -- John H Terpstra Don't do as I do; Show me better! - Anonymous. -- To unsubscribe from this list go to the

[Samba] Winbind + Win2003 ADS + Trusted Domain Issue

2008-09-03 Thread Bryan
Hello all, I am having an issue that I need help with and have been searching the web high and low for a solution. It involvs using winbind to authenticate Linux systems against a 2003 Active Directiry domain with a one-way trust. Here is the lay out. Domain ABC is the resource domain where

Re: [Samba] universal netlogon script

2008-09-03 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brad C wrote: Hi Guys, Advise, I have 200 users, they all have access to 20 shares in different combinations. They all have their own netlogon scripts... its a management nightmare, is there a way to create a universal netlogon script that I

RE: [Samba] how was my samba compiled?

2008-09-03 Thread Bruno Guerreiro
Hi, One way is to install the src rpm and then check for the file in the /usr/src/Redhat/SPECS dir. BRGDS, Bruno Guerreiro -Original Message- From: Mike Eggleston [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 3 de Setembro de 2008 16:25 To: John H Terpstra Cc: samba@lists.samba.org

Re: [Samba] SPNEGO Response format

2008-09-03 Thread Jeremy Allison
On Tue, Sep 02, 2008 at 08:56:54PM -0700, Sudheer Kurichiyath wrote: Hi Jeremy, I experienced this problem with Samba versions samba-3.0.23c and 3.0.28-0.el5.8. Thanks and Regards Latest releases are 3.0.32 and 3.2.3, can you check with those please. I think your bug is already fixed.

Re: [Samba] Samba write performance in kernel

2008-09-03 Thread Jeremy Allison
On Wed, Sep 03, 2008 at 02:04:53PM +0800, Lin Mac wrote: hi, I would like to know how should I test the RECVFILE functionality? I've been trying to test the splice and expect to see that smbd would at least try splice and fails maybe? But I found that my data path isn't going through

Re: [Samba] upgrade broke XP workstation logins, variably

2008-09-03 Thread David Mathog
Perhaps this is relevant? I temporarily allowed file and print sharing connections from the local subnet on the saf01 workstation, then did: % smbclient -L saf01 -U 'saf01/Administrator%(password)' Domain=[SAF] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] (SNIP - shares were shown

Re: [Samba] upgrade broke XP workstation logins, variably

2008-09-03 Thread Chris Smith
On Tuesday 02 September 2008 06:27:56 pm David Mathog wrote: The smb.conf was not modified. Maybe it should have been. Not a good idea to upgrade without carefully reading all of the release notes between versions. Defaults do change. -- To unsubscribe from this list go to the following URL

Re: [Samba] upgrade broke XP workstation logins, variably

2008-09-03 Thread David Mathog
Some progress following these actions: saf01 workstation: changed domain SAF - Workgroup WORKGROUP SMB server: smbpasswd -x -m saf01 smbpasswd -a -m saf01 saf01: reboot changed workgroup WORKGROUP - domain SAF

Re: [Samba] Problems with migration from SuSE 10.0 to debian etch

2008-09-03 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dr. Harry Knitter wrote: Hello, after a total crash of hardware, we had to reconstruct our Samba PDC from tape. Since the old installation was already pretty old (SuSE 10.0) we moved to Debian etch. I did the following. I migrated the

Re: [Samba] Different printer preference dialog between windows and samba

2008-09-03 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 LiuYan 刘研 wrote: OS: CentOS 5.2 Samba: Samba 3.0.28-1.el5_2.1 Printer: HP LaserJet P2105n I setup a linux print server for windows clients. First I downloaded the printer drivers for

Re: [Samba] Unable to Join Domain

2008-09-03 Thread Greg Koch
The command can be executed manually on the command line, but then when I attempt to join the domain I receive the error of Access Denied and nothing is in the error logs then. On Tue, 2 Sep 2008 07:45:17 +0200, Volker Lendecke [EMAIL PROTECTED] wrote: On Mon, Sep 01, 2008 at 10:26:05PM -0600,

Re: [Samba] Unable to Join Domain

2008-09-03 Thread Greg Koch
The server is a WINS server, and I tried adding the server IP to the Advanced/WINS tab and I have the same problem. Any other ideas? On Tue, 2 Sep 2008 06:14:55 -0500, Mike Eggleston [EMAIL PROTECTED] wrote: On Mon, 01 Sep 2008, Greg Koch might have said: I recently setup a new server with

RE: [Samba] Unable to Join Domain

2008-09-03 Thread Hoover, Tony
Samba 3.0.28a (from CentOS 5.2) would not allow me to add my new domain controller to the domain that it was supposed to be controlling. I uninstalled 3.0.28a and installed the 3.0.31 version (which was current at that time). After the upgrade, I was able to join the domain with out difficulty.

RE: [Samba] Unable to Join Domain

2008-09-03 Thread Greg Koch
I had 3.0.28a but when I attempt to install from yum the most current version it supplies is 3.0.28-1.el5_2.1. I realize it is a different package, but it didn't seem to solve my issue. Any help with getting yum to give me a more current version, or other ideas to solve this issue? On Wed, 3

Re: [Samba] User permissions - nil authorised users

2008-09-03 Thread dfirth
OK Thanks. But I note that when trying to access shares that have authorised users, windows either gives you no option to enter a user (not accessible), or if it does, it will not accept a username and password that matches one of the authorised users. Richard Foltyn wrote: Hi, On Wed,

[SCM] Samba Shared Repository - branch v3-devel updated - release-3-2-0pre2-3956-g9c4905e

2008-09-03 Thread Volker Lendecke
The branch, v3-devel has been updated via 9c4905ed6703a38ff72be5990a036d0a79aebb9f (commit) from b57cbf62e8180c8fdb8f541c43358d36d8dbbdfa (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-devel - Log -

[SCM] Samba Shared Repository - branch v3-devel updated - release-3-2-0pre2-3957-g32cb45c

2008-09-03 Thread Volker Lendecke
The branch, v3-devel has been updated via 32cb45c962c822bd79a7d0f666f2f6037060b324 (commit) from 9c4905ed6703a38ff72be5990a036d0a79aebb9f (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-devel - Log -

[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-434-g3862f31

2008-09-03 Thread Jelmer Vernooij
The branch, v4-0-test has been updated via 3862f3132549332e0a44fad65d7c49a27e1dbd4a (commit) from 82fcd7941f5c54da2d994c8bd99dd8d86299a296 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log -

[SCM] Samba Shared Repository - branch v3-devel updated - release-3-2-0pre2-3961-g74c8575

2008-09-03 Thread Simo Sorce
The branch, v3-devel has been updated via 74c8575b3f3b90ea21ae6aa7ccd95947838af956 (commit) via 8e4dca3b9416d9b5e535bda5e4befc073bfc1641 (commit) via e038f1cf9fb305fc1e7a4189208e451d30aaa1f0 (commit) via 8594edf666c29fd4ddf1780da842683dd81483b6 (commit) from

[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3933-ge1d4db8

2008-09-03 Thread Simo Sorce
The branch, v3-3-test has been updated via e1d4db8f55b25c7e9c408cb334fb89ccfd4c6565 (commit) from 06442555c2a99c5efd70326337d991e5bd410734 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log -

[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3934-gde8f483

2008-09-03 Thread Simo Sorce
The branch, v3-3-test has been updated via de8f483254ec59c7cf678d8c03e07c0c241f6d7b (commit) from e1d4db8f55b25c7e9c408cb334fb89ccfd4c6565 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log -

[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2971-gbfced01

2008-09-03 Thread Simo Sorce
The branch, v3-2-test has been updated via bfced01a92ae1a4913c0c9aba27e7b43e06f9032 (commit) from 11fdeeeb551ac3287b75e114b15bc4f76cf2d337 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log -

[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-11-g0b39c04

2008-09-03 Thread Simo Sorce
The branch, v3-0-test has been updated via 0b39c04fed2720aad07544c65a57b6580ae322a0 (commit) from 09145720b510647e7c24e3062a4a1246cc7bff5b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log -

[SCM] Samba Shared Repository - branch v3-devel updated - release-3-2-0pre2-3962-gad462e2

2008-09-03 Thread Simo Sorce
The branch, v3-devel has been updated via ad462e2e2d025a7fc23e7dea32b2b442b528970b (commit) from 74c8575b3f3b90ea21ae6aa7ccd95947838af956 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-devel - Log -

Re: [SCM] Samba Shared Repository - branch v3-devel updated - release-3-2-0pre2-3962-gad462e2

2008-09-03 Thread simo
Sorry I pushed this by mistake, so I reverted :-( On Wed, 2008-09-03 at 13:37 -0500, Simo Sorce wrote: The branch, v3-devel has been updated via ad462e2e2d025a7fc23e7dea32b2b442b528970b (commit) from 74c8575b3f3b90ea21ae6aa7ccd95947838af956 (commit)

[SCM] Samba Shared Repository - branch v3-devel updated - release-3-2-0pre2-3963-g4f2de29

2008-09-03 Thread Jeremy Allison
The branch, v3-devel has been updated via 4f2de29723bb7e588e6c9440649b57d56d10b587 (commit) from ad462e2e2d025a7fc23e7dea32b2b442b528970b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-devel - Log -

[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3935-g5349a1d

2008-09-03 Thread Jeremy Allison
The branch, v3-3-test has been updated via 5349a1d373fb186cff1031077199070db2b6db90 (commit) from de8f483254ec59c7cf678d8c03e07c0c241f6d7b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log -

[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2972-g96b5e69

2008-09-03 Thread Jeremy Allison
The branch, v3-2-test has been updated via 96b5e691149c449253e4875a743c8603b3298c2b (commit) from bfced01a92ae1a4913c0c9aba27e7b43e06f9032 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log -

[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-12-gf3d604a

2008-09-03 Thread Jeremy Allison
The branch, v3-0-test has been updated via f3d604ab72173c9d51661f3b696b0f25da602226 (commit) from 0b39c04fed2720aad07544c65a57b6580ae322a0 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log -

[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-436-g1897cef

2008-09-03 Thread Jelmer Vernooij
The branch, v4-0-test has been updated via 1897cef508c8bea817c510bd9023d794cb983864 (commit) via d5c61f470d7aa6dd0e5a22e8718d53a69cbbc239 (commit) from 3862f3132549332e0a44fad65d7c49a27e1dbd4a (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log

[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-437-ge8ba65c

2008-09-03 Thread Jelmer Vernooij
The branch, v4-0-test has been updated via e8ba65c4db986fcedf7008d05d8f8846f78a98f1 (commit) from 1897cef508c8bea817c510bd9023d794cb983864 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log -

Build status as of Thu Sep 4 00:00:02 2008

2008-09-03 Thread build
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2008-09-03 00:00:10.0 + +++ /home/build/master/cache/broken_results.txt 2008-09-04 00:00:28.0 + @@ -1,4 +1,4 @@ -Build status as of Wed Sep 3 00:00:02 2008 +Build status as of Thu Sep

[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-441-gc273d63

2008-09-03 Thread Andrew Tridgell
The branch, v4-0-test has been updated via c273d63f94c430a4f553085efb0d6e31a99e5853 (commit) via f008c3b6ee324056fd9b63f6151ad6849640c959 (commit) via 25171f18a4b242b5a731f4ac1eefc51cc82efd74 (commit) via cf37126ac7b833a3a739b151157c296afc0c979c (commit) from

Re: [SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-11-g0b39c04

2008-09-03 Thread tridge
Hi Simo, The msync manpage reports that msync *must* be called before munmap. Failure to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here. Please revert this change immediately. That change would slow down tdb by a couple of

Re: [SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-11-g0b39c04

2008-09-03 Thread tridge
Hi Simo, Please revert this change immediately. That change would slow down tdb by a couple of orders or magnitude for our temporary databases. actually this will only slow us down each time we attach/detach to the tdb or we expand it (as expand uses munmap/mmap). I guess the question is how

Re: [SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-11-g0b39c04

2008-09-03 Thread tridge
Hi Simo, and please check with somebody who knows systems programming before making a change like this. also, my apologies for this. Kai and Andrew have now pointed me at the thread where you asked about this, and got an ack from Jeremy. It seems I'm not getting samba-technical email at the