mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
add __APP__ for ldap
This commit is contained in:
parent
1281583d6e
commit
b9a182cf6a
2 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
"bindDn": null,
|
||||
"bindCredentials": null,
|
||||
"searchBase": "ou=users,dc=yunohost,dc=org",
|
||||
"searchFilter": "(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=codimd.main,ou=permission,dc=yunohost,dc=org))",
|
||||
"searchFilter": "(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))",
|
||||
"usernameField": "cn",
|
||||
"useridField": "uid"
|
||||
}
|
||||
|
|
|
@ -100,6 +100,7 @@ ynh_replace_string --match_string="__PATH__" --replace_string="${path_url:1
|
|||
ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --target_file="../conf/config.json.example"
|
||||
ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="../conf/config.json.example"
|
||||
ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="../conf/config.json.example"
|
||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../conf/config.json.example"
|
||||
|
||||
cp ../conf/config.json.example "$final_path/config.json"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue