[SCM] UID Wrapper Repository - branch master updated

2014-07-31 Thread Andreas Schneider
The branch, master has been updated
   via  05893df Bump version to 1.0.2.
   via  0b46313 uwrap: Support dropping all supplemetary groups with 
setgroups()
  from  6e1a69f doc: Add a manpage for uid_wrapper.

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


- Log -
commit 05893dfad64dc5da232ec7ea505655de5b6841c3
Author: Andreas Schneider a...@samba.org
Date:   Wed Jul 30 14:48:04 2014 +0200

Bump version to 1.0.2.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 0b46313c34a9ecceee9eeb2cbae0abe01133c96b
Author: Jakub Hrozek jakub.hro...@gmail.com
Date:   Tue Jul 29 19:20:07 2014 +0200

uwrap: Support dropping all supplemetary groups with setgroups()

Dropping all supplementary groups is a common practice when changing
UIDs. This patch adds support for dropping all supplementary groups when
setgroups is called with size=0.

Signed-off-by: Jakub Hrozek jakub.hro...@gmail.com
Reviewed-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

tests: Fix test for dopping supplementary groups.

Signed-off-by: Andreas Schneider a...@samba.org

---

Summary of changes:
 CMakeLists.txt|4 ++--
 ChangeLog |6 ++
 src/uid_wrapper.c |   14 --
 tests/testsuite.c |   25 +
 4 files changed, 45 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index af76cb8..1d591fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ set(APPLICATION_NAME ${PROJECT_NAME})
 
 set(APPLICATION_VERSION_MAJOR 1)
 set(APPLICATION_VERSION_MINOR 0)
-set(APPLICATION_VERSION_PATCH 1)
+set(APPLICATION_VERSION_PATCH 2)
 
 set(APPLICATION_VERSION 
${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH})
 
@@ -19,7 +19,7 @@ set(APPLICATION_VERSION 
${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINO
 # Increment AGE. Set REVISION to 0
 #   If the source code was changed, but there were no interface changes:
 # Increment REVISION.
-set(LIBRARY_VERSION 0.0.1)
+set(LIBRARY_VERSION 0.0.2)
 set(LIBRARY_SOVERSION 0)
 
 # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is 
checked
diff --git a/ChangeLog b/ChangeLog
index b15ee88..4fdb805 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
 ChangeLog
 ==
 
+version 1.0.2 (released 2014-07-31)
+  * Added better logging system.
+  * Added a mapnpage
+  * Added build and install instructions
+  * Fixed threading issue in the desctructor.
+
 version 1.0.1 (released 2014-02-04)
   * Added --libs to pkg-config.
   * Added socket_wrapper-config.cmake
diff --git a/src/uid_wrapper.c b/src/uid_wrapper.c
index f53aa47..2181767 100644
--- a/src/uid_wrapper.c
+++ b/src/uid_wrapper.c
@@ -956,7 +956,11 @@ static int uwrap_setgroups_thread(size_t size, const gid_t 
*list)
 
pthread_mutex_lock(uwrap_id_mutex);
 
-   if (size  0) {
+   if (size == 0) {
+   free(id-groups);
+   id-groups = NULL;
+   id-ngroups = 0;
+   } else if (size  0) {
gid_t *tmp;
 
tmp = realloc(id-groups, sizeof(gid_t) * size);
@@ -984,7 +988,13 @@ static int uwrap_setgroups(size_t size, const gid_t *list)
 
pthread_mutex_lock(uwrap_id_mutex);
 
-   if (size  0) {
+   if (size == 0) {
+   for (id = uwrap.ids; id; id = id-next) {
+   free(id-groups);
+   id-groups = NULL;
+   id-ngroups = 0;
+   }
+   } else if (size  0) {
for (id = uwrap.ids; id; id = id-next) {
gid_t *tmp;
 
diff --git a/tests/testsuite.c b/tests/testsuite.c
index beff0fe..828cb42 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -288,6 +288,17 @@ static void test_uwrap_setgroups(void **state)
assert_int_equal(rc, 5);
 
assert_memory_equal(glist, rlist, sizeof(glist));
+
+   /* Drop all supplementary groups. This is often done by daemons */
+   memset(rlist, 0, sizeof(rlist));
+
+   rc = setgroups(0, NULL);
+   assert_int_equal(rc, 0);
+
+   rc = getgroups(ARRAY_SIZE(rlist), rlist);
+   assert_int_equal(rc, 0);
+
+   assert_int_equal(rlist[0], 0);
 }
 
 #if defined(SYS_setgroups) || defined(SYS_setroups32)
@@ -310,6 +321,20 @@ static void test_uwrap_syscall_setgroups(void **state)
assert_int_equal(rc, 5);
 
assert_memory_equal(glist, rlist, sizeof(glist));
+
+   /* Drop all supplementary groups. This is often done by daemons */
+   memset(rlist, 0, sizeof(rlist));
+#ifdef SYS_setgroups
+   rc = syscall(SYS_setgroups, 0, NULL);
+#elif SYS_setgroups32
+   rc = 

[SCM] UID Wrapper Repository - annotated tag uid_wrapper-1.0.2 created

2014-07-31 Thread Andreas Schneider
The annotated tag, uid_wrapper-1.0.2 has been created
at  4421e5258583730f737823d14f3fcf6cf1ae9338 (tag)
   tagging  05893dfad64dc5da232ec7ea505655de5b6841c3 (commit)
  replaces  uid_wrapper-1.0.1
 tagged by  Andreas Schneider
on  Thu Jul 31 09:39:11 2014 +0200

- Log -
uid_wrapper-1.0.2
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAABCgAGBQJT2fKjAAoJEH7g/E3MAU49HF0P/28axq+XA5y7K65ckjV8121a
cZDPzV/ujl06M3wjRxV4SNDx5yaNnYQo6jcZVYgZqwzLZ11pr2WMXrWy8Oqq7ygv
VHLLsPOmeFaNR+2PgGxGblmilkMkrVUNE6kFhpqeRWPcr13uDbb7n0yfDbs0Vk6m
Mr+ys85GJ7jkUEev6/aJM2SPf3Lg+bIkIKfraHCKVl6d6mMN/hAbgWR2sXKNzNnC
tI17foS6GdX2+01UfticmdwG6+DzdRDmdNUkzr3y2JqMAdlRBmFEn5wn+n1opwN/
kFCVgbvd3OcwRGE7vj2/FUl2a7Ftgi9oNaZucl1ssA6y8uOWYrDJ+JCABANsALNn
OJwl80llHLwfdpMgM+nLEyqmpKnQqfy63F8xbiW0DEnIzYyTlYE+pQJ5wDTI92Xs
VtS2484Dibr5++0/kZJFofEqP4QWnN/oT2st9qVIeFF3BHdPD1HYMDz3Gt6bL5xu
NlZHgOVxjWrk1cge8yDkE24eWpKxk1FjNijTDZLj3XXqtprt2seF1bNpmpjpyPOj
ksYZNdoUxeacgbXufMcx5s2wjSQi615ZACZtld3po0JILGgLcrzzqONQ4p1gISyd
tIWDoonKaarBohYJ34Ck1wGtjWpK3EVRs2qVmO0xs+KnUgPJJv2VgBs8UYYL+CoR
udEhDA3Byr47nPvHeLIx
=9HYT
-END PGP SIGNATURE-

Andreas Schneider (16):
  cmake: Create the compile command database by default.
  cmake: Fix configure warning with cmake 3.0.
  cmake: Only set policy in cmake 3.0.
  uwrap: Fix memory leak on error.
  cmake: Use 2.8.13 as version to check.
  cmake: Install cmake config into the correct directory.
  cmake: Fix policy check.
  cmake: Fix a typo in uid_wrapper-config.cmake.in.
  uwrap: Add mutex in uwrap_destructor().
  uwrap: Fall back to RTLD_NEXT if we can't find libc.
  cmake: Check for HAVE_FUNCTION_ATTRIBUTE_FORMAT.
  uwrap: Add a better logging function.
  uwrap: Log error if we are out of memory.
  uwrap: Add logging if uwrap is enabled correctly.
  doc: Add a manpage for uid_wrapper.
  Bump version to 1.0.2.

Jakub Hrozek (1):
  uwrap: Support dropping all supplemetary groups with setgroups()

Michael Adam (1):
  Add README.install - instructions for building and installing.

---


-- 
UID Wrapper Repository


autobuild: intermittent test failure detected

2014-07-31 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/2014-07-31-1045/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2014-07-31-1045/samba.stderr
   http://git.samba.org/autobuild.flakey/2014-07-31-1045/samba.stdout
  
The top commit at the time of the failure was:

commit 9ee7b022e5cbf13f2fc8c6f8c556553eb2ef9f06
Author: Christof Schmitt c...@samba.org
Date:   Wed Jul 30 08:42:33 2014 -0700

smbd: Change logging level for denied share access

A user without access in the share acl can easily trigger those
warnings. Change the logging level, so that they do not appear with the
default logging level.

Signed-off-by: Christof Schmitt c...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Thu Jul 31 01:17:30 CEST 2014 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2014-07-31 Thread Amitay Isaacs
The branch, master has been updated
   via  bc59e50 ctdb-eventscripts: Remove special case for virtio_net
  from  e17c241 param: Add errors for when an s3 context is used incorrectly

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


- Log -
commit bc59e508d381e6ec2a47eed1e0bc8fc3025904a2
Author: Martin Schwenke mar...@meltin.net
Date:   Tue Jul 29 15:08:36 2014 +1000

ctdb-eventscripts: Remove special case for virtio_net

The current check is incorrect in 2 ways:

* Commit be71a84565e9e7532a77c175732b764d1f42c1cd contained a thinko
  that stops virtio_net interfaces from simply being marked up

* virtio_net interfaces can actually be down

virtio_net has supported ethtool since Linux 2.6.29, so just remove
the special case.  This means that testing CTDB on very old virtual
machines is not supported.

Signed-off-by: Martin Schwenke mar...@meltin.net
Reviewed-by: Amitay Isaacs ami...@gmail.com

Autobuild-User(master): Amitay Isaacs ami...@samba.org
Autobuild-Date(master): Thu Jul 31 13:08:47 CEST 2014 on sn-devel-104

---

Summary of changes:
 ctdb/config/events.d/10.interface |5 -
 1 files changed, 0 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/ctdb/config/events.d/10.interface 
b/ctdb/config/events.d/10.interface
index 979fa7b..018f767 100755
--- a/ctdb/config/events.d/10.interface
+++ b/ctdb/config/events.d/10.interface
@@ -110,11 +110,6 @@ monitor_interfaces()
mark_up $iface
;;
*)
-   # Ignore virtio_net devices, assume they're always up
-   _driver_path=/sys/class/net/$iface/device/driver
-   _driver=$(basename $(readlink $_driver_path) 2/dev/null)
-   [ $_driver = virtio_net ]  continue
-
ethtool $iface | grep -q 'Link detected: yes' || {
# On some systems, this is not successful when a
# cable is plugged but the interface has not been


-- 
Samba Shared Repository


autobuild: intermittent test failure detected

2014-07-31 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/2014-07-31-1540/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2014-07-31-1540/samba.stderr
   http://git.samba.org/autobuild.flakey/2014-07-31-1540/samba.stdout
  
The top commit at the time of the failure was:

commit bc59e508d381e6ec2a47eed1e0bc8fc3025904a2
Author: Martin Schwenke mar...@meltin.net
Date:   Tue Jul 29 15:08:36 2014 +1000

ctdb-eventscripts: Remove special case for virtio_net

The current check is incorrect in 2 ways:

* Commit be71a84565e9e7532a77c175732b764d1f42c1cd contained a thinko
  that stops virtio_net interfaces from simply being marked up

* virtio_net interfaces can actually be down

virtio_net has supported ethtool since Linux 2.6.29, so just remove
the special case.  This means that testing CTDB on very old virtual
machines is not supported.

Signed-off-by: Martin Schwenke mar...@meltin.net
Reviewed-by: Amitay Isaacs ami...@gmail.com

Autobuild-User(master): Amitay Isaacs ami...@samba.org
Autobuild-Date(master): Thu Jul 31 13:08:47 CEST 2014 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2014-07-31 Thread Volker Lendecke
The branch, master has been updated
   via  85a03c8 debug: Remove thread-related code from debug.c
   via  83eac53 smbd4: Remove process_model_thread
  from  bc59e50 ctdb-eventscripts: Remove special case for virtio_net

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


- Log -
commit 85a03c88446500609f6f2e8680bf940a7811e593
Author: Volker Lendecke v...@samba.org
Date:   Wed Jul 30 10:19:58 2014 +

debug: Remove thread-related code from debug.c

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

Autobuild-User(master): Volker Lendecke v...@samba.org
Autobuild-Date(master): Thu Jul 31 16:20:53 CEST 2014 on sn-devel-104

commit 83eac53c03511b8599f26a961f89dbd92425d9ab
Author: Volker Lendecke v...@samba.org
Date:   Wed Jul 30 10:13:41 2014 +

smbd4: Remove process_model_thread

This code has not seen any use or development for a while. While probably
being a good source of inspiration, it will inevitably bit-rot. To really
get to a multi-threaded process model, many of the Samba libraries have
to be made thread-safe.

Why this patch? Right now I am trying to clean up our debug system,
and process_thread.c is the only reference to the _suspicious_ functions
in debug.c. The alternative would be to factor those out of debug, but
as this code is unused for so long, the alternative approach is to just
remove it.

If someone wants to restart development on a threaded process model,
the code is still around in the git history and can be resurrected easily.

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

---

Summary of changes:
 lib/util/debug.c  |   54 
 lib/util/debug.h  |   34 ---
 source4/smbd/process_thread.c |  574 -
 source4/smbd/wscript_build|   11 -
 4 files changed, 0 insertions(+), 673 deletions(-)
 delete mode 100644 source4/smbd/process_thread.c


Changeset truncated at 500 lines:

diff --git a/lib/util/debug.c b/lib/util/debug.c
index 80a3460..77d485f 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -1063,57 +1063,3 @@ bool dbghdrclass(int level, int cls, const char 
*location, const char *func)
SAFE_FREE(msgbuf);
return ret;
 }
-
-
-/* the registered mutex handlers */
-static struct {
-   const char *name;
-   struct debug_ops ops;
-} debug_handlers;
-
-/**
-  log suspicious usage - print comments and backtrace
-*/ 
-_PUBLIC_ void log_suspicious_usage(const char *from, const char *info)
-{
-   if (!debug_handlers.ops.log_suspicious_usage) return;
-
-   debug_handlers.ops.log_suspicious_usage(from, info);
-}
-
-
-/**
-  print suspicious usage - print comments and backtrace
-*/ 
-_PUBLIC_ void print_suspicious_usage(const char* from, const char* info)
-{
-   if (!debug_handlers.ops.print_suspicious_usage) return;
-
-   debug_handlers.ops.print_suspicious_usage(from, info);
-}
-
-_PUBLIC_ uint32_t get_task_id(void)
-{
-   if (debug_handlers.ops.get_task_id) {
-   return debug_handlers.ops.get_task_id();
-   }
-   return getpid();
-}
-
-_PUBLIC_ void log_task_id(void)
-{
-   if (!debug_handlers.ops.log_task_id) return;
-
-   if (!reopen_logs_internal()) return;
-
-   debug_handlers.ops.log_task_id(state.fd);
-}
-
-/**
-  register a set of debug handlers. 
-*/
-_PUBLIC_ void register_debug_handlers(const char *name, struct debug_ops *ops)
-{
-   debug_handlers.name = name;
-   debug_handlers.ops = *ops;
-}
diff --git a/lib/util/debug.h b/lib/util/debug.h
index f7ebfc0..f393f1b 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -250,38 +250,4 @@ typedef void (*debug_callback_fn)(void *private_ptr, int 
level, const char *msg)
  */
 void debug_set_callback(void *private_ptr, debug_callback_fn fn);
 
-/**
-  log suspicious usage - print comments and backtrace
-*/ 
-_PUBLIC_ void log_suspicious_usage(const char *from, const char *info);
-
-/**
-  print suspicious usage - print comments and backtrace
-*/ 
-_PUBLIC_ void print_suspicious_usage(const char* from, const char* info);
-_PUBLIC_ uint32_t get_task_id(void);
-_PUBLIC_ void log_task_id(void);
-
-/* the debug operations structure - contains function pointers to
-   various debug implementations of each operation */
-struct debug_ops {
-   /* function to log (using DEBUG) suspicious usage of data structure */
-   void (*log_suspicious_usage)(const char* from, const char* info);
-
-   /* function to log (using printf) suspicious usage of data structure.
-* To be used in circumstances when using DEBUG would cause loop. 

[SCM] CTDB repository - branch 1.0.114 updated - ctdb-1.0.114.8-1-g9236a67

2014-07-31 Thread Michael Adam
The branch, 1.0.114 has been updated
   via  9236a67042c02cacdcddc8f3d8fd11e16a37d6cf (commit)
  from  b7c4e6d98c9d4e2674b2015adc4cbebadf080b93 (commit)

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


- Log -
commit 9236a67042c02cacdcddc8f3d8fd11e16a37d6cf
Author: Michael Adam ob...@samba.org
Date:   Thu Jul 31 16:25:08 2014 +0200

events/50.samba: fix ports check to cope with Samba 4 formatting.

The default output formatting of lists in testparm has changed
from   separator to ,  separator. Our original eventscript
code stumbles across port 445,. Map away that comma... :-)

This has been fixed in master and 2.5 silently as part of
a bigger rewrite.

Signed-off-by: Michael Adam ob...@samba.org

---

Summary of changes:
 config/events.d/50.samba |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/events.d/50.samba b/config/events.d/50.samba
index 5c10b19..707b7b7 100755
--- a/config/events.d/50.samba
+++ b/config/events.d/50.samba
@@ -239,7 +239,8 @@ case $1 in
 
smb_ports=$CTDB_SAMBA_CHECK_PORTS
[ -z $smb_ports ]  {
-   smb_ports=`testparm_cat --parameter-name=smb ports`
+   smb_ports=`testparm_cat --parameter-name=smb ports |
+   sed -e 's/,/ /g'`
}
ctdb_check_tcp_ports $smb_ports || exit $?
}


-- 
CTDB repository


[SCM] Samba Shared Repository - branch master updated

2014-07-31 Thread Stefan Metzmacher
The branch, master has been updated
   via  98426ad lib/param: change the default for winbind expand groups 
to 0
  from  85a03c8 debug: Remove thread-related code from debug.c

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


- Log -
commit 98426ad467fa64975bd9e6aa32530a2dde719035
Author: Stefan Metzmacher me...@samba.org
Date:   Thu Jul 24 09:12:14 2014 +0200

lib/param: change the default for winbind expand groups to 0

Expanding groups requires the usage of SAMR, which is often not possible
with the trust account credentials. This has caused a lot of trouble
in the past, as this is the only operation which requires a member to
contact a dc of a trusted domain directly, which is not always possible.
With this changed default, it should only be required to contact
a dc of our own domain. This is the correct behavior for a domain member.

As expanding groups is mostly cosmetic, we should avoid it.
This is similar to winbind enum users and winbind enum groups,
which are also off by default.

Only some broken applications calculate the group memberships of
users by traversing groups, such applications will require
winbind expand groups = 1.

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
Reviewed-by: Björn Jacke b...@sernet.de

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Thu Jul 31 18:48:36 CEST 2014 on sn-devel-104

---

Summary of changes:
 .../smbdotconf/winbind/winbindexpandgroups.xml |9 +++--
 lib/param/loadparm.c   |2 +-
 source3/param/loadparm.c   |2 +-
 3 files changed, 9 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/smbdotconf/winbind/winbindexpandgroups.xml 
b/docs-xml/smbdotconf/winbind/winbindexpandgroups.xml
index 19b81b3..57077b3 100644
--- a/docs-xml/smbdotconf/winbind/winbindexpandgroups.xml
+++ b/docs-xml/smbdotconf/winbind/winbindexpandgroups.xml
@@ -17,8 +17,13 @@
 result in system slowdown as the main parent winbindd daemon
 must perform the group unrolling and will be unable to answer
 incoming NSS or authentication requests during this time./para
-  
+
+   paraThe default value was changed from 1 to 0 with Samba 4.2.
+   Some broken applications calculate the group memberships of
+   users by traversing groups, such applications will require
+   winbind expand groups = 1. But the new default makes winbindd more 
reliable
+   as it doesn't require SAMR access to domain controllers of trusted 
domains./para
 /description
 
-value type=default1/value
+value type=default0/value
 /samba:parameter
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index 480f970..21798d9 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -2672,7 +2672,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX 
*mem_ctx)
 
lpcfg_do_global_parameter(lp_ctx, ldap connection timeout, 2);
 
-   lpcfg_do_global_parameter(lp_ctx, winbind expand groups, 1);
+   lpcfg_do_global_parameter(lp_ctx, winbind expand groups, 0);
 
lpcfg_do_global_parameter(lp_ctx, stat cache, yes);
 
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index dee6224..f3356bf 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -802,7 +802,7 @@ static void init_globals(struct loadparm_context *lp_ctx, 
bool reinit_globals)
Globals.winbind_use_default_domain = false;
Globals.winbind_trusted_domains_only = false;
Globals.winbind_nested_groups = true;
-   Globals.winbind_expand_groups = 1;
+   Globals.winbind_expand_groups = 0;
Globals.winbind_nss_info = (const char **)str_list_make_v3(NULL, 
template, NULL);
Globals.winbind_refresh_tickets = false;
Globals.winbind_offline_logon = false;


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2014-07-31 Thread Michael Adam
The branch, master has been updated
   via  95d1828 waf: socket_wrapper should check for 
HAVE_FUNCTION_ATTRIBUTE_FORMAT.
   via  8c251d6 uwrap: Support dropping all supplemetary groups with 
setgroups()
   via  de1f924 uwrap: Add logging if uwrap is enabled correctly.
   via  41d7b64 uwrap: Log error if we are out of memory.
   via  0a3d142 uwrap: Add a better logging function.
   via  6bbf9fa uwrap: Check for HAVE_FUNCTION_ATTRIBUTE_FORMAT.
   via  9711f77 uwrap: Fall back to RTLD_NEXT if we can't find libc.
   via  a88f5a6 uwrap: Add mutex in uwrap_destructor().
   via  b7f9d3b uwrap: Fix memory leak on error.
   via  e249e79 debug: Avoid dependency on str_list_make
   via  0e448f8 debug: Fix blank line endings
   via  8792de7 debug: Increase maximum header length
   via  06a0b1c debug: In dbghdrclass, don't call strlen repeatedly
   via  200d94e debug: Fix a typo
   via  85c5551 debug: Simplify debug_parse_levels
   via  610bb4a debug: Simplify Debug1() -- no va_args
   via  138a65c debug: Remove an else
   via  b0221d5 debug: Remove two pointless assignments
   via  1929b1f debug: Only call Debug1 once in dbghdrclass
   via  44c77e8 debug: Move adding timeval and loglevel
   via  cff585b debug: slprintf-snprintf
   via  601b2b0 debug: Use timeval_str_buf in dbghdrclass
   via  15b0f57 debug: Simplify dbghdrclass with an early return
   via  0753c1b lib: Create time_basic.[ch]
   via  8799120 lib: Use timeval_str_buf in timeval_string
   via  2aa1492 lib: Add timeval_str_buf
   via  9026820 debug: Statically allocate format_bufr
   via  dd4c019 debug: Fix debug_parse_params
   via  6c9be49 debug: Make Debug1 static
   via  1581356 nmbd: Call DEBUGADD instead of Debug1
   via  3349c56 debug: Remove a dependency on charconv
   via  2229969 debug: Add some readability to debug_logtype
   via  02a06ae debug: Factor out debug_parse_param()
   via  9aee4ba debug: Move variables where they are used
   via  d8cb678 debug: Fix indentation in debug_parse_params
   via  d997d93 lib: Remove unused serverid_register_msg_flags()
   via  f77c3a6 libcli: Fix a typo
   via  64b9f52 param: remove a redundant (and wrong) comment frop 
lpcfg_service_ok()
   via  b7f4b0c s3:param: remove unused function lp_string_set()
  from  98426ad lib/param: change the default for winbind expand groups 
to 0

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


- Log -
commit 95d1828a248148d6f45aafc134ccb4aebfef7226
Author: Andreas Schneider a...@samba.org
Date:   Thu Jul 31 10:22:10 2014 +0200

waf: socket_wrapper should check for HAVE_FUNCTION_ATTRIBUTE_FORMAT.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

Autobuild-User(master): Michael Adam ob...@samba.org
Autobuild-Date(master): Thu Jul 31 21:12:07 CEST 2014 on sn-devel-104

commit 8c251d6390abf3b7de03d1323f8525ec1d2c2528
Author: Jakub Hrozek jakub.hro...@gmail.com
Date:   Thu Jul 31 10:20:40 2014 +0200

uwrap: Support dropping all supplemetary groups with setgroups()

Dropping all supplementary groups is a common practice when changing
UIDs. This patch adds support for dropping all supplementary groups when
setgroups is called with size=0.

Signed-off-by: Jakub Hrozek jakub.hro...@gmail.com
Reviewed-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit de1f924f08b2da65871645041c06443d2b6e6a87
Author: Andreas Schneider a...@samba.org
Date:   Thu Jul 31 10:19:58 2014 +0200

uwrap: Add logging if uwrap is enabled correctly.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 41d7b64744c4ed33634ad106e5becd1d816f33a2
Author: Andreas Schneider a...@samba.org
Date:   Thu Jul 31 10:19:28 2014 +0200

uwrap: Log error if we are out of memory.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 0a3d14248473be3d964d50b75b92a6328b8f82cd
Author: Andreas Schneider a...@samba.org
Date:   Thu Jul 31 10:18:59 2014 +0200

uwrap: Add a better logging function.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 6bbf9fa6df11dd60e6a808cf2e81b88c4e211a90
Author: Andreas Schneider a...@samba.org
Date:   Thu Jul 31 10:18:13 2014 +0200

uwrap: Check for HAVE_FUNCTION_ATTRIBUTE_FORMAT.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 9711f77313e6d72696b0807acfea5d41ff89dfa7
Author: Andreas Schneider a...@samba.org
Date:   Thu Jul 31 10:13:40 2014 +0200

uwrap: Fall back to RTLD_NEXT if we can't find libc.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael 

autobuild: intermittent test failure detected

2014-07-31 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/2014-08-01-0217/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2014-08-01-0217/samba.stderr
   http://git.samba.org/autobuild.flakey/2014-08-01-0217/samba.stdout
  
The top commit at the time of the failure was:

commit 95d1828a248148d6f45aafc134ccb4aebfef7226
Author: Andreas Schneider a...@samba.org
Date:   Thu Jul 31 10:22:10 2014 +0200

waf: socket_wrapper should check for HAVE_FUNCTION_ATTRIBUTE_FORMAT.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

Autobuild-User(master): Michael Adam ob...@samba.org
Autobuild-Date(master): Thu Jul 31 21:12:07 CEST 2014 on sn-devel-104