[Samba] Samba 3.4 clustering CTDB

2010-01-19 Thread Daniel Müller
Hello to all,

Did someone succed with samba clustering using CTDB? 
We just started  a project trying to set up a cluster with Samba 3.4 and
ctdb and 2 nodes. We aim to
substitute the samba pdc bdc thing which is not sufficient I thing. Because
when the pdc is down the bdc must be set
manually to be the pdc.
If clustering should work then ctdb (load balancing!?)will decide which node
to authenticate against and will sync user groups and files. If one
node   fails the other would take over and users and clients can work on.
Are these things possible in current state of development???

Greetings
Daniel



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


[Samba] subfolder level restriction

2010-01-19 Thread himmat baldaniya

hello 
I have three users u1 ,u2 and u3
I have a share named mrt and it has two subfolder mrt1 and mrt2.
what i have to do is that when u1 logs in mrt 
it should view all the contents inside mrt (including contents of its 
subfolderand all) 
and when u2 logs into mrt it should view mrt1 and restrict mrt2 and in same way 
when u3 logs into mrt ,it could access mrt2 and restrict mrt1
how should i do this ?? please Help
thankyou  
_
Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] subfolder level restriction

2010-01-19 Thread Daniel Müller
Look at the issue dont descend in the [mrt] config.
Daniel

---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von himmat baldaniya
Gesendet: Dienstag, 19. Januar 2010 09:39
An: samba samba
Betreff: [Samba] subfolder level restriction


hello 
I have three users u1 ,u2 and u3
I have a share named mrt and it has two subfolder mrt1 and mrt2.
what i have to do is that when u1 logs in mrt 
it should view all the contents inside mrt (including contents of its
subfolderand all) 
and when u2 logs into mrt it should view mrt1 and restrict mrt2 and in same
way when u3 logs into mrt ,it could access mrt2 and restrict mrt1
how should i do this ?? please Help
thankyou  
_
Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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


Re: [Samba] Samba 3.4 clustering CTDB

2010-01-19 Thread Volker Lendecke
On Tue, Jan 19, 2010 at 09:29:53AM +0100, Daniel Müller wrote:
 Did someone succed with samba clustering using CTDB? 
 We just started  a project trying to set up a cluster with Samba 3.4 and
 ctdb and 2 nodes. We aim to
 substitute the samba pdc bdc thing which is not sufficient I thing. Because
 when the pdc is down the bdc must be set
 manually to be the pdc.
 If clustering should work then ctdb (load balancing!?)will decide which node
 to authenticate against and will sync user groups and files. If one
 node   fails the other would take over and users and clients can work on.
 Are these things possible in current state of development???

In theory, yes, but for the PDC/BDC thing it is not
necessary. Yes, if your PDC is permanently down and will not
come back, you have to manually upgrade the BDC. But for
authentication purposes the BDC is just fine, you only can
not change passwords for example. But when your PDC is down,
changing passwords or creating new users should be the least
of your problems.

Just my 2ct

Volker


signature.asc
Description: Digital signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] [Announce] Samba 3.4.5 Available for Download

2010-01-19 Thread Karolin Seeger
=
Any sufficiently advanced technology is
 indistinguishable from magic.

 Arthur C. Clarke
=


Release Announcements
=

This is the latest stable release of Samba 3.4.

Major enhancements in Samba 3.4.5 include:

   o Fix memory in leak in smbd (bug #7020).
   o Fix changing of ACLs on writable files with dos filemode=yes (bug #5202).


##
Changes
###

Changes since 3.4.4
---


o   Jeremy Allison j...@samba.org
* BUG 5202: Fix changing of ACLs on writable files with dos filemode=yes.
* BUG 7020: Fix memory leak in smbd.
* BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
* BUG 7045: Fix bad (non memory copying) interfaces in smbc_set calls.


o   Günther Deschner g...@samba.org
* BUG 7043: Fix crash bug in SMBC_parse_path.


o   Volker Lendecke v...@samba.org
* BUG 7046: Fix a crash in libsmbclient used against the OpenSolaris CIFS
  server.


o   Stefan Metzmacher me...@samba.org
* BUG 6642: Fix opening the quota magic file.
* BUG 6919: Fix remote quota management.


o   SASAJIMA Toshihiro sasajim...@jp.fujitsu.com
* BUG 7034: Fix internal error caused by vfs_cap.



Download Details


The uncompressed tarballs and patch files have been signed
using GnuPG (ID 6568B7EA).  The source code can be downloaded
from:

http://download.samba.org/samba/ftp/stable

The release notes are available online at:

http://www.samba.org/samba/history/samba-3.4.5.html

Binary packages will be made available on a volunteer basis from

http://download.samba.org/samba/ftp/Binary_Packages/

Our Code, Our Bugs, Our Responsibility.
(https://bugzilla.samba.org/)

--Enjoy
The Samba Team





pgpBlfvZkF8Yv.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] domain printer issues

2010-01-19 Thread Daniel Sheridan
On Tue, 2009-12-01 at 16:09 +0100, Guenther Deschner wrote:
 On Tue, Dec 01, 2009 at 12:36:51PM +, Daniel Sheridan wrote:
  On Mon, 2009-11-30 at 09:14 +1100, Brian May wrote:
   Daniel Sheridan wrote:
FWIW, I have the same problem here with Samba 3.4.2 and Windows XP
clients. In fact, one printer driver works via point'n'print, but 
the others do not, so for now I've set all printers to use that one
driver (the PPDs are similar enough that it's not a problem).
   
   Ok, so maybe it was the upgrade from 3.2.5 to 3.4.2 (required for
   Windows 7) that broke things. The first few days seemed fine, so I
   thought it was OK, but maybe that is because nobody reported
   problems...
  
  I'm currently blaming 3.4.x. Downgrading to 3.3.2 (the most recent 3.3
  easily available as an Ubuntu package) makes the driver installation
  work perfectly. Upgrading to 3.4.x breaks it again. Clean /var/lib/samba
  and /var/cache/samba each time.
 
 This is unfortunately a known issue and we are actively working on
 resolving this; if you have a chance to test, the 3-4-test git branch
 should have the necessary fixes (unless you are running sparc).
 
 For Samba 3.4.4 these issues will be resolved.

(resurrecting old thread for context)

I'm still seeing this behaviour in 3.4.5 -- XP claims that the server
does not have the correct printer driver installed. Is there anything I
can provide that will help to debug this?

Dan.


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


[Samba] How do update samba on Ubuntu

2010-01-19 Thread Lucia Donatto
Hi all, I´ve got an ubuntu 8.04 server with samba 3.0.28 and ldap installed
in a net that is working ok.
I´d like to actualize samba to the actual version and don´t know how.
Sudo apt-get upgrade will do?
I´ve read in internet that some people uninstall it and it really scares me!
If someone have any idea about how to do it and can give me a link or some
clue about it, I really will apreciate it!

Thank you very much for your time.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] How do update samba on Ubuntu

2010-01-19 Thread Martin Hochreiter

Am 2010-01-19 13:32, schrieb Lucia Donatto:

Hi all, I´ve got an ubuntu 8.04 server with samba 3.0.28 and ldap installed
in a net that is working ok.
I´d like to actualize samba to the actual version and don´t know how.
Sudo apt-get upgrade will do?
I´ve read in internet that some people uninstall it and it really scares me!
If someone have any idea about how to do it and can give me a link or some
clue about it, I really will apreciate it!

Thank you very much for your time.
   

Hi Lucia!

I used that how-to
http://www.jeremycole.com/blog/2009/12/01/upgrade-samba-3-0-28a-to-3-4-3-on-ubuntu-8-04-lts/

That worked fine for me with samba 3.4.4 and samba 3.4.5


If you prefer packages - you can add
deb http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main

to your apt - source list and install the provided 3.4.3 packages.

Please keep in mind that there are differences between 3.0 and 3.4
(tdbsam, ldap-scheme, some config changes)!

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


Re: [Samba] Samba 3.4.4 Windows 7 offline folders

2010-01-19 Thread Martin Hochreiter



We did fix a bug in this recently (with Microsoft's help). But
it should definately be fixed in 3.4.4.

I'll take a look at this once I'm back with my full test environment
(next week). In the meantime can you log a bug at bugzilla.samba.org
so this problem doesn't get lost.

Thanks,

Jeremy.

   
Thank you Jeremey ... as we use offline folders intensive it's a little 
bit annoying for us, you can imagine -
 we will do some testing today with the newer 3.4.5 and if the 
situation is unchanged, I'll open a ticket.


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


Re: [Samba] Winbind problem on Solaris 9 - samba 3.4.4

2010-01-19 Thread Robert M. Martel - CSU

Greetings,

Have not heard from anyone on this topic.

I tried building samba 3.3.10 with same environment - same issue:

ld.so.1: su: fatal: relocation error: file 
/usr/lib/security/pam_winbind.so.1: symbol libintl_bindtextdomain: 
referenced symbol not found


I could access shares from client PCs, but not log onto or su to an 
active directory user.



On 01/13/2010 04:03 PM, Robert M. Martel - CSU wrote:

Greetings

Samba 3.4.4 built on Solaris 9 with gcc version 3.4.6

This is an Active Directory member server which was working with Samba
3.2.15 installed.

I was able to build 3.4.4 without errors as well as access shares as an
active directory user from a client PC without any issues so far.

When I try to su to an active directory user in a terminal session I get
the following error:

ld.so.1: su: fatal: relocation error: file
/usr/lib/security/pam_winbind.so.1: symbol libintl_bindtextdomain:
referenced symbol not found

I have SMClintl from SunFreeware installed to support some other
packages, there also exists a libintl.so.1 in /usr/lib which is much
smaller than the one in /usr/local/lib.

I tried changing crle to put /usr/local/lib before /usr/lib but it did
not make a difference.

Any suggestions on how to resolve this issue?

Thanks!
Bob




--
***
Bob Martel,System Administrator  I met someone who looks a lot like you
Levin College of Urban Affairs   She does the things you do
Cleveland State University   But she is an IBM
(216) 687-2214
r.mar...@csuohio.edu-Jeff Lynne
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Tracking down rogue workgroup

2010-01-19 Thread Ray Van Dolson
Hi folks.  Periodically a workgroup shows up on our network with an
inappropriate name.  We're trying to find the best way to track this
down as it's quite intermittent.

We can obviously look for announcement messages (in broadcast packets
on ports 138/139), but this must be done on each subnet and we have
enough subnets that this would be rather tedious and at best, a last
resort.

The workgroup is available to machines in every subnet, so apparently
its presence is getting relayed back to the domain controllers...

For protocol gurus: is there a particular packet we can look for on the
domain controllers that could help us narrow down our search to the
right subnet?  A message from the local master browser sending a list
of workgroups perhaps?

Or a message updating WINS entries?

Any suggestions would be appreciated!

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


Re: [Samba] subfolder level restriction

2010-01-19 Thread Michael Heydon

Daniel Müller wrote:

Look at the issue dont descend in the [mrt] config.
Daniel
  
dont descend  affects the share regardless of who connects to it. To 
create different views for different users would require creating 
several shares with different dont descend values.



when u1 logs in mrt it should view all the contents inside mrt (including 
contents of its
subfolderand all) 
and when u2 logs into mrt it should view mrt1 and restrict mrt2 and in same

way when u3 logs into mrt ,it could access mrt2 and restrict mrt
I think unix permissions would be the obvious solution. Create groups 
called g1 and g2, add u1 to both groups, u2 to g1 and  u3 to g2. Then 
chown root.g1 mrt1 , chown root.g2 mrt2  and chmod them both to 770 (or 
750). If you want more flexibility, you can use ACLs (assuming your FS 
and OS support them).



*Michael Heydon - IT Administrator *
micha...@jaswin.com.au mailto:micha...@jaswin.com.au

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


Re: [Samba] domain printer issues

2010-01-19 Thread Ryan Suarez

Daniel Sheridan wrote:

On Tue, 2009-12-01 at 16:09 +0100, Guenther Deschner wrote:
  

On Tue, Dec 01, 2009 at 12:36:51PM +, Daniel Sheridan wrote:


On Mon, 2009-11-30 at 09:14 +1100, Brian May wrote:
  

Daniel Sheridan wrote:


FWIW, I have the same problem here with Samba 3.4.2 and Windows XP
clients. In fact, one printer driver works via point'n'print, but 
the others do not, so for now I've set all printers to use that one

driver (the PPDs are similar enough that it's not a problem).
  

Ok, so maybe it was the upgrade from 3.2.5 to 3.4.2 (required for
Windows 7) that broke things. The first few days seemed fine, so I
thought it was OK, but maybe that is because nobody reported
problems...


I'm currently blaming 3.4.x. Downgrading to 3.3.2 (the most recent 3.3
easily available as an Ubuntu package) makes the driver installation
work perfectly. Upgrading to 3.4.x breaks it again. Clean /var/lib/samba
and /var/cache/samba each time.
  

This is unfortunately a known issue and we are actively working on
resolving this; if you have a chance to test, the 3-4-test git branch
should have the necessary fixes (unless you are running sparc).

For Samba 3.4.4 these issues will be resolved.

I'm still seeing this behaviour in 3.4.5 -- XP claims that the server
does not have the correct printer driver installed. Is there anything I
can provide that will help to debug this?



I believe the developers were referring to this:
https://bugzilla.samba.org/show_bug.cgi?id=6883

It was supposedly addressed in 3.4.4 and marked resolved.  If your still 
having issues then you should leave a comment there and request to 
reopen bug. 


I personally haven't had a chance to try this version out yet.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[SCM] Samba Shared Repository - annotated tag release-3-4-5 created

2010-01-19 Thread Karolin Seeger
The annotated tag, release-3-4-5 has been created
at  1c4e5a16774407d41ef806fa6daf24bfe8b89048 (tag)
   tagging  6ac41410868711200442413dad6461771cda977b (commit)
  replaces  release-3-4-4
 tagged by  Karolin Seeger
on  Tue Jan 19 09:32:11 2010 +0100

- Log -
tag release-3-4-5
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (GNU/Linux)

iD8DBQBLVW4ybzORW2Vot+oRAmg0AKDHeYtuJYOb60XP7Dip8lO3Y8CLTgCfTlAt
9UjtePiK1ZGHgYI1xYaLeSI=
=OScB
-END PGP SIGNATURE-

Günther Deschner (1):
  s3-libsmbclient: Fix crash bug in SMBC_parse_path().

Jeremy Allison (5):
  Fix bug #7020 - smbd using 2G memory.
  Second part of the fix for bug #7020 - smbd using 2G memory.
  Re-fix bug 5202 - cannot change ACLs on writable file with dos 
filemode=yes
  Fix bug #7036 - net rpc getsid fails in hardened windows environments.
  Fix bug 7045 - Bad (non memory copying) interfaces in smbc_set calls.

Karolin Seeger (4):
  VERSION: Raise version number up to 3.4.5.
  WHATSNEW: Start release notes for 3.4.5.
  WHATSNEW: Update changes since 3.4.4.
  WHATSNEW: Update changes.

Michael Adam (1):
  docs: add -K option to the pdbedit manpage.

SASAJIMA Toshihiro (1):
  Fix bug #7034 - vfs_cap causes signal 11 (SIGSEGV) (cherry picked from 
commit ca847952054f5bbde1d40ad4260589b6fcc9721d)

Stefan Metzmacher (1):
  smbd: Fix opening the quota magic file

Volker Lendecke (1):
  s3: Fix a crash in libsmbclient used against the OpenSolaris CIFS server

---


-- 
Samba Shared Repository


svn commit: samba-web r1359 - in trunk: . devel history

2010-01-19 Thread kseeger
Author: kseeger
Date: 2010-01-19 02:11:39 -0700 (Tue, 19 Jan 2010)
New Revision: 1359

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=1359

Log:
Announce Samba 3.4.5
Karolin
Added:
   trunk/history/samba-3.4.5.html
Modified:
   trunk/devel/index.html
   trunk/header_columns.html
   trunk/history/header_history.html
   trunk/index.html


Changeset:
Modified: trunk/devel/index.html
===
--- trunk/devel/index.html  2010-01-15 10:22:00 UTC (rev 1358)
+++ trunk/devel/index.html  2010-01-19 09:11:39 UTC (rev 1359)
@@ -20,8 +20,8 @@
 3.0.x and 2.2.x versions of Samba, which are no longer in active development.
 /p
 
-pThe latest production release is emSamba 3.4.4/em (a
-href=/samba/history/samba-3.4.4.htmlrelease notes/a and a
+pThe latest production release is emSamba 3.4.5/em (a
+href=/samba/history/samba-3.4.5.htmlrelease notes/a and a
 href=/samba/download/download/a)./p
 
 pWith the release of Samba 3.4.0, the 3.3 series has been turned into

Modified: trunk/header_columns.html
===
--- trunk/header_columns.html   2010-01-15 10:22:00 UTC (rev 1358)
+++ trunk/header_columns.html   2010-01-19 09:11:39 UTC (rev 1359)
@@ -120,9 +120,9 @@
   div class=releases
 h4Current Stable Release/h4
 ul
-lia href=/samba/ftp/stable/samba-3.4.4.tar.gzSamba 3.4.4 
(gzipped)/a/li
-lia href=/samba/history/samba-3.4.4.htmlRelease Notes/a/li
-lia href=/samba/ftp/stable/samba-3.4.4.tar.ascSignature/a/li
+lia href=/samba/ftp/stable/samba-3.4.5.tar.gzSamba 3.4.5 
(gzipped)/a/li
+lia href=/samba/history/samba-3.4.5.htmlRelease Notes/a/li
+lia href=/samba/ftp/stable/samba-3.4.5.tar.ascSignature/a/li
 /ul
 
 h4Historical/h4

Modified: trunk/history/header_history.html
===
--- trunk/history/header_history.html   2010-01-15 10:22:00 UTC (rev 1358)
+++ trunk/history/header_history.html   2010-01-19 09:11:39 UTC (rev 1359)
@@ -77,6 +77,7 @@
   div class=notes
 h6Release Notes/h6
 ul
+lia href=samba-3.4.5.htmlsamba-3.4.5/a/li
 lia href=samba-3.4.4.htmlsamba-3.4.4/a/li
 lia href=samba-3.4.3.htmlsamba-3.4.3/a/li
 lia href=samba-3.4.2.htmlsamba-3.4.2/a/li

Added: trunk/history/samba-3.4.5.html
===
--- trunk/history/samba-3.4.5.html  (rev 0)
+++ trunk/history/samba-3.4.5.html  2010-01-19 09:11:39 UTC (rev 1359)
@@ -0,0 +1,63 @@
+!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
+html xmlns=http://www.w3.org/1999/xhtml;
+
+head
+titleSamba - Release Notes Archive/title
+/head
+
+body
+
+   H2Samba 3.4.5 Available for Download/H2
+
+p
+pre
+   =
+   Release Notes for Samba 3.4.5
+January 19, 2010
+   =
+
+
+This is the latest stable release of Samba 3.4.
+
+Major enhancements in Samba 3.4.5 include:
+
+   o Fix memory in leak in smbd (bug #7020).
+   o Fix changing of ACLs on writable files with dos filemode=yes (bug 
#5202).
+
+
+##
+Changes
+###
+
+Changes since 3.4.4
+---
+
+
+o   Jeremy Allison lt;j...@samba.orggt;
+* BUG 5202: Fix changing of ACLs on writable files with dos filemode=yes.
+* BUG 7020: Fix memory leak in smbd.
+* BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
+* BUG 7045: Fix bad (non memory copying) interfaces in smbc_set calls.
+
+
+o   Guuml;nther Deschner lt;g...@samba.orggt;
+* BUG 7043: Fix crash bug in SMBC_parse_path.
+
+
+o   Volker Lendecke lt;v...@samba.orggt;
+* BUG 7046: Fix a crash in libsmbclient used against the OpenSolaris CIFS
+  server.
+
+
+o   Stefan Metzmacher lt;me...@samba.orggt;
+* BUG 6642: Fix opening the quota magic file.
+* BUG 6919: Fix remote quota management.
+
+
+o   SASAJIMA Toshihiro lt;sasajim...@jp.fujitsu.comgt;
+* BUG 7034: Fix internal error caused by vfs_cap.
+/pre
+
+/body
+/html


Property changes on: trunk/history/samba-3.4.5.html
___
Added: svn:executable
   + *

Modified: trunk/index.html
===
--- trunk/index.html2010-01-15 10:22:00 UTC (rev 1358)
+++ trunk/index.html2010-01-19 09:11:39 UTC (rev 1359)
@@ -24,6 +24,20 @@
 h2Latest News/h2
 !--#include virtual=/samba/news/headlines.html --
 
+h4a name=latest19 January 2010/a/h4
+p class=headlineSamba 3.4.5 Available for Download/p
+
+pThis is the latest stable release of the Samba 3.4 series./p
+
+pThe uncompressed tarballs and patch files have 

[SCM] Samba Shared Repository - branch master updated

2010-01-19 Thread Kai Blin
The branch, master has been updated
   via  6d33bb2... s3 net/i18n: update .po files
   via  09bc137... s3 net/i18n: Use only one spelling for Usage:
   via  28b512f... s3 net: Fix compile error with WITH_DNS_UPDATES
  from  bd3c922... s3/net: split up some printable stings to ease i18n

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 6d33bb25e1aab72bb3e12a0824a758bacba32672
Author: Kai Blin k...@samba.org
Date:   Tue Jan 19 10:06:26 2010 +0100

s3 net/i18n: update .po files

commit 09bc13728fc76cf784914a4066c793c297e50cff
Author: Kai Blin k...@samba.org
Date:   Tue Jan 19 09:23:42 2010 +0100

s3 net/i18n: Use only one spelling for Usage:

commit 28b512f904cee5a79aefd0aca2d839dbe37e5519
Author: Kai Blin k...@samba.org
Date:   Tue Jan 19 09:36:55 2010 +0100

s3 net: Fix compile error with WITH_DNS_UPDATES

bd3c922e2bc1a163efc1d8c9cb59578bebb79616 introduced a compile-time error
when building with WITH_DNS_UPDATES.

---

Summary of changes:
 source3/locale/net/de.po | 2203 --
 source3/utils/net.c  |8 +-
 source3/utils/net_ads.c  |4 +-
 source3/utils/net_afs.c  |2 +-
 source3/utils/net_conf.c |2 +-
 source3/utils/net_eventlog.c |6 +-
 source3/utils/net_groupmap.c |2 +-
 source3/utils/net_idmap.c|2 +-
 source3/utils/net_registry.c |6 +-
 source3/utils/net_rpc.c  |   16 +-
 source3/utils/net_rpc_registry.c |   12 +-
 source3/utils/net_rpc_sh_acct.c  |   16 +-
 source3/utils/net_sam.c  |   42 +-
 13 files changed, 1005 insertions(+), 1316 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/locale/net/de.po b/source3/locale/net/de.po
index be3fe57..96b34ee 100644
--- a/source3/locale/net/de.po
+++ b/source3/locale/net/de.po
@@ -1,14 +1,13 @@
 # net message translation (german).
-# Copyright (C) 2009 Kai Blin  k...@samba.org
+# Copyright (C) 2009, 2010 Kai Blin  k...@samba.org
 # Copyright (C) 2009, 2010 André Hentschel  n...@dawncrow.de
 # This file is distributed under the same license as the samba package.
 #
-#, fuzzy
 msgid 
 msgstr 
 Project-Id-Version: @pack...@\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2010-01-05 09:23+0100\n
+POT-Creation-Date: 2010-01-19 09:45+0100\n
 PO-Revision-Date: 2010-01-14 18:55+0100\n
 Last-Translator: André Hentschel n...@dawncrow.de\n
 Language-Team: \n
@@ -39,8 +38,21 @@ msgstr 
 msgid Failed to open secrets.tdb.\n
 msgstr 
 
-#: ../../utils/net.c:139 ../../utils/net.c:157 ../../utils/net_conf.c:1136 
../../utils/net_help.c:36 ../../utils/net_rap.c:161 ../../utils/net_rap.c:302 
../../utils/net_rap.c:467 ../../utils/net_rap.c:750 ../../utils/net_rap.c:891
-#: ../../utils/net_rap.c:1002 ../../utils/net_rap.c:1193 
../../utils/net_rpc.c:979 ../../utils/net_rpc.c:2820 ../../utils/net_rpc.c:4923 
../../utils/net_rpc.c:6962 ../../utils/net_rpc.c:7067 ../../utils/net_util.c:586
+#: ../../utils/net.c:139 ../../utils/net.c:157 ../../utils/net_ads.c:131 
../../utils/net_ads.c:161 ../../utils/net_ads.c:376 ../../utils/net_ads.c:701 
../../utils/net_ads.c:852 ../../utils/net_ads.c:886 ../../utils/net_ads.c:928 
../../utils/net_ads.c:1041
+#: ../../utils/net_ads.c:1420 ../../utils/net_ads.c:1472 
../../utils/net_ads.c:1542 ../../utils/net_ads.c:1582 
../../utils/net_ads.c:1646 ../../utils/net_ads.c:1772 
../../utils/net_ads.c:1875 ../../utils/net_ads.c:1958 ../../utils/net_ads.c:2199
+#: ../../utils/net_ads.c:2220 ../../utils/net_ads.c:2245 
../../utils/net_ads.c:2264 ../../utils/net_ads.c:2330 
../../utils/net_ads.c:2354 ../../utils/net_ads.c:2409 
../../utils/net_ads_gpo.c:40 ../../utils/net_ads_gpo.c:226 
../../utils/net_ads_gpo.c:300
+#: ../../utils/net_ads_gpo.c:451 ../../utils/net_ads_gpo.c:492 
../../utils/net_ads_gpo.c:579 ../../utils/net_cache.c:158 
../../utils/net_cache.c:273 ../../utils/net_cache.c:294 
../../utils/net_cache.c:307 ../../utils/net_conf.c:1136
+#: ../../utils/net_groupmap.c:91 ../../utils/net_groupmap.c:119 
../../utils/net_groupmap.c:195 ../../utils/net_groupmap.c:271 
../../utils/net_groupmap.c:355 ../../utils/net_groupmap.c:411 
../../utils/net_groupmap.c:494 ../../utils/net_groupmap.c:521
+#: ../../utils/net_groupmap.c:672 ../../utils/net_help.c:36 
../../utils/net_idmap.c:64 ../../utils/net_idmap.c:95 
../../utils/net_idmap.c:241 ../../utils/net_rap.c:161 ../../utils/net_rap.c:302 
../../utils/net_rap.c:467 ../../utils/net_rap.c:506
+#: ../../utils/net_rap.c:535 ../../utils/net_rap.c:750 
../../utils/net_rap.c:891 ../../utils/net_rap.c:1002 ../../utils/net_rap.c:1193 
../../utils/net_rpc.c:275 ../../utils/net_rpc.c:406 ../../utils/net_rpc.c:436 
../../utils/net_rpc.c:551
+#: ../../utils/net_rpc.c:617 ../../utils/net_rpc.c:985 
../../utils/net_rpc.c:1917 ../../utils/net_rpc.c:2119 

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

2010-01-19 Thread Karolin Seeger
The branch, v3-4-test has been updated
   via  bcb4da8... WHATSNEW: Start release notes for Samba 3.4.6.
   via  febac98... VERSION: Raise version number up to 3.4.6.
  from  fb7af5c... WHATSNEW: Update changes.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -
commit bcb4da881426d1e863582aab8c455430f3a224f0
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Jan 19 11:41:24 2010 +0100

WHATSNEW: Start release notes for Samba 3.4.6.

Karolin

commit febac98cadd14ece58f3df99ce7670d41c046e3d
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Jan 19 11:39:23 2010 +0100

VERSION: Raise version number up to 3.4.6.

Karolin

---

Summary of changes:
 WHATSNEW.txt|   49 +++--
 source3/VERSION |2 +-
 2 files changed, 48 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 1fa0358..90f0e88 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,49 @@
=
+   Release Notes for Samba 3.4.6
+, 2010
+   =
+
+
+This is the latest stable release of Samba 3.4.
+
+Major enhancements in Samba 3.4.6 include:
+
+   o
+
+##
+Changes
+###
+
+Changes since 3.4.5
+---
+
+
+
+
+##
+Reporting bugs  Development Discussion
+###
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 3.4 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+==
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+==
+
+
+Release notes for older versions follow:
+
+
+   =
Release Notes for Samba 3.4.5
 January 19, 2010
=
@@ -65,8 +110,8 @@ database (https://bugzilla.samba.org/).
 ==
 
 
-Release notes for older versions follow:
-
+--
+
 
=
Release Notes for Samba 3.4.4
diff --git a/source3/VERSION b/source3/VERSION
index 6110e01..7402bde 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=4
-SAMBA_VERSION_RELEASE=5
+SAMBA_VERSION_RELEASE=6
 
 
 # Bug fix releases use a letter for the patch revision #


-- 
Samba Shared Repository


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

2010-01-19 Thread Karolin Seeger
The branch, v3-4-test has been updated
   via  20a4052... s3:pdb_ldap: restore Samba 3.0.x behavior and use the 
first uid value.
   via  6402321... s3:smbldap: add smbldap_talloc_first_attribute()
  from  bcb4da8... WHATSNEW: Start release notes for Samba 3.4.6.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -
commit 20a405288fb1b33c43b31b170f1acc9c82732208
Author: Stefan Metzmacher me...@samba.org
Date:   Tue Jan 5 13:30:42 2010 +0100

s3:pdb_ldap: restore Samba 3.0.x behavior and use the first uid value.

See bug #6157 for more details.

metze

Signed-off-by: Stefan Metzmacher me...@samba.org
(cherry picked from commit 25806f43ddee7e2653e907eea2c6fcc075960fa1)
(cherry picked from commit ac224452b94865db346ed68dc517f84d40e6303c)

commit 6402321d528b335787856b16c3d8556e8e0a
Author: Stefan Metzmacher me...@samba.org
Date:   Tue Jan 5 13:30:19 2010 +0100

s3:smbldap: add smbldap_talloc_first_attribute()

metze

Signed-off-by: Stefan Metzmacher me...@samba.org
(cherry picked from commit c992127f8a96c37940a6d298c7c6859c47f83d9b)
(cherry picked from commit 915b7552b71904baf6a452bdc1649e76d8286a14)

---

Summary of changes:
 source3/include/smbldap.h |3 +++
 source3/lib/smbldap.c |   34 ++
 source3/passdb/pdb_ldap.c |2 +-
 3 files changed, 38 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index 3ac770a..726d5f7 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -211,6 +211,9 @@ const char** get_userattr_list( TALLOC_CTX *mem_ctx, int 
schema_ver );
 char * smbldap_talloc_single_attribute(LDAP *ldap_struct, LDAPMessage *entry,
   const char *attribute,
   TALLOC_CTX *mem_ctx);
+char * smbldap_talloc_first_attribute(LDAP *ldap_struct, LDAPMessage *entry,
+ const char *attribute,
+ TALLOC_CTX *mem_ctx);
 char * smbldap_talloc_smallest_attribute(LDAP *ldap_struct, LDAPMessage *entry,
 const char *attribute,
 TALLOC_CTX *mem_ctx);
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index 8c2b26d..be216c5 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -333,6 +333,40 @@ ATTRIB_MAP_ENTRY sidmap_attr_list[] = {
return result;
 }
 
+ char * smbldap_talloc_first_attribute(LDAP *ldap_struct, LDAPMessage *entry,
+  const char *attribute,
+  TALLOC_CTX *mem_ctx)
+{
+   char **values;
+   char *result;
+   size_t converted_size;
+
+   if (attribute == NULL) {
+   return NULL;
+   }
+
+   values = ldap_get_values(ldap_struct, entry, attribute);
+
+   if (values == NULL) {
+   DEBUG(10, (attribute %s does not exist\n, attribute));
+   return NULL;
+   }
+
+   if (!pull_utf8_talloc(mem_ctx, result, values[0], converted_size)) {
+   DEBUG(10, (pull_utf8_talloc failed\n));
+   ldap_value_free(values);
+   return NULL;
+   }
+
+   ldap_value_free(values);
+
+#ifdef DEBUG_PASSWORDS
+   DEBUG (100, (smbldap_get_first_attribute: [%s] = [%s]\n,
+attribute, result));
+#endif
+   return result;
+}
+
  char * smbldap_talloc_smallest_attribute(LDAP *ldap_struct, LDAPMessage 
*entry,
  const char *attribute,
  TALLOC_CTX *mem_ctx)
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 6a5c96f..0d498c8 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -559,7 +559,7 @@ static bool init_sam_from_ldap(struct ldapsam_privates 
*ldap_state,
goto fn_exit;
}
 
-   if (!(username = smbldap_talloc_smallest_attribute(priv2ld(ldap_state),
+   if (!(username = smbldap_talloc_first_attribute(priv2ld(ldap_state),
entry,
uid,
ctx))) {


-- 
Samba Shared Repository


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

2010-01-19 Thread Karolin Seeger
The branch, v3-5-test has been updated
   via  13fd42e... s3:pdb_ldap: restore Samba 3.0.x behavior and use the 
first uid value.
   via  0098779... s3:smbldap: add smbldap_talloc_first_attribute()
  from  deb72f6... s3-docs: Adapt version number in man vfs_scannedonly.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -
commit 13fd42e84025dd0427ec8454c56f07869a3af962
Author: Stefan Metzmacher me...@samba.org
Date:   Tue Jan 5 13:30:42 2010 +0100

s3:pdb_ldap: restore Samba 3.0.x behavior and use the first uid value.

See bug #6157 for more details.

metze

Signed-off-by: Stefan Metzmacher me...@samba.org
(cherry picked from commit 25806f43ddee7e2653e907eea2c6fcc075960fa1)
(cherry picked from commit ac224452b94865db346ed68dc517f84d40e6303c)

commit 009877922e65e5872218e83fba0d0f2a230dec2e
Author: Stefan Metzmacher me...@samba.org
Date:   Tue Jan 5 13:30:19 2010 +0100

s3:smbldap: add smbldap_talloc_first_attribute()

metze

Signed-off-by: Stefan Metzmacher me...@samba.org
(cherry picked from commit c992127f8a96c37940a6d298c7c6859c47f83d9b)
(cherry picked from commit 915b7552b71904baf6a452bdc1649e76d8286a14)

---

Summary of changes:
 source3/include/smbldap.h |3 +++
 source3/lib/smbldap.c |   34 ++
 source3/passdb/pdb_ldap.c |2 +-
 3 files changed, 38 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index 8710e77..e3b03d4 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -211,6 +211,9 @@ const char** get_userattr_list( TALLOC_CTX *mem_ctx, int 
schema_ver );
 char * smbldap_talloc_single_attribute(LDAP *ldap_struct, LDAPMessage *entry,
   const char *attribute,
   TALLOC_CTX *mem_ctx);
+char * smbldap_talloc_first_attribute(LDAP *ldap_struct, LDAPMessage *entry,
+ const char *attribute,
+ TALLOC_CTX *mem_ctx);
 char * smbldap_talloc_smallest_attribute(LDAP *ldap_struct, LDAPMessage *entry,
 const char *attribute,
 TALLOC_CTX *mem_ctx);
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index 4727c15..7aa36ba 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -333,6 +333,40 @@ ATTRIB_MAP_ENTRY sidmap_attr_list[] = {
return result;
 }
 
+ char * smbldap_talloc_first_attribute(LDAP *ldap_struct, LDAPMessage *entry,
+  const char *attribute,
+  TALLOC_CTX *mem_ctx)
+{
+   char **values;
+   char *result;
+   size_t converted_size;
+
+   if (attribute == NULL) {
+   return NULL;
+   }
+
+   values = ldap_get_values(ldap_struct, entry, attribute);
+
+   if (values == NULL) {
+   DEBUG(10, (attribute %s does not exist\n, attribute));
+   return NULL;
+   }
+
+   if (!pull_utf8_talloc(mem_ctx, result, values[0], converted_size)) {
+   DEBUG(10, (pull_utf8_talloc failed\n));
+   ldap_value_free(values);
+   return NULL;
+   }
+
+   ldap_value_free(values);
+
+#ifdef DEBUG_PASSWORDS
+   DEBUG (100, (smbldap_get_first_attribute: [%s] = [%s]\n,
+attribute, result));
+#endif
+   return result;
+}
+
  char * smbldap_talloc_smallest_attribute(LDAP *ldap_struct, LDAPMessage 
*entry,
  const char *attribute,
  TALLOC_CTX *mem_ctx)
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 90ac8e5..32d63e2 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -560,7 +560,7 @@ static bool init_sam_from_ldap(struct ldapsam_privates 
*ldap_state,
goto fn_exit;
}
 
-   if (!(username = smbldap_talloc_smallest_attribute(priv2ld(ldap_state),
+   if (!(username = smbldap_talloc_first_attribute(priv2ld(ldap_state),
entry,
uid,
ctx))) {


-- 
Samba Shared Repository


svn commit: samba-web r1360 - in trunk/history: .

2010-01-19 Thread kseeger
Author: kseeger
Date: 2010-01-19 04:08:25 -0700 (Tue, 19 Jan 2010)
New Revision: 1360

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=1360

Log:
Fix typo.
Karolin
Modified:
   trunk/history/samba-3.4.5.html


Changeset:
Modified: trunk/history/samba-3.4.5.html
===
--- trunk/history/samba-3.4.5.html  2010-01-19 09:11:39 UTC (rev 1359)
+++ trunk/history/samba-3.4.5.html  2010-01-19 11:08:25 UTC (rev 1360)
@@ -22,7 +22,7 @@
 
 Major enhancements in Samba 3.4.5 include:
 
-   o Fix memory in leak in smbd (bug #7020).
+   o Fix memory leak in smbd (bug #7020).
o Fix changing of ACLs on writable files with dos filemode=yes (bug 
#5202).
 
 



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

2010-01-19 Thread Karolin Seeger
The branch, v3-5-test has been updated
   via  da2bf2e... WHATSNEW: Update release notes.
  from  13fd42e... s3:pdb_ldap: restore Samba 3.0.x behavior and use the 
first uid value.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -
commit da2bf2e1e8eb2dc686ab998ef359653e74e211d8
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Jan 19 12:39:49 2010 +0100

WHATSNEW: Update release notes.

Karolin

---

Summary of changes:
 WHATSNEW.txt |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index e7fe91a..84b1cae 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -12,6 +12,7 @@ Major enhancements in Samba 3.5.0 include:
 
 General changes:
 o Add support for full Windows timestamp resolution
+o The Using Samba HTML book has been removed.
 
 Protocol changes:
 o Experimental implementation of SMB2
@@ -34,6 +35,9 @@ Support for full Windows timestamp resolution has been added. 
This effectively
 makes us use Windows' full 100ns timestamp resolution if supported by the
 kernel (2.6.22 and higher) and the glibc (2.6 and higher).
 
+The Using Samba HTML book has been removed from the Samba tarball.
+It is still available at http://www.samba.org/samba/docs/using_samba/toc.html.
+
 Protocol changes
 
 
@@ -52,7 +56,7 @@ Winbind changes
 ===
 
 The Winbind daemon has been refactored internally to be asynchronous. The new
-Winbind will not be blocked by running 'wbinfo -g' or 'wbinfo -u'.
+Winbind will not be blocked by running 'getent group' or 'getent passwd'.
 
 VFS modules
 ===


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2010-01-19 Thread Günther Deschner
The branch, master has been updated
   via  b5186b3... s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against 
s3.
   via  f720f75... s3-spoolss: stricter name checks when opening 
back-channel notify connection.
   via  c971c10... s3-selftest: use absolute path when setting 
SOCKET_WRAPPER_DIR.
   via  f5bba40... s4-smbtorture: support spoolss_ReplyClosePrinter server 
call in RPC-SPOOLSS-NOTIFY.
   via  2b68215... s4-smbtorture: restructure spoolss server 
implementations in RPC-SPOOLSS-NOTIFY.
   via  e0660ed... s4-smbtorture: skip ReplyOpenPrinter test in 
RPC-SPOOLSS-NOTIFY while testing s3.
   via  7d1c1e0... s4-smbtorture: strip trailing whitespace.
  from  6d33bb2... s3 net/i18n: update .po files

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit b5186b3e2397bd1a784d5ded2ddbb155cb061a4e
Author: Günther Deschner g...@samba.org
Date:   Tue Jan 19 00:31:54 2010 +0100

s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against s3.

Guenther

commit f720f7512e66687f745732b86305eecec8f66d77
Author: Günther Deschner g...@samba.org
Date:   Tue Jan 19 00:33:57 2010 +0100

s3-spoolss: stricter name checks when opening back-channel notify 
connection.

Make sure to always check if the name the client passed in
spoolss_RemoteFindFirstPrinterChangeNotifyEx is not one of our names.

Guenther

commit c971c10a63841d9b850d10ce856e813e37cace36
Author: Günther Deschner g...@samba.org
Date:   Tue Jan 19 00:55:48 2010 +0100

s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.

Guenther

commit f5bba4034b362d354409932f0b0cef0e4d44a08d
Author: Günther Deschner g...@samba.org
Date:   Tue Jan 19 00:27:50 2010 +0100

s4-smbtorture: support spoolss_ReplyClosePrinter server call in 
RPC-SPOOLSS-NOTIFY.

A handle obtained with spoolss_ReplyOpenPrinter will be closed with
spoolss_ReplyClosePrinter when we call spoolss_ClosePrinter on the remote 
side.

Guenther

commit 2b68215a226aab978e5f01470e8b4afbb291134b
Author: Günther Deschner g...@samba.org
Date:   Tue Jan 19 00:22:57 2010 +0100

s4-smbtorture: restructure spoolss server implementations in 
RPC-SPOOLSS-NOTIFY.

Guenther

commit e0660ed1bc72effa5715587e105eb5096a3d70d0
Author: Günther Deschner g...@samba.org
Date:   Tue Jan 19 00:19:47 2010 +0100

s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while 
testing s3.

Guenther

commit 7d1c1e0083362c3782b2481e11207f1ce286c129
Author: Günther Deschner g...@samba.org
Date:   Tue Jan 19 14:10:47 2010 +0100

s4-smbtorture: strip trailing whitespace.

Guenther

---

Summary of changes:
 selftest/selftest.pl  |2 +-
 source3/rpc_server/srv_spoolss_nt.c   |   20 +---
 source3/script/tests/selftest.sh  |2 +-
 source3/script/tests/test_posix_s3.sh |2 +-
 source4/torture/rpc/spoolss_notify.c  |   86 +++--
 5 files changed, 87 insertions(+), 25 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 883d2a0..ba66049 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -445,7 +445,7 @@ if ($opt_socket_wrapper_pcap) {
 
 my $socket_wrapper_dir;
 if ($opt_socket_wrapper) {
-   $socket_wrapper_dir = SocketWrapper::setup_dir($prefix/w, 
$opt_socket_wrapper_pcap);
+   $socket_wrapper_dir = SocketWrapper::setup_dir($prefix_abs/w, 
$opt_socket_wrapper_pcap);
print SOCKET_WRAPPER_DIR=$socket_wrapper_dir\n;
 } else {
 unless ($ == 0) { 
diff --git a/source3/rpc_server/srv_spoolss_nt.c 
b/source3/rpc_server/srv_spoolss_nt.c
index 0028ec0..b1513dd 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -2340,27 +2340,30 @@ static bool spoolss_connect_to_client(struct 
rpc_pipe_client **pp_pipe,
NTSTATUS ret;
struct cli_state *the_cli;
struct sockaddr_storage rm_addr;
+   char addr[INET6_ADDRSTRLEN];
 
if ( is_zero_addr((struct sockaddr *)client_ss) ) {
+   DEBUG(2,(spoolss_connect_to_client: resolving %s\n,
+   remote_machine));
if ( !resolve_name( remote_machine, rm_addr, 0x20, false) ) {
DEBUG(2,(spoolss_connect_to_client: Can't resolve 
address for %s\n, remote_machine));
return false;
}
-
-   if (ismyaddr((struct sockaddr *)rm_addr)) {
-   DEBUG(0,(spoolss_connect_to_client: Machine %s is one 
of our addresses. Cannot add to ourselves.\n, remote_machine));
-   return false;
-   }
+   print_sockaddr(addr, sizeof(addr), rm_addr);
} else {
-   char addr[INET6_ADDRSTRLEN];
rm_addr = 

[SCM] Samba Shared Repository - branch master updated

2010-01-19 Thread Volker Lendecke
The branch, master has been updated
   via  7d04c0f... s3: Remove a comment from ancient times that no longer 
applies
  from  b5186b3... s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against 
s3.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 7d04c0fcfdd6cd52ce99d94cbe42fb698b7a0674
Author: Volker Lendecke v...@samba.org
Date:   Tue Jan 19 14:18:53 2010 +0100

s3: Remove a comment from ancient times that no longer applies

---

Summary of changes:
 source3/smbd/oplock.c |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index cdb6093..7ce450c 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -685,7 +685,6 @@ static void process_oplock_break_response(struct 
messaging_context *msg_ctx,
   procid_str(talloc_tos(), src), file_id_string_tos(msg.id),
   msg.share_file_id, (unsigned int)msg.op_mid));
 
-   /* Here's the hack from open.c, store the mid in the 'port' field */
schedule_deferred_open_smb_message(msg.op_mid);
 }
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2010-01-19 Thread Kai Blin
The branch, master has been updated
   via  add4edc... s3 net/i18n: Update .po files
   via  66de52c... s3 net: Fix compile warnings
  from  7d04c0f... s3: Remove a comment from ancient times that no longer 
applies

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit add4edcd063591839111d474543ceea847413f6f
Author: Kai Blin k...@samba.org
Date:   Tue Jan 19 14:48:12 2010 +0100

s3 net/i18n: Update .po files

commit 66de52c4f4527ef43cfaf11c55616ec7602cce85
Author: Kai Blin k...@samba.org
Date:   Tue Jan 19 11:43:54 2010 +0100

s3 net: Fix compile warnings

---

Summary of changes:
 source3/locale/net/de.po | 2938 +++---
 source3/utils/net.c  |   11 +-
 source3/utils/net_ads.c  |  125 +-
 source3/utils/net_ads_gpo.c  |   41 +-
 source3/utils/net_cache.c|   37 +-
 source3/utils/net_conf.c |   46 +-
 source3/utils/net_dom.c  |   12 +-
 source3/utils/net_eventlog.c |9 +-
 source3/utils/net_groupmap.c |   44 +-
 source3/utils/net_idmap.c|   23 +-
 source3/utils/net_lookup.c   |   19 +-
 source3/utils/net_rap.c  |   10 +-
 source3/utils/net_registry.c |   58 +-
 source3/utils/net_rpc.c  |  262 +++--
 source3/utils/net_rpc_audit.c|   30 +-
 source3/utils/net_rpc_registry.c |   62 +-
 source3/utils/net_rpc_rights.c   |   29 +-
 source3/utils/net_rpc_samsync.c  |   19 +-
 source3/utils/net_rpc_service.c  |   66 +-
 source3/utils/net_rpc_sh_acct.c  |4 +-
 source3/utils/net_rpc_shell.c|3 +-
 source3/utils/net_sam.c  |  104 +-
 source3/utils/net_status.c   |   16 +-
 source3/utils/net_time.c |   22 +-
 source3/utils/net_util.c |4 +-
 25 files changed, 2131 insertions(+), 1863 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/locale/net/de.po b/source3/locale/net/de.po
index 96b34ee..fb90a4b 100644
--- a/source3/locale/net/de.po
+++ b/source3/locale/net/de.po
@@ -7,7 +7,7 @@ msgid 
 msgstr 
 Project-Id-Version: @pack...@\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2010-01-19 09:45+0100\n
+POT-Creation-Date: 2010-01-19 14:40+0100\n
 PO-Revision-Date: 2010-01-14 18:55+0100\n
 Last-Translator: André Hentschel n...@dawncrow.de\n
 Language-Team: \n
@@ -38,21 +38,9 @@ msgstr 
 msgid Failed to open secrets.tdb.\n
 msgstr 
 
-#: ../../utils/net.c:139 ../../utils/net.c:157 ../../utils/net_ads.c:131 
../../utils/net_ads.c:161 ../../utils/net_ads.c:376 ../../utils/net_ads.c:701 
../../utils/net_ads.c:852 ../../utils/net_ads.c:886 ../../utils/net_ads.c:928 
../../utils/net_ads.c:1041
-#: ../../utils/net_ads.c:1420 ../../utils/net_ads.c:1472 
../../utils/net_ads.c:1542 ../../utils/net_ads.c:1582 
../../utils/net_ads.c:1646 ../../utils/net_ads.c:1772 
../../utils/net_ads.c:1875 ../../utils/net_ads.c:1958 ../../utils/net_ads.c:2199
-#: ../../utils/net_ads.c:2220 ../../utils/net_ads.c:2245 
../../utils/net_ads.c:2264 ../../utils/net_ads.c:2330 
../../utils/net_ads.c:2354 ../../utils/net_ads.c:2409 
../../utils/net_ads_gpo.c:40 ../../utils/net_ads_gpo.c:226 
../../utils/net_ads_gpo.c:300
-#: ../../utils/net_ads_gpo.c:451 ../../utils/net_ads_gpo.c:492 
../../utils/net_ads_gpo.c:579 ../../utils/net_cache.c:158 
../../utils/net_cache.c:273 ../../utils/net_cache.c:294 
../../utils/net_cache.c:307 ../../utils/net_conf.c:1136
-#: ../../utils/net_groupmap.c:91 ../../utils/net_groupmap.c:119 
../../utils/net_groupmap.c:195 ../../utils/net_groupmap.c:271 
../../utils/net_groupmap.c:355 ../../utils/net_groupmap.c:411 
../../utils/net_groupmap.c:494 ../../utils/net_groupmap.c:521
-#: ../../utils/net_groupmap.c:672 ../../utils/net_help.c:36 
../../utils/net_idmap.c:64 ../../utils/net_idmap.c:95 
../../utils/net_idmap.c:241 ../../utils/net_rap.c:161 ../../utils/net_rap.c:302 
../../utils/net_rap.c:467 ../../utils/net_rap.c:506
-#: ../../utils/net_rap.c:535 ../../utils/net_rap.c:750 
../../utils/net_rap.c:891 ../../utils/net_rap.c:1002 ../../utils/net_rap.c:1193 
../../utils/net_rpc.c:275 ../../utils/net_rpc.c:406 ../../utils/net_rpc.c:436 
../../utils/net_rpc.c:551
-#: ../../utils/net_rpc.c:617 ../../utils/net_rpc.c:985 
../../utils/net_rpc.c:1917 ../../utils/net_rpc.c:2119 
../../utils/net_rpc.c:2203 ../../utils/net_rpc.c:2712 
../../utils/net_rpc.c:2826 ../../utils/net_rpc.c:3050 ../../utils/net_rpc.c:3234
-#: ../../utils/net_rpc.c:3567 ../../utils/net_rpc.c:3692 
../../utils/net_rpc.c:3725 ../../utils/net_rpc.c:4528 
../../utils/net_rpc.c:4654 ../../utils/net_rpc.c:4929 
../../utils/net_rpc.c:5036 ../../utils/net_rpc.c:5183 ../../utils/net_rpc.c:5355
-#: ../../utils/net_rpc.c:5512 ../../utils/net_rpc.c:5595 
../../utils/net_rpc.c:5759 ../../utils/net_rpc.c:5890 
../../utils/net_rpc.c:6047 ../../utils/net_rpc.c:6420 
../../utils/net_rpc.c:6467 ../../utils/net_rpc.c:6503 

[SCM] Samba Shared Repository - branch master updated

2010-01-19 Thread Günther Deschner
The branch, master has been updated
   via  40d3408... s4-smbtorture: also configure check 
smbc_setOptionCaseSensitive for LIBSMBCLIENT testsuite.
  from  add4edc... s3 net/i18n: Update .po files

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 40d3408dd3fd908e1fe15ff81015ab4275b6ad74
Author: Günther Deschner g...@samba.org
Date:   Tue Jan 19 16:22:45 2010 +0100

s4-smbtorture: also configure check smbc_setOptionCaseSensitive for 
LIBSMBCLIENT testsuite.

Guenther

---

Summary of changes:
 source4/torture/libsmbclient/config.m4 |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/libsmbclient/config.m4 
b/source4/torture/libsmbclient/config.m4
index a53b4d6..39b3360 100644
--- a/source4/torture/libsmbclient/config.m4
+++ b/source4/torture/libsmbclient/config.m4
@@ -21,7 +21,8 @@ if test x$use_libsmbclient != xno; then
AC_CHECK_HEADERS(libsmbclient.h)
AC_CHECK_LIB_EXT(smbclient, SMBCLIENT_LIBS, smbc_new_context)
AC_CHECK_LIB_EXT(smbclient, SMBCLIENT_LIBS, 
smbc_getOptionNoAutoAnonymousLogin)
-   if test x$ac_cv_header_libsmbclient_h = xyes -a 
x$ac_cv_lib_ext_smbclient_smbc_new_context = xyes -a 
x$ac_cv_lib_ext_smbclient_smbc_getOptionNoAutoAnonymousLogin = xyes; then
+   AC_CHECK_LIB_EXT(smbclient, SMBCLIENT_LIBS, smbc_setOptionCaseSensitive)
+   if test x$ac_cv_header_libsmbclient_h = xyes -a 
x$ac_cv_lib_ext_smbclient_smbc_new_context = xyes -a 
x$ac_cv_lib_ext_smbclient_smbc_getOptionNoAutoAnonymousLogin = xyes -a 
x$ac_cv_lib_ext_smbclient_smbc_setOptionCaseSensitive = xyes; then
AC_DEFINE(ENABLE_LIBSMBCLIENT,1,[Whether we have libsmbclient 
on the host system])
SMB_ENABLE(SMBCLIENT,YES)
SMB_ENABLE(TORTURE_LIBSMBCLIENT,YES)


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2010-01-19 Thread Volker Lendecke
The branch, master has been updated
   via  41a350f... s3: Fix a typo
  from  40d3408... s4-smbtorture: also configure check 
smbc_setOptionCaseSensitive for LIBSMBCLIENT testsuite.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 41a350f17e11946f4bf44de5a6d535bc6d2feccc
Author: Volker Lendecke v...@samba.org
Date:   Tue Jan 19 16:51:33 2010 +0100

s3: Fix a typo

---

Summary of changes:
 source3/smbd/oplock.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 7ce450c..f3034bd 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -484,7 +484,7 @@ static void process_oplock_break_message(struct 
messaging_context *msg_ctx,
fsp = initial_break_processing(msg.id, msg.share_file_id);
 
if (fsp == NULL) {
-   /* a We hit race here. Break messages are sent, and before we
+   /* We hit a race here. Break messages are sent, and before we
 * get to process this message, we have closed the file. Reply
 * with 'ok, oplock broken' */
DEBUG(3, (Did not find fsp\n));


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2010-01-19 Thread Günther Deschner
The branch, master has been updated
   via  f8314c2... s4-smbtorture: remove unneeded ncaclrpc dir setup from 
RPC-SPOOLSS-NOTIFY.
  from  41a350f... s3: Fix a typo

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit f8314c27b3804dc95c973f1577e3e40d7c91ae43
Author: Günther Deschner g...@samba.org
Date:   Tue Jan 19 17:15:05 2010 +0100

s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.

Guenther

---

Summary of changes:
 source4/torture/rpc/spoolss_notify.c |   10 --
 1 files changed, 0 insertions(+), 10 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/spoolss_notify.c 
b/source4/torture/rpc/spoolss_notify.c
index c6ff706..bce85ca 100644
--- a/source4/torture/rpc/spoolss_notify.c
+++ b/source4/torture/rpc/spoolss_notify.c
@@ -283,16 +283,6 @@ static bool test_RFFPCNEx(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx, status,
   unable to initialize DCE/RPC server);
 
-   /* Make sure the directory for NCALRPC exists */
-   if (!directory_exist(lp_ncalrpc_dir(tctx-lp_ctx))) {
-   int ret;
-   ret = mkdir(lp_ncalrpc_dir(tctx-lp_ctx), 0755);
-   torture_assert(tctx, (ret == 0), talloc_asprintf(tctx,
-  failed to mkdir(%s) ret[%d] errno[%d - %s],
-  lp_ncalrpc_dir(tctx-lp_ctx), ret,
-  errno, strerror(errno)));
-   }
-
for (e=dce_ctx-endpoint_list;e;e=e-next) {
status = dcesrv_add_ep(dce_ctx, tctx-lp_ctx,
   e, tctx-ev, single_ops);


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2010-01-19 Thread Jelmer Vernooij
The branch, master has been updated
   via  8067bf6... Fix unintentional free of the last value when adding a 
new value to a key.
  from  f8314c2... s4-smbtorture: remove unneeded ncaclrpc dir setup from 
RPC-SPOOLSS-NOTIFY.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 8067bf629c4c4a2a4c1e66af41fc387448d468c6
Author: Wilco Baan Hofman wi...@baanhofman.nl
Date:   Tue Jan 19 12:06:01 2010 +0100

Fix unintentional free of the last value when adding a new value to a key.

Signed-off-by: Jelmer Vernooij jel...@samba.org

---

Summary of changes:
 source4/lib/registry/regf.c |   12 
 1 files changed, 8 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/registry/regf.c b/source4/lib/registry/regf.c
index a7fed42..a96c7db 100644
--- a/source4/lib/registry/regf.c
+++ b/source4/lib/registry/regf.c
@@ -1791,11 +1791,9 @@ static WERROR regf_set_value(struct hive_key *key, const 
char *name,
break;
}
}
-   /* Free data, if any */
-   if (!(vk.data_length  0x8000)) {
-   hbin_free(regf, vk.data_offset);
-   }
}
+
+   /* If it's new, create the vk struct, if it's old, free the old data. */
if (old_vk_offset == -1) {
vk.header = vk;
vk.name_length = strlen(name);
@@ -1806,7 +1804,13 @@ static WERROR regf_set_value(struct hive_key *key, const 
char *name,
vk.data_name = NULL;
vk.flag = 0;
}
+   } else {
+   /* Free data, if any */
+   if (!(vk.data_length  0x8000)) {
+   hbin_free(regf, vk.data_offset);
+   }
}
+
/* Set the type and data */
vk.data_length = data.length;
vk.data_type = type;


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2010-01-19 Thread Jelmer Vernooij
The branch, master has been updated
   via  18943bb... selftest: Use SUBUNIT_FORMATTER command, if set in the 
environment.
  from  8067bf6... Fix unintentional free of the last value when adding a 
new value to a key.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 18943bba9c927578201b67e2384568b9789e7c5c
Author: Jelmer Vernooij jel...@samba.org
Date:   Wed Jan 20 11:05:04 2010 +1300

selftest: Use SUBUNIT_FORMATTER command, if set in the environment.

---

Summary of changes:
 source4/selftest/config.mk |   30 +++---
 1 files changed, 15 insertions(+), 15 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/selftest/config.mk b/source4/selftest/config.mk
index 2804b73..9e2896e 100644
--- a/source4/selftest/config.mk
+++ b/source4/selftest/config.mk
@@ -16,15 +16,15 @@ ST_DONE_TEST = @test -f $(selftest_prefix)/st_done || { 
echo SELFTEST FAILED;
 SELFTEST_NOSLOW_OPTS = --exclude=$(srcdir)/selftest/slow
 SELFTEST_QUICK_OPTS = $(SELFTEST_NOSLOW_OPTS) --quick 
--include=$(srcdir)/selftest/quick
 FILTER_XFAIL = $(PERL) $(selftestdir)/filter-subunit.pl 
--expected-failures=$(srcdir)/selftest/knownfail
-FORMAT_TEST = $(PERL) $(selftestdir)/format-subunit.pl 
--prefix=${selftest_prefix} --format=$(TEST_FORMAT)
-FORMAT_TEST_OUTPUT = $(FILTER_XFAIL) | $(FORMAT_TEST)
+SUBUNIT_FORMATTER ?= $(PERL) $(selftestdir)/format-subunit.pl 
--prefix=${selftest_prefix} --format=$(TEST_FORMAT) --immediate
+FORMAT_TEST_OUTPUT = $(FILTER_XFAIL) | $(SUBUNIT_FORMATTER)
 
 test-subunit:: everything
$(ST_RM) $(SELFTEST) --socket-wrapper $(TESTS) $(ST_TOUCH)
$(ST_DONE_TEST)
 
 slowtest:: everything
-   $(ST_RM) $(SELFTEST) $(DEFAULT_TEST_OPTIONS) $(TESTS) $(ST_TOUCH) | 
$(FORMAT_TEST_OUTPUT) --immediate
+   $(ST_RM) $(SELFTEST) $(DEFAULT_TEST_OPTIONS) $(TESTS) $(ST_TOUCH) | 
$(FORMAT_TEST_OUTPUT)
$(ST_DONE_TEST)
 
 ifeq ($(RUN_FROM_BUILD_FARM),yes)
@@ -34,18 +34,18 @@ test:: everything
test -f ${selftest_prefix}/summary  cat ${selftest_prefix}/summary
 else
 test:: 
-   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) $(DEFAULT_TEST_OPTIONS) 
$(TESTS) $(ST_TOUCH) | $(FORMAT_TEST_OUTPUT) --immediate 
+   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) $(DEFAULT_TEST_OPTIONS) 
$(TESTS) $(ST_TOUCH) | $(FORMAT_TEST_OUTPUT)
$(ST_DONE_TEST)
 endif
 
 kvmtest:: everything
$(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) $(DEFAULT_TEST_OPTIONS) \
-   --target=kvm --image=$(KVM_IMAGE) $(ST_TOUCH) | 
$(FORMAT_TEST_OUTPUT) --immediate 
+   --target=kvm --image=$(KVM_IMAGE) $(ST_TOUCH) | 
$(FORMAT_TEST_OUTPUT)
$(ST_DONE_TEST)
 
 kvmquicktest:: everything
$(ST_RM) $(SELFTEST) $(DEFAULT_TEST_OPTIONS) \
-   $(SELFTEST_QUICK_OPTS) --target=kvm --image=$(KVM_IMAGE) 
$(ST_TOUCH) | $(FORMAT_TEST_OUTPUT) | $(FORMAT_TEST_OUTPUT) --immediate 
+   $(SELFTEST_QUICK_OPTS) --target=kvm --image=$(KVM_IMAGE) 
$(ST_TOUCH) | $(FORMAT_TEST_OUTPUT)
$(ST_DONE_TEST)
 
 testone:: everything
@@ -53,23 +53,23 @@ testone:: everything
$(ST_DONE_TEST)
 
 test-swrap:: everything
-   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper $(TESTS) 
$(ST_TOUCH) | $(FORMAT_TEST_OUTPUT) --immediate 
+   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper $(TESTS) 
$(ST_TOUCH) | $(FORMAT_TEST_OUTPUT)
$(ST_DONE_TEST)
 
 test-swrap-pcap:: everything
-   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper-pcap 
$(TESTS) $(ST_TOUCH) | $(FORMAT_TEST_OUTPUT) --immediate 
+   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper-pcap 
$(TESTS) $(ST_TOUCH) | $(FORMAT_TEST_OUTPUT)
$(ST_DONE_TEST)
 
 test-swrap-keep-pcap:: everything
-   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper-keep-pcap 
$(TESTS) $(ST_TOUCH) | $(FORMAT_TEST_OUTPUT) --immediate 
+   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper-keep-pcap 
$(TESTS) $(ST_TOUCH) | $(FORMAT_TEST_OUTPUT)
$(ST_DONE_TEST)
 
 test-noswrap:: everything
-   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) $(TESTS) $(ST_TOUCH) | 
$(FORMAT_TEST_OUTPUT) --immediate 
+   $(ST_RM) $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) $(TESTS) $(ST_TOUCH) | 
$(FORMAT_TEST_OUTPUT)
$(ST_DONE_TEST)
 
 quicktest:: all
-   $(ST_RM) $(SELFTEST) $(SELFTEST_QUICK_OPTS) --socket-wrapper $(TESTS) 
$(ST_TOUCH) | $(FORMAT_TEST_OUTPUT) --immediate 
+   $(ST_RM) $(SELFTEST) $(SELFTEST_QUICK_OPTS) --socket-wrapper $(TESTS) 
$(ST_TOUCH) | $(FORMAT_TEST_OUTPUT)
$(ST_DONE_TEST)
 
 quicktest-subunit:: all
@@ -94,12 +94,12 @@ valgrindtest:: valgrindtest-all
 valgrindtest-quick:: all
SAMBA_VALGRIND=xterm -n server -e $(selftestdir)/valgrind_run 
$(LD_LIBPATH_OVERRIDE) \
VALGRIND=valgrind -q 

[SCM] CTDB repository - branch 1.0.112 updated - ctdb-1.0.111-13-g910deba

2010-01-19 Thread Ronnie Sahlberg
The branch, 1.0.112 has been updated
   via  910debaa673319a193374ecc75048e3b8da7564d (commit)
   via  287054d93ce4136d2f3db783ce4b5d3af3d14726 (commit)
  from  232f9f40926573fe0f1fb1782280f693d37c38fe (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=1.0.112


- Log -
commit 910debaa673319a193374ecc75048e3b8da7564d
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Wed Jan 20 15:14:47 2010 +1100

Version 1.0.112-3

commit 287054d93ce4136d2f3db783ce4b5d3af3d14726
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Wed Jan 20 10:35:02 2010 +1100

source the nfs sysconfig file from the 61.nfstickles script

---

Summary of changes:
 config/events.d/61.nfstickle |2 ++
 packaging/RPM/ctdb.spec.in   |4 +++-
 2 files changed, 5 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/events.d/61.nfstickle b/config/events.d/61.nfstickle
index b717e2a..14794fe 100755
--- a/config/events.d/61.nfstickle
+++ b/config/events.d/61.nfstickle
@@ -3,6 +3,8 @@
 
 . $CTDB_BASE/functions
 
+. /etc/sysconfig/nfs
+
 service_name=nfs
 service_start=mkdir -p $CTDB_BASE/state/nfstickle;mkdir -p 
$NFS_TICKLE_SHARED_DIRECTORY/`hostname`;echo 1  
/proc/sys/net/ipv4/tcp_tw_recycle
 service_reconfigure=$service_start
diff --git a/packaging/RPM/ctdb.spec.in b/packaging/RPM/ctdb.spec.in
index c694168..30545c5 100644
--- a/packaging/RPM/ctdb.spec.in
+++ b/packaging/RPM/ctdb.spec.in
@@ -5,7 +5,7 @@ Vendor: Samba Team
 Packager: Samba Team sa...@samba.org
 Name: ctdb
 Version: 1.0.112
-Release: 2
+Release: 3
 Epoch: 0
 License: GNU GPL version 3
 Group: System Environment/Daemons
@@ -123,6 +123,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_docdir}/ctdb/tests/bin/ctdb_transaction
 
 %changelog
+* Wed Jan 20 2010 : Version 1.0.112-3
+ - Explicitely source the nfs sysconfig file from the 61.nfstickles script.
 * Wed Jan 13 2010 : Version 1.0.112-2
  - Incorrect use of dup2() could cause ctdb to spin eating 100% cpu.
 * Tue Jan 12 2010 : Version 1.0.112


-- 
CTDB repository


[SCM] CTDB repository - branch master updated - ctdb-1.0.113-3-g085d1be

2010-01-19 Thread Ronnie Sahlberg
The branch, master has been updated
   via  085d1bea78fabf754ef6dd6d323f74a1d361e45c (commit)
  from  037e64e1900f09e699d5fce50df2850f26f47f91 (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master


- Log -
commit 085d1bea78fabf754ef6dd6d323f74a1d361e45c
Author: Ronnie Sahlberg ronniesahlb...@gmail.com
Date:   Wed Jan 20 10:35:02 2010 +1100

source the nfs sysconfig file from the 61.nfstickles script

---

Summary of changes:
 config/events.d/61.nfstickle |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/events.d/61.nfstickle b/config/events.d/61.nfstickle
index b717e2a..14794fe 100755
--- a/config/events.d/61.nfstickle
+++ b/config/events.d/61.nfstickle
@@ -3,6 +3,8 @@
 
 . $CTDB_BASE/functions
 
+. /etc/sysconfig/nfs
+
 service_name=nfs
 service_start=mkdir -p $CTDB_BASE/state/nfstickle;mkdir -p 
$NFS_TICKLE_SHARED_DIRECTORY/`hostname`;echo 1  
/proc/sys/net/ipv4/tcp_tw_recycle
 service_reconfigure=$service_start


-- 
CTDB repository


Build status as of Wed Jan 20 07:00:04 2010

2010-01-19 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2010-01-19 
00:00:04.0 -0700
+++ /home/build/master/cache/broken_results.txt 2010-01-20 00:00:05.0 
-0700
@@ -1,4 +1,4 @@
-Build status as of Tue Jan 19 07:00:04 2010
+Build status as of Wed Jan 20 07:00:04 2010
 
 Build counts:
 Tree Total  Broken Panic 
@@ -6,17 +6,17 @@
 ccache   2  0  0 
 distcc   0  0  0 
 ldb  29 29 0 
-libreplace   27 12 0 
+libreplace   28 12 0 
 lorikeet 0  0  0 
 pidl 0  0  0 
-ppp  0  0  0 
+ppp  1  1  0 
 rsync2  0  0 
 samba-docs   0  0  0 
 samba-web0  0  0 
-samba_3_current 28 28 1 
-samba_3_master 27 26 4 
-samba_3_next 28 28 5 
-samba_4_0_test 29 28 1 
+samba_3_current 27 27 0 
+samba_3_master 27 26 2 
+samba_3_next 27 27 3 
+samba_4_0_test 29 28 0 
 talloc   27 10 0 
 tdb  25 17 0