alice-auth/DEBIAN/preinst

22 lines
1017 B
Plaintext
Raw Normal View History

2024-09-09 15:43:23 -03:00
#!/bin/sh
2024-09-09 16:14:06 -03:00
# Script executado pre instalação
2024-09-09 15:43:23 -03:00
2024-09-09 21:08:10 -03:00
echo "libnss-ldapd libnss-ldapd/nsswitch string passwd,group,shadow" | debconf-set-selections
2024-09-09 15:43:23 -03:00
# Preseed settings for libpam-ldapd
2024-09-09 21:08:10 -03:00
#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
2024-09-09 15:43:23 -03:00
# 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