diff options
author | Mathieu Parent <math.parent@gmail.com> | 2019-03-25 15:02:45 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-04-02 01:12:10 +0000 |
commit | 720396f0fb499d587062d7b2ce7c3a62ee3b6dd3 (patch) | |
tree | 1b8cb4051817f1047911527b0e3e537a7b8f2188 /python/samba | |
parent | 2044ca0e20bd3180720a82506b3af041d14b5c68 (diff) | |
download | samba-720396f0fb499d587062d7b2ce7c3a62ee3b6dd3.tar.gz |
Spelling fix s/informations/information/
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'python/samba')
-rw-r--r-- | python/samba/netcmd/common.py | 2 | ||||
-rw-r--r-- | python/samba/netcmd/domain.py | 2 | ||||
-rw-r--r-- | python/samba/samdb.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/python/samba/netcmd/common.py b/python/samba/netcmd/common.py index c68cbabf42e..86f3e5161b1 100644 --- a/python/samba/netcmd/common.py +++ b/python/samba/netcmd/common.py @@ -63,7 +63,7 @@ def netcmd_finddc(lp, creds, realm=None): def netcmd_get_domain_infos_via_cldap(lp, creds, address=None): - '''Return domain informations (CLDAP record) of the ldap-capable + '''Return domain information (CLDAP record) of the ldap-capable DC with the specified address''' net = Net(creds=creds, lp=lp) cldap_ret = net.finddc(address=address, diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index 2aebb5f8166..851e7241d15 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -1304,7 +1304,7 @@ class cmd_domain_passwordsettings_show(Command): except Exception as e: raise CommandError("Could not retrieve password properties!", e) - self.message("Password informations for domain '%s'" % domain_dn) + self.message("Password information for domain '%s'" % domain_dn) self.message("") if pwd_props & DOMAIN_PASSWORD_COMPLEX != 0: self.message("Password complexity: on") diff --git a/python/samba/samdb.py b/python/samba/samdb.py index 308b5f96a7b..eda31cb90c3 100644 --- a/python/samba/samdb.py +++ b/python/samba/samdb.py @@ -201,7 +201,7 @@ pwdLastSet: 0 group_dn = "CN=%s,%s,%s" % (groupname, (groupou or "CN=Users"), self.domain_dn()) # The new user record. Note the reliance on the SAMLDB module which - # fills in the default informations + # fills in the default information ldbmessage = {"dn": group_dn, "sAMAccountName": groupname, "objectClass": "group"} @@ -389,7 +389,7 @@ member: %s dnsdomain = ldb.Dn(self, self.domain_dn()).canonical_str().replace("/", "") user_principal_name = "%s@%s" % (username, dnsdomain) # The new user record. Note the reliance on the SAMLDB module which - # fills in the default informations + # fills in the default information ldbmessage = {"dn": user_dn, "sAMAccountName": username, "userPrincipalName": user_principal_name, |