mirror of
https://github.com/YunoHost-Apps/streams_ynh.git
synced 2024-09-03 20:26:20 +02:00
Remove remaining ldapauth code from install and upgrade scripts
This commit is contained in:
parent
8985f0af2e
commit
9e95d4ed9c
3 changed files with 0 additions and 22 deletions
|
@ -1,7 +0,0 @@
|
|||
App::$config['system']['addon'] = 'ldapauth';
|
||||
|
||||
App::$config['ldapauth']['ldap_server'] = 'localhost';
|
||||
App::$config['ldapauth']['ldap_searchdn'] = 'ou=users,dc=yunohost,dc=org';
|
||||
App::$config['ldapauth']['ldap_userattr'] = 'uid';
|
||||
App::$config['ldapauth']['ldap_autocreateaccount_emailattribute'] = 'mail';
|
||||
App::$config['ldapauth']['create_account'] = '1';
|
|
@ -128,15 +128,6 @@ ynh_script_progression --message="Configuring Fail2Ban..." --weight=1
|
|||
# Create a dedicated Fail2Ban config
|
||||
ynh_add_fail2ban_config --logpath="$install_dir/php.log" --failregex="^.*auth\.php.*failed login attempt.*from IP <HOST>.*$" --max_retry="5"
|
||||
|
||||
#=================================================
|
||||
# LDAP ADDON ACTIVATION
|
||||
#=================================================
|
||||
#ynh_script_progression --message="Enabling ldapauth addon..."
|
||||
|
||||
#pushd "$install_dir"
|
||||
# /usr/bin/php${YNH_PHP_VERSION} util/addons install ldapauth
|
||||
#popd
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
|
@ -94,12 +94,6 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1
|
|||
|
||||
ynh_add_config --template="../conf/htconfig.sample.php" --destination="$install_dir/.htconfig.php"
|
||||
|
||||
# addon ldap config
|
||||
#ynh_script_progression --message="Push LDAP configuration to .htconfig.php..."
|
||||
|
||||
#cat ../conf/ldap_conf.php >> $install_dir/.htconfig.php
|
||||
#ynh_store_file_checksum --file=$install_dir/.htconfig.php
|
||||
|
||||
chmod 600 "$install_dir/.htconfig.php"
|
||||
chown $app:$app "$install_dir/.htconfig.php"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue