change deps and postinst
Deploy Package / Explore-Gitea-Actions (push) Successful in 8s

This commit is contained in:
Carneiro committed 2024-11-17 19:36:07 -03:00
1 parent bb1f63d2be
commit 16f09815d8
3 files changed
+13 -11

No files matched your search

+1 -1
View File
@@ -3,6 +3,6 @@ Version: 1.0
Section: admin
Priority: optional
Architecture: amd64
Depends: libpam-ldapd, nslcd
Depends: libnss-sss
Maintainer: Carneiro <alice@noreply.com>
Description: Meta-pacote contendo as configs do ldap
+3 -1
View File
@@ -1,4 +1,6 @@
#!/bin/sh
# Script executado pós instalação
systemctl restart nscd
# systemctl restart nscd
PASS=$(whiptail --passwordbox "Senha do LDAP" 10 50)
sed -i 's/BINDPW/$PASS/' /etc/sssd/sssd.conf
+9 -9
View File
@@ -1,11 +1,11 @@
#!/bin/sh
echo "
nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33004
nslcd nslcd/ldap-base string dc=alice,dc=ufsj
nslcd nslcd/ldap-binddn string cn=alice,dc=alice,dc=ufsj
nslcd nslcd/ldap-auth-type select simple
nslcd nslcd/ldap-version select 3
nslcd nslcd/ldap-reqcert select demand
libnss-ldapd libnss-ldapd/nsswitch multiselect passwd, group, shadow, hosts, automount
" | debconf-set-selections
# echo "
# nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33004
# nslcd nslcd/ldap-base string dc=alice,dc=ufsj
# nslcd nslcd/ldap-binddn string cn=alice,dc=alice,dc=ufsj
# nslcd nslcd/ldap-auth-type select simple
# nslcd nslcd/ldap-version select 3
# nslcd nslcd/ldap-reqcert select demand
# libnss-ldapd libnss-ldapd/nsswitch multiselect passwd, group, shadow, hosts, automount
# " | debconf-set-selections