generated from alice-meta-packages/alice-meta-template
			change deps and postinst
	
		
			
	
		
	
	
		
			
				
	
				Deploy Package / Explore-Gitea-Actions (push) Successful in 8s
				
					Details
				
			
		
	
				
					
				
			
				
	
				Deploy Package / Explore-Gitea-Actions (push) Successful in 8s
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									bb1f63d2be
								
							
						
					
					
						commit
						16f09815d8
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue