[SCM] Samba Shared Repository - branch master updated

2019-06-25 Thread Andrew Bartlett
The branch, master has been updated
   via  e28365c5157 selftest: schema version check in provision test
   via  cb16395ab38 schema: changing default base schema to 2012_R2
   via  fc9845da69c selftest: specifying 2008_R2 base schema for tests that 
need it
   via  295bf73e9b2 dsdb: Handle DB corner-case where PSO container doesn't 
exist
   via  5df815cfd21 pidl: Remove the need to always specify --client with 
--python
   via  46bf62dd0c6 librpc: No longer generate or build unused client 
bindings for frsrpc
   via  88bb8fe43ad librpc: Do not generate extra unused client or python 
bindings with PIDL
   via  6f9176e6496 librpc: Remove frsblobs.idl
   via  9c7e8f3a356 librpc: Remove unused RPC_NDR_MDSSVC
   via  ba222585ca4 librpc: Remove unused RPC_NDR_KEYSVC
   via  2555692f480 librpc: Remove unused RPC_NDR_TRKWKS
   via  634b44c25e1 librpc: Remove unused RPC_NDR_SCERPC
   via  bee87eecb87 librpc: Remove unused RPC_NDR_WZCSVC
   via  a162d68f585 librpc: Remove unused RPC_NDR_MSGSVC
   via  21eec4cf3c1 librpc: Remove unused RPC_NDR_SERVER_ID
   via  34206deb350 librpc: Remove unused RPC_NDR_NBT
   via  57ed8db7a26 librpc: Remove unused RPC_NDR_DSBACKUP
   via  f4f0db0c8e8 librpc: Remove unused RPC_NDR_WINSIF
   via  c6f9ff9cce0 librpc: Remove unused RPC_NDR_POLICYAGENT
   via  05318934511 librpc: Remove unused RPC_NDR_EFS
   via  4bfd001d79c librpc: Remove unused RPC_NDR_AUDIOSRV
   via  48f65c851af librpc: Remove unused RPC_NDR_SMB_ACL
   via  0af3a6139d3 librpc: Remove unused RPC_NDR_IDMAP
   via  8e83667fe4a librpc: Remove unused RPC_NDR_XATTR
   via  27ad784bfb2 librpc: Remove unused RPC_NDR_DRSBLOBS
   via  518227b674e librpc: Remove unused RPC_NDR_NTLMSSP
   via  dbff6cac314 librpc: Do not generate client code for dbgidl.idl
   via  ecd5fa294c8 s4-torture: Remove unused #include of 
librpc/gen_ndr/ndr_dcerpc_c.h
   via  69361a43adf lib/tls: Remove unused header definitions from 
source4/lib/tls/tls.h (tls socket wrapper)
   via  6f81fe151ae ntvfs: Remove now unused functions
  from  039558fea8a packaging: Update READMEs to reflect current status.

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


- Log -
commit e28365c515733bab10e93ba40c6123a57bef737f
Author: Aaron Haslett 
Date:   Thu Apr 11 17:44:48 2019 +1200

selftest: schema version check in provision test

Modifying blackbox provision test to check schema version.

Signed-off-by: Aaron Haslett 
Reviewed-by: Garming Sam 
Reviewed-by: Andrew Bartlett 

Autobuild-User(master): Andrew Bartlett 
Autobuild-Date(master): Wed Jun 26 05:31:03 UTC 2019 on sn-devel-184

commit cb16395ab3809379c6af4ff9a97fae191ba30375
Author: Aaron Haslett 
Date:   Tue Jan 15 11:19:54 2019 +1300

schema: changing default base schema to 2012_R2

Changing default base schema from 2008_R2 to 2012_R2

Signed-off-by: Aaron Haslett 
Reviewed-by: Garming Sam 
Reviewed-by: Andrew Bartlett 

commit fc9845da69cabcc1bf046d7899b2c4aeae743170
Author: Aaron Haslett 
Date:   Tue Jan 15 16:30:51 2019 +1300

selftest: specifying 2008_R2 base schema for tests that need it

We're going to change the default base schema so this patch changes all
tests and testenvs requiring the current default (2008_R2) to specify it
in all provision commands using --base-schema.

Signed-off-by: Aaron Haslett 
Reviewed-by: Garming Sam 
Reviewed-by: Andrew Bartlett 

commit 295bf73e9b24b1f2b4594320a6501dc7410d4b43
Author: Tim Beale 
Date:   Tue Jun 25 10:10:17 2019 +1200

dsdb: Handle DB corner-case where PSO container doesn't exist

A 2003 AD DB with functional level set to >= 2008 was non-functional
due to the PSO checks.

We already check the functional level is >= 2008 before checking for the
PSO container. However, users could change their functional level
without ensuring their DB conforms to the corresponding base schema.

The objectclass DSDB module should prevent the PSO container from ever
being deleted. So the only way we should be able to hit this case is
through upgrading the functional level (but not the underlying schema
objects). If so, log a low-priority message and continue without errors.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14008
RN: Previously, AD operations such as user authentication could fail
completely with the message 'Error 32 determining PSOs in system' logged
on the samba server. This problem would only affect a domain that was
created using a pre-2008 AD base schema and then had its functional
level manually raised to 2008 or greater. This issue has now been
resolved.

Signed-off-by: Tim Beale 
Reviewed-by: Andrew Bartlett 

commit 5df815cfd21c33eaa0e38196490066f214356bd3

[SCM] Samba Shared Repository - branch master updated

2019-06-25 Thread Karolin Seeger
The branch, master has been updated
   via  039558fea8a packaging: Update READMEs to reflect current status.
  from  2436496e71b client: enable allinfo and altname tab completion

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


- Log -
commit 039558fea8aed26b3c4b889dda92c77d1e2ef2f4
Author: Karolin Seeger 
Date:   Mon Jun 24 11:27:04 2019 +0200

packaging: Update READMEs to reflect current status.

Signed-off-by: Karolin Seeger 
Reviewed-by: Björn Baumbach 

Autobuild-User(master): Karolin Seeger 
Autobuild-Date(master): Tue Jun 25 12:09:39 UTC 2019 on sn-devel-184

---

Summary of changes:
 packaging/Debian/README | 7 ---
 packaging/SuSE/README   | 9 -
 2 files changed, 16 deletions(-)


Changeset truncated at 500 lines:

diff --git a/packaging/Debian/README b/packaging/Debian/README
index 6ac20abb8bd..48069f909bb 100644
--- a/packaging/Debian/README
+++ b/packaging/Debian/README
@@ -14,10 +14,3 @@ The current sources for particular Debian releases as well 
as the
 
  svn://svn.debian.org/pkg-samba/branches//samba
 
-SerNet packages

-
-SerNet provides Debian packages of the latest Samba versions for various 
-Debian releases as part of EnterpriseSamba. See 
-http://www.enterprisesamba.org/index.php?id=56 for more information about the 
-packages and how to install them.
diff --git a/packaging/SuSE/README b/packaging/SuSE/README
index e2100ef60c8..4b562700504 100644
--- a/packaging/SuSE/README
+++ b/packaging/SuSE/README
@@ -6,13 +6,4 @@ ftp://ftp.SuSE.com/pub/projects/samba/
 The same package are also available at:
 http://download.Samba.org/samba/ftp/Binary_Packages/SuSE/
 
-Samba 3 is not supported by SuSE on SuSE Linux Enterprise Server 8. You find
-SerNet-supported packages on http://ftp.sernet.de/pub/samba/
-
-If you encounter any problem with these packages please don't blame the
-Samba Team.  Instead file a bug at https://bugzilla.Samba.org/ pick
-product Samba 3.0, then select 'component' Packaging and set 'assign to'
-to .
-
 Have a lot of fun...
-


-- 
Samba Shared Repository



[SCM] Samba Shared Repository - branch master updated

2019-06-25 Thread David Disseldorp
The branch, master has been updated
   via  2436496e71b client: enable allinfo and altname tab completion
  from  05667d36de7 s3: torture: Add POSIX-ACL-OPLOCK test to check 
interaction of posix ACL operations with an oplocked Windows handle.

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


- Log -
commit 2436496e71be877ded851a9333606d24665a1083
Author: David Disseldorp 
Date:   Mon May 7 16:02:29 2018 +0200

client: enable allinfo and altname tab completion

Should tab-complete a single remote path.

Signed-off-by: David Disseldorp 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): David Disseldorp 
Autobuild-Date(master): Tue Jun 25 10:55:45 UTC 2019 on sn-devel-184

---

Summary of changes:
 source3/client/client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/client/client.c b/source3/client/client.c
index a69ab5daa76..7a7ecd92eb6 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -5535,8 +5535,8 @@ static struct {
 } commands[] = {
   {"?",cmd_help,"[command] give help on a command",{COMPL_NONE,COMPL_NONE}},
   {"allinfo",cmd_allinfo," show all available info",
-   {COMPL_NONE,COMPL_NONE}},
-  {"altname",cmd_altname," show alt name",{COMPL_NONE,COMPL_NONE}},
+   {COMPL_REMOTE,COMPL_NONE}},
+  {"altname",cmd_altname," show alt name",{COMPL_REMOTE,COMPL_NONE}},
   {"archive",cmd_archive,"\n0=ignore archive bit\n1=only get archive 
files\n2=only get archive files and reset archive bit\n3=get all files and 
reset archive bit",{COMPL_NONE,COMPL_NONE}},
   {"backup",cmd_backup,"toggle backup intent state",{COMPL_NONE,COMPL_NONE}},
   {"blocksize",cmd_block,"blocksize  (default 
20)",{COMPL_NONE,COMPL_NONE}},


-- 
Samba Shared Repository



autobuild[sn-devel-184]: intermittent test failure detected

2019-06-25 Thread autobuild
The autobuild test system (on sn-devel-184) has detected an intermittent 
failing test in 
the current master tree.

The autobuild log of the failure is available here:

   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-25-0955/flakey.log

The failure seems to be in the "samba-ad-dc-6" suite, whose build logs are 
available here:

   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-25-0955/samba-ad-dc-6.stderr
   
https://git.samba.org/autobuild.flakey.sn-devel-184/2019-06-25-0955/samba-ad-dc-6.stdout
  
The top commit at the time of the failure was:

commit 05667d36de78cbc73ed8e182525149b88c1a00c8
Author: Jeremy Allison 
Date:   Wed Jun 19 11:32:18 2019 -0700

s3: torture: Add POSIX-ACL-OPLOCK test to check interaction of posix ACL 
operations with an oplocked Windows handle.

(Spoiler alert, it breaks the oplock :-).

Signed-off-by: Jeremy Allison 
Reviewed-by: Volker Lendecke 

Autobuild-User(master): Jeremy Allison 
Autobuild-Date(master): Mon Jun 24 20:05:34 UTC 2019 on sn-devel-184

and the last 50 lines of the stdout log were:

lockoutTime = '132059300876494920'
badPasswordTime = '132059300876494920'
logonCount = '4'
lastLogon = '13205930084628'
lastLogonTimestamp = '132059300773852900'
userAccountControl = '512'
msDS-User-Account-Control-Computed = '16'
Failed to get kerberos credentials (kerberos required): kinit for 
lockout1k...@samba.example.com failed (Clients credentials have been revoked)

Account locked out: kinit for lockout1k...@samba.example.com failed (Clients 
credentials have been revoked)

gensec_spnego_create_negTokenInit_step: gssapi_krb5: creating NEG_TOKEN_INIT 
for ldap/localdc failed (next[(null)]): NT_STATUS_ACCOUNT_LOCKED_OUT
Failed to bind - LDAP client internal error: NT_STATUS_ACCOUNT_LOCKED_OUT
Failed to connect to 'ldap://localdc' with backend 'ldap': LDAP client internal 
error: NT_STATUS_ACCOUNT_LOCKED_OUT
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
badPwdCount = '3'
lockoutTime = '132059300876494920'
badPasswordTime = '132059300876494920'
logonCount = '4'
lastLogon = '13205930084628'
lastLogonTimestamp = '132059300773852900'
userAccountControl = '512'
msDS-User-Account-Control-Computed = '16'
UNEXPECTED(failure): 
samba4.ldap.password_lockout.python(ad_dc_slowtests).__main__.PasswordTestsWithSleep.test_login_lockout_krb5(ad_dc_slowtests)
REASON: Exception: Exception: Traceback (most recent call last):
  File 
"/memdisk/autobuild/fl/b781683/samba-ad-dc-6/source4/dsdb/tests/python/password_lockout.py",
 line 1163, in test_login_lockout_krb5
self._test_login_lockout(self.lockout1krb5_creds)
  File 
"/memdisk/autobuild/fl/b781683/samba-ad-dc-6/source4/dsdb/tests/python/password_lockout_base.py",
 line 562, in _test_login_lockout
msDSUserAccountControlComputed=dsdb.UF_LOCKOUT)
  File 
"/memdisk/autobuild/fl/b781683/samba-ad-dc-6/source4/dsdb/tests/python/password_lockout_base.py",
 line 180, in _check_account
self.assertEquals(uinfo5.bad_password_count, effective_bad_password_count)
AssertionError: 0 != 3

FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites)

A summary with detailed information can be found in:
  ./bin/ab/summary
TOP 10 slowest tests
samba4.ldap.vlv.python(ad_dc_slowtests)(ad_dc_slowtests) -> 665
samba4.ldap.confidential_attr.python(ad_dc_slowtests)(ad_dc_slowtests) -> 356
samba4.rpc.samr.passwords.lockout on ncacn_np with (ad_dc_slowtests) -> 239
samba4.rpc.samr.passwords.pwdlastset on ncacn_np with (ad_dc_slowtests) -> 209
samba4.rpc.samlogon on ncacn_np with (ad_dc_slowtests) -> 46
samba4.rpc.samr.passwords.badpwdcount on ncacn_np with (ad_dc_slowtests) -> 23
samba4.rpc.samr.passwords on ncacn_np with (ad_dc_slowtests) -> 21
samba4.rpc.samr.large-dc on ncacn_np with (ad_dc_slowtests) -> 16
samba4.rpc.samr.users on ncacn_np with (ad_dc_slowtests) -> 7
samba4.rpc.samr.users.privileges on ncacn_np with (ad_dc_slowtests) -> 3
ERROR: test failed with exit code 1
Makefile:16: recipe for target 'test' failed