diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2017-02-18 08:56:18 +1300 |
---|---|---|
committer | Garming Sam <garming@samba.org> | 2017-02-22 08:26:22 +0100 |
commit | 5482e5426e09667d26e04dd0c6e0107e46e1028f (patch) | |
tree | a69bec2099127fff693724b18b23f43ff03d15b3 /source4 | |
parent | 9f03cf91235641d017e31abc3856df994e6d1cf2 (diff) | |
download | samba-5482e5426e09667d26e04dd0c6e0107e46e1028f.tar.gz |
Correct "existence" typos.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal/lib/hx509/cert.c | 2 | ||||
-rw-r--r-- | source4/heimdal/lib/krb5/creds.c | 2 | ||||
-rw-r--r-- | source4/rpc_server/samr/samr_password.c | 4 | ||||
-rwxr-xr-x | source4/scripting/bin/minschema | 2 | ||||
-rw-r--r-- | source4/torture/basic/scanner.c | 6 |
5 files changed, 8 insertions, 8 deletions
diff --git a/source4/heimdal/lib/hx509/cert.c b/source4/heimdal/lib/hx509/cert.c index 70e57560377..921819bca73 100644 --- a/source4/heimdal/lib/hx509/cert.c +++ b/source4/heimdal/lib/hx509/cert.c @@ -836,7 +836,7 @@ check_key_usage(hx509_context context, const Certificate *cert, /* * Return 0 on matching key usage 'flags' for 'cert', otherwise return - * an error code. If 'req_present' the existance is required of the + * an error code. If 'req_present' the existence is required of the * KeyUsage extension. */ diff --git a/source4/heimdal/lib/krb5/creds.c b/source4/heimdal/lib/krb5/creds.c index 7ef8eb96095..08ed191b87a 100644 --- a/source4/heimdal/lib/krb5/creds.c +++ b/source4/heimdal/lib/krb5/creds.c @@ -193,7 +193,7 @@ krb5_times_equal(const krb5_times *a, const krb5_times *b) * - KRB5_TC_MATCH_TIMES Compares only the expiration times of the creds. * - KRB5_TC_MATCH_AUTHDATA Compares the authdata fields. * - KRB5_TC_MATCH_2ND_TKT Compares the second tickets (used by user-to-user authentication). - * - KRB5_TC_MATCH_IS_SKEY Compares the existance of the second ticket. + * - KRB5_TC_MATCH_IS_SKEY Compares the existence of the second ticket. * * @param context Kerberos 5 context. * @param whichfields which fields to compare. diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c index f053dad31ae..5d4504f7bf0 100644 --- a/source4/rpc_server/samr/samr_password.c +++ b/source4/rpc_server/samr/samr_password.c @@ -104,7 +104,7 @@ NTSTATUS dcesrv_samr_OemChangePasswordUser2(struct dcesrv_call_state *dce_call, "(&(sAMAccountName=%s)(objectclass=user))", ldb_binary_encode_string(mem_ctx, r->in.account->string)); if (ret != 1) { - /* Don't give the game away: (don't allow anonymous users to prove the existance of usernames) */ + /* Don't give the game away: (don't allow anonymous users to prove the existence of usernames) */ return NT_STATUS_WRONG_PASSWORD; } @@ -251,7 +251,7 @@ NTSTATUS dcesrv_samr_ChangePasswordUser3(struct dcesrv_call_state *dce_call, "(&(sAMAccountName=%s)(objectclass=user))", ldb_binary_encode_string(mem_ctx, r->in.account->string)); if (ret != 1) { - /* Don't give the game away: (don't allow anonymous users to prove the existance of usernames) */ + /* Don't give the game away: (don't allow anonymous users to prove the existence of usernames) */ status = NT_STATUS_WRONG_PASSWORD; goto failed; } diff --git a/source4/scripting/bin/minschema b/source4/scripting/bin/minschema index 1744f6cbc3a..f60538753e9 100755 --- a/source4/scripting/bin/minschema +++ b/source4/scripting/bin/minschema @@ -270,7 +270,7 @@ def find_objectclass_auto(ldb, o): def expand_objectclass(ldb, o): - """look at auxiliary information from a class to intuit the existance of + """look at auxiliary information from a class to intuit the existence of more classes needed for a minimal schema""" attrs = ["auxiliaryClass", "systemAuxiliaryClass", "possSuperiors", "systemPossSuperiors", diff --git a/source4/torture/basic/scanner.c b/source4/torture/basic/scanner.c index fa073b4283c..144b7d0e036 100644 --- a/source4/torture/basic/scanner.c +++ b/source4/torture/basic/scanner.c @@ -49,7 +49,7 @@ static void trans2_check_hit(const char *format, int op, int level, NTSTATUS sta } /**************************************************************************** -check for existance of a trans2 call +check for existence of a trans2 call ****************************************************************************/ static NTSTATUS try_trans2(struct smbcli_state *cli, int op, @@ -160,7 +160,7 @@ static bool trans2_op_exists(struct smbcli_state *cli, int op) } /**************************************************************************** -check for existance of a trans2 call +check for existence of a trans2 call ****************************************************************************/ static bool scan_trans2( struct smbcli_state *cli, int op, int level, @@ -434,7 +434,7 @@ static NTSTATUS try_nttrans_len(struct smbcli_state *cli, } /**************************************************************************** -check for existance of a nttrans call +check for existence of a nttrans call ****************************************************************************/ static bool scan_nttrans(struct smbcli_state *cli, int op, int level, int fnum, int dnum, const char *fname) |