mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] implement opi's feedback
This commit is contained in:
parent
f956fa7161
commit
595f897261
2 changed files with 3 additions and 3 deletions
|
@ -114,7 +114,7 @@
|
||||||
"ip6tables_unavailable": "You cannot play with ip6tables here. You are either in a container or your kernel does not support it.",
|
"ip6tables_unavailable": "You cannot play with ip6tables here. You are either in a container or your kernel does not support it.",
|
||||||
"iptables_unavailable": "You cannot play with iptables here. You are either in a container or your kernel does not support it.",
|
"iptables_unavailable": "You cannot play with iptables here. You are either in a container or your kernel does not support it.",
|
||||||
"ldap_initialized": "LDAP has been initialized",
|
"ldap_initialized": "LDAP has been initialized",
|
||||||
"ldap_init_failed_to_create_admin": "LDAP initialization failed to create admin. Aborting.",
|
"ldap_init_failed_to_create_admin": "LDAP initialization failed to create admin user.",
|
||||||
"license_undefined": "undefined",
|
"license_undefined": "undefined",
|
||||||
"mail_alias_remove_failed": "Unable to remove mail alias '{mail:s}'",
|
"mail_alias_remove_failed": "Unable to remove mail alias '{mail:s}'",
|
||||||
"mail_domain_unknown": "Unknown mail address domain '{domain:s}'",
|
"mail_domain_unknown": "Unknown mail address domain '{domain:s}'",
|
||||||
|
|
|
@ -100,8 +100,8 @@ def tools_ldapinit():
|
||||||
try:
|
try:
|
||||||
pwd.getpwnam("admin")
|
pwd.getpwnam("admin")
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise MoulinetteError(errno.EINVAL,
|
logger.error(m18n.n('ldap_init_failed_to_create_admin'))
|
||||||
m18n.n('ldap_init_failed_to_create_admin'))
|
raise MoulinetteError(errno.EINVAL, m18n.n('installation_failed'))
|
||||||
|
|
||||||
logger.success(m18n.n('ldap_initialized'))
|
logger.success(m18n.n('ldap_initialized'))
|
||||||
return auth
|
return auth
|
||||||
|
|
Loading…
Add table
Reference in a new issue