Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • mika/sssd
  • guillem/debian-pkg-sssd
  • john.veitch/sssd
  • jgullberg/sssd
  • gioele/sssd
  • oktay454/sssd
  • sergiodj/sssd
  • 3v1n0/sssd
  • jfalk-guest/sssd
  • sathieu/sssd
  • dpward/sssd
  • sssd-team/sssd
  • ahasenack/sssd
  • jbicha/sssd
  • yrro-guest/sssd
15 results
Show changes
Commits on Source (2)
sssd (2.7.3-3) UNRELEASED; urgency=medium
[ Timo Aaltonen ]
* control: Add bind9-dnsutils to sssd-common Recommends, and rename
dnsutils build-dep. (Closes: #1018144)
-- Timo Aaltonen <tjaalton@debian.org> Fri, 26 Aug 2022 09:46:25 +0300
[ Sergio Durigan Junior ]
* Simplify logic to add "automount" database into nsswitch.
- d/libnss-sss.nss: Add "automount database" directive.
- d/libnss-sss.postinst: Remove logic to insert "automount" database
into nsswitch; not necessary anymore now that the package uses dh-nss.
-- Sergio Durigan Junior <sergiodj@debian.org> Sat, 27 Aug 2022 23:33:29 -0400
sssd (2.7.3-2) unstable; urgency=medium
......
automount database
passwd last sss
group last sss
shadow last sss
......
#!/bin/sh
set -e
log() {
echo "$*"
}
# Add the `automount` database to nsswitch.conf if it's not there.
insert_nss_automount_db () {
log "Checking NSS setup..."
# abort if /etc/nsswitch.conf does not exist
if ! [ -e "${DPGK_ROOT}/etc/nsswitch.conf" ]; then
log "Could not find ${DPKG_ROOT}/etc/nsswitch.conf."
return
fi
# and add a new entry for automount if it's not there
if ! grep -q automount "${DPKG_ROOT}/etc/nsswitch.conf" ; then
log "Setting up empty automount NSS database"
echo "automount: " >> "${DPKG_ROOT}/etc/nsswitch.conf"
fi
}
action="$1"
if [ configure = "$action" ]; then
if [ -z "$2" ]; then
log "First installation detected..."
# first install: setup automount NSS database.
insert_nss_automount_db
else
if [ -n "$2" ]; then
# upgrade
version="$2"
......