treewide: fix typos
This commit is contained in:
@@ -190,7 +190,7 @@ running with `--execute`. Specific details can be found further up.""")
|
||||
|
||||
if moved:
|
||||
print(f"""
|
||||
- {color(f"{moved} home directories were migrated succesfully.", GREEN)} {"(dry run)" if dry_run else ""}
|
||||
- {color(f"{moved} home directories were migrated successfully.", GREEN)} {"(dry run)" if dry_run else ""}
|
||||
This is great news, they are now UUID-based and will be immune to username changes!""")
|
||||
|
||||
if skipped and accounts:
|
||||
@@ -221,7 +221,7 @@ running with `--execute`. Specific details can be found further up.""")
|
||||
|
||||
if moves_failed:
|
||||
print(f"""
|
||||
- {color("{moves_failed} home directores could not be renamed", RED)}
|
||||
- {color("{moves_failed} home directories could not be renamed", RED)}
|
||||
No reason to panic, but the script tried to rename a home directory and that
|
||||
triggered and error. Check further up what went wrong.""")
|
||||
|
||||
@@ -246,7 +246,7 @@ if __name__ == "__main__":
|
||||
"--ldap-uri",
|
||||
type=str,
|
||||
required=True,
|
||||
help="URI for your LDAP server; ldaps://ldap1.example.com (TLS) or ldap://ldap1.exampe.com (Plain)",
|
||||
help="URI for your LDAP server; ldaps://ldap1.example.com (TLS) or ldap://ldap1.example.com (Plain)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--ldap-starttls",
|
||||
@@ -284,7 +284,7 @@ if __name__ == "__main__":
|
||||
parser.add_argument(
|
||||
"--ldap-filter",
|
||||
default="(mail=%s)",
|
||||
help="LDAP query that filters for an account by the name in /var/vmail/ldap/<name> field, e.g. mail=%%s or uid=%%s if the name is not an email adress.",
|
||||
help="LDAP query that filters for an account by the name in /var/vmail/ldap/<name> field, e.g. mail=%%s or uid=%%s if the name is not an email address.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--ldap-attr-uuid",
|
||||
|
||||
Reference in New Issue
Block a user