[SCM] Samba Shared Repository - branch master updated

2013-08-13 Thread Karolin Seeger
The branch, master has been updated
   via  dc3c4c0 docs: Add man vfs_syncops.8 to waf build.
  from  0260601 s3: smbd/connection: added routines to compute share 
connections

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


- Log -
commit dc3c4c00e65f1ffdd32bf7c2e957da98b5913084
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Aug 12 09:02:07 2013 +0200

docs: Add man vfs_syncops.8 to waf build.

Signed-off-by: Karolin Seeger ksee...@samba.org
Reviewed-by: Volker Lendecke v...@samba.org
Reviewed-by: David Disseldorp dd...@samba.org

Part of a fix for bug #7364 - man vfs_syncops missing.

Autobuild-User(master): Karolin Seeger ksee...@samba.org
Autobuild-Date(master): Tue Aug 13 12:09:45 CEST 2013 on sn-devel-104

---

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


Changeset truncated at 500 lines:

diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build
index f2d977a..d729aa8 100644
--- a/docs-xml/wscript_build
+++ b/docs-xml/wscript_build
@@ -76,6 +76,7 @@ manpages='''
  manpages/vfs_smb_traffic_analyzer.8
  manpages/vfs_streams_depot.8
  manpages/vfs_streams_xattr.8
+ manpages/vfs_syncops.8
  manpages/vfs_time_audit.8
  manpages/vfs_tsmsm.8
  manpages/vfs_xattr_tdb.8


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v4-1-test updated

2013-08-13 Thread Karolin Seeger
The branch, v4-1-test has been updated
   via  f3a9fe5 s3-libads: Print a message if no realm has been specified.
   via  a183dcd s3-libads: Fail create_local_private_krb5_conf_for_domain() 
if parameters missing.
   via  e9edcb3 docs: Add man page for vfs_linux_xfs_sgid.
  from  694d54a VERSION: Bump version number up to 4.1.0rc3...

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


- Log -
commit f3a9fe50ead03732a34afaedcbdb0ee90bb6dc5a
Author: Andreas Schneider a...@samba.org
Date:   Mon Aug 5 09:25:11 2013 +0200

s3-libads: Print a message if no realm has been specified.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

Autobuild-User(master): Andreas Schneider a...@cryptomilk.org
Autobuild-Date(master): Mon Aug  5 12:24:44 CEST 2013 on sn-devel-104

(cherry picked from commit 6659f0164c6b8d7ad522bcd6c2c6748c3d9bca81)

The last 2 patches address bug #10073 - net ads join - segmentation fault in
create_local_private_krb5_conf_for_domain.

Autobuild-User(v4-1-test): Karolin Seeger ksee...@samba.org
Autobuild-Date(v4-1-test): Tue Aug 13 12:16:00 CEST 2013 on sn-devel-104

commit a183dcd3af2cba6025515296e954b836fbf9a9fd
Author: Günther Deschner g...@samba.org
Date:   Fri May 17 15:14:35 2013 +0200

s3-libads: Fail create_local_private_krb5_conf_for_domain() if parameters 
missing.

Guenther

Signed-off-by: Günther Deschner g...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Andreas Schneider a...@samba.org
(cherry picked from commit 6dc7c63efa95d0c04b542667d9b6a6621c8139bf)

commit e9edcb30907d825d2a5a825f3a88edf9753e7995
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Aug 12 10:02:31 2013 +0200

docs: Add man page for vfs_linux_xfs_sgid.

Signed-off-by: Karolin Seeger ksee...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Tue Aug 13 02:06:30 CEST 2013 on sn-devel-104
(cherry picked from commit 906de702e641bb0da8ec9074b80d6e94bdb17cfe)

Fix bug #7490 - man vfs_linux_xfs_sgid missing.

---

Summary of changes:
 ...s_fake_perms.8.xml = vfs_linux_xfs_sgid.8.xml} |   35 ++-
 docs-xml/wscript_build |1 +
 source3/libads/kerberos.c  |   10 ++
 3 files changed, 29 insertions(+), 17 deletions(-)
 copy docs-xml/manpages/{vfs_fake_perms.8.xml = vfs_linux_xfs_sgid.8.xml} (53%)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages/vfs_fake_perms.8.xml 
b/docs-xml/manpages/vfs_linux_xfs_sgid.8.xml
similarity index 53%
copy from docs-xml/manpages/vfs_fake_perms.8.xml
copy to docs-xml/manpages/vfs_linux_xfs_sgid.8.xml
index 6916ced..17ed1ac 100644
--- a/docs-xml/manpages/vfs_fake_perms.8.xml
+++ b/docs-xml/manpages/vfs_linux_xfs_sgid.8.xml
@@ -1,24 +1,24 @@
 ?xml version=1.0 encoding=iso-8859-1?
 !DOCTYPE refentry PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant 
V1.0//EN http://www.samba.org/samba/DTD/samba-doc;
-refentry id=vfs_fake_perms.8
+refentry id=vfs_linux_xfs_sgid.8
 
 refmeta
-   refentrytitlevfs_fake_perms/refentrytitle
+   refentrytitlevfs_syncops/refentrytitle
manvolnum8/manvolnum
refmiscinfo class=sourceSamba/refmiscinfo
refmiscinfo class=manualSystem Administration tools/refmiscinfo
-   refmiscinfo class=version4.0/refmiscinfo
+   refmiscinfo class=version4.1/refmiscinfo
 /refmeta
 
 
 refnamediv
-   refnamevfs_fake_perms/refname
-   refpurposeenable read only Roaming Profiles/refpurpose
+   refnamevfs_linux_xfs_sgid/refname
+   refpurpose/refpurpose
 /refnamediv
 
 refsynopsisdiv
cmdsynopsis
-   commandvfs objects = fake_perms/command
+   commandvfs objects = linux_xfs_sgid/command
/cmdsynopsis
 /refsynopsisdiv
 
@@ -29,13 +29,14 @@
citerefentryrefentrytitlesamba/refentrytitle
manvolnum7/manvolnum/citerefentry suite./para
 
-   paraThe commandvfs_fake_perms/command VFS module was created
-   to allow Roaming Profile files and directories to be set (on
-   the Samba server under UNIX) as read only. This module will,
-   if installed on the Profiles share, report to the client that
-   the Profile files and directories are writeable. This satisfies
-   the client even though the files will never be overwritten as
-   the client logs out or shuts down.
+   para
+   commandvfs_linux_xfs_sgid/command is a VFS module to work around an
+   old Linux XFS bug that still exists: Under certain circumstances the
+   SGID bit is not inherited (ulink 
url=http://oss.sgi.com/bugzilla/show_bug.cgi?id=280;
+   

[SCM] Samba Shared Repository - branch v4-0-test updated

2013-08-13 Thread Karolin Seeger
The branch, v4-0-test has been updated
   via  1a61c56 s3-libads: Print a message if no realm has been specified.
   via  dea6282 s3-libads: Fail create_local_private_krb5_conf_for_domain() 
if parameters missing.
  from  9439729 Ensure gpfs kernel leases are wrapped in a 
become_root()/unbecome_root() pair.

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


- Log -
commit 1a61c5632c1a444eb916290342241660cbb59988
Author: Andreas Schneider a...@samba.org
Date:   Mon Aug 5 09:25:11 2013 +0200

s3-libads: Print a message if no realm has been specified.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

Autobuild-User(master): Andreas Schneider a...@cryptomilk.org
Autobuild-Date(master): Mon Aug  5 12:24:44 CEST 2013 on sn-devel-104

(cherry picked from commit 6659f0164c6b8d7ad522bcd6c2c6748c3d9bca81)

The last 2 patches address bug #10073 - net ads join - segmentation fault in
create_local_private_krb5_conf_for_domain.

Autobuild-User(v4-0-test): Karolin Seeger ksee...@samba.org
Autobuild-Date(v4-0-test): Tue Aug 13 12:16:48 CEST 2013 on sn-devel-104

commit dea6282d3b7bda6389c2f101c14159274472b780
Author: Günther Deschner g...@samba.org
Date:   Fri May 17 15:14:35 2013 +0200

s3-libads: Fail create_local_private_krb5_conf_for_domain() if parameters 
missing.

Guenther

Signed-off-by: Günther Deschner g...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Andreas Schneider a...@samba.org
(cherry picked from commit 6dc7c63efa95d0c04b542667d9b6a6621c8139bf)

---

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


Changeset truncated at 500 lines:

diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index 50a409c..cac3474 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -838,6 +838,16 @@ bool create_local_private_krb5_conf_for_domain(const char 
*realm,
return false;
}
 
+   if (realm == NULL) {
+   DEBUG(0, (No realm has been specified! Do you really want to 
+ join an Active Directory server?\n));
+   return false;
+   }
+
+   if (domain == NULL || pss == NULL || kdc_name == NULL) {
+   return false;
+   }
+
dname = lock_path(smb_krb5);
if (!dname) {
return false;


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v4-1-test updated

2013-08-13 Thread Karolin Seeger
The branch, v4-1-test has been updated
   via  87c63fd docs: Add man vfs_syncops.8 to waf build.
   via  117e7ee docs: Add basic man page for vfs_syncops.
  from  f3a9fe5 s3-libads: Print a message if no realm has been specified.

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


- Log -
commit 87c63fd449bebf6165525c9a469ecb313dc13745
Author: Karolin Seeger ksee...@samba.org
Date:   Mon Aug 12 09:02:07 2013 +0200

docs: Add man vfs_syncops.8 to waf build.

Signed-off-by: Karolin Seeger ksee...@samba.org
Reviewed-by: Volker Lendecke v...@samba.org
Reviewed-by: David Disseldorp dd...@samba.org

Part of a fix for bug #7364 - man vfs_syncops missing.

Autobuild-User(master): Karolin Seeger ksee...@samba.org
Autobuild-Date(master): Tue Aug 13 12:09:45 CEST 2013 on sn-devel-104
(cherry picked from commit dc3c4c00e65f1ffdd32bf7c2e957da98b5913084)

Autobuild-User(v4-1-test): Karolin Seeger ksee...@samba.org
Autobuild-Date(v4-1-test): Tue Aug 13 14:42:31 CEST 2013 on sn-devel-104

commit 117e7ee14bcc71af95d4bdcf7e574d82c972b3f4
Author: Karolin Seeger ksee...@samba.org
Date:   Fri Aug 9 10:57:51 2013 +0200

docs: Add basic man page for vfs_syncops.

Fix bug #7364 - man vfs_syncops missing.

Signed-off-by: Karolin Seeger ksee...@samba.org
Reviewed-by: David Disseldorp dd...@samba.org

Autobuild-User(master): David Disseldorp dd...@samba.org
Autobuild-Date(master): Fri Aug  9 13:19:12 CEST 2013 on sn-devel-104
(cherry picked from commit 6fb300f7b44cc6eb83e10b7272c2e08c150e05ba)

---

Summary of changes:
 docs-xml/manpages/vfs_syncops.8.xml |   99 +++
 docs-xml/wscript_build  |1 +
 2 files changed, 100 insertions(+), 0 deletions(-)
 create mode 100644 docs-xml/manpages/vfs_syncops.8.xml


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages/vfs_syncops.8.xml 
b/docs-xml/manpages/vfs_syncops.8.xml
new file mode 100644
index 000..ccb0b67
--- /dev/null
+++ b/docs-xml/manpages/vfs_syncops.8.xml
@@ -0,0 +1,99 @@
+?xml version=1.0 encoding=iso-8859-1?
+!DOCTYPE refentry PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant 
V1.0//EN http://www.samba.org/samba/DTD/samba-doc;
+refentry id=vfs_syncops.8
+
+refmeta
+   refentrytitlevfs_syncops/refentrytitle
+   manvolnum8/manvolnum
+   refmiscinfo class=sourceSamba/refmiscinfo
+   refmiscinfo class=manualSystem Administration tools/refmiscinfo
+   refmiscinfo class=version4.1/refmiscinfo
+/refmeta
+
+
+refnamediv
+   refnamevfs_syncops/refname
+   refpurposeEnsure meta data operations are performed 
synchronously./refpurpose
+/refnamediv
+
+refsynopsisdiv
+   cmdsynopsis
+   commandvfs objects = syncops/command
+   /cmdsynopsis
+/refsynopsisdiv
+
+refsect1
+   titleDESCRIPTION/title
+
+   paraThis VFS module is part of the
+   citerefentryrefentrytitlesamba/refentrytitle
+   manvolnum7/manvolnum/citerefentry suite./para
+
+   para
+   Some filesystems (even some journaled filesystems) require that a
+   fsync() be performed on many meta data operations to ensure that the
+   operation is guaranteed to remain in the filesystem after a power
+   failure. This is particularly important for some cluster filesystems
+   which are participating in a node failover system with clustered
+   Samba. On those filesystems the commandvfs_syncops/command VFS 
module
+   provides a way to perform those operations safely.
+   /para
+
+   paraThis module is stackable./para
+
+/refsect1
+
+refsect1
+   titleCONFIGURATION/title
+
+   para
+   Most of the performance loss with the commandvfs_syncops/command
+   VFS module is in fsync on close(). You can disable that with
+   commandsyncops:onclose = no/command that can be set either globally
+   or per share.
+   /para
+
+   para
+   On certain filesystems that only require the last data written to be
+   fsync()'ed, you can disable the metadata synchronization of this module 
with
+   commandsyncops:onmeta = no/command. This option can be set either
+   globally or per share.
+   /para
+
+   para
+   The commandvfs_syncops/command VFS module can also be disabled
+   completely for a share with commandsyncops:disable = true/command.
+   /para
+/refsect1
+
+refsect1
+   titleEXAMPLES/title
+
+   paraAdd syncops functionality for [share]:/para
+programlisting
+smbconfsection name=[share]/
+   smbconfoption name=path/data/share/smbconfoption
+   smbconfoption name=vfs objectssyncops/smbconfoption
+   smbconfoption name=syncops:oncloseno/smbconfoption
+/programlisting
+
+/refsect1
+
+refsect1
+   titleVERSION/title
+
+   paraThis man 

autobuild: intermittent test failure detected

2013-08-13 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/2013-08-13-1537/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-08-13-1537/samba3.stderr
   http://git.samba.org/autobuild.flakey/2013-08-13-1537/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-08-13-1537/samba.stderr
   http://git.samba.org/autobuild.flakey/2013-08-13-1537/samba.stdout
  
The top commit at the time of the failure was:

commit 52d66d81f1a873b8106973d1cdece032b7080805
Author: Andreas Schneider a...@samba.org
Date:   Mon Aug 12 20:22:04 2013 +0200

s3-winbind: Fix a segfault passing NULL to a fstring argument.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10082

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Volker Lendecke v...@samba.org

Autobuild-User(master): Andreas Schneider a...@cryptomilk.org
Autobuild-Date(master): Tue Aug 13 13:58:26 CEST 2013 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2013-08-13 Thread Stefan Metzmacher
The branch, master has been updated
   via  1b57fd1 s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
  from  52d66d8 s3-winbind: Fix a segfault passing NULL to a fstring 
argument.

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


- Log -
commit 1b57fd180c2640598c13d2459a7c7a6f04708388
Author: Günther Deschner g...@samba.org
Date:   Mon Aug 12 17:23:12 2013 +0200

s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().

Fallback to lsa named-pipe connection when tcp connection has failed twice 
(it
could be a trusted domain connection where we cannot setup a secure 
channel).

Guenther

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9615
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9899

Signed-off-by: Günther Deschner g...@samba.org
Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Tested-by: Christof Schmitt christof.schm...@us.ibm.com

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Tue Aug 13 20:55:33 CEST 2013 on sn-devel-104

---

Summary of changes:
 source3/winbindd/winbindd_cm.c |9 +++--
 1 files changed, 7 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 08c763c..1832b2b 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -2651,11 +2651,16 @@ NTSTATUS cm_connect_lsat(struct winbindd_domain *domain,
invalidate_cm_connection(domain-conn);
status = cm_connect_lsa_tcp(domain, mem_ctx, cli);
}
-   if (!NT_STATUS_IS_OK(status)) {
+   if (NT_STATUS_IS_OK(status)) {
return status;
}
 
-   return NT_STATUS_OK;
+   /*
+* we tried twice to connect via ncan_ip_tcp and schannel and
+* failed - maybe it is a trusted domain we can't connect to ?
+* do not try tcp next time - gd
+*/
+   domain-can_do_ncacn_ip_tcp = false;
}
 
status = cm_connect_lsa(domain, mem_ctx, cli, lsa_policy);


-- 
Samba Shared Repository


autobuild: intermittent test failure detected

2013-08-13 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/2013-08-14-0015/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-08-14-0015/samba3.stderr
   http://git.samba.org/autobuild.flakey/2013-08-14-0015/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-08-14-0015/samba.stderr
   http://git.samba.org/autobuild.flakey/2013-08-14-0015/samba.stdout
  
The top commit at the time of the failure was:

commit 1b57fd180c2640598c13d2459a7c7a6f04708388
Author: Günther Deschner g...@samba.org
Date:   Mon Aug 12 17:23:12 2013 +0200

s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().

Fallback to lsa named-pipe connection when tcp connection has failed twice 
(it
could be a trusted domain connection where we cannot setup a secure 
channel).

Guenther

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9615
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9899

Signed-off-by: Günther Deschner g...@samba.org
Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Tested-by: Christof Schmitt christof.schm...@us.ibm.com

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Tue Aug 13 20:55:33 CEST 2013 on sn-devel-104