[SCM] Samba Shared Repository - branch master updated

2012-09-24 Thread Andrew Bartlett
The branch, master has been updated
   via  67230c4 build: Fix detection of quotas on macos
  from  13c2878 s3-pylibsmb: Use Py_RETURN_NONE

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


- Log -
commit 67230c43db5eb955c89ccc89d8e8d8aca1f35a1c
Author: Andrew Bartlett 
Date:   Mon Sep 24 18:02:01 2012 +1000

build: Fix detection of quotas on macos

This is a weird one.  While visually OK, the . in sys/types.h was not
made up of the typical ASCII character, so of course did not find
types.h!

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett 
Autobuild-Date(master): Mon Sep 24 12:24:45 CEST 2012 on sn-devel-104

---

Summary of changes:
 source3/configure.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index 89e813e..489b017 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -4641,7 +4641,7 @@ if test x"$samba_cv_HAVE_QUOTACTL_4B" = x"yes"; then
 samba_cv_sysquotas_file="lib/sysquotas_4B.c"
 AC_CHECK_MEMBERS([struct dqblk.dqb_curbytes], # Darwin bytecount style
[ AC_DEFINE([HAVE_STRUCT_DQBLK_DQB_CURBYTES],[1],[darwin style quota 
bytecount])],,
-   [#include 
+   [#include 
#include ])
 
 fi


-- 
Samba Shared Repository


autobuild: intermittent test failure detected

2012-09-24 Thread autobuild
The autobuild test system has detected an intermittent failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey/2012-09-24-1331/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-09-24-1331/samba3.stderr
   http://git.samba.org/autobuild.flakey/2012-09-24-1331/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-09-24-1331/samba.stderr
   http://git.samba.org/autobuild.flakey/2012-09-24-1331/samba.stdout
  
The top commit at the time of the failure was:

commit 13c28787ad22454ddd19e06ae680b8d5abb986c0
Author: Volker Lendecke 
Date:   Sun Sep 23 18:50:22 2012 -0700

s3-pylibsmb: Use Py_RETURN_NONE

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Mon Sep 24 08:09:53 CEST 2012 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2012-09-24 Thread Stefan Metzmacher
The branch, master has been updated
   via  df48092 script/autobuild.py: set the default for --log-base to the 
current gitroot
  from  67230c4 build: Fix detection of quotas on macos

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


- Log -
commit df48092a23d7193d3a0f70f5089ec3fbee87a96b
Author: Stefan Metzmacher 
Date:   Mon Sep 24 11:53:22 2012 +0200

script/autobuild.py: set the default for --log-base to the current gitroot

metze

Autobuild-User(master): Stefan Metzmacher 
Autobuild-Date(master): Mon Sep 24 15:27:16 CEST 2012 on sn-devel-104

---

Summary of changes:
 script/autobuild.py |   14 +++---
 1 files changed, 7 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/script/autobuild.py b/script/autobuild.py
index 12656c1..efef2f4 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -453,6 +453,10 @@ def push_to(push_url, push_branch = "master"):
 
 def_testbase = os.getenv("AUTOBUILD_TESTBASE", "/memdisk/%s" % 
os.getenv('USER'))
 
+gitroot = find_git_root()
+if gitroot is None:
+raise Exception("Failed to find git root")
+
 parser = OptionParser()
 parser.add_option("", "--tail", help="show output while running", 
default=False, action="store_true")
 parser.add_option("", "--keeplogs", help="keep logs", default=False, 
action="store_true")
@@ -481,13 +485,13 @@ parser.add_option("", "--daemon", help="daemonize after 
initial setup",
 parser.add_option("", "--branch", help="the branch to work on 
(default=master)",
   default="master", type='str')
 parser.add_option("", "--log-base", help="location where the logs can be found 
(default=cwd)",
-  default=None, type='str')
+  default=gitroot, type='str')
 
 def email_failure(status, failed_task, failed_stage, failed_tag, errstr, 
log_base=None):
 '''send an email to options.email about the failure'''
 user = os.getenv("USER")
 if log_base is None:
-log_base = "http://git.samba.org/%s/samba-autobuild"; % user
+log_base = gitroot
 text = '''
 Dear Developer,
 
@@ -531,7 +535,7 @@ def email_success(log_base=None):
 '''send an email to options.email about a successful build'''
 user = os.getenv("USER")
 if log_base is None:
-log_base = "http://git.samba.org/%s/samba-autobuild"; % user
+log_base = gitroot
 text = '''
 Dear Developer,
 
@@ -574,10 +578,6 @@ if options.retry:
 testbase = "%s/b%u" % (options.testbase, os.getpid())
 test_master = "%s/master" % testbase
 
-gitroot = find_git_root()
-if gitroot is None:
-raise Exception("Failed to find git root")
-
 # get the top commit message, for emails
 top_commit_msg = run_cmd("git log -1", dir=gitroot, output=True)
 


-- 
Samba Shared Repository


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

2012-09-24 Thread Karolin Seeger
The branch, v3-5-stable has been updated
   via  052b65e WHWATSNEW: Prepare release notes for Samba 3.5.18.
   via  fa8b1fa docs: clarify the idmap_rid manpage (bug #7788)
   via  1d5b8aa s3:winbindd: make sure we only call static_init_idmap once
   via  536be09 quota: fix build of sysquote_xfs on
   via  5463fcf nsswitch: fix crash on null pam change pw response
   via  f919d07 Fix bug #9147 - winbind can't fetch user or group info from 
AD via LDAP
   via  3709ac8 s3: delete requests are not special
   via  f482604 s3: Fix bug #9085.
   via  9c48ee2 Fix bug #9100 - winbind doesn't return "Domain Local" 
groups from own domain.
   via  805992f Fix bug #9098 - winbind does not refresh kerberos tickets.
   via  aca082e Fix bug #9104 - winbindd can mis-identify idle clients - 
can cause crashes and NDR parsing errors.
   via  83148e2 Ensure we keep last_access up to date when processing a 
request. (cherry picked from commit e01df21a5dbe8f3d401d58de6cffa4d4ba340a24)
   via  988118c s3: Fix a crash in reply_lockingX_error
  from  6c50a54 WHATSNEW: Start release notes for Samba 3.5.18.

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


- Log -
commit 052b65e15293b62520f3a35d4681ffeaf7499cae
Author: Karolin Seeger 
Date:   Fri Sep 21 10:19:07 2012 +0200

WHWATSNEW: Prepare release notes for Samba 3.5.18.

Karolin
(cherry picked from commit e9e21faae567370f05432462cf25a3df6cf8e07f)

commit fa8b1fa084a0695e949bf5d473faf6ef523900ee
Author: Michael Adam 
Date:   Tue Dec 7 17:30:27 2010 +0100

docs: clarify the idmap_rid manpage (bug #7788)

The idmap_rid module should not be used as a default backend.
Also mention that the old snytax "idmap backend = rid:domain=range ..."
is not supported any more.

Autobuild-User: Michael Adam 
Autobuild-Date: Tue Dec  7 19:07:57 CET 2010 on sn-devel-104
(cherry picked from commit a4f48b3da0081845336c55ff230179caeab5195c)

commit 1d5b8aa6a8c242e6b40e8a984a04bcd76bfdd884
Author: Björn Jacke 
Date:   Wed Aug 24 10:57:49 2011 +0200

s3:winbindd: make sure we only call static_init_idmap once

this is a backport of 3f14d03adbda03b821210115af4fae044a9b4a3e

Fix bug #8402 - winbind log spammed with idmap messages.
(cherry picked from commit 04e4325642d029e604c31b371811fafdf2b61cf8)

commit 536be09e802db2f93ed02690d219ed6ccec908c3
Author: Björn Jacke 
Date:   Thu Sep 13 01:23:12 2012 +0200

quota: fix build of sysquote_xfs on

linux header files renamed some XFS_* defines to FS_* around kernel v2.6.36

This fixes bug #7814
(cherry picked from commit a3eb8d765e48bcbe86458791ec61325a517bd7dd)

commit 5463fcf7dca60c902946f36437c034137d9078b0
Author: Luca Lorenzetto 
Date:   Tue Sep 11 18:35:42 2012 +0200

nsswitch: fix crash on null pam change pw response

The function _pam_winbind_change_pwd crashes due to a null value passed
to the function strcasecmp and denies to login via graphical login
manager. Check for a null value before doing a strcasecmp.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1003296
Bug: https://bugzilla.samba.org/show_bug.cgi?id=9013
(Desktop Managers (xdm, gdm, lightdm...) crashes with SIGSEGV in
_pam_winbind_change_pwd() when password is expiring)
(cherry picked from commit 47f2211f137688a7c46c4a38571a9f94e59dbf6a)
(cherry picked from commit 25bf057288d5e77c07a5ed3d3c3fb7f5f33f62b6)

commit f919d070b1dc9c210e9b402806372fd2f041b35a
Author: Jeremy Allison 
Date:   Mon Sep 10 16:07:37 2012 -0700

Fix bug #9147 - winbind can't fetch user or group info from AD via LDAP

Don't use "isprint" in ldb_binary_encode(). This is locale specific.
Restrict to ASCII only, hex encode everything else.
(cherry picked from commit 9258a7b9cfd5fb85e5361d1b49c3bb8655e97159)

commit 3709ac83a0671fc8ac546031f4992165a886de0d
Author: Volker Lendecke 
Date:   Mon Sep 10 11:25:03 2012 +0200

s3: delete requests are not special

The only difference between batch and exclusive oplocks is the time of
the check: Batch is checked before the share mode check, exclusive after.

Signed-off-by: Jeremy Allison 

Fix bug #9150 - Valid open requests can cause smbd assert due to incorrect
oplock handling on delete requests.
(cherry picked from commit b20ca77e2a9d111eb2e77d0b804fe7505b07e418)

commit f4826046d01bf702044a1664400989a631acf65f
Author: hargagan 
Date:   Tue Aug 28 09:29:52 2012 +0200

s3: Fix bug #9085.

NMB registration for a duplicate workstation fails with registration refuse.
(cherry picked from commit 71c4227fd0a741984fb273ad1973ad1724ecb04b)
(cherry picked from commit 30567b8f9bc0f5a39a3a65039277aa5f839622cd)

commit 9c48ee2bc85867bf30bb71a26edf9300ee081094
Author: Goldberg, Neil R 
Date:   Fri Aug 17 13:52:07 2012 -0700

Fix bug #91

[SCM] Samba Shared Repository - annotated tag samba-3.5.18 created

2012-09-24 Thread Karolin Seeger
The annotated tag, samba-3.5.18 has been created
at  bc56775b48a3febb162893a0cebbf9af2aeef29c (tag)
   tagging  052b65e15293b62520f3a35d4681ffeaf7499cae (commit)
  replaces  samba-3.5.17
 tagged by  Karolin Seeger
on  Mon Sep 24 18:57:52 2012 +0200

- Log -
tag samba-3.5.18
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)

iD8DBQBQYJEhbzORW2Vot+oRAtivAJwNbyf3Sy3D7+ecc+z6MWGMmOa8fwCeK6Bc
BQJHMBmXb4oiiczoyPgehbE=
=JjEB
-END PGP SIGNATURE-

Björn Jacke (2):
  quota: fix build of sysquote_xfs on
  s3:winbindd: make sure we only call static_init_idmap once

Goldberg, Neil R (1):
  Fix bug #9100 - winbind doesn't return "Domain Local" groups from own 
domain.

Herb Lewis (1):
  Fix bug #9104 - winbindd can mis-identify idle clients - can cause 
crashes and NDR parsing errors.

Jeremy Allison (3):
  Ensure we keep last_access up to date when processing a request.
  Fix bug #9098 - winbind does not refresh kerberos tickets.
  Fix bug #9147 - winbind can't fetch user or group info from AD via LDAP

Karolin Seeger (3):
  VERSION: Bump version up to 3.5.18.
  WHATSNEW: Start release notes for Samba 3.5.18.
  WHWATSNEW: Prepare release notes for Samba 3.5.18.

Luca Lorenzetto (1):
  nsswitch: fix crash on null pam change pw response

Michael Adam (1):
  docs: clarify the idmap_rid manpage (bug #7788)

Volker Lendecke (2):
  s3: Fix a crash in reply_lockingX_error
  s3: delete requests are not special

hargagan (1):
  s3: Fix bug #9085.

---


-- 
Samba Shared Repository


[SCM] Samba Website Repository - branch master updated

2012-09-24 Thread Karolin Seeger
The branch, master has been updated
   via  56f0067 Announce Samba 3.5.18.
  from  8601ff0 Latest version is Samba 3.6.8.

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


- Log -
commit 56f0067c1afb33abda43b2fe2783fa91b9e9c224
Author: Karolin Seeger 
Date:   Mon Sep 24 19:16:51 2012 +0200

Announce Samba 3.5.18.

Karolin

---

Summary of changes:
 generated_news/latest_10_bodies.html|   18 
 generated_news/latest_10_headlines.html |4 +-
 generated_news/latest_2_bodies.html |   20 
 history/header_history.html |1 +
 history/samba-3.5.18.html   |   73 +++
 5 files changed, 95 insertions(+), 21 deletions(-)
 create mode 100755 history/samba-3.5.18.html


Changeset truncated at 500 lines:

diff --git a/generated_news/latest_10_bodies.html 
b/generated_news/latest_10_bodies.html
index 0dde31a..e0215c2 100644
--- a/generated_news/latest_10_bodies.html
+++ b/generated_news/latest_10_bodies.html
@@ -1,3 +1,12 @@
+   24 September 2012
+   Samba 3.5.18 Available for Download
+   This is the latest stable release of the Samba 3.5 series.
+
+The uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+http://samba.org/samba/ftp/stable/samba-3.5.18.tar.gz";>downloaded
+now. A http://samba.org/samba/ftp/patches/patch-3.5.17-3.5.18.diffs.gz";>patch 
against Samba 3.5.17 is also available. See http://samba.org/samba/history/samba-3.5.18.html";>the release notes for 
more info.
+
17 September 2012
Samba 3.6.8 Available for Download
This is the latest stable release of the Samba 3.6 series.
@@ -126,12 +135,3 @@ Please see the release notes for more info:
 
If you are interested in this event and Samba's progress in the SMB2 
area,
please read Michael's
 full report.
-
-   12 March 2012
-   Samba 3.5.13 Available for Download
-   This is the latest stable release of the Samba 3.5 series.
-
-The uncompressed tarballs and patch files have been signed
-using GnuPG (ID 6568B7EA).  The source code can be
-http://samba.org/samba/ftp/stable/samba-3.5.13.tar.gz";>downloaded
-now. A http://samba.org/samba/ftp/patches/patch-3.5.12-3.5.13.diffs.gz";>patch 
against Samba 3.5.12 is also available. See http://samba.org/samba/history/samba-3.5.13.html";>the release notes for 
more info.
diff --git a/generated_news/latest_10_headlines.html 
b/generated_news/latest_10_headlines.html
index 3c1a31f..6c6ad9a 100644
--- a/generated_news/latest_10_headlines.html
+++ b/generated_news/latest_10_headlines.html
@@ -1,4 +1,6 @@
 
+24 September 2012 Samba 3.5.18 Available for 
Download
+
 17 September 2012 Samba 3.6.8 Available for 
Download
 
 13 September 2012 Samba 4.0.0rc1 Available for 
Download
@@ -16,6 +18,4 @@
 10 April 2012 Samba 3.6.4, 3.5.14 and 3.4.16 Security 
Releases Available for Download.
 
 20 March 2012 Report:
 Microsoft SMB2.2 Interop Event
-
-12 March 2012 Samba 3.5.13 Available for 
Download
 
diff --git a/generated_news/latest_2_bodies.html 
b/generated_news/latest_2_bodies.html
index 06bb797..b3aef74 100644
--- a/generated_news/latest_2_bodies.html
+++ b/generated_news/latest_2_bodies.html
@@ -1,3 +1,13 @@
+   24 September 2012
+   Samba 3.5.18 Available for Download
+   This is the latest stable release of the Samba 3.5 series.
+
+The uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+http://samba.org/samba/ftp/stable/samba-3.5.18.tar.gz";>downloaded
+now. A http://samba.org/samba/ftp/patches/patch-3.5.17-3.5.18.diffs.gz";>patch 
against Samba 3.5.17 is also available. See http://samba.org/samba/history/samba-3.5.18.html";>the release notes for 
more info.
+
+
17 September 2012
Samba 3.6.8 Available for Download
This is the latest stable release of the Samba 3.6 series.
@@ -9,13 +19,3 @@ now. A http://samba.org/samba/ftp/patches/patch-3.6.7-3.6.8.diffs.g
 patch against Samba 3.6.7 is also available.
 See http://samba.org/samba/history/samba-3.6.8.html";>
 the release notes for more info.
-
-
-   13 September 2012
-   Samba 4.0.0rc1 Available for Download
-   This is the first release candidate of the Samba 4.0 series.
-
-The uncompressed tarballs and patch files have been signed
-using GnuPG (ID 6568B7EA).  The source code can be
-https://download.samba.org/pub/samba/rc/samba-4.0.0rc1.tar.gz";>downloaded 
now.
-See https://download.samba.org/pub/samba/rc/WHATSNEW-4-0-0rc1.txt";>the 
release notes for more info.
diff --git a/history/header_history.html b/history/header_history.html
index dec88cd..3850cec 100755
--- a/history/header_history.html
+++ b/history/header_history.html
@@ -18,6 +18,7 @@
   

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

2012-09-24 Thread Karolin Seeger
The branch, v3-5-test has been updated
   via  48d90a8 WHATSNEW: Start release notes for Samba 3.5.19.
   via  3262322 VERSION: Bump version up to 3.5.19.
  from  e9e21fa WHWATSNEW: Prepare release notes for Samba 3.5.18.

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


- Log -
commit 48d90a8eae8873081dcce28c17f483ae07ddb8f6
Author: Karolin Seeger 
Date:   Mon Sep 24 19:59:55 2012 +0200

WHATSNEW: Start release notes for Samba 3.5.19.

Karolin

commit 3262322e686dadf6cb25b93177b0d16076ca7e06
Author: Karolin Seeger 
Date:   Mon Sep 24 19:57:40 2012 +0200

VERSION: Bump version up to 3.5.19.

Karolin

---

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


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 37bbe4b..1551865 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,45 @@
==
+   Release Notes for Samba 3.5.19
+ November 5, 2012
+   ==
+
+
+This is the latest stable release of Samba 3.5.
+
+Major enhancements in Samba 3.5.19 include:
+
+o 
+
+Changes since 3.5.17:
+-
+
+o   Jeremy Allison 
+
+
+##
+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.5 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+==
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+==
+
+
+Release notes for older releases follow:
+
+
+   ==
Release Notes for Samba 3.5.18
 September 24, 2012
==
@@ -75,8 +116,8 @@ database (https://bugzilla.samba.org/).
 ==
 
 
-Release notes for older releases follow:
-
+--
+
 
==
Release Notes for Samba 3.5.17
diff --git a/source3/VERSION b/source3/VERSION
index 5aeb65b..584aabd 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=5
-SAMBA_VERSION_RELEASE=18
+SAMBA_VERSION_RELEASE=19
 
 
 # Bug fix releases use a letter for the patch revision #


-- 
Samba Shared Repository


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

2012-09-24 Thread Karolin Seeger
The branch, v3-5-stable has been updated
   via  5deaf47 WHATSNEW: Start release notes for Samba 3.5.19.
   via  8872a02 VERSION: Bump version up to 3.5.19.
  from  052b65e WHWATSNEW: Prepare release notes for Samba 3.5.18.

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


- Log -
commit 5deaf47c35b0971642244640bbf855cc1628eb15
Author: Karolin Seeger 
Date:   Mon Sep 24 19:59:55 2012 +0200

WHATSNEW: Start release notes for Samba 3.5.19.

Karolin
(cherry picked from commit 48d90a8eae8873081dcce28c17f483ae07ddb8f6)

commit 8872a02e005cc4c5e7b7e2953e475c07393f5dcf
Author: Karolin Seeger 
Date:   Mon Sep 24 19:57:40 2012 +0200

VERSION: Bump version up to 3.5.19.

Karolin
(cherry picked from commit 3262322e686dadf6cb25b93177b0d16076ca7e06)

---

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


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 37bbe4b..1551865 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,45 @@
==
+   Release Notes for Samba 3.5.19
+ November 5, 2012
+   ==
+
+
+This is the latest stable release of Samba 3.5.
+
+Major enhancements in Samba 3.5.19 include:
+
+o 
+
+Changes since 3.5.17:
+-
+
+o   Jeremy Allison 
+
+
+##
+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.5 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+==
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+==
+
+
+Release notes for older releases follow:
+
+
+   ==
Release Notes for Samba 3.5.18
 September 24, 2012
==
@@ -75,8 +116,8 @@ database (https://bugzilla.samba.org/).
 ==
 
 
-Release notes for older releases follow:
-
+--
+
 
==
Release Notes for Samba 3.5.17
diff --git a/source3/VERSION b/source3/VERSION
index 6a708dc..ed9c874 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=5
-SAMBA_VERSION_RELEASE=18
+SAMBA_VERSION_RELEASE=19
 
 
 # Bug fix releases use a letter for the patch revision #


-- 
Samba Shared Repository


[SCM] build.samba.org - branch master updated

2012-09-24 Thread Jelmer Vernooij
The branch, master has been updated
   via  c13ed96 Fix encoding when updating platform.
  from  8976254 build: Fix build farm for hosts other than our coverage test

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


- Log -
commit c13ed9660cec49958b97efccdb751f23044e6eed
Author: Jelmer Vernooij 
Date:   Mon Sep 24 20:46:07 2012 +0200

Fix encoding when updating platform.

---

Summary of changes:
 admin.py |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/admin.py b/admin.py
index 60679f8..b78fb32 100755
--- a/admin.py
+++ b/admin.py
@@ -89,7 +89,7 @@ elif op == "modify":
 mod_op = "platform"
 if mod_op == "platform":
 platform = raw_input("Enter new platform: ")
-host.update_platform(platform)
+host.update_platform(platform.decode('utf-8'))
 buildfarm.commit()
 elif mod_op == "owner":
 owner = raw_input("Enter new owner's name: ")


-- 
build.samba.org


[SCM] Samba Shared Repository - branch master updated

2012-09-24 Thread Jelmer Vernooij
The branch, master has been updated
   via  f44ad36 samba-tool domain provision: DNS forwarder is not a boolean.
   via  78cb9fd Remove compatibility code for setproctitle() now moved to 
libreplace.
   via  fd8d4ec replace: Support setproctitle().
   via  6641d76 samba-tool domain-provision: Avoid python2.5-isms.
   via  61ce3e8 samba-tool domain-provision: Fix docstring.
  from  df48092 script/autobuild.py: set the default for --log-base to the 
current gitroot

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


- Log -
commit f44ad3671876802a42846597be901257633e8ca3
Author: Jelmer Vernooij 
Date:   Mon Sep 24 23:02:05 2012 +0200

samba-tool domain provision: DNS forwarder is not a boolean.

Autobuild-User(master): Jelmer Vernooij 
Autobuild-Date(master): Tue Sep 25 00:48:43 CEST 2012 on sn-devel-104

commit 78cb9fd91bc1ac73ad1a1deb8c9423f88729b707
Author: Jelmer Vernooij 
Date:   Mon Sep 24 09:42:15 2012 +0200

Remove compatibility code for setproctitle() now moved to libreplace.

commit fd8d4ec34785e71de3f8458222d196d454d0e723
Author: Jelmer Vernooij 
Date:   Mon Sep 24 09:20:46 2012 +0200

replace: Support setproctitle().

This uses the setproctitle() from libc, libsetproctitle or libbsd.
If none is available it provides a dummy implementation.

commit 6641d76562db10e6289c5e819b1296d8f6df37bf
Author: Jelmer Vernooij 
Date:   Mon Sep 24 08:26:12 2012 +0200

samba-tool domain-provision: Avoid python2.5-isms.

commit 61ce3e871a1fc1d16202d337d74c2e10f64b2c86
Author: Jelmer Vernooij 
Date:   Mon Sep 24 08:21:27 2012 +0200

samba-tool domain-provision: Fix docstring.

---

Summary of changes:
 lib/replace/README  |1 +
 lib/replace/replace.c   |7 +++
 lib/replace/replace.h   |9 +
 lib/replace/wscript |2 ++
 source4/scripting/python/samba/netcmd/domain.py |   13 -
 source4/smbd/process_onefork.c  |   13 -
 source4/smbd/process_prefork.c  |   13 -
 source4/smbd/process_standard.c |   13 -
 8 files changed, 27 insertions(+), 44 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/replace/README b/lib/replace/README
index 5399971..e960dc8 100644
--- a/lib/replace/README
+++ b/lib/replace/README
@@ -73,6 +73,7 @@ readlink
 symlink
 realpath
 poll
+setproctitle
 
 Types:
 bool
diff --git a/lib/replace/replace.c b/lib/replace/replace.c
index ebfe04d..a0aa788 100644
--- a/lib/replace/replace.c
+++ b/lib/replace/replace.c
@@ -894,3 +894,10 @@ int rep_usleep(useconds_t sec)
return 0;
 }
 #endif /* HAVE_USLEEP */
+
+#ifndef HAVE_SETPROCTITLE
+void rep_setproctitle(const char *fmt, ...)
+{
+   return 0;
+}
+#endif
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index c7f9c71..bbea0fc 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -128,6 +128,10 @@
 #include 
 #endif
 
+#ifdef HAVE_SETPROCTITLE_H
+#include 
+#endif
+
 #if STDC_HEADERS
 #include 
 #include 
@@ -845,4 +849,9 @@ typedef long useconds_t;
 int usleep(useconds_t);
 #endif
 
+#ifndef HAVE_SETPROCTITLE
+#define setproctitle rep_setproctitle
+void rep_setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2);
+#endif
+
 #endif /* _LIBREPLACE_REPLACE_H */
diff --git a/lib/replace/wscript b/lib/replace/wscript
index d5b2631..f1f1cef 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -193,6 +193,8 @@ struct foo bar = { .y = 'X', .x = 1 };
 checklibc=True)
 if not conf.CHECK_FUNCS('getpeereid'):
 conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h 
bsd/unistd.h')
+if not conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h 
bsd/unistd.h'):
+conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', 
headers='setproctitle.h')
 
 conf.CHECK_CODE('''
 struct ucred cred;
diff --git a/source4/scripting/python/samba/netcmd/domain.py 
b/source4/scripting/python/samba/netcmd/domain.py
index 0954f63..4c76f0b 100644
--- a/source4/scripting/python/samba/netcmd/domain.py
+++ b/source4/scripting/python/samba/netcmd/domain.py
@@ -137,9 +137,9 @@ class cmd_domain_info(Command):
 
 
 class cmd_domain_provision(Command):
-"""Promotes an existing domain member or NT4 PDC to an AD DC"""
+"""Provision a domain."""
 
-synopsis = "%prog  [DC|RODC] [options]"
+synopsis = "%prog [options]"
 
 takes_optiongroups = {
 "sambaopts": options.SambaOptions,
@@ -265,7 +265,10 @@ class cmd_domain_provision(Command):
 
 creds.set_kerberos_state(DONT_USE_KERBEROS)
 
-suggested_forwarder = dns_forwarder is None and 
self._get_nameserver_ip() or dns_forwarder
+if dns_forwarder is not No

[SCM] Samba Shared Repository - branch master updated

2012-09-24 Thread Stefan Metzmacher
The branch, master has been updated
   via  f240a4c s4:rpc_server/drsuapi: use talloc_zero instead of talloc() 
in dcesrv_drsuapi_DsBind()
   via  bbac4fb s4:rpc_server/drsuapi: fix a crash in 
dcesrv_drsuapi_DsGetDomainControllerInfo_1()
  from  f44ad36 samba-tool domain provision: DNS forwarder is not a boolean.

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


- Log -
commit f240a4c2e7e5b05f91ae728334a9aadb4e97351f
Author: Stefan Metzmacher 
Date:   Tue Sep 25 01:13:12 2012 +0200

s4:rpc_server/drsuapi: use talloc_zero instead of talloc() in 
dcesrv_drsuapi_DsBind()

metze

Autobuild-User(master): Stefan Metzmacher 
Autobuild-Date(master): Tue Sep 25 03:06:13 CEST 2012 on sn-devel-104

commit bbac4fb42fc441a2b744ad5c5ecf93fbce920665
Author: Stefan Metzmacher 
Date:   Tue Sep 25 01:09:55 2012 +0200

s4:rpc_server/drsuapi: fix a crash in 
dcesrv_drsuapi_DsGetDomainControllerInfo_1()

metze

---

Summary of changes:
 source4/rpc_server/drsuapi/dcesrv_drsuapi.c |   14 +++---
 1 files changed, 7 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c 
b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
index 1d51ce8..4c78738 100644
--- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
+++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
@@ -220,7 +220,7 @@ static WERROR dcesrv_drsuapi_DsBind(struct 
dcesrv_call_state *dce_call, TALLOC_C
/*
 * allocate the return bind_info
 */
-   bind_info = talloc(mem_ctx, struct drsuapi_DsBindInfoCtr);
+   bind_info = talloc_zero(mem_ctx, struct drsuapi_DsBindInfoCtr);
W_ERROR_HAVE_NO_MEMORY(bind_info);
 
bind_info->length   = 28;
@@ -576,14 +576,9 @@ static WERROR 
dcesrv_drsuapi_DsGetDomainControllerInfo_1(struct drsuapi_bind_sta
unsigned int i;
 
*r->out.level_out = r->in.req->req1.level;
-   r->out.ctr = talloc(mem_ctx, union drsuapi_DsGetDCInfoCtr);
+   r->out.ctr = talloc_zero(mem_ctx, union drsuapi_DsGetDCInfoCtr);
W_ERROR_HAVE_NO_MEMORY(r->out.ctr);
 
-   sites_dn = samdb_sites_dn(b_state->sam_ctx, mem_ctx);
-   if (!sites_dn) {
-   return WERR_DS_OBJ_NOT_FOUND;
-   }
-
switch (*r->out.level_out) {
case -1:
/* this level is not like the others */
@@ -598,6 +593,11 @@ static WERROR 
dcesrv_drsuapi_DsGetDomainControllerInfo_1(struct drsuapi_bind_sta
return WERR_UNKNOWN_LEVEL;
}
 
+   sites_dn = samdb_sites_dn(b_state->sam_ctx, mem_ctx);
+   if (!sites_dn) {
+   return WERR_DS_OBJ_NOT_FOUND;
+   }
+
ret = ldb_search(b_state->sam_ctx, mem_ctx, &res, sites_dn, 
LDB_SCOPE_SUBTREE, attrs,
 "objectClass=server");



-- 
Samba Shared Repository


autobuild: intermittent test failure detected

2012-09-24 Thread autobuild
The autobuild test system has detected an intermittent failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey/2012-09-25-0311/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-09-25-0311/samba3.stderr
   http://git.samba.org/autobuild.flakey/2012-09-25-0311/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-09-25-0311/samba.stderr
   http://git.samba.org/autobuild.flakey/2012-09-25-0311/samba.stdout
  
The top commit at the time of the failure was:

commit f44ad3671876802a42846597be901257633e8ca3
Author: Jelmer Vernooij 
Date:   Mon Sep 24 23:02:05 2012 +0200

samba-tool domain provision: DNS forwarder is not a boolean.

Autobuild-User(master): Jelmer Vernooij 
Autobuild-Date(master): Tue Sep 25 00:48:43 CEST 2012 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2012-09-24 Thread Jeremy Allison
The branch, master has been updated
   via  322654d We now pass "samba3.raw.acls.generic" and 
"samba3.smb2.acls.GENERIC" with the max access change.
   via  aef862c Fix bug #9189 - SMB2 Create doesn't return correct MAX 
ACCESS access mask in blob.
  from  f240a4c s4:rpc_server/drsuapi: use talloc_zero instead of talloc() 
in dcesrv_drsuapi_DsBind()

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


- Log -
commit 322654d7923315ac43b2cf9e7a942d535f2ee224
Author: Jeremy Allison 
Date:   Thu Sep 20 13:35:47 2012 -0700

We now pass "samba3.raw.acls.generic" and "samba3.smb2.acls.GENERIC" with 
the max access change.

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Tue Sep 25 04:57:44 CEST 2012 on sn-devel-104

commit aef862c7b0f9c4c00f08f57f04d3ccdd859b5b18
Author: Jeremy Allison 
Date:   Thu Sep 20 12:32:10 2012 -0700

Fix bug #9189 - SMB2 Create doesn't return correct MAX ACCESS access mask 
in blob.

If we aren't already granted DELETE access, check if we have
DELETE_CHILD in the containing directory.

---

Summary of changes:
 selftest/knownfail  |3 ---
 source3/smbd/open.c |7 +++
 2 files changed, 7 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/knownfail b/selftest/knownfail
index f6835f6..9feaac2 100644
--- a/selftest/knownfail
+++ b/selftest/knownfail
@@ -45,7 +45,6 @@
 ^samba3.blackbox.smbclient_machine_auth.plain \(s3dc:local\)# the S3dc does 
not currently set up a self-join
 ^samba3.raw.samba3hide.samba3hide\((s3dc|plugin_s4_dc)\) # This test fails 
against an smbd environment with NT ACLs enabled
 ^samba3.raw.samba3closeerr.samba3closeerr\(s3dc\) # This test fails against an 
smbd environment with NT ACLs enabled
-^samba3.raw.acls.generic\(s3dc\) # This fails against smbd
 ^samba3.base.delete.deltest16a
 ^samba3.base.delete.deltest17a
 ^samba3.unix.whoami anonymous connection.whoami\(plugin_s4_dc\) # We need to 
resolve if we should be including SID_NT_WORLD and SID_NT_NETWORK in this token
@@ -197,7 +196,6 @@
 ^samba3.smb2.lease.multibreak
 ^samba3.smb2.oplock.batch12
 ^samba3.smb2.oplock.batch20
-^samba3.smb2.acls.GENERIC
 ^samba3.smb2.streams.rename
 ^samba3.smb2.streams.rename2
 ^samba3.smb2.streams.attributes
@@ -214,7 +212,6 @@
 # but in the interests of ensuring we do not regress, we run the tests
 # and list the current failures here.
 #
-^samba3.raw.acls.generic\(plugin_s4_dc\)
 ^samba3.rpc.eventlog.eventlog.GetLogIntormation\(plugin_s4_dc\)
 ^samba3.rpc.eventlog.eventlog.FlushEventLog\(plugin_s4_dc\)
 ^samba3.rpc.eventlog.eventlog.ReportEventLog\(plugin_s4_dc\)
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index a06a9f2..7312707 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1714,6 +1714,13 @@ static NTSTATUS smbd_calculate_maximum_allowed_access(
return NT_STATUS_ACCESS_DENIED;
}
*p_access_mask = (access_granted | FILE_READ_ATTRIBUTES);
+
+   if (!(access_granted & DELETE_ACCESS)) {
+   if (can_delete_file_in_directory(conn, smb_fname)) {
+   *p_access_mask |= DELETE_ACCESS;
+   }
+   }
+
return NT_STATUS_OK;
 }
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-09-24 Thread Jelmer Vernooij
The branch, master has been updated
   via  6749cfb replace: Avoid returning value in void setproctitle() 
replacement.
  from  322654d We now pass "samba3.raw.acls.generic" and 
"samba3.smb2.acls.GENERIC" with the max access change.

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


- Log -
commit 6749cfb418cd8e21df626c7144f1f4db3b6770e7
Author: Jelmer Vernooij 
Date:   Tue Sep 25 01:22:56 2012 +0200

replace: Avoid returning value in void setproctitle() replacement.

Autobuild-User(master): Jelmer Vernooij 
Autobuild-Date(master): Tue Sep 25 06:38:40 CEST 2012 on sn-devel-104

---

Summary of changes:
 lib/replace/replace.c |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/replace/replace.c b/lib/replace/replace.c
index a0aa788..e461471 100644
--- a/lib/replace/replace.c
+++ b/lib/replace/replace.c
@@ -898,6 +898,5 @@ int rep_usleep(useconds_t sec)
 #ifndef HAVE_SETPROCTITLE
 void rep_setproctitle(const char *fmt, ...)
 {
-   return 0;
 }
 #endif


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-09-24 Thread Andrew Bartlett
The branch, master has been updated
   via  1c1ae6d docs: Change TOSHARG-VFS to avoid suggesting VFS modules 
are Linux/IRIX only
   via  a92d95b docs: Remove mention of auth methods in TOSHARG-Passdb
   via  39b1ce1 docs: Fix typo in TOSHARG-Passdb
   via  e3f554a docs: Remove Win9X/WinMe mentions from TOSHARG-PDC
   via  f82affa docs: Add mention of AD DC support in TOSHARG-PDC
   via  6fcb95b docs: Explain the no-domain-logons restriction applies to 
all HOME editions
   via  3be323c docs: Remove references to default paramters in TOSHARG-PDC
   via  f3ab050 docs: Update TOSHARG-Install
   via  c4f143f client: Fix talloc_stackframe() free order assertion in 
developer mode
  from  6749cfb replace: Avoid returning value in void setproctitle() 
replacement.

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


- Log -
commit 1c1ae6d639364533c4b23cb71c471d0d46bfff36
Author: Andrew Bartlett 
Date:   Tue Sep 25 11:05:37 2012 +1000

docs: Change TOSHARG-VFS to avoid suggesting VFS modules are Linux/IRIX only

Autobuild-User(master): Andrew Bartlett 
Autobuild-Date(master): Tue Sep 25 08:27:15 CEST 2012 on sn-devel-104

commit a92d95b1773cb024349a0a06432b685d69d59976
Author: Andrew Bartlett 
Date:   Tue Sep 25 11:05:01 2012 +1000

docs: Remove mention of auth methods in TOSHARG-Passdb

This is not connected to the passdb system, and we should not encourage 
setting of auth methods
in any case.

Andrew Bartlett

commit 39b1ce102d4d8bca472ae96966e2afab83e8f1c0
Author: Andrew Bartlett 
Date:   Tue Sep 25 11:04:14 2012 +1000

docs: Fix typo in TOSHARG-Passdb

commit e3f554a99f3871eabac35db1ba3236772ef58f64
Author: Andrew Bartlett 
Date:   Sun Sep 23 04:55:20 2012 +1000

docs: Remove Win9X/WinMe mentions from TOSHARG-PDC

commit f82affaa6defef52696f69f114143cfb80fee241
Author: Andrew Bartlett 
Date:   Sun Sep 23 04:54:24 2012 +1000

docs: Add mention of AD DC support in TOSHARG-PDC

commit 6fcb95bad7db8f970ae6c74f1fdd7b4c2a41f25c
Author: Andrew Bartlett 
Date:   Sun Sep 23 04:53:55 2012 +1000

docs: Explain the no-domain-logons restriction applies to all HOME editions

commit 3be323c6110f1a241f86aacb94c8ff1ba69351c5
Author: Andrew Bartlett 
Date:   Sun Sep 23 04:52:56 2012 +1000

docs: Remove references to default paramters in TOSHARG-PDC

commit f3ab05003ea94ba2717b544d912ec3e15fb629d5
Author: Andrew Bartlett 
Date:   Sun Sep 23 03:09:32 2012 +1000

docs: Update TOSHARG-Install

- winbindd runs as many processes now
- open_oplock_ipc errors do not happen any more, we do not use UDP 
messaging any more.

Andrew Bartlett

commit c4f143f9d7a1502712d8a6b1c872a13632a5cff3
Author: Andrew Bartlett 
Date:   Tue Sep 25 10:41:05 2012 +1000

client: Fix talloc_stackframe() free order assertion in developer mode

Reported-by: Ricky Nance 

---

Summary of changes:
 docs-xml/Samba3-HOWTO/TOSHARG-Install.xml |   20 +--
 docs-xml/Samba3-HOWTO/TOSHARG-PDC.xml |  386 ++---
 docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml  |   14 +-
 docs-xml/Samba3-HOWTO/TOSHARG-VFS.xml |3 +-
 source3/client/client.c   |1 +
 5 files changed, 76 insertions(+), 348 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Install.xml 
b/docs-xml/Samba3-HOWTO/TOSHARG-Install.xml
index 673ba93..88e0ed8 100644
--- a/docs-xml/Samba3-HOWTO/TOSHARG-Install.xml
+++ b/docs-xml/Samba3-HOWTO/TOSHARG-Install.xml
@@ -657,24 +657,8 @@ The following questions and issues are raised repeatedly 
on the Samba mailing li

 

-   &winbindd; will run as one or two daemons, depending on whether or not 
it is being
-   run in split mode (in which case there will be two 
instances).
-   
-
-   
-
-   
-   Error Message: open_oplock_ipc
-
-   
-   An error message is observed in the log files when &smbd; is started: 
open_oplock_ipc: Failed to
-   get local UDP socket for address 17f. Error was Cannot assign 
requested.
-   
-
-   
-   Your loopback device isn't working correctly. Make sure it is 
configured correctly. The loopback
-   device is an internal (virtual) network device with the IP address 
127.0.0.1.
-   Read your OS documentation for details on how to configure the loopback 
on your system.
+   &winbindd; will run as many processes depending in part on how many
+   domains it needs to contact.

 

diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-PDC.xml 
b/docs-xml/Samba3-HOWTO/TOSHARG-PDC.xml
index a2461b7..0698ced 100644
--- a/docs-xml/Samba3-HOWTO/TOSHARG-PDC.xml
+++ b/docs-xml/Samba3-HOWTO/TOSHARG-PDC.xml
@@ -144,15 +144,17 @@ account). Refer to Domain 
Membership for mo
 
 
 
-The following functionaliti