mirror of
https://github.com/YunoHost-Apps/ergo_ynh.git
synced 2024-09-03 18:26:31 +02:00
Add LDAP
This commit is contained in:
parent
f7328ca0da
commit
7079a2efeb
3 changed files with 10 additions and 2 deletions
|
@ -5,14 +5,14 @@
|
|||
|
||||
# example configuration that works with Forum Systems's testing server:
|
||||
# https://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/
|
||||
host: "ldap.forumsys.com"
|
||||
host: "ldap://127.0.0.1"
|
||||
port: 389
|
||||
timeout: 30s
|
||||
# uncomment for TLS:
|
||||
# use-ssl: true
|
||||
|
||||
# example "single-bind" configuration, where we bind directly to the user's entry:
|
||||
bind-dn: "uid=%s,dc=example,dc=com"
|
||||
bind-dn: "ou=users,dc=yunohost,dc=org"
|
||||
|
||||
# example "admin bind" configuration, where we bind to an initial admin user,
|
||||
# then search for the user's entry with a search filter:
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
SOURCE_URL=https://github.com/YunoHost-Apps/ergo_ynh/releases/download/v.1/ergo-ldap.zip
|
||||
SOURCE_SUM=4fa3e4511a5462e9a3b831db67d754d322fa1db41a708901dfae50fe3e959377
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=
|
||||
SOURCE_EXTRACT=true
|
|
@ -83,6 +83,7 @@ ynh_script_progression --message="Setting up source files..." --time --weight=1
|
|||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id=$YNH_ARCH
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id=ldap
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
|
|
Loading…
Add table
Reference in a new issue