Compare commits

...

No commits in common. "c8s" and "c8" have entirely different histories.
c8s ... c8

13 changed files with 3 additions and 127 deletions

10
.gitignore vendored
View File

@ -1,9 +1 @@
/gssntlmssp-0.1.0.tar.gz
/gssntlmssp-0.2.0.tar.gz
/gssntlmssp-0.3.0.tar.gz
/gssntlmssp-0.3.1.tar.gz
/gssntlmssp-0.4.0.tar.gz
/gssntlmssp-0.5.0.tar.gz
/gssntlmssp-0.6.0.tar.gz
/gssntlmssp-0.7.0.tar.gz
/gssntlmssp-1.2.0.tar.gz
SOURCES/gssntlmssp-1.2.0.tar.gz

1
.gssntlmssp.metadata Normal file
View File

@ -0,0 +1 @@
55975d0d64ae40cddca12732eaa1227991aeb037 SOURCES/gssntlmssp-1.2.0.tar.gz

View File

@ -80,7 +80,7 @@ make test_gssntlmssp
- Fix CVE-2023-25565: incorrect free when decoding target information
- Fix CVE-2023-25566: memory leak when parsing usernames
- Fix CVE-2023-25567: out-of-bounds read when decoding target information
- Resolves: rhbz#2178907
- Resolves: rhbz#2181313
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1 +0,0 @@
SHA512 (gssntlmssp-1.2.0.tar.gz) = e918f24dface17ae1f22f30576ee03d209bab55eb439df1a3f9d386e7e57b4f5a7155b79a05bd76ab5acea7ff1a988c6394f14e166f4a48209141bff8b398747

View File

@ -1,46 +0,0 @@
#
# Author: Simo Sorce
TOPLEVEL_NAMESPACE=/CoreOS
PACKAGE_NAME=gssntlmssp
RELATIVE_PATH=first-test
export TEST=$(TOPLEVEL_NAMESPACE)/$(PACKAGE_NAME)/$(RELATIVE_PATH)
export TESTVERSION=1.0
.PHONY: all install download clean
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile gss.conf ntlmfile httpd.service
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
chmod a+x ./runtest.sh
clean:
rm -f *~ *.rpm $(BUILT_FILES)
# Include Common Makefile
include /usr/share/rhts/lib/rhts-make.include
# Generate the testinfo.desc here:
$(METADATA): Makefile
@touch $(METADATA)
@echo $(PACKAGE_NAME)
@echo "Owner: Simo Sorce <ssorce@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "License: GPL" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Description: Test gssntlmssp though mod_auth_gssapi and apache" >> $(METADATA)
@echo "TestTime: 1h" >> $(METADATA)
@echo "Type: Install" >> $(METADATA)
@echo "Requires: curl" >> $(METADATA)
@echo "Requires: httpd" >> $(METADATA)
@echo "Requires: mod_auth_gssapi" >> $(METADATA)
@echo "Requires: gssntlmssp" >> $(METADATA)
rhts-lint $(METADATA)

View File

@ -1,2 +0,0 @@
This test sets up and verifies gssntlmssp via HTTPD and mod_auth_gssapi

View File

@ -1,7 +0,0 @@
<Location /private>
AuthType GSSAPI
AuthName "NTLMSSP"
GssapiAllowedMech ntlmssp
GssapiConnectionBound on
require valid-user
</Location>

View File

@ -1,3 +0,0 @@
.include /lib/systemd/system/httpd.service
[Service]
Environment=NTLM_USER_FILE=/etc/httpd/ntlmfile

View File

@ -1 +0,0 @@
TESTDOM:testuser:testpassword

View File

@ -1,39 +0,0 @@
#!/bin/bash
# Author: Simo Sorce
. /usr/bin/rhts-environment.sh
echo "rhts-environment sourced, status = $?"
. /usr/share/beakerlib/beakerlib.sh
echo "beakerlib sourced, status = $?"
rlJournalStart
rlPhaseStartSetup "Check than we have Apache"
export PACKAGES="httpd mod_auth_gssapi gssntlmssp"
rlAssertRpm --all
rlPhaseEnd
rlPhaseStartSetup "Setup httpd to use mod_auth_gssapi"
rlRun "mkdir -p /var/www/html"
rlRun "echo OK > /var/www/html/private"
rlRun "cp gss.conf /etc/httpd/conf.d/gss.conf"
rlRun "cp ntlmfile /etc/httpd/ntlmfile"
rlRun "cp -f httpd.service /etc/systemd/system/httpd.service"
rlRun "systemctl daemon-reload"
rlRun "systemctl restart httpd"
rlPhaseEnd
rlPhaseStartTest "Run HTTP requests against the setup"
export NTLM_USER_FILE=/etc/httpd/ntlmfile
rlRun "curl -si http://$( hostname )/private > /tmp/curl.out.$$"
rlAssertNotGrep "200 OK" /tmp/curl.out.$$
rlRun "curl --negotiate -u : -si http://$( hostname )/private > /tmp/curl.out.$$"
rlAssertGrep "200 OK" /tmp/curl.out.$$
rlAssertGrep "^OK$" /tmp/curl.out.$$
rlPhaseEnd
rlJournalEnd
rlJournalPrintText

View File

@ -1,12 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
tests:
- first-test
required_packages:
- curl
- httpd
- mod_auth_gssapi