mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Moaaar friskies
This commit is contained in:
parent
18f64ce80b
commit
6512bbf70c
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ yunohost tools migrations run""",
|
||||||
|
|
||||||
user_update(new_admin_user, remove_mailalias=old_admin_aliases_to_remove)
|
user_update(new_admin_user, remove_mailalias=old_admin_aliases_to_remove)
|
||||||
|
|
||||||
admin_hashs = ldap.search("cn=admin", "", {"userPassword"})[0]["userPassword"]
|
admin_hashs = ldap.search("cn=admin", attrs={"userPassword"})[0]["userPassword"]
|
||||||
|
|
||||||
stuff_to_delete = [
|
stuff_to_delete = [
|
||||||
"cn=admin,ou=sudo",
|
"cn=admin,ou=sudo",
|
||||||
|
@ -112,7 +112,7 @@ yunohost tools migrations run""",
|
||||||
"displayName": ["Admin"],
|
"displayName": ["Admin"],
|
||||||
"cn": ["Admin"],
|
"cn": ["Admin"],
|
||||||
"uid": ["admin"],
|
"uid": ["admin"],
|
||||||
"mail": "",
|
"mail": "admin_legacy",
|
||||||
"maildrop": ["admin"],
|
"maildrop": ["admin"],
|
||||||
"mailuserquota": ["0"],
|
"mailuserquota": ["0"],
|
||||||
"userPassword": admin_hashs,
|
"userPassword": admin_hashs,
|
||||||
|
|
Loading…
Add table
Reference in a new issue