Closed yalh76 closed 5 years ago
As yunohost user create request the admin password, it would be usefull to have an helper for ldap with functions like:
yunohost user create
ynh_user_create --username=user_name [--home_dir=home_dir] [--use_shell] [--firstname FIRSTNAME] [--lastname LASTNAME] [--mail MAIL] [--password PASSWORD] [--mailbox-quota {SIZE|0}]
ynh_user_delete --username=user_name
Can be used for package requesting a dedicated ldap user for authentication like https://github.com/YunoHost-Apps/mastodon_ynh/pull/130#issuecomment-481612794
No more needed as we can now create users without providing admin password
As
yunohost user create
request the admin password, it would be usefull to have an helper for ldap with functions like:ynh_user_create --username=user_name [--home_dir=home_dir] [--use_shell] [--firstname FIRSTNAME] [--lastname LASTNAME] [--mail MAIL] [--password PASSWORD] [--mailbox-quota {SIZE|0}]
ynh_user_delete --username=user_name
Can be used for package requesting a dedicated ldap user for authentication like https://github.com/YunoHost-Apps/mastodon_ynh/pull/130#issuecomment-481612794