[SCM] Samba Shared Repository - branch master updated

2022-08-31 Thread Volker Lendecke
The branch, master has been updated
   via  1788b59bc0a s3/winbindd: Fix bad access to sid array (with debug 
level >= info)
  from  e4929866610 s3: torture: Add a comprehensive SMB2 DFS path torture 
tester.

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


- Log -
commit 1788b59bc0aaa8f18186ad9b9945fbd634f02445
Author: Noel Power 
Date:   Wed Aug 31 12:27:53 2022 +0100

s3/winbindd: Fix bad access to sid array (with debug level >= info)

==6436==at 0xA85F95B: dom_sid_string_buf (dom_sid.c:444)
==6436==by 0xA85FBF2: dom_sid_str_buf (dom_sid.c:515)
==6436==by 0x17EDF8: wb_lookupusergroups_recv 
(wb_lookupusergroups.c:115)
==6436==by 0x17F964: wb_gettoken_gotgroups (wb_gettoken.c:123)
==6436==by 0x56AD332: _tevent_req_notify_callback (tevent_req.c:141)
==6436==by 0x56AD493: tevent_req_finish (tevent_req.c:193)
==6436==by 0x56AD5C0: tevent_req_trigger (tevent_req.c:250)
==6436==by 0x56AC119: tevent_common_invoke_immediate_handler 
(tevent_immediate.c:190)
==6436==by 0x56AC268: tevent_common_loop_immediate 
(tevent_immediate.c:236)
==6436==by 0x56B678A: epoll_event_loop_once (tevent_epoll.c:919)
==6436==by 0x56B31C3: std_event_loop_once (tevent_standard.c:110)
==6436==by 0x56AA621: _tevent_loop_once (tevent.c:825)
==6436==
==6436== Invalid read of size 1
==6436==at 0xA85F95B: dom_sid_string_buf (dom_sid.c:444)
==6436==by 0xA85FBF2: dom_sid_str_buf (dom_sid.c:515)
==6436==by 0x17EDF8: wb_lookupusergroups_recv 
(wb_lookupusergroups.c:115)
==6436==by 0x17F964: wb_gettoken_gotgroups (wb_gettoken.c:123)
==6436==by 0x56AD332: _tevent_req_notify_callback (tevent_req.c:141)
==6436==by 0x56AD493: tevent_req_finish (tevent_req.c:193)
==6436==by 0x56AD5C0: tevent_req_trigger (tevent_req.c:250)
==6436==by 0x56AC119: tevent_common_invoke_immediate_handler 
(tevent_immediate.c:190)
==6436==by 0x56AC268: tevent_common_loop_immediate 
(tevent_immediate.c:236)
==6436==by 0x56B678A: epoll_event_loop_once (tevent_epoll.c:919)
==6436==by 0x56B31C3: std_event_loop_once (tevent_standard.c:110)
==6436==by 0x56AA621: _tevent_loop_once (tevent.c:825)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15160
Signed-off-by: Noel Power 
Reviewed-by: Volker Lendecke 

Autobuild-User(master): Volker Lendecke 
Autobuild-Date(master): Wed Aug 31 15:07:31 UTC 2022 on sn-devel-184

---

Summary of changes:
 source3/winbindd/wb_lookupusergroups.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/wb_lookupusergroups.c 
b/source3/winbindd/wb_lookupusergroups.c
index 7ac1b6e03d2..7f359ee9316 100644
--- a/source3/winbindd/wb_lookupusergroups.c
+++ b/source3/winbindd/wb_lookupusergroups.c
@@ -113,7 +113,7 @@ NTSTATUS wb_lookupusergroups_recv(struct tevent_req *req, 
TALLOC_CTX *mem_ctx,
for (i = 0; i < *num_sids; i++) {
struct dom_sid_buf buf;
D_INFO("%"PRIu32": %s\n",
-  i, dom_sid_str_buf(&*sids[i], ));
+  i, dom_sid_str_buf(&(*sids)[i], ));
}
}
return NT_STATUS_OK;


-- 
Samba Shared Repository



[SCM] pam wrapper repository - branch master updated

2022-08-31 Thread Andreas Schneider
The branch, master has been updated
   via  2b486d5 Drop support for Python 2
   via  7932e58 gitlab-ci: Introduce test stages
   via  1c924d4 gitlab-ci: Change the obj-dir so it doesn't create problems
   via  514610b gitlab-ci: Fix indentation found by yamllint
  from  d938a84 Bump version to 1.1.4

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


- Log -
commit 2b486d5eb124562460a91e49eaf7bbef6fd3d168
Author: Andreas Schneider 
Date:   Tue Aug 2 09:21:55 2022 +0200

Drop support for Python 2

Python 2 is already EOL!

Signed-off-by: Andreas Schneider 
Reviewed-by: Ralph Boehme 

commit 7932e582ec0e4332ee417fbddfab3516e9ed575a
Author: Andreas Schneider 
Date:   Tue Aug 2 11:45:05 2022 +0200

gitlab-ci: Introduce test stages

Signed-off-by: Andreas Schneider 
Reviewed-by: Ralph Boehme 

commit 1c924d3eb8f9065145c256a2e796069563e4
Author: Andreas Schneider 
Date:   Tue Aug 2 11:55:02 2022 +0200

gitlab-ci: Change the obj-dir so it doesn't create problems

The artifacts seem to be downloaded in the analysis stage if something
fails in the test stage. This should fix it for now.

Reviewed-by: Ralph Boehme 

commit 514610bcc4a8825b36cbbb838c496657e0b99bef
Author: Andreas Schneider 
Date:   Tue Aug 2 11:40:42 2022 +0200

gitlab-ci: Fix indentation found by yamllint

Signed-off-by: Andreas Schneider 
Reviewed-by: Ralph Boehme 

---

Summary of changes:
 .gitlab-ci.yml| 209 +-
 src/python/CMakeLists.txt |   3 +-
 src/python/python2/CMakeLists.txt |  45 
 tests/CMakeLists.txt  |   9 --
 tests/pypamtest_test.py   |  14 +--
 5 files changed, 121 insertions(+), 159 deletions(-)
 delete mode 100644 src/python/python2/CMakeLists.txt


Changeset truncated at 500 lines:

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1439b2c..c205528 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,4 @@
+---
 variables:
   GIT_DEPTH: 3
   BUILD_IMAGES_PROJECT: cmocka/gitlab-build-images
@@ -6,18 +7,24 @@ variables:
   TUMBLEWEED_BUILD: buildenv-tumbleweed
   UBUNTU_BUILD: buildenv-ubuntu
 
+stages:
+  - build
+  - test
+  - analysis
+
 centos7/x86_64:
+  stage: test
   image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$CENTOS7_BUILD
   script:
-  - mkdir -p obj && cd obj && cmake3
--DCMAKE_BUILD_TYPE=RelWithDebInfo
--DPICKY_DEVELOPER=ON
--DUNIT_TESTING=ON .. &&
-make -j$(nproc) && ctest --output-on-failure
+- mkdir -p obj && cd obj && cmake3
+  -DCMAKE_BUILD_TYPE=RelWithDebInfo
+  -DPICKY_DEVELOPER=ON
+  -DUNIT_TESTING=ON .. &&
+  make -j$(nproc) && ctest --output-on-failure
   tags:
-  - shared
+- shared
   except:
-  - tags
+- tags
   artifacts:
 expire_in: 1 week
 when: on_failure
@@ -25,18 +32,19 @@ centos7/x86_64:
   - obj/
 
 fedora/x86_64:
+  stage: test
   image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
   script:
-  - mkdir -p obj && cd obj && cmake
--DCMAKE_INSTALL_PREFIX=/tmp/local
--DCMAKE_BUILD_TYPE=RelWithDebInfo
--DPICKY_DEVELOPER=ON
--DUNIT_TESTING=ON .. &&
-make -j$(nproc) && ctest --output-on-failure && make install
+- mkdir -p obj && cd obj && cmake
+  -DCMAKE_INSTALL_PREFIX=/tmp/local
+  -DCMAKE_BUILD_TYPE=RelWithDebInfo
+  -DPICKY_DEVELOPER=ON
+  -DUNIT_TESTING=ON .. &&
+  make -j$(nproc) && ctest --output-on-failure && make install
   tags:
-  - shared
+- shared
   except:
-  - tags
+- tags
   artifacts:
 expire_in: 1 week
 when: on_failure
@@ -44,17 +52,18 @@ fedora/x86_64:
   - obj/
 
 fedora/address-sanitizer:
+  stage: build
   image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
   script:
-  - mkdir -p obj && cd obj && cmake
--DCMAKE_BUILD_TYPE=AddressSanitizer
--DPICKY_DEVELOPER=ON
--DUNIT_TESTING=ON .. &&
-make -j$(nproc) && ctest --output-on-failure
+- mkdir -p obj && cd obj && cmake
+  -DCMAKE_BUILD_TYPE=AddressSanitizer
+  -DPICKY_DEVELOPER=ON
+  -DUNIT_TESTING=ON .. &&
+  make -j$(nproc) && ctest --output-on-failure
   tags:
-  - shared
+- shared
   except:
-  - tags
+- tags
   artifacts:
 expire_in: 1 week
 when: on_failure
@@ -62,17 +71,18 @@ fedora/address-sanitizer:
   - obj/
 
 fedora/undefined-sanitizer:
+  stage: analysis
   image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
   script:
-  - mkdir -p obj && cd obj && cmake
--DCMAKE_BUILD_TYPE=UndefinedSanitizer
--DPICKY_DEVELOPER=ON
--DUNIT_TESTING=ON ..
-&& make -j$(nproc) && ctest --output-on-failure
+- mkdir -p obj && cd obj && cmake
+  -DCMAKE_BUILD_TYPE=UndefinedSanitizer
+  -DPICKY_DEVELOPER=ON
+  -DUNIT_TESTING=ON ..
+  && make -j$(nproc) && ctest --output-on-failure