[SCM] Samba Shared Repository - branch master updated

2014-12-18 Thread Andrew Bartlett
The branch, master has been updated
   via  5fefdbc libcli-dns: Remove obsolete dns_host_file subsystem.
   via  48929ca s3-libsmb: Remove obsolete support for dns_host_file.
   via  f45c633 s4-libcli: Remove obsolete support for file resolving.
   via  7f00fcf addns: Remove support for dns_host_file.
   via  3ab2aa2 selftest: Use resolv_wrapper in the samba3 targets to join 
AD.
   via  2e4c151 selftest: Use resolv_wrapper in the samba4 target.
   via  4f6acb7 selftest: Always enable dns fakeing.
   via  30cc2e7 selftest: Define if we should fake dns resolving.
   via  1292d51 samba_dnsupdate: Allow the tool to work in 'make test'.
   via  e85ef1d samba_dnsupdate: Always fill out the nameservers of a dns 
object.
   via  35495da selftest: Wait for the logon server to register to join the 
member.
   via  cfb67cf nmblookup: Return if the lookup was successful or not.
   via  5179a0b selftest: Print better DC provisioning info.
   via  80b58ca selftest: Also pass the IPv6 address for the KDC around.
   via  843d81a selftest: Preload resolv_wrapper in selftest.
   via  064d40f s3:winbindd: try to use the trust account with kerberos if 
possible
   via  b9e4a8b s3:winbindd: fix anon fallback in cm_prepare_connection()
   via  b0e9779 s3:winbindd: also try to fallback to anonymous if we get 
NT_STATUS_INVALID_ACCOUNT_NAME
   via  c5b54ea s3:libsmb: let cli_session_setup_kerberos_recv() return a 
useful error code
  from  12aaafd s3:passdb: let pdb_get_trust_credentials() try 
pdb_get_trusteddom_creds() first

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


- Log -
commit 5fefdbc8b3f9bf10f26590a0bd28badff138c698
Author: Andreas Schneider a...@samba.org
Date:   Thu Nov 20 11:37:35 2014 +0100

libcli-dns: Remove obsolete dns_host_file subsystem.

Autobuild-User(master): Andrew Bartlett abart...@samba.org
Autobuild-Date(master): Thu Dec 18 09:09:38 CET 2014 on sn-devel-104

commit 48929ca9eb87ddafe2548cb1cbf06de0f2c4b323
Author: Andreas Schneider a...@samba.org
Date:   Thu Nov 20 11:37:13 2014 +0100

s3-libsmb: Remove obsolete support for dns_host_file.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

commit f45c63381469ab33a429a83035e860b2d87638ed
Author: Andreas Schneider a...@samba.org
Date:   Thu Nov 20 11:35:48 2014 +0100

s4-libcli: Remove obsolete support for file resolving.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

commit 7f00fcf5589fc0e27ddd1f78fbe9c223b26cd919
Author: Andreas Schneider a...@samba.org
Date:   Thu Nov 20 11:31:29 2014 +0100

addns: Remove support for dns_host_file.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

commit 3ab2aa2511769ec2b32b1e80093b28a532693ae6
Author: Andreas Schneider a...@samba.org
Date:   Thu Sep 4 14:33:05 2014 +0200

selftest: Use resolv_wrapper in the samba3 targets to join AD.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

commit 2e4c15110b8c3f079f32645660dfbb20e32877e5
Author: Andreas Schneider a...@samba.org
Date:   Wed Sep 10 11:00:28 2014 +0200

selftest: Use resolv_wrapper in the samba4 target.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

commit 4f6acb77ea23df8a5c19ad0156d5e3d70cbca44c
Author: Andreas Schneider a...@samba.org
Date:   Thu Nov 20 10:48:47 2014 +0100

selftest: Always enable dns fakeing.

FIXME: This should be removed once we fixed adding records to the DNS
server using nsupdate!

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

commit 30cc2e7755074758a16fcf2a8d818321ee0b4021
Author: Andreas Schneider a...@samba.org
Date:   Mon Nov 3 13:22:38 2014 +0100

selftest: Define if we should fake dns resolving.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

commit 1292d513c1274a714c22da0781428859249cee26
Author: Andreas Schneider a...@samba.org
Date:   Thu Sep 11 10:59:20 2014 +0200

samba_dnsupdate: Allow the tool to work in 'make test'.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

commit e85ef1dbfef4b16c35cac80c0efc563d8cd1ba3e
Author: Andreas Schneider a...@samba.org
Date:   Tue Oct 7 15:35:34 2014 +0200

samba_dnsupdate: Always fill out the nameservers of a dns object.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

commit 35495da4b840d3893124657c81427bfc2f78f9e2
Author: Andreas Schneider a...@samba.org
Date:   Tue Sep 9 09:47:05 2014 +0200

selftest: Wait for the logon server 

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

2014-12-18 Thread Stefan Metzmacher
The branch, v4-2-test has been updated
   via  60748d1 s3:passdb: let pdb_get_trust_credentials() try 
pdb_get_trusteddom_creds() first
   via  26c011d s3:passdb: add optional get_trusteddom_creds() hooks
   via  611e95e pdb: fix build issues with shared modules
   via  ddc2bba s3:idmap_cache: remove unused idmap_cache_set_sid2[u|g]id()
   via  dac59a2 pdb: Increase version number to fix ABI
   via  1a91c09 idmap: return the correct id type to *id_to_sid methods
   via  d655b56 idmap: unify passdb *id_to_sid methods
   via  0c32df4 s3:passdb: avoid invalid pointer type warnings in 
pdb_wbc_sam.c
   via  f87e9b1 s3:passdb: always copy the history in 
pdb_set_plaintext_passwd()
   via  f1f0ca3 pdb_tdb: Avoid a nasty error message with ctdb
   via  a681688 pdb_tdb: don't leak state_path onto talloc tos
   via  741ac3b account_pol: don't leak state_path onto talloc tos
   via  b14bed4 passdb: Use common code in 
cli_credentials_set_machine_account_db_ctx()
   via  d26278a auth/credentials: Ensure that we set the realm when reading 
secrets.tdb
   via  e3b6d3b credentials: Allow the secret.tdb handle to be passed in to 
cli_credentials_set_machine_account()
   via  a81b814 credentials: Improve error message on failure to set 
machine account password
   via  a13c21b credentials: Set secure_channel_type from secrets.tdb in 
cli_credentials_set_machine_account
   via  f80a108 s3:locking: fix uninitialiazed variable in 
brl_get_locks_readonly_parser()
  from  5d3a3c8b ctdb-build: fix build without xsltproc

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-2-test


- Log -
commit 60748d1153491cccbcaa354b88cc4d7203c8223b
Author: Stefan Metzmacher me...@samba.org
Date:   Tue Dec 16 15:05:17 2014 +

s3:passdb: let pdb_get_trust_credentials() try pdb_get_trusteddom_creds() 
first

NT_STATUS_NOT_IMPLEMENTED lets it fallback to the old get_trust_pw_clear2()
code.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11016

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Thu Dec 18 06:46:05 CET 2014 on sn-devel-104

(cherry picked from commit 12aaafd2971ac71823ccbebda7b2afd689239770)

Autobuild-User(v4-2-test): Stefan Metzmacher me...@samba.org
Autobuild-Date(v4-2-test): Thu Dec 18 13:06:40 CET 2014 on sn-devel-104

commit 26c011d33c561fac1c6c8ab4ac32a706ac535312
Author: Stefan Metzmacher me...@samba.org
Date:   Thu Dec 11 10:52:53 2014 +

s3:passdb: add optional get_trusteddom_creds() hooks

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11016

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Andrew Bartlett abart...@samba.org
(cherry picked from commit 8e90b93ddceabd582cb28e40882036e7772608aa)

commit 611e95e02085ff75a7e76c78e38700431a83d000
Author: Garming Sam garm...@catalyst.net.nz
Date:   Thu Dec 4 10:44:26 2014 +1300

pdb: fix build issues with shared modules

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10355

Change-Id: I26e78b56ead0c66afcda6b3fb8b1fd09130b24a5
Signed-off-by: Garming Sam garm...@catalyst.net.nz
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Alexander Bokovoy a...@samba.org
(cherry picked from commit 7a9147dab593a495c5ed5e1157ec8eb8a2809586)

commit ddc2bba9e1f0339dceae60189717ae1c6716b7a7
Author: Stefan Metzmacher me...@samba.org
Date:   Sat Nov 29 10:52:05 2014 +0100

s3:idmap_cache: remove unused idmap_cache_set_sid2[u|g]id()

Change-Id: I40bcfacb812b0dac7917533c9baf82a79f598efd
Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Garming Sam garm...@catalyst.net.nz

Autobuild-User(master): Garming Sam garm...@samba.org
Autobuild-Date(master): Wed Dec  3 06:44:29 CET 2014 on sn-devel-104

(cherry picked from commit 816751a3a8ed564f2cf880fd1ca3b1e8f9c85471)

commit dac59a2b62bda35c075c61a943fc03dfc0f3c93c
Author: Garming Sam garm...@catalyst.net.nz
Date:   Tue Nov 25 14:56:45 2014 +1300

pdb: Increase version number to fix ABI

In the process, we can also rename pdb to avoid conflicts with libpdb.

We don't depend directly on pdb to avoid duplicate symbols.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10355
Change-Id: I4df6ba2f4ce35d3718dc4198b527cca46a139efe
Pair-programmed-with: Andrew Bartlett abart...@samba.org
Signed-off-by: Garming Sam garm...@catalyst.net.nz
Reviewed-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
(cherry picked from commit 3b76b705f03b8f639ece2308afdc0962d230c42a)

commit 1a91c09bbd42dddb7f65983aa93b70cd5b93cbf0
Author: Garming Sam garm...@catalyst.net.nz
Date:   Wed Nov 26 15:33:35 2014 +1300


[SCM] Samba Website Repository - branch master updated

2014-12-18 Thread Michael Adam
The branch, master has been updated
   via  7cd75af Update my employer link on the team page.
  from  fa0dc5d Announce Samba 4.0.23.

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


- Log -
commit 7cd75afda298704f7f67a02840b36b07411e82a4
Author: Michael Adam ob...@samba.org
Date:   Thu Dec 18 13:33:21 2014 +0100

Update my employer link on the team page.

---

Summary of changes:
 team/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/team/index.html b/team/index.html
index 59861ee..0d41737 100755
--- a/team/index.html
+++ b/team/index.html
@@ -46,7 +46,7 @@ mailing list/a and start contributing to the development of 
Samba./p
 tr
 td valign=top
 ul
-lia href=http://samba.org/~obnox/;Michael Adam/anbsp;(a 
href=http://www.sernet.de/en/;SerNet/a)/li
+lia href=http://samba.org/~obnox/;Michael Adam/anbsp;(a 
href=https://www.redhat.com/;Red Hat/a)/li
 lia href=http://samba.org/~jra;Jeremy Allison/a/li
 lia href=mailto:a...@samba.org;Christian Ambach/a/li
 lia href=mailto:anato...@samba.org;Anatoliy Atanasov/a/li


-- 
Samba Website Repository


[SCM] Samba Shared Repository - branch master updated

2014-12-18 Thread Günther Deschner
The branch, master has been updated
   via  0da7295 lib/texpect: prefer bsd/libutil.h if available
   via  349ba51 s4:heimdal_build: remove unused openpty check
  from  5fefdbc libcli-dns: Remove obsolete dns_host_file subsystem.

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


- Log -
commit 0da7295fbc34170385d2b6bd165685aa092ab0ec
Author: Stefan Metzmacher me...@samba.org
Date:   Wed Dec 10 12:23:04 2014 +

lib/texpect: prefer bsd/libutil.h if available

Reviewed-by: Guenther Deschner g...@samba.org

Autobuild-User(master): Günther Deschner g...@samba.org
Autobuild-Date(master): Thu Dec 18 16:31:48 CET 2014 on sn-devel-104

commit 349ba5188a93a3d4679de4908af8cef8cf0862cb
Author: Stefan Metzmacher me...@samba.org
Date:   Thu Dec 18 02:05:28 2014 +

s4:heimdal_build: remove unused openpty check

commit 638a8edd7ce708cf550c054ac16dade795b6448b removed
HEIMDAL_BINARY('rkpty', 'lib/roken/rkpty.c',...)
(the only heimdal user of openpty().

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Guenther Deschner g...@samba.org

---

Summary of changes:
 lib/texpect/texpect.c   | 4 +++-
 lib/texpect/wscript | 2 +-
 source4/heimdal_build/wscript_configure | 1 -
 3 files changed, 4 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/texpect/texpect.c b/lib/texpect/texpect.c
index d788081..75a32f4 100644
--- a/lib/texpect/texpect.c
+++ b/lib/texpect/texpect.c
@@ -41,7 +41,9 @@
 #ifdef HAVE_UTIL_H
 #include util.h
 #endif
-#ifdef HAVE_LIBUTIL_H
+#ifdef HAVE_BSD_LIBUTIL_H
+#include bsd/libutil.h
+#elif defined HAVE_LIBUTIL_H
 #include libutil.h
 #endif
 
diff --git a/lib/texpect/wscript b/lib/texpect/wscript
index 4163ca1..62a1d4d 100644
--- a/lib/texpect/wscript
+++ b/lib/texpect/wscript
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 
 def configure(conf):
-conf.CHECK_FUNCS_IN('openpty', 'util', checklibc=True, headers='pty.h 
util.h libutil.h')
+conf.CHECK_FUNCS_IN('openpty', 'util', checklibc=True, headers='pty.h 
util.h bsd/libutil.h libutil.h')
 
 def build(bld):
 bld.SAMBA_BINARY('texpect', 'texpect.c', deps='popt util', install=False)
diff --git a/source4/heimdal_build/wscript_configure 
b/source4/heimdal_build/wscript_configure
index 5b7109e..9a68656 100755
--- a/source4/heimdal_build/wscript_configure
+++ b/source4/heimdal_build/wscript_configure
@@ -64,7 +64,6 @@ conf.CHECK_FUNCS_IN('res_search res_nsearch res_ndestroy 
dns_search dn_expand',
 checklibc=True, headers='netinet/in.h arpa/nameser.h 
resolv.h dns.h')
 conf.CHECK_VARIABLE('_res', headers='netinet/in.h arpa/nameser.h resolv.h')
 conf.CHECK_DECLS('_res', headers='netinet/in.h arpa/nameser.h resolv.h')
-conf.CHECK_FUNCS_IN('openpty', 'util', checklibc=True, headers='pty.h util.h 
libutil.h')
 
 conf.DEFINE('HAVE_KRB5',1)
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2014-12-18 Thread Ralph Böhme
The branch, master has been updated
   via  93b3c15 vfs_fruit: Avoid double ()
   via  6dedccd vfs_fruit: Avoid double initialization
  from  0da7295 lib/texpect: prefer bsd/libutil.h if available

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


- Log -
commit 93b3c157b7538e4610361e3d5491e5f762407b6f
Author: Volker Lendecke v...@samba.org
Date:   Tue Dec 16 09:38:54 2014 +0100

vfs_fruit: Avoid double ()

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Ralph Boehme s...@samba.org

Autobuild-User(master): Ralph Böhme s...@samba.org
Autobuild-Date(master): Thu Dec 18 19:19:04 CET 2014 on sn-devel-104

commit 6dedccd91d17e50bab8218e82331568abe18b853
Author: Volker Lendecke v...@samba.org
Date:   Tue Dec 16 09:38:21 2014 +0100

vfs_fruit: Avoid double initialization

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Ralph Boehme s...@samba.org

---

Summary of changes:
 source3/modules/vfs_fruit.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c
index a8bf7b4..ecaddfb 100644
--- a/source3/modules/vfs_fruit.c
+++ b/source3/modules/vfs_fruit.c
@@ -526,7 +526,7 @@ static bool ad_pack(struct adouble *ad)
offset += ADEDLEN_NENTRIES;
 
for (eid = 0, nent = 0; eid  ADEID_MAX; eid++) {
-   if ((ad-ad_eid[eid].ade_off == 0)) {
+   if (ad-ad_eid[eid].ade_off == 0) {
/*
 * ade_off is also used as indicator whether a
 * specific entry is used or not
@@ -3389,7 +3389,6 @@ static struct vfs_fn_pointers vfs_fruit_fns = {
.fstat_fn = fruit_fstat,
.streaminfo_fn = fruit_streaminfo,
.ntimes_fn = fruit_ntimes,
-   .unlink_fn = fruit_unlink,
.ftruncate_fn = fruit_ftruncate,
.fallocate_fn = fruit_fallocate,
.create_file_fn = fruit_create_file,


-- 
Samba Shared Repository


autobuild: intermittent test failure detected

2014-12-18 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-12-18-1953/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2014-12-18-1953/samba.stderr
   http://git.samba.org/autobuild.flakey/2014-12-18-1953/samba.stdout
  
The top commit at the time of the failure was:

commit 0da7295fbc34170385d2b6bd165685aa092ab0ec
Author: Stefan Metzmacher me...@samba.org
Date:   Wed Dec 10 12:23:04 2014 +

lib/texpect: prefer bsd/libutil.h if available

Reviewed-by: Guenther Deschner g...@samba.org

Autobuild-User(master): Günther Deschner g...@samba.org
Autobuild-Date(master): Thu Dec 18 16:31:48 CET 2014 on sn-devel-104


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

2014-12-18 Thread Karolin Seeger
The branch, v4-1-test has been updated
   via  d6c626a libcli/smb: only force signing of smb2 session setups when 
binding a new session
   via  be1585f s3:smb2_server: allow reauthentication without signing
   via  7aacb3c s3:smb2_server: use the global signing key to check if 
signing is required
   via  b1ecde9 testprogs/test_ldb: check rootdse search with extended-dn 
control
   via  54c8bca s4:dsdb/rootdse: expand extended dn values with the 
AS_SYSTEM control
   via  950506d s3:utils/profiles fix a use after free
   via  b18866b s3:registry/regfio fix some valgrind warnings
   via  d95c2d2 s3:registry/regfio read SD from the correct location
  from  a3d2970 s3: modules: Fix *allocate* calls to follow POSIX error 
return convention.

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


- Log -
commit d6c626a87e416dcc5137694d88178bb76054dbe7
Author: Stefan Metzmacher me...@samba.org
Date:   Fri Dec 12 13:55:38 2014 +

libcli/smb: only force signing of smb2 session setups when binding a new 
session

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10958

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

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Fri Dec 12 23:11:40 CET 2014 on sn-devel-104

(cherry picked from commit daff0f5d709eca621a7f319c892ecaba7b03e5c2)

Autobuild-User(v4-1-test): Karolin Seeger ksee...@samba.org
Autobuild-Date(v4-1-test): Thu Dec 18 23:00:51 CET 2014 on sn-devel-104

commit be1585ffdc980f5d44358146ec3884e89f554a84
Author: Stefan Metzmacher me...@samba.org
Date:   Fri Dec 12 09:22:15 2014 +0100

s3:smb2_server: allow reauthentication without signing

If signing is not required we should not require it for reauthentication.
Windows clients would otherwise fail to reauthenticate.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10958

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
(cherry picked from commit 382019656ee164fd21455ed7d7b5e9e18bd0ca72)

commit 7aacb3cc5c877f26db0539791b9750389caa1fe1
Author: Stefan Metzmacher me...@samba.org
Date:   Thu Jun 12 15:10:11 2014 +0200

s3:smb2_server: use the global signing key to check if signing is required

If we have a channel session key, we also always have a global session key.

For multi-channel it's possible that the channel session key is not in place
yet, in that case the global session key needs to be used.

In both cases (reauth or session bind) we session setup requests need to be
signed.

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org
(cherry picked from commit 7e006d11134cdc37ea0fc13110fe5bbfb9de3f14)

commit b1ecde9c9a1a7279d2f68cf970f374846ff6d45e
Author: Stefan Metzmacher me...@samba.org
Date:   Fri Nov 21 14:11:54 2014 +0100

testprogs/test_ldb: check rootdse search with extended-dn control

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

Signed-off-by: Stefan Metzmacher me...@samba.org

Reviewed-by: Guenther Deschner g...@samba.org

Autobuild-User(master): Günther Deschner g...@samba.org
Autobuild-Date(master): Fri Dec 12 20:15:46 CET 2014 on sn-devel-104

(cherry picked from commit 7e81fe282540a5b52dcb8c5396321a67733790d2)

commit 54c8bca3b08a8b17a2564b968bdfb51178fce281
Author: Stefan Metzmacher me...@samba.org
Date:   Thu Nov 20 14:21:06 2014 +0100

s4:dsdb/rootdse: expand extended dn values with the AS_SYSTEM control

Otherwise we can't find the GUID of the 'serverName' attribute
as ANONYMOUS.

This results in

  root@ub1204-161:~# ldbsearch -U% -H ldap://172.31.9.161 -b '' -s base 
--extended-dn serverName
  search error - LDAP error 1 LDAP_OPERATIONS_ERROR -  2020: 
operations error at ../source4/dsdb/samdb/ldb_modules/rootdse.c:567 

While it works as system:

  root@ub1204-161:~# ldbsearch -U% -H /var/lib/samba/private/sam.ldb -b '' 
-s base --extended-dn serverName
  # record 1
  dn:
  serverName: 
GUID=348c35e1-04e3-4988-a32c-32478d584551;CN=UB1204-161,CN=Serve
   rs,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=s4xdom,DC=base

  # returned 1 records
  # 1 entries
  # 0 referrals

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10949

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Guenther Deschner g...@samba.org
(cherry picked from commit a6ecef4532e4529a819219cd814e2979c2df0797)

commit 950506d158cf88c72d993cec2f199abc6e90d066
Author: Christian Ambach a...@samba.org
Date:   Tue Nov 4 23:51:23 2014 +0100

s3:utils/profiles fix a use after free

path is a talloc-child of subkeys, so 

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

2014-12-18 Thread Karolin Seeger
The branch, v4-0-test has been updated
   via  eb3ed91 libcli/smb: only force signing of smb2 session setups when 
binding a new session
   via  f27d938 s3:smb2_server: allow reauthentication without signing
   via  a7bee71 s3:smb2_server: use the global signing key to check if 
signing is required
   via  cc66e97 testprogs/test_ldb: check rootdse search with extended-dn 
control
   via  cc5599e s4:dsdb/rootdse: expand extended dn values with the 
AS_SYSTEM control
   via  759e3fd s3:utils/profiles fix a use after free
   via  997f6a9 s3:registry/regfio fix some valgrind warnings
   via  e71772e s3:registry/regfio read SD from the correct location
   via  de99f7e s3: modules: Fix *allocate* calls to follow POSIX error 
return convention.
   via  0ad2013 s3: smbd: Fix *allocate* calls to follow POSIX error return 
convention.
   via  339bac8 s3: smbd: Fix *allocate* calls to follow POSIX error return 
convention.
  from  b1adeee VERSION: Bump version up to 4.0.24...

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


- Log -
commit eb3ed9164ece272653b5cdc9a5ea3188cdb91dd5
Author: Stefan Metzmacher me...@samba.org
Date:   Fri Dec 12 13:55:38 2014 +

libcli/smb: only force signing of smb2 session setups when binding a new 
session

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10958

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

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Fri Dec 12 23:11:40 CET 2014 on sn-devel-104

(cherry picked from commit daff0f5d709eca621a7f319c892ecaba7b03e5c2)

Autobuild-User(v4-0-test): Karolin Seeger ksee...@samba.org
Autobuild-Date(v4-0-test): Thu Dec 18 23:32:50 CET 2014 on sn-devel-104

commit f27d938a674308e8d0a4b6b24f67af596f1bf8f9
Author: Stefan Metzmacher me...@samba.org
Date:   Fri Dec 12 09:22:15 2014 +0100

s3:smb2_server: allow reauthentication without signing

If signing is not required we should not require it for reauthentication.
Windows clients would otherwise fail to reauthenticate.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10958

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
(cherry picked from commit 382019656ee164fd21455ed7d7b5e9e18bd0ca72)

commit a7bee718e69db2b0dbfa24ad3ba705ce59cb77de
Author: Stefan Metzmacher me...@samba.org
Date:   Thu Jun 12 15:10:11 2014 +0200

s3:smb2_server: use the global signing key to check if signing is required

If we have a channel session key, we also always have a global session key.

For multi-channel it's possible that the channel session key is not in place
yet, in that case the global session key needs to be used.

In both cases (reauth or session bind) we session setup requests need to be
signed.

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org
(cherry picked from commit 7e006d11134cdc37ea0fc13110fe5bbfb9de3f14)

commit cc66e97d14116995ecc6a862de6fe91c8f89a83f
Author: Stefan Metzmacher me...@samba.org
Date:   Fri Nov 21 14:11:54 2014 +0100

testprogs/test_ldb: check rootdse search with extended-dn control

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

Signed-off-by: Stefan Metzmacher me...@samba.org

Reviewed-by: Guenther Deschner g...@samba.org

Autobuild-User(master): Günther Deschner g...@samba.org
Autobuild-Date(master): Fri Dec 12 20:15:46 CET 2014 on sn-devel-104

(cherry picked from commit 7e81fe282540a5b52dcb8c5396321a67733790d2)

commit cc5599e81e262ca0d3a21ae37e7f00fc62541a90
Author: Stefan Metzmacher me...@samba.org
Date:   Thu Nov 20 14:21:06 2014 +0100

s4:dsdb/rootdse: expand extended dn values with the AS_SYSTEM control

Otherwise we can't find the GUID of the 'serverName' attribute
as ANONYMOUS.

This results in

  root@ub1204-161:~# ldbsearch -U% -H ldap://172.31.9.161 -b '' -s base 
--extended-dn serverName
  search error - LDAP error 1 LDAP_OPERATIONS_ERROR -  2020: 
operations error at ../source4/dsdb/samdb/ldb_modules/rootdse.c:567 

While it works as system:

  root@ub1204-161:~# ldbsearch -U% -H /var/lib/samba/private/sam.ldb -b '' 
-s base --extended-dn serverName
  # record 1
  dn:
  serverName: 
GUID=348c35e1-04e3-4988-a32c-32478d584551;CN=UB1204-161,CN=Serve
   rs,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=s4xdom,DC=base

  # returned 1 records
  # 1 entries
  # 0 referrals

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10949

Signed-off-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Guenther Deschner g...@samba.org
(cherry picked from commit 

autobuild: intermittent test failure detected

2014-12-18 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-12-19-0514/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2014-12-19-0514/samba.stderr
   http://git.samba.org/autobuild.flakey/2014-12-19-0514/samba.stdout
  
The top commit at the time of the failure was:

commit 93b3c157b7538e4610361e3d5491e5f762407b6f
Author: Volker Lendecke v...@samba.org
Date:   Tue Dec 16 09:38:54 2014 +0100

vfs_fruit: Avoid double ()

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Ralph Boehme s...@samba.org

Autobuild-User(master): Ralph Böhme s...@samba.org
Autobuild-Date(master): Thu Dec 18 19:19:04 CET 2014 on sn-devel-104


autobuild: intermittent test failure detected

2014-12-18 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-12-19-0813/flakey.log

The samba build logs are available here:

   http://git.samba.org/autobuild.flakey/2014-12-19-0813/samba.stderr
   http://git.samba.org/autobuild.flakey/2014-12-19-0813/samba.stdout
  
The top commit at the time of the failure was:

commit 93b3c157b7538e4610361e3d5491e5f762407b6f
Author: Volker Lendecke v...@samba.org
Date:   Tue Dec 16 09:38:54 2014 +0100

vfs_fruit: Avoid double ()

Signed-off-by: Volker Lendecke v...@samba.org
Reviewed-by: Ralph Boehme s...@samba.org

Autobuild-User(master): Ralph Böhme s...@samba.org
Autobuild-Date(master): Thu Dec 18 19:19:04 CET 2014 on sn-devel-104