[SCM] Samba Shared Repository - branch master updated

2017-04-12 Thread Michael Adam
The branch, master has been updated
   via  9cf3ac1 s3:tests: fix commment typo in the offline test
  from  9d419c3 winbindd: only use the domain name from lookup sids if the 
domain matches

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


- Log -
commit 9cf3ac1d0c776cd97b2075e95174b3ab41974f89
Author: Michael Adam 
Date:   Tue Apr 11 10:12:51 2017 +0200

s3:tests: fix commment typo in the offline test

Signed-off-by: Michael Adam 
Reviewed-by: Volker Lendecke 
Reviewed-by: Andreas Schneider 

Autobuild-User(master): Michael Adam 
Autobuild-Date(master): Thu Apr 13 02:44:38 CEST 2017 on sn-devel-144

---

Summary of changes:
 source3/script/tests/test_offline.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/script/tests/test_offline.sh 
b/source3/script/tests/test_offline.sh
index fbc071a..9809f1b 100755
--- a/source3/script/tests/test_offline.sh
+++ b/source3/script/tests/test_offline.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Blackbox test for shadow_copy2 VFS.
+# Blackbox test for the offline VFS module.
 #
 if [ $# -lt 7 ]; then
 cat <

[SCM] Samba Shared Repository - branch master updated

2017-04-12 Thread Uri Simchoni
The branch, master has been updated
   via  9d419c3 winbindd: only use the domain name from lookup sids if the 
domain matches
   via  63698da waf: Only build pam_wrapper if we build with pam
   via  2fa9346 build: refuse to build without PAM support if enabled
  from  d92a23e winbind_msrpc: Use any_nt_status_not_ok

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


- Log -
commit 9d419c3fe3654f038fbc978ecb7fa87cf8a5cc3b
Author: Ralph Boehme 
Date:   Mon Apr 10 14:28:18 2017 +0200

winbindd: only use the domain name from lookup sids if the domain matches

With the use of sIDHistory it happens that two sids map to the same name:
S-1-5-21-1387724271-3540671778-1971508351-1115 DOMAIN2\d1u1 (1)
S-1-5-21-3293503978-489118715-2763867031-1106 DOMAIN2\d1u1 (1)

On the net it looks like this:

 lsa_LookupSids: struct lsa_LookupSids
in: struct lsa_LookupSids
handle   : *
handle: struct policy_handle
handle_type  : 0x (0)
uuid : 
344f3586-7de4-4e1d-96a9-8c6c23e4b2f0
sids : *
sids: struct lsa_SidArray
num_sids : 0x0002 (2)
sids : *
sids: ARRAY(2)
sids: struct lsa_SidPtr
sid  : *
sid  : 
S-1-5-21-1387724271-3540671778-1971508351-1115
sids: struct lsa_SidPtr
sid  : *
sid  : 
S-1-5-21-3293503978-489118715-2763867031-1106
names: *
names: struct lsa_TransNameArray
count: 0x (0)
names: NULL
level: LSA_LOOKUP_NAMES_ALL (1)
count: *
count: 0x (0)
 lsa_LookupSids: struct lsa_LookupSids
out: struct lsa_LookupSids
domains  : *
domains  : *
domains: struct lsa_RefDomainList
count: 0x0001 (1)
domains  : *
domains: ARRAY(1)
domains: struct lsa_DomainInfo
name: struct lsa_StringLarge
length   : 0x000e 
(14)
size : 0x0010 
(16)
string   : *
string   : 
'DOMAIN2'
sid  : *
sid  : 
S-1-5-21-1387724271-3540671778-1971508351
max_size : 0x0020 (32)
names: *
names: struct lsa_TransNameArray
count: 0x0002 (2)
names: *
names: ARRAY(7)
names: struct lsa_TranslatedName
sid_type : SID_NAME_USER (1)
name: struct lsa_String
length   : 0x0008 (8)
size : 0x0008 (8)
string   : *
string   : 'd1u1'
sid_index: 0x (0)
names: struct lsa_TranslatedName
sid_type : SID_NAME_USER (1)
name: struct lsa_String
length   : 0x0008 (8)
size : 0x0008 (8)
string   : *
string   : 'd1u1'
sid_index: 0x (0)
count: *