Update DEBIAN/preinst
Deploy Package / Explore-Gitea-Actions (push) Successful in 4s Details

This commit is contained in:
Carneiro 2024-09-09 23:18:25 -03:00
parent 6eb121e40c
commit b84ae85810
1 changed files with 10 additions and 19 deletions

View File

@ -1,21 +1,12 @@
#!/bin/sh
# Script executado pre instalação
echo "libnss-ldapd libnss-ldapd/nsswitch string passwd,group,shadow" | debconf-set-selections
# Preseed settings for libpam-ldapd
#echo " libpam-ldapd libpam-ldapd/ldapns/ldap-server string ldaps://alice.ufsj.edu.br:33001
# libpam-ldapd libpam-ldapd/ldapns/base-dn string dc=alice,dc=ufsj,dc=edu,dc=br
# libpam-ldapd libpam-ldapd/ldapns/ldap_version select 3
# libpam-ldapd shared/ldapns/ldap-server string ldaps://alice.ufsj.edu.br:33001
# libpam-ldapd shared/ldapns/base-dn string dc=alice,dc=ufsj,dc=edu,dc=br" | debconf-set-selections
# Preseed settings for nslcd
echo " nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33001
nslcd nslcd/ldap-base string dc=alice,dc=ufsj,dc=edu,dc=br
nslcd nslcd/ldap-auth-type select simple
nslcd nslcd/ldap-starttls boolean false
nslcd nslcd/ldap-version select 3
nslcd nslcd/ldap-sasl-mech select none
nslcd nslcd/ldap-reqcert select demand" | debconf-set-selections
echo "
nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33001
nslcd nslcd/ldap-base string dc=alice,dc=ufsj,dc=edu,dc=br
nslcd nslcd/ldap-auth-type select simple
nslcd nslcd/ldap-starttls boolean false
nslcd nslcd/ldap-version select 3
nslcd nslcd/ldap-sasl-mech select none
nslcd nslcd/ldap-reqcert select demand
libnss-ldapd libnss-ldapd/nsswitch multiselect passwd,group,shadow
" | debconf-set-selections