generated from alice-meta-packages/alice-meta-template
This commit is contained in:
1 parent
bb1f63d2be
commit
16f09815d8
3 files changed
+13
-11
No files matched your search
+1
-1
@@ -3,6 +3,6 @@ Version: 1.0
|
|||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: libpam-ldapd, nslcd
|
Depends: libnss-sss
|
||||||
Maintainer: Carneiro <alice@noreply.com>
|
Maintainer: Carneiro <alice@noreply.com>
|
||||||
Description: Meta-pacote contendo as configs do ldap
|
Description: Meta-pacote contendo as configs do ldap
|
||||||
+3
-1
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Script executado pós instalação
|
# 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
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo "
|
# echo "
|
||||||
nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33004
|
# nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33004
|
||||||
nslcd nslcd/ldap-base string dc=alice,dc=ufsj
|
# nslcd nslcd/ldap-base string dc=alice,dc=ufsj
|
||||||
nslcd nslcd/ldap-binddn string cn=alice,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-auth-type select simple
|
||||||
nslcd nslcd/ldap-version select 3
|
# nslcd nslcd/ldap-version select 3
|
||||||
nslcd nslcd/ldap-reqcert select demand
|
# nslcd nslcd/ldap-reqcert select demand
|
||||||
libnss-ldapd libnss-ldapd/nsswitch multiselect passwd, group, shadow, hosts, automount
|
# libnss-ldapd libnss-ldapd/nsswitch multiselect passwd, group, shadow, hosts, automount
|
||||||
" | debconf-set-selections
|
# " | debconf-set-selections
|
||||||
Reference in new issue
Block a user