Remove nslcd and related packages on Debian
This is part of the change to replace nslcd with sssd to support multiple secure ldap backends. This change removed nss-pam-ldapd (nslcd, libpam-slapd, libnss-slapd) on Debian based stx system. nscd is removed in https://review.opendev.org/c/starlingx/tools/+/854217 Test Plan on Debian: PASS: Package build, image build PASS: System deployment PASS: Verify nslcd, libpam-slapd, libnss-slapd are not installed. PASS: ldap functions work properly (ldap user creation, user login on console and by ssh etc). Story: 2009834 Task: 46069 Depends-On: https://review.opendev.org/c/starlingx/metal/+/854203 Signed-off-by: Andy Ning <andy.ning@windriver.com> Change-Id: I87de211876a00c0b0a0d629dde70e13c0feb3df0
This commit is contained in:
parent
1d73a1bd70
commit
7962e653b3
@ -66,7 +66,6 @@ kubernetes/kubernetes-unversioned
|
|||||||
kubernetes/plugins/isolcpus-device-plugin
|
kubernetes/plugins/isolcpus-device-plugin
|
||||||
kubernetes/runc
|
kubernetes/runc
|
||||||
ldap/ldapscripts
|
ldap/ldapscripts
|
||||||
ldap/nss-pam-ldapd
|
|
||||||
ldap/openldap
|
ldap/openldap
|
||||||
livepatch/kpatch
|
livepatch/kpatch
|
||||||
networking/ifupdown-extra
|
networking/ifupdown-extra
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
From 8c348fc679099f928002d185aaabe0b2d5142cc3 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Fabiano Mercer <fabiano.correamercer@windriver.com>
|
|
||||||
Date: Wed, 3 Aug 2022 14:53:38 -0300
|
|
||||||
Subject: [PATCH] Ignore lo interfaces for nslcd script
|
|
||||||
|
|
||||||
---
|
|
||||||
debian/nslcd.if-up | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/debian/nslcd.if-up b/debian/nslcd.if-up
|
|
||||||
index 11befba..fb9aaff 100644
|
|
||||||
--- a/debian/nslcd.if-up
|
|
||||||
+++ b/debian/nslcd.if-up
|
|
||||||
@@ -27,7 +27,7 @@ NSLCD_STATEDIR=/var/run/nslcd
|
|
||||||
NSLCD_PIDFILE=$NSLCD_STATEDIR/nslcd.pid
|
|
||||||
|
|
||||||
# ignore lo interface
|
|
||||||
-[ "$IFACE" = "lo" ] && exit 0
|
|
||||||
+[[ "$IFACE" = lo* ]] && exit 0
|
|
||||||
|
|
||||||
# only do things when starting the interface
|
|
||||||
[ "$MODE" != "start" ] && exit 0
|
|
||||||
--
|
|
||||||
2.17.1
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
|||||||
0001-Ignore-lo-interfaces-for-nslcd-script.patch
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
debver: 0.9.11-1
|
|
||||||
dl_path:
|
|
||||||
name: nss-pam-ldapd-0.9.11-1.tar.gz
|
|
||||||
url: https://salsa.debian.org/debian/nss-pam-ldapd/-/archive/debian/0.9.11-1/nss-pam-ldapd-debian-0.9.11-1.tar.gz
|
|
||||||
md5sum: ca281003d23e3258dcd56e7be3ecb7f2
|
|
||||||
sha256sum: 4f90fc01666524d8607381ed8eef2fb7444a8298cfe76ae9c5009a9e7743be6e
|
|
||||||
revision:
|
|
||||||
dist: $STX_DIST
|
|
||||||
PKG_GITREVCOUNT:
|
|
Loading…
x
Reference in New Issue
Block a user