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

2012-09-17 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  03a93b8 configure: fix wrong test == syntax
  from  9b3a4a1 s3-rap: Open printers with the right access mask.

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


- Log -
commit 03a93b81d63b686ba57d106002584b893d885da3
Author: Björn Jacke 
Date:   Fri Sep 14 20:08:19 2012 +0200

configure: fix wrong test == syntax

This fixes bug #8146. Thanks to Joachim Schmitz for reporting!

---

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


Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index eef3d13..fc1293a 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2138,7 +2138,7 @@ fi
 if test "x$enable_external_libtalloc" = xno
 then
m4_include(../lib/talloc/libtalloc.m4)
-   if test x"$USESHARED" == x"no" ; then
+   if test x"$USESHARED" = x"no" ; then
LINK_LIBTALLOC=STATIC
fi
LIBTALLOCVERSION=`grep ^VERSION ${tallocdir}/wscript | sed -e "s/'//g" 
-e 's/.* //'`
@@ -2179,7 +2179,7 @@ AC_SUBST(LIBTDB_OBJ0)
 if test "x$enable_external_libtdb" = xno
 then
m4_include(../lib/tdb/libtdb.m4)
-   if test x"$USESHARED" == x"no" ; then
+   if test x"$USESHARED" = x"no" ; then
LINK_LIBTDB=STATIC
fi
LIBTDBVERSION=`grep ^VERSION ${tdbdir}/wscript | sed -e "s/'//g" -e 
's/.* //'`


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-09-17 Thread Stefan Metzmacher
The branch, master has been updated
   via  2a7484e panic action is defined as GLOBAL_VAR(szPanicAction) not 
GLOBAL_VAR(panic_action)
   via  5695691 packaging/RHEL-CTDB: add "BUILD_GPFS=no configure.rpm" and 
"BUILD_GPFS=no makerpms.sh"
   via  914fc4f packaging/RHEL-CTDB: try harder to set $RPMVER
   via  77f281a packaging/RHEL-CTDB: fix the build
   via  1a94568 source3/script: fix installman.sh after the last 
build-manpages-nogit change
  from  a4e8869 Fix service control for non-internal services.

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


- Log -
commit 2a7484eb7286a6896826ad1ed15aa7b1760a451c
Author: Matthieu Patou 
Date:   Mon Sep 17 16:51:02 2012 -0700

panic action is defined as GLOBAL_VAR(szPanicAction) not 
GLOBAL_VAR(panic_action)

Signed-off-by: Stefan Metzmacher 

Autobuild-User(master): Stefan Metzmacher 
Autobuild-Date(master): Tue Sep 18 06:12:00 CEST 2012 on sn-devel-104

commit 56956910051a8d11b36d125780fde048d29ad604
Author: Stefan Metzmacher 
Date:   Mon Sep 17 18:15:03 2012 +0200

packaging/RHEL-CTDB: add "BUILD_GPFS=no configure.rpm" and "BUILD_GPFS=no 
makerpms.sh"

metze

commit 914fc4f265ef9f538fc5077fe0257565b282bd24
Author: Stefan Metzmacher 
Date:   Mon Sep 17 18:15:03 2012 +0200

packaging/RHEL-CTDB: try harder to set $RPMVER

metze

commit 77f281a6d16cd9e7a787de8d954846a840fb03b0
Author: Stefan Metzmacher 
Date:   Mon Sep 17 18:15:03 2012 +0200

packaging/RHEL-CTDB: fix the build

metze

commit 1a945686a6770a0ac17bded73201368f10c65bc9
Author: Michael Adam 
Date:   Mon Sep 17 20:30:27 2012 -0400

source3/script: fix installman.sh after the last build-manpages-nogit change

commit cfdab79729e8507a7504b0224c60454d3bc40ffc
Author: Michael Adam 
Date:   Wed Sep 12 15:46:35 2012 +0200

release-scripts: let build-manpages-nogit store generated docs 
under ./bin/docs

not under ./docs

Signed-off-by: Stefan Metzmacher 

Signed-off-by: Stefan Metzmacher 

---

Summary of changes:
 lib/param/loadparm.c|2 +-
 packaging/RHEL-CTDB/configure.rpm   |   18 --
 packaging/RHEL-CTDB/makerpms.sh |3 +
 packaging/RHEL-CTDB/makespec.sh |   24 +++
 packaging/RHEL-CTDB/samba.spec.tmpl |  118 +++
 source3/param/loadparm.c|1 -
 source3/script/installman.sh|4 +-
 7 files changed, 80 insertions(+), 90 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index 990dd29..b2e4218 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -2295,7 +2295,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
return true;
}
 
-   panic_action = lp_ctx->globals->panic_action;
+   panic_action = lp_ctx->globals->szPanicAction;
 
reload_charcnv(lp_ctx);
 
diff --git a/packaging/RHEL-CTDB/configure.rpm 
b/packaging/RHEL-CTDB/configure.rpm
index 5e2b88e..4387da1 100755
--- a/packaging/RHEL-CTDB/configure.rpm
+++ b/packaging/RHEL-CTDB/configure.rpm
@@ -2,14 +2,14 @@
 
 case `uname -m` in
x86_64)
-   _libarch=lib64
+   _libarch="/lib64"
;;
*)
-   _libarch=lib
+   _libarch="/lib"
;;
 esac
 
-_libarchdir=/usr/${_libarch}
+_libarchdir=/usr${_libarch}
 
 _prefix=/usr
 _sysconfdir=/etc
@@ -24,6 +24,12 @@ else
CC="gcc"
 fi
 
+shared_modules="idmap_rid,idmap_ad,idmap_tdb2"
+
+if test "x$BUILD_GPFS" != "xno"; then
+   shared_modules="${shared_modules},vfs_gpfs,vfs_tsmsm"
+fi
+
 ./autogen.sh
 
 CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \
@@ -32,7 +38,7 @@ CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \
--with-configdir=${_sysconfdir}/samba \
--libdir=${_libarchdir} \
--with-modulesdir=${_libarchdir}/samba \
-   --with-pammodulesdir=/${_libarch}/security \
+   --with-pammodulesdir=${_libarch}/security \
--with-lockdir=/var/lib/samba \
--with-logfilebase=/var/log/samba \
--mandir=${_mandir} \
@@ -44,14 +50,14 @@ CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C 
\
--with-acl-support \
--with-ads \
--with-automount \
-   --with-fhs \
+   --enable-fhs \
--with-pam_smbpass \
--with-libsmbclient \
--with-libsmbsharemodes \
--without-smbwrapper \
--with-pam \
--with-quotas \
-   --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2,vfs_gpfs,vfs_tsmsm \
+   --with-shared-modules=${shared_modules} \
--with-syslog \
--with-utmp \
--with-cluster-support \
diff --git a/packaging/RHEL-CTDB/makerpms.sh b/packag

[SCM] Samba Shared Repository - branch master updated

2012-09-17 Thread Jeremy Allison
The branch, master has been updated
   via  a4e8869 Fix service control for non-internal services.
   via  7542b63 libreplace: Bug 8107, Fix poll replacement to become a 
msleep replacement
  from  ffd61e2 ldb: bump version to 1.1.13 so the 4.0 release can get the 
isprint fix

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


- Log -
commit a4e8869f7c93f30dd7014ff83d6d2f2b5afc2d64
Author: Vladimir Marek 
Date:   Mon Sep 17 13:50:55 2012 -0700

Fix service control for non-internal services.

Signed-off-by: Jeremy Allison 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Tue Sep 18 01:42:23 CEST 2012 on sn-devel-104

commit 7542b63188f7e73588c9abb40e36a910c87bc534
Author: Joachim Schmitz 
Date:   Mon Sep 17 05:26:31 2012 -0700

libreplace: Bug 8107, Fix poll replacement to become a msleep replacement

Signed-off-by: Jeremy Allison 

---

Summary of changes:
 lib/replace/poll.c |2 +-
 source3/rpc_server/svcctl/srv_svcctl_reg.c |4 
 2 files changed, 1 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/replace/poll.c b/lib/replace/poll.c
index 95b2f88..27876bb 100644
--- a/lib/replace/poll.c
+++ b/lib/replace/poll.c
@@ -46,7 +46,7 @@ int rep_poll(struct pollfd *fds, nfds_t nfds, int timeout)
int rc;
nfds_t i;
 
-   if (fds == NULL) {
+   if ((fds == NULL) && (nfds != 0)) {
errno = EFAULT;
return -1;
}
diff --git a/source3/rpc_server/svcctl/srv_svcctl_reg.c 
b/source3/rpc_server/svcctl/srv_svcctl_reg.c
index c3ce43f..930c327 100644
--- a/source3/rpc_server/svcctl/srv_svcctl_reg.c
+++ b/source3/rpc_server/svcctl/srv_svcctl_reg.c
@@ -392,10 +392,6 @@ static bool svcctl_add_service(TALLOC_CTX *mem_ctx,
}
}
 
-   if (ipath == NULL || dname == NULL || description == NULL) {
-   goto done;
-   }
-
/* Default to an external service if we haven't found a match */
if (builtin_svcs[i].servicename == NULL) {
struct rcinit_file_information *init_info = NULL;


-- 
Samba Shared Repository


autobuild: intermittent test failure detected

2012-09-17 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-18-0034/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-09-18-0034/samba3.stderr
   http://git.samba.org/autobuild.flakey/2012-09-18-0034/samba3.stdout

The source4 build logs are available here:

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

commit ffd61e2bbf46ab8660c32b90c547beb8b77fcb9d
Author: Andrew Bartlett 
Date:   Mon Sep 17 11:57:33 2012 -0700

ldb: bump version to 1.1.13 so the 4.0 release can get the isprint fix

Autobuild-User(master): Andrew Bartlett 
Autobuild-Date(master): Mon Sep 17 23:47:57 CEST 2012 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2012-09-17 Thread Andrew Bartlett
The branch, master has been updated
   via  ffd61e2 ldb: bump version to 1.1.13 so the 4.0 release can get the 
isprint fix
   via  0eae4cd docs: Remove another reference to security=share
   via  8e95dee docs: Remove references to specific windows versions, 
instead mention Home/Professional/Server
   via  36bfb1e docs: Remove references to mulitple passdb backends
   via  e221985 docs: Remove references to sysv-style CUPS from 
TOSHARG-CUPS-printing
   via  d4efb94 docs: Remove very outdated TOSHARG-Other-Clients section
   via  cbfeba7 docs: Remove very outdated TOSHARG-Portability section
   via  6786efa docs: Update FastStart: remove security=share, avoid 
disable spoolss
   via  6bc8616 docs: Clarify TOSHARG-Bugs for 2012
   via  27359ac docs: Remove reference to inetd startup, it is not 
recommended
   via  64e3f1c docs: Update BDC docs to recognise the AD DC and to 
exclusivly recommend LDAP
   via  4de3718 docs: Remove referenece to old Red Hat Linux habits on 
winbindd
   via  a5084a3 docs: Remove referenece to autogen.sh and document waf 
build instead
   via  f995749 docs: Remove out of date links to pserver.samba.org and old 
tarballs
   via  0d73ce1 docs: Remove references to Subversion, replace with wiki 
link
   via  2dcc4fe docs: Remove references to old kerberos behaviour
   via  48e547c docs: Remove confusing reference to smb signing and client 
use spnego
  from  b06dbfb s3:libsmb fix a double free error

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


- Log -
commit ffd61e2bbf46ab8660c32b90c547beb8b77fcb9d
Author: Andrew Bartlett 
Date:   Mon Sep 17 11:57:33 2012 -0700

ldb: bump version to 1.1.13 so the 4.0 release can get the isprint fix

Autobuild-User(master): Andrew Bartlett 
Autobuild-Date(master): Mon Sep 17 23:47:57 CEST 2012 on sn-devel-104

commit 0eae4cd787179b40375e298cfd95df817c67a94f
Author: Andrew Bartlett 
Date:   Mon Sep 17 11:56:28 2012 -0700

docs: Remove another reference to security=share

commit 8e95dee5cfc4175c7a93f1c55b08db8ab5f822c3
Author: Andrew Bartlett 
Date:   Mon Sep 17 11:56:08 2012 -0700

docs: Remove references to specific windows versions, instead mention 
Home/Professional/Server

The flavours of windows seem to last longer than the individual products.

Andrew Bartlett

commit 36bfb1e2282d24d2cc20f812bc59ea1ede0e660c
Author: Andrew Bartlett 
Date:   Mon Sep 17 11:55:12 2012 -0700

docs: Remove references to mulitple passdb backends

These are long-gone and confusing.

Andrew Bartlett

commit e2219850d604470e484e9f8eb6e573c97d474298
Author: Andrew Bartlett 
Date:   Mon Sep 17 11:54:25 2012 -0700

docs: Remove references to sysv-style CUPS from TOSHARG-CUPS-printing

This also simplifies the cups config by not duplicating the printcap name 
parameter
that is already set by default when printing=cups is set.

Andrew Bartlett

commit d4efb94dbb3121ccaf17366585ba7ca325f8d699
Author: Andrew Bartlett 
Date:   Sat Sep 15 15:55:55 2012 -0700

docs: Remove very outdated TOSHARG-Other-Clients section

commit cbfeba71bcd2223c8e919c7d7d73597b03d12b99
Author: Andrew Bartlett 
Date:   Sat Sep 15 15:52:47 2012 -0700

docs: Remove very outdated TOSHARG-Portability section

commit 6786efa358b471956b017570938676e2306d29c5
Author: Andrew Bartlett 
Date:   Sat Sep 15 12:53:37 2012 -0700

docs: Update FastStart: remove security=share, avoid disable spoolss

As I understand it, all printing is via spoolss, so do not disable it!

Andrew Bartlett

commit 6bc861663526e1234899ca5815df7a3c122c2b2e
Author: Andrew Bartlett 
Date:   Fri Sep 14 23:13:33 2012 -0700

docs: Clarify TOSHARG-Bugs for 2012

commit 27359acf59cc7899e8de164f9311ef3b2b6db85a
Author: Andrew Bartlett 
Date:   Fri Sep 14 23:08:53 2012 -0700

docs: Remove reference to inetd startup, it is not recommended

commit 64e3f1c637b940e60d3d6988a033f4d391b7dab9
Author: Andrew Bartlett 
Date:   Fri Sep 14 23:06:59 2012 -0700

docs: Update BDC docs to recognise the AD DC and to exclusivly recommend 
LDAP

The confusing references to the not-recommended techniques and
outdated steps (like net rpc getsid, replaced by simply having the SID
just be in LDAP) just detract from the clarity of this document.

Andrew Bartlett

commit 4de371818504c522613845a1ae4fa97a69bcf412
Author: Andrew Bartlett 
Date:   Fri Sep 14 22:30:06 2012 -0700

docs: Remove referenece to old Red Hat Linux habits on winbindd

commit a5084a3077b0fecde0772e99302e0e7353c59da3
Author: Andrew Bartlett 
Date:   Fri Sep 14 22:29:39 2012 -0700

docs: Remove referenece to autogen.sh and document waf build instead

commit f99574905d66da771b6d37ef580165ca800ba70f
Author: Andrew Bartlett 
Date:   Fri Sep 14 22:29:05 2012 -0700

docs: Remove out of date links to pser

[SCM] Samba Shared Repository - branch master updated

2012-09-17 Thread Christian Ambach
The branch, master has been updated
   via  b06dbfb s3:libsmb fix a double free error
  from  e7a58bc docs-xml: fix build of winbindd- and krb5 locator-related 
manpages

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


- Log -
commit b06dbfbba6bf62fd99067675dd9818d6314fd2d0
Author: Christian Ambach 
Date:   Sun Sep 16 21:45:56 2012 -0700

s3:libsmb fix a double free error

t refers to self->thread_state that is freed a few lines below

Autobuild-User(master): Christian Ambach 
Autobuild-Date(master): Mon Sep 17 22:04:13 CEST 2012 on sn-devel-104

---

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


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/pylibsmb.c b/source3/libsmb/pylibsmb.c
index 611d07a..d31409c 100644
--- a/source3/libsmb/pylibsmb.c
+++ b/source3/libsmb/pylibsmb.c
@@ -213,7 +213,6 @@ fail:
close(t->shutdown_pipe[1]);
t->shutdown_pipe[1] = -1;
}
-   TALLOC_FREE(t);
}
 
TALLOC_FREE(self->thread_state);


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-09-17 Thread Alexander Bokovoy
The branch, master has been updated
   via  e7a58bc docs-xml: fix build of winbindd- and krb5 locator-related 
manpages
  from  73ed153 docs-xml: convert smb.conf.5 build to waf

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


- Log -
commit e7a58bc251bd74c3c7c64ee4f5cb85ec76852a8d
Author: Alexander Bokovoy 
Date:   Mon Sep 17 19:09:35 2012 +0300

docs-xml: fix build of winbindd- and krb5 locator-related manpages

These manpages depend on docs-xml infrastructure (samba DTDs)

Autobuild-User(master): Alexander Bokovoy 
Autobuild-Date(master): Mon Sep 17 19:52:53 CEST 2012 on sn-devel-104

---

Summary of changes:
 docs-xml/wscript_build |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build
index c5d5839..32cf9be 100644
--- a/docs-xml/wscript_build
+++ b/docs-xml/wscript_build
@@ -113,7 +113,7 @@ if ('XSLTPROC_MANPAGES' in bld.env and 
bld.env['XSLTPROC_MANPAGES']):
 bld.SAMBAMANPAGES(manpages)
 
 if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
-bld.MANPAGES(pam_winbind_manpages)
+bld.SAMBAMANPAGES(pam_winbind_manpages)
 
 if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
-bld.MANPAGES(krb5_locator_manpages)
+bld.SAMBAMANPAGES(krb5_locator_manpages)


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-09-17 Thread Alexander Bokovoy
The branch, master has been updated
   via  73ed153 docs-xml: convert smb.conf.5 build to waf
  from  57990cb s3:libsmb fix a potential crash

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


- Log -
commit 73ed1533105ac3f90813e5a0e7888a095eff4b75
Author: Alexander Bokovoy 
Date:   Mon Sep 17 13:07:26 2012 +0300

docs-xml: convert smb.conf.5 build to waf

smb.conf(5) is different from other manpages because before it is
built, it gets merged together from a number of smaller files, one
per parameter. So we first create a parameters.all.xml file that
references all these files and then include it into master smb.conf.5.xml

One small issue is how to handle generated files in WAF build
from xi:include perspective as the files are generated in 
bin/default/docs-xml
rather than in docs-xml. We solve this by further expanding use of XML 
catalogs
and rewriting virtual path http://www.samba.org/samba/smbdotconf/ to proper
location.

Both docs-xml autoconf and waf builds work correctly now.

Autobuild-User(master): Alexander Bokovoy 
Autobuild-Date(master): Mon Sep 17 14:18:31 CEST 2012 on sn-devel-104

---

Summary of changes:
 buildtools/wafsamba/wafsamba.py  |6 --
 docs-xml/build/catalog.xml.in|7 +--
 docs-xml/manpages/smb.conf.5.xml |5 -
 docs-xml/wscript_build   |   25 +++--
 wscript_build|6 --
 5 files changed, 40 insertions(+), 9 deletions(-)


Changeset truncated at 500 lines:

diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 1f71bd3..50bd4fa 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -789,14 +789,16 @@ def SAMBAMANPAGES(bld, manpages):
 '''build and install manual pages'''
 bld.env.SAMBA_EXPAND_XSL = bld.srcnode.abspath() + 
'/docs-xml/xslt/expand-sambadoc.xsl'
 bld.env.SAMBA_MAN_XSL = bld.srcnode.abspath() + '/docs-xml/xslt/man.xsl'
-os.environ["XML_CATALOG_FILES"] = 'file:///etc/xml/catalog file://' + 
bld.srcnode.abspath() + '/bin/default/docs-xml/build/catalog.xml'
+bld.env.SAMBA_CATALOGS = 'file:///etc/xml/catalog file://' + 
bld.srcnode.abspath() + '/bin/default/docs-xml/build/catalog.xml'
 for m in manpages.split():
 source = m + '.xml'
 bld.SAMBA_GENERATOR(m,
 source=source,
 target=m,
 group='final',
-rule='${XSLTPROC} --xinclude --stringparam 
noreference 0 -o ${TGT}.xml --nonet ${SAMBA_EXPAND_XSL} ${SRC} && ${XSLTPROC} 
--nonet -o ${TGT} ${SAMBA_MAN_XSL} ${TGT}.xml'
+rule='''export 
XML_CATALOG_FILES="${SAMBA_CATALOGS}"
+${XSLTPROC} --xinclude --stringparam 
noreference 0 -o ${TGT}.xml --nonet ${SAMBA_EXPAND_XSL} ${SRC}
+${XSLTPROC} --nonet -o ${TGT} 
${SAMBA_MAN_XSL} ${TGT}.xml'''
 )
 bld.INSTALL_FILES('${MANDIR}/man%s' % m[-1], m, flat=True)
 Build.BuildContext.SAMBAMANPAGES = SAMBAMANPAGES
diff --git a/docs-xml/build/catalog.xml.in b/docs-xml/build/catalog.xml.in
index 4b99cf5..56d13a6 100644
--- a/docs-xml/build/catalog.xml.in
+++ b/docs-xml/build/catalog.xml.in
@@ -6,9 +6,12 @@
 
 http://www.samba.org/samba/DTD/";
-   rewritePrefix="file://@abs_top_builddir@/build/DTD/"/>
+   rewritePrefix="file://@abs_top_srcdir@/build/DTD/"/>
 
 http://www.gnu.org/licenses/";
-   
rewritePrefix="file://@abs_top_builddir@/Samba3-ByExample/"/>
+   
rewritePrefix="file://@abs_top_srcdir@/Samba3-ByExample/"/>
+http://www.samba.org/samba/smbdotconf/";
+   rewritePrefix="file://@abs_top_builddir@/smbdotconf/"/>
 
diff --git a/docs-xml/manpages/smb.conf.5.xml b/docs-xml/manpages/smb.conf.5.xml
index e09eee0..a73382f 100644
--- a/docs-xml/manpages/smb.conf.5.xml
+++ b/docs-xml/manpages/smb.conf.5.xml
@@ -757,7 +757,10 @@ chmod 1770 /usr/local/samba/lib/usershares
EXPLANATION OF EACH PARAMETER


-   
+   
+   
+   
+   http://www.samba.org/samba/smbdotconf/parameters.all.xml"; parse="xml"/>

 
 
diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build
index 011854b..c5d5839 100644
--- a/docs-xml/wscript_build
+++ b/docs-xml/wscript_build
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-
+from samba_utils import save_file
 manpages='''
  manpages/eventlogadm.8
  manpages/findsmb.1
@@ -23,7 +23,6 @@ manpages='''
  manpages/rpcclient.1
  manpages/samba.7
  manpages/sharesec.1
- manpages/smb.conf.5
  manpages/

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

2012-09-17 Thread Karolin Seeger
The branch, v3-5-test has been updated
   via  a4f48b3 docs: clarify the idmap_rid manpage (bug #7788)
  from  04e4325 s3:winbindd: make sure we only call static_init_idmap once

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


- Log -
commit a4f48b3da0081845336c55ff230179caeab5195c
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

---

Summary of changes:
 docs-xml/manpages-3/idmap_rid.8.xml |   18 ++
 1 files changed, 18 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages-3/idmap_rid.8.xml 
b/docs-xml/manpages-3/idmap_rid.8.xml
index 55aed62..a453e91 100644
--- a/docs-xml/manpages-3/idmap_rid.8.xml
+++ b/docs-xml/manpages-3/idmap_rid.8.xml
@@ -21,6 +21,24 @@
The idmap_rid backend provides a way to use an algorithmic
mapping scheme to map UIDs/GIDs and SIDs. No database is required
in this case as the mapping is deterministic.
+
+   
+   Note that the idmap_rid module has changed considerably since Samba
+   versions 3.0. and 3.2.
+   Currently, there should to be an explicit idmap configuration for each
+   domain that should use the idmap_rid backend, using disjoint ranges.
+   One usually needs to define a writeable default idmap range, using
+   a backent like tdb or ldap
+   that can create unix ids, in order to be able to map the BUILTIN sids
+   and other domains, and also in order to be able to create group 
mappings.
+   See the example below.
+   
+
+   
+   Note that the old syntax
+   idmap backend = rid:"DOM1=range DOM2=range2 ..."
+   is not supported any more since Samba version 3.0.25.
+   
 
 
 


-- 
Samba Shared Repository


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

2012-09-17 Thread Karolin Seeger
The branch, v3-5-test has been updated
   via  04e4325 s3:winbindd: make sure we only call static_init_idmap once
  from  a3eb8d7 quota: fix build of sysquote_xfs on

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


- Log -
commit 04e4325642d029e604c31b371811fafdf2b61cf8
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.

---

Summary of changes:
 source3/winbindd/idmap.c |   21 +
 1 files changed, 17 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 7aa2853..2414dab 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -28,6 +28,21 @@
 
 static_decl_idmap;
 
+static void idmap_init(void)
+{
+   static bool initialized;
+
+   if (initialized) {
+   return;
+   }
+
+   DEBUG(10, ("idmap_init(): calling static_init_idmap\n"));
+
+   static_init_idmap;
+
+   initialized = true;
+}
+
 /**
  * Pointer to the backend methods. Modules register themselves here via
  * smb_register_idmap.
@@ -346,9 +361,7 @@ static struct idmap_domain 
*idmap_init_default_domain(TALLOC_CTX *mem_ctx)
char *modulename;
char *params;
 
-   DEBUG(10, ("idmap_init_default_domain: calling static_init_idmap\n"));
-
-   static_init_idmap;
+   idmap_init();
 
if (!parse_idmap_module(talloc_tos(), lp_idmap_backend(), &modulename,
¶ms)) {
@@ -546,7 +559,7 @@ static NTSTATUS idmap_alloc_init(struct idmap_alloc_context 
**ctx)
char *modulename, *params;
NTSTATUS ret = NT_STATUS_NO_MEMORY;;
 
-   static_init_idmap;
+   idmap_init();
 
if (idmap_alloc_ctx != NULL) {
*ctx = idmap_alloc_ctx;


-- 
Samba Shared Repository


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

2012-09-17 Thread Karolin Seeger
The branch, v3-5-test has been updated
   via  a3eb8d7 quota: fix build of sysquote_xfs on
  from  25bf057 nsswitch: fix crash on null pam change pw response

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


- Log -
commit a3eb8d765e48bcbe86458791ec61325a517bd7dd
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

---

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


Changeset truncated at 500 lines:

diff --git a/source3/lib/sysquotas_xfs.c b/source3/lib/sysquotas_xfs.c
index 1e438e9..1e3d952 100644
--- a/source3/lib/sysquotas_xfs.c
+++ b/source3/lib/sysquotas_xfs.c
@@ -35,6 +35,18 @@
 #include "samba_linux_quota.h"
 #ifdef HAVE_LINUX_DQBLK_XFS_H
 #include 
+#ifndef XFS_QUOTA_UDQ_ACCT
+#define XFS_QUOTA_UDQ_ACCT FS_QUOTA_UDQ_ACCT
+#endif
+#ifndef XFS_QUOTA_UDQ_ENFD
+#define XFS_QUOTA_UDQ_ENFD FS_QUOTA_UDQ_ENFD
+#endif
+#ifndef XFS_QUOTA_GDQ_ACCT
+#define XFS_QUOTA_GDQ_ACCT FS_QUOTA_GDQ_ACCT
+#endif
+#ifndef XFS_QUOTA_GDQ_ENFD
+#define XFS_QUOTA_GDQ_ENFD FS_QUOTA_GDQ_ENFD
+#endif
 #endif
 #define HAVE_GROUP_QUOTA
 #else /* IRIX */


-- 
Samba Shared Repository


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

2012-09-17 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  9b3a4a1 s3-rap: Open printers with the right access mask.
  from  47f2211 nsswitch: fix crash on null pam change pw response

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


- Log -
commit 9b3a4a16c2068437996650c36d201616a9daa8d3
Author: Andreas Schneider 
Date:   Wed Sep 12 12:12:58 2012 +0200

s3-rap: Open printers with the right access mask.

Fix bug #9154.

(cherry picked from commit 1f8c9ab88e7a2e28e503e99baabb88c3cebbc4b6)

Signed-off-by: Andreas Schneider 

---

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 74cfe31..f56ea30 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -3524,7 +3524,7 @@ static bool api_WPrintQueueCtrl(struct 
smbd_server_connection *sconn,
QueueName,
NULL,
devmode_ctr,
-   SEC_FLAG_MAXIMUM_ALLOWED,
+   PRINTER_ACCESS_ADMINISTER,
&handle,
&werr);
if (!NT_STATUS_IS_OK(status)) {
@@ -4979,7 +4979,7 @@ static bool api_WPrintJobEnumerate(struct 
smbd_server_connection *sconn,
name,
NULL,
devmode_ctr,
-   SEC_FLAG_MAXIMUM_ALLOWED,
+   PRINTER_ACCESS_USE,
&handle,
&werr);
if (!NT_STATUS_IS_OK(status)) {
@@ -5179,7 +5179,7 @@ static bool api_WPrintDestGetInfo(struct 
smbd_server_connection *sconn,
PrinterName,
NULL,
devmode_ctr,
-   SEC_FLAG_MAXIMUM_ALLOWED,
+   PRINTER_ACCESS_USE,
&handle,
&werr);
if (!NT_STATUS_IS_OK(status)) {


-- 
Samba Shared Repository


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

2012-09-17 Thread Karolin Seeger
The branch, v3-5-test has been updated
   via  25bf057 nsswitch: fix crash on null pam change pw response
  from  9258a7b Fix bug #9147 - winbind can't fetch user or group info from 
AD via LDAP

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


- Log -
commit 25bf057288d5e77c07a5ed3d3c3fb7f5f33f62b6
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)

---

Summary of changes:
 nsswitch/pam_winbind.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index 81055c9..fdaf807 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -831,7 +831,7 @@ static bool _pam_winbind_change_pwd(struct pwb_context *ctx)
}
_pam_log(ctx, LOG_CRIT, "Received [%s] reply from application.\n", 
resp->resp);
 
-   if (strcasecmp(resp->resp, "yes") == 0) {
+   if ((resp->resp != NULL) && (strcasecmp(resp->resp, "yes") == 0)) {
retval = true;
}
 


-- 
Samba Shared Repository


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

2012-09-17 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  47f2211 nsswitch: fix crash on null pam change pw response
  from  f4d2e6b Fix bug #9147 - winbind can't fetch user or group info from 
AD via LDAP

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


- Log -
commit 47f2211f137688a7c46c4a38571a9f94e59dbf6a
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)

---

Summary of changes:
 nsswitch/pam_winbind.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index f676128..025d930 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -831,7 +831,7 @@ static bool _pam_winbind_change_pwd(struct pwb_context *ctx)
}
_pam_log(ctx, LOG_CRIT, "Received [%s] reply from application.\n", 
resp->resp);
 
-   if (strcasecmp(resp->resp, "yes") == 0) {
+   if ((resp->resp != NULL) && (strcasecmp(resp->resp, "yes") == 0)) {
retval = true;
}
 


-- 
Samba Shared Repository


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

2012-09-17 Thread Karolin Seeger
The branch, v3-5-test has been updated
   via  9258a7b Fix bug #9147 - winbind can't fetch user or group info from 
AD via LDAP
  from  b20ca77 s3: delete requests are not special

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


- Log -
commit 9258a7b9cfd5fb85e5361d1b49c3bb8655e97159
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.

---

Summary of changes:
 source3/lib/ldb/common/ldb_parse.c |   11 +--
 source4/lib/ldb/common/ldb_parse.c |   11 +--
 2 files changed, 18 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/ldb/common/ldb_parse.c 
b/source3/lib/ldb/common/ldb_parse.c
index bcc92c5..1412d57 100644
--- a/source3/lib/ldb/common/ldb_parse.c
+++ b/source3/lib/ldb/common/ldb_parse.c
@@ -92,6 +92,13 @@ struct ldb_val ldb_binary_decode(void *mem_ctx, const char 
*str)
return ret;
 }
 
+static bool need_encode(unsigned char cval)
+{
+   if (cval < 0x20 || cval > 0x7E || strchr(" *()\\&|!\"", cval)) {
+   return true;
+   }
+   return false;
+}
 
 /*
encode a blob as a RFC2254 binary string, escaping any
@@ -105,7 +112,7 @@ char *ldb_binary_encode(void *mem_ctx, struct ldb_val val)
unsigned char *buf = val.data;
 
for (i=0;i 0x7E || strchr(" *()\\&|!\"", cval)) {
+   return true;
+   }
+   return false;
+}
 
 /*
encode a blob as a RFC2254 binary string, escaping any
@@ -102,7 +109,7 @@ char *ldb_binary_encode(void *mem_ctx, struct ldb_val val)
unsigned char *buf = val.data;
 
for (i=0;i

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

2012-09-17 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  f4d2e6b Fix bug #9147 - winbind can't fetch user or group info from 
AD via LDAP
  from  734e177 WHATSNEW: Start release notes for Samba 3.6.9.

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


- Log -
commit f4d2e6b6c321ecfccadc3b19f4a27991cf93eb8c
Author: Jeremy Allison 
Date:   Tue Sep 11 13:25:14 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.

---

Summary of changes:
 source3/lib/ldb_compat.c   |   13 +
 source4/lib/ldb/common/ldb_parse.c |   11 +--
 2 files changed, 18 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/ldb_compat.c b/source3/lib/ldb_compat.c
index 36a29e6..494d381 100644
--- a/source3/lib/ldb_compat.c
+++ b/source3/lib/ldb_compat.c
@@ -84,8 +84,13 @@ static struct ldb_val ldb_binary_decode(void *mem_ctx, const 
char *str)
return ret;
 }
 
-
-
+static bool need_encode(unsigned char cval)
+{
+   if (cval < 0x20 || cval > 0x7E || strchr(" *()\\&|!\"", cval)) {
+   return true;
+   }
+   return false;
+}
 
 /*
encode a blob as a RFC2254 binary string, escaping any
@@ -99,7 +104,7 @@ char *ldb_binary_encode(void *mem_ctx, struct ldb_val val)
unsigned char *buf = val.data;
 
for (i=0;i 0x7E || strchr(" *()\\&|!\"", cval)) {
+   return true;
+   }
+   return false;
+}
 
 /*
encode a blob as a RFC2254 binary string, escaping any
@@ -124,7 +131,7 @@ char *ldb_binary_encode(TALLOC_CTX *mem_ctx, struct ldb_val 
val)
unsigned char *buf = val.data;
 
for (i=0;i

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

2012-09-17 Thread Karolin Seeger
The branch, v3-6-stable has been updated
   via  f77c137 WHATSNEW: Start release notes for Samba 3.6.9.
   via  d9df248 VERSION: Bump version number up to 3.6.9.
  from  c4f50da WHATSNEW: Add major changes.

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


- Log -
commit f77c137f079c621b854b9e470b07c71d8d72d478
Author: Karolin Seeger 
Date:   Mon Sep 17 10:18:45 2012 +0200

WHATSNEW: Start release notes for Samba 3.6.9.

Karolin
(cherry picked from commit 734e17745b8c7e0fea91949c9871a4372b8d9b3d)

commit d9df248857dd48dad7548f47b046b14defdc2d31
Author: Karolin Seeger 
Date:   Mon Sep 17 10:16:12 2012 +0200

VERSION: Bump version number up to 3.6.9.

Karolin
(cherry picked from commit 2b3c81117875259b45a5afcac022d25872c85a47)

---

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 cd3f26a..b2c56fa 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,44 @@
=
+   Release Notes for Samba 3.6.9
+ October 29, 2012
+   =
+
+
+This is is the latest stable release of Samba 3.6.
+
+Major enhancements in Samba 3.6.9 include:
+
+o  
+
+Changes since 3.6.8:
+
+
+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.6 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.6.8
  September 17, 2012
=
@@ -100,8 +140,9 @@ database (https://bugzilla.samba.org/).
 == The Samba Team
 ==
 
-Release notes for older releases follow:
-
+
+--
+
 
=
Release Notes for Samba 3.6.7
diff --git a/source3/VERSION b/source3/VERSION
index e3edda5..25aa4ec 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=6
-SAMBA_VERSION_RELEASE=8
+SAMBA_VERSION_RELEASE=9
 
 
 # Bug fix releases use a letter for the patch revision #


-- 
Samba Shared Repository


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

2012-09-17 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  734e177 WHATSNEW: Start release notes for Samba 3.6.9.
   via  2b3c811 VERSION: Bump version number up to 3.6.9.
  from  4ba3ded WHATSNEW: Add major changes.

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


- Log -
commit 734e17745b8c7e0fea91949c9871a4372b8d9b3d
Author: Karolin Seeger 
Date:   Mon Sep 17 10:18:45 2012 +0200

WHATSNEW: Start release notes for Samba 3.6.9.

Karolin

commit 2b3c81117875259b45a5afcac022d25872c85a47
Author: Karolin Seeger 
Date:   Mon Sep 17 10:16:12 2012 +0200

VERSION: Bump version number up to 3.6.9.

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 cd3f26a..b2c56fa 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,44 @@
=
+   Release Notes for Samba 3.6.9
+ October 29, 2012
+   =
+
+
+This is is the latest stable release of Samba 3.6.
+
+Major enhancements in Samba 3.6.9 include:
+
+o  
+
+Changes since 3.6.8:
+
+
+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.6 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.6.8
  September 17, 2012
=
@@ -100,8 +140,9 @@ database (https://bugzilla.samba.org/).
 == The Samba Team
 ==
 
-Release notes for older releases follow:
-
+
+--
+
 
=
Release Notes for Samba 3.6.7
diff --git a/source3/VERSION b/source3/VERSION
index 8f4809c..5d7d02a 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -25,7 +25,7 @@
 
 SAMBA_VERSION_MAJOR=3
 SAMBA_VERSION_MINOR=6
-SAMBA_VERSION_RELEASE=8
+SAMBA_VERSION_RELEASE=9
 
 
 # Bug fix releases use a letter for the patch revision #


-- 
Samba Shared Repository


[SCM] Samba Website Repository - branch master updated

2012-09-17 Thread Karolin Seeger
The branch, master has been updated
   via  8601ff0 Latest version is Samba 3.6.8.
  from  2f687da Announce Samba 3.6.8.

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


- Log -
commit 8601ff0a0099f19bfae45303998067ca5c2d4386
Author: Karolin Seeger 
Date:   Mon Sep 17 09:42:37 2012 +0200

Latest version is Samba 3.6.8.

Karolin

---

Summary of changes:
 latest_stable_release.html |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/latest_stable_release.html b/latest_stable_release.html
index 8ff4fe3..806b8ba 100644
--- a/latest_stable_release.html
+++ b/latest_stable_release.html
@@ -1,5 +1,5 @@
 
-   Samba 3.6.7 
(gzipped)
-   Release Notes ·
-   Signature
+   Samba 3.6.8 
(gzipped)
+   Release Notes ·
+   Signature
 


-- 
Samba Website Repository


[SCM] Samba Website Repository - branch master updated

2012-09-17 Thread Karolin Seeger
The branch, master has been updated
   via  2f687da Announce Samba 3.6.8.
  from  7fdaf16 Announce Samba 4.0.0rc1.

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


- Log -
commit 2f687dad2a84536f3a21aee7b3c872065cf8fef9
Author: Karolin Seeger 
Date:   Mon Sep 17 09:34:30 2012 +0200

Announce Samba 3.6.8.

Karolin

---

Summary of changes:
 generated_news/latest_10_bodies.html|   18 --
 generated_news/latest_10_headlines.html |4 +-
 generated_news/latest_2_bodies.html |   23 ---
 history/header_history.html |1 +
 history/samba-3.6.8.html|   99 +++
 5 files changed, 127 insertions(+), 18 deletions(-)
 create mode 100755 history/samba-3.6.8.html


Changeset truncated at 500 lines:

diff --git a/generated_news/latest_10_bodies.html 
b/generated_news/latest_10_bodies.html
index b7ccc13..0dde31a 100644
--- a/generated_news/latest_10_bodies.html
+++ b/generated_news/latest_10_bodies.html
@@ -1,3 +1,15 @@
+   17 September 2012
+   Samba 3.6.8 Available for Download
+   This is the latest stable release of the Samba 3.6 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.6.8.tar.gz";>downloaded
+now. A http://samba.org/samba/ftp/patches/patch-3.6.7-3.6.8.diffs.gz";>
+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.
@@ -123,9 +135,3 @@ Please see the release notes for more info:
 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.
-
-   23 February 2012
-   Samba pre-3.4 Security Issue
-   Patches for http://www.samba.org/samba/ftp/patches/security/samba-3.0-CVE-2012-0870.patch";>3.0,
 http://www.samba.org/samba/ftp/patches/security/samba-3.2-CVE-2012-0870.patch";>3.2,
 http://www.samba.org/samba/ftp/patches/security/samba-3.3-CVE-2012-0870.patch";>and
 3.3 got released in order to address http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-CVE-2012-0870";>CVE-2012-0870
 (Remote code execution vulnerability in smbd).
-
-See http://www.samba.org/samba/security/CVE-2012-0870.html";>the 
security announcement for more details.
diff --git a/generated_news/latest_10_headlines.html 
b/generated_news/latest_10_headlines.html
index d6fa6a4..3c1a31f 100644
--- a/generated_news/latest_10_headlines.html
+++ b/generated_news/latest_10_headlines.html
@@ -1,4 +1,6 @@
 
+17 September 2012 Samba 3.6.8 Available for 
Download
+
 13 September 2012 Samba 4.0.0rc1 Available for 
Download
 
 13 August 2012 Samba 3.5.17 Available for 
Download
@@ -16,6 +18,4 @@
 20 March 2012 Report:
 Microsoft SMB2.2 Interop Event
 
 12 March 2012 Samba 3.5.13 Available for 
Download
-
-23 February 2012 Samba pre-3.4 Security 
Issue
 
diff --git a/generated_news/latest_2_bodies.html 
b/generated_news/latest_2_bodies.html
index 4694919..06bb797 100644
--- a/generated_news/latest_2_bodies.html
+++ b/generated_news/latest_2_bodies.html
@@ -1,18 +1,21 @@
-   13 September 2012
-   Samba 4.0.0rc1 Available for Download
-   This is the first release candidate of the Samba 4.0 series.
+   17 September 2012
+   Samba 3.6.8 Available for Download
+   This is the latest stable release of the Samba 3.6 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.
+http://samba.org/samba/ftp/stable/samba-3.6.8.tar.gz";>downloaded
+now. A http://samba.org/samba/ftp/patches/patch-3.6.7-3.6.8.diffs.gz";>
+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 August 2012
-   Samba 3.5.17 Available for Download
-   This is the latest stable release of the Samba 3.5 series.
+   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
-http://samba.org/samba/ftp/stable/samba-3.5.17.tar.gz";>dow

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

2012-09-17 Thread Karolin Seeger
The annotated tag, samba-3.6.8 has been created
at  3edb10828acff097611d134b8212259e6785223b (tag)
   tagging  c4f50dadc4a3baccd23e5c126448c3bccd05dc68 (commit)
  replaces  samba-3.6.7
 tagged by  Karolin Seeger
on  Mon Sep 17 09:11:41 2012 +0200

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

iD8DBQBQVs0+bzORW2Vot+oRAomEAJ0dEvNqPuGKW497ETkZsgLvcuJ+gQCgqJG6
SZAkK7U+SgrL81EbP4xl+EI=
=VCRH
-END PGP SIGNATURE-

Andreas Schneider (4):
  s3-libsmb: Remove obsolete smb_krb5_locate_kdc.
  s3-smbd: Initialize the print backend after we setup winreg.
  s3-smbd: Fix flooding the logs with records we don't find in pcap.
  s3-winbind: DON'T PANIC if we couldn't find the domain.

Andrew Bartlett (2):
  Revert "s3:auth make sure the primary group sid is usable"
  s3-auth Use correct RID for domain guests primary group

Björn Jacke (2):
  s3: fix #9037 even more - open and netbsd have the md5 symbols in libc
  sysquota: we need to list nfs4 as a separate fs name for the 
sys_get_nfs_quota backend

Christian Ambach (2):
  s3:libsmb correctly set isFsctl for snapshot list
  s3:client use more access bits for snapshot display

David Binderman (1):
  Fix bug 9065: source3/registry/regfio.c: bad call to memcpy

David Disseldorp (1):
  s3-printing: fix bug 9123 lprng job tracking errors

Günther Deschner (1):
  s4-torture: let torture_suite_add_ndr_pull_test always work with 
NDR_SCALARS|NDR_BUFFERS flags.

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

Jeremy Allison (8):
  Ensure we keep last_access up to date when processing a request.
  Fix bug #9098 - winbind does not refresh kerberos tickets.
  Bug #9058] Files not deleted, smbstatus shows "Segmentation fault".
  Rename set_sd() to set_sd_blob() - this describes what it does. (cherry 
picked from commit 61957ff9f6124eabae050f5425d7d0597ae6a127)
  Re-add set_sd(), called from set_sd_blob(). Allows us to centralize all 
ACL canonicalization. (cherry picked from commit 
05734b67b8ed5516d81000eac48acd0915567629)
  Change the other two places where we set a security descriptor given by 
the client to got through set_sd(), the canonicalize sd function.
  Windows does canonicalization of inheritance bits. Do the same.
  Fix bug #9124 - Samba fails to set "inherited" bit on inherited ACE's.

Karolin Seeger (4):
  VERSION: Bump version number up to 3.6.8.
  WHASTNEW: Start release notes for Samba 3.6.8.
  WHATSNEW: Add changes since 3.6.7.
  WHATSNEW: Add major changes.

Salvador I. Gonzalez (1):
  Fix smbclient/tarmode panic on connecting to Windows 2000 clients.

Stefan Metzmacher (1):
  s3:smb2_ioctl: add some more validation checks

Volker Lendecke (4):
  s3: Fix a crash in reply_lockingX_error
  s3: Fix #9037, BSD has -lmd instead of -lmd5
  Backport FSCTL codes from master
  s3: delete requests are not special

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

---


-- 
Samba Shared Repository


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

2012-09-17 Thread Karolin Seeger
The branch, v3-6-stable has been updated
   via  c4f50da WHATSNEW: Add major changes.
   via  7aeeac3 WHATSNEW: Add changes since 3.6.7.
   via  c507e98 s3: delete requests are not special
   via  d743a04 sysquota: we need to list nfs4 as a separate fs name for 
the sys_get_nfs_quota backend
   via  1f7bf36 s3:client use more access bits for snapshot display
   via  982a4ea s3:libsmb correctly set isFsctl for snapshot list
   via  08f6bde s3-winbind: DON'T PANIC if we couldn't find the domain.
   via  c7ad604 Fix bug #9124 - Samba fails to set "inherited" bit on 
inherited ACE's.
   via  735ec75 Windows does canonicalization of inheritance bits. Do the 
same.
   via  21fe3f0 Change the other two places where we set a security 
descriptor given by the client to got through set_sd(), the canonicalize sd 
function. (cherry picked from commit 7e03ebf094a98c572816cb81ef3cf4c02aaafcfd)
   via  a372cfa Re-add set_sd(), called from set_sd_blob(). Allows us to 
centralize all ACL canonicalization. (cherry picked from commit 
05734b67b8ed5516d81000eac48acd0915567629) (cherry picked from commit 
67f82b4cb65294dc2e3c3a144d91df9bbfdaa90c)
   via  a8c84b4 Rename set_sd() to set_sd_blob() - this describes what it 
does. (cherry picked from commit 61957ff9f6124eabae050f5425d7d0597ae6a127) 
(cherry picked from commit b6791f4878bfdd2266f27b1e962324966ef03e31)
   via  7503ef9 s3-smbd: Fix flooding the logs with records we don't find 
in pcap.
   via  e7cf33c Bug #9058] Files not deleted, smbstatus shows "Segmentation 
fault".
   via  634142c s3-printing: fix bug 9123 lprng job tracking errors
   via  bbffd42 s3-smbd: Initialize the print backend after we setup winreg.
   via  e61ab52 s4-torture: let torture_suite_add_ndr_pull_test always work 
with NDR_SCALARS|NDR_BUFFERS flags.
   via  4520d4f s3: Fix bug #9085.
   via  02dc354 s3: fix #9037 even more - open and netbsd have the md5 
symbols in libc (cherry picked from commit 
e2200d51550f73e66924277d4c7290b0eeab3f23)
   via  ea172c2 s3:smb2_ioctl: add some more validation checks
   via  313bf72 Backport FSCTL codes from master (cherry picked from commit 
20909ff4eda1181612e0f1f09191e86369044d24)
   via  6606982 s3-libsmb: Remove obsolete smb_krb5_locate_kdc.
   via  4151f94 s3: Fix #9037, BSD has -lmd instead of -lmd5 (cherry picked 
from commit a9fc50f9e97d437e18f67f077b0de89b6781e2c3)
   via  02c4886 Fix bug #9098 - winbind does not refresh kerberos tickets.
   via  227d353 Fix bug #9104 - winbindd can mis-identify idle clients - 
can cause crashes and NDR parsing errors.
   via  1bcdcc1 Ensure we keep last_access up to date when processing a 
request. (cherry picked from commit c4dadb5867111029c90fd395b64217a23d53f722)
   via  084727c Fix smbclient/tarmode panic on connecting to Windows 2000 
clients.
   via  4e9b2cc s3-auth Use correct RID for domain guests primary group
   via  a5b4f3e Revert "s3:auth make sure the primary group sid is usable"
   via  eae2e4d s3: Fix a crash in reply_lockingX_error
   via  285a715 Fix bug 9065: source3/registry/regfio.c: bad call to memcpy
  from  f31bbbc WHASTNEW: Start release notes for Samba 3.6.8.

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


- Log -
commit c4f50dadc4a3baccd23e5c126448c3bccd05dc68
Author: Karolin Seeger 
Date:   Fri Sep 14 10:08:12 2012 +0200

WHATSNEW: Add major changes.

Karolin
(cherry picked from commit 4ba3dedfa898ad12465fc4307aa29575ba8b44d5)

commit 7aeeac3d25a6f71b7bdd588c941a9aecafa0ceaf
Author: Karolin Seeger 
Date:   Fri Sep 14 09:47:47 2012 +0200

WHATSNEW: Add changes since 3.6.7.

Karolin
(cherry picked from commit 34476abd44cb0b7c806b671727b3b814928202e1)

commit c507e985185f998bab8147ff08dec815107f036c
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 9d0a8945ce9f521934d6f580d2b48abce0169a6d)

commit d743a042a6a12a9df92195f15f667be3ee068715
Author: Björn Jacke 
Date:   Thu Sep 6 07:58:00 2012 +0200

sysquota: we need to list nfs4 as a separate fs name for the 
sys_get_nfs_quota backend

at least the Linux kernel up to 3.5.0 lists NFSv4 aѕ nfs4 and not as nfs
(cherry picked from commit a6df44b3ae1ca6395d05e1af804a779d785358db)

Fix bug #9144 - nfs quota support not working with Linux nfs4 mounts.
(cherry picked from commit e059bcc59498661f165b13fb84edcb80900815ce)

commit 1f7bf360fa9c4fb79c40436ce7caaf05897a3aac
Author: Christian Amba