summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2017-02-18 08:56:18 +1300
committerGarming Sam <garming@samba.org>2017-02-22 08:26:22 +0100
commit5482e5426e09667d26e04dd0c6e0107e46e1028f (patch)
treea69bec2099127fff693724b18b23f43ff03d15b3
parent9f03cf91235641d017e31abc3856df994e6d1cf2 (diff)
downloadsamba-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>
-rw-r--r--docs-xml/smbdotconf/filename/hideunreadable.xml2
-rw-r--r--docs-xml/smbdotconf/filename/hideunwriteablefiles.xml2
-rw-r--r--source3/change-log4
-rw-r--r--source3/libsmb/clifile.c2
-rw-r--r--source3/registry/reg_objects.c4
-rw-r--r--source3/torture/scanner.c8
-rw-r--r--source4/heimdal/lib/hx509/cert.c2
-rw-r--r--source4/heimdal/lib/krb5/creds.c2
-rw-r--r--source4/rpc_server/samr/samr_password.c4
-rwxr-xr-xsource4/scripting/bin/minschema2
-rw-r--r--source4/torture/basic/scanner.c6
-rw-r--r--third_party/waf/wafadmin/Tools/msvc.py2
12 files changed, 20 insertions, 20 deletions
diff --git a/docs-xml/smbdotconf/filename/hideunreadable.xml b/docs-xml/smbdotconf/filename/hideunreadable.xml
index 361320c495f..080118ee61c 100644
--- a/docs-xml/smbdotconf/filename/hideunreadable.xml
+++ b/docs-xml/smbdotconf/filename/hideunreadable.xml
@@ -4,7 +4,7 @@
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This parameter prevents clients from seeing the
- existance of files that cannot be read. Defaults to off.</para>
+ existence of files that cannot be read. Defaults to off.</para>
<para>Please note that enabling this can slow down listing large
directories significantly. Samba has to evaluate the ACLs of all
directory members, which can be a lot of effort.</para>
diff --git a/docs-xml/smbdotconf/filename/hideunwriteablefiles.xml b/docs-xml/smbdotconf/filename/hideunwriteablefiles.xml
index 97a44f072d7..58c872e46ee 100644
--- a/docs-xml/smbdotconf/filename/hideunwriteablefiles.xml
+++ b/docs-xml/smbdotconf/filename/hideunwriteablefiles.xml
@@ -4,7 +4,7 @@
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>
- This parameter prevents clients from seeing the existance of files that cannot be written to.
+ This parameter prevents clients from seeing the existence of files that cannot be written to.
Defaults to off. Note that unwriteable directories are shown as usual.
</para>
<para>Please note that enabling this can slow down listing large
diff --git a/source3/change-log b/source3/change-log
index b614802724c..50caef1bc46 100644
--- a/source3/change-log
+++ b/source3/change-log
@@ -1173,7 +1173,7 @@ changes to samba. This change-log is now obsolete.
- added "revalidate" option
- added hosts allow/deny access check to messaging access
- added timeouts in the client
- - added check for existance of smbrun binary
+ - added check for existence of smbrun binary
- man page updates from Colin.Dean@Smallworld.co.uk
- freebsd patches from dfr@render.com
- added mask sanity check in SMBsearch
@@ -1845,7 +1845,7 @@ protocol drop back in client to avoid openX etc.
handle exported fat drives to a long filename capable client
-add check for existance of lpq commands etc (use stat?)
+add check for existence of lpq commands etc (use stat?)
get rid of the silly +4 and -4 by removing NBT stuff
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 03dd6407f60..6b32bf1ad4b 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -4020,7 +4020,7 @@ NTSTATUS cli_setatr(struct cli_state *cli,
}
/****************************************************************************
- Check for existance of a dir.
+ Check for existence of a dir.
****************************************************************************/
static void cli_chkpath_done(struct tevent_req *subreq);
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c
index 6375e09efdc..edafc920b11 100644
--- a/source3/registry/reg_objects.c
+++ b/source3/registry/reg_objects.c
@@ -275,7 +275,7 @@ WERROR regsubkey_ctr_delkey( struct regsubkey_ctr *ctr, const char *keyname )
}
/***********************************************************************
- Check for the existance of a key
+ Check for the existence of a key
**********************************************************************/
bool regsubkey_ctr_key_exists( struct regsubkey_ctr *ctr, const char *keyname )
@@ -392,7 +392,7 @@ struct regval_blob *regval_ctr_specific_value(struct regval_ctr *ctr,
}
/***********************************************************************
- Check for the existance of a value
+ Check for the existence of a value
**********************************************************************/
bool regval_ctr_value_exists(struct regval_ctr *ctr, const char *value)
diff --git a/source3/torture/scanner.c b/source3/torture/scanner.c
index f4c69c1f2ba..ad44f33dd9c 100644
--- a/source3/torture/scanner.c
+++ b/source3/torture/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 cli_state *cli,
int op,
@@ -114,7 +114,7 @@ static NTSTATUS try_trans2_len(struct cli_state *cli,
}
/****************************************************************************
-check for existance of a trans2 call
+check for existence of a trans2 call
****************************************************************************/
static bool scan_trans2(struct cli_state *cli, int op, int level,
int fnum, int dnum, const char *fname)
@@ -297,7 +297,7 @@ static void nttrans_check_hit(const char *format, int op, int level, NTSTATUS st
}
/****************************************************************************
-check for existance of a nttrans call
+check for existence of a nttrans call
****************************************************************************/
static NTSTATUS try_nttrans(struct cli_state *cli,
int op,
@@ -359,7 +359,7 @@ static NTSTATUS try_nttrans_len(struct cli_state *cli,
}
/****************************************************************************
-check for existance of a nttrans call
+check for existence of a nttrans call
****************************************************************************/
static bool scan_nttrans(struct cli_state *cli, int op, int level,
int fnum, int dnum, const char *fname)
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)
diff --git a/third_party/waf/wafadmin/Tools/msvc.py b/third_party/waf/wafadmin/Tools/msvc.py
index 72e7376c129..3b82d438bd4 100644
--- a/third_party/waf/wafadmin/Tools/msvc.py
+++ b/third_party/waf/wafadmin/Tools/msvc.py
@@ -373,7 +373,7 @@ def libname_msvc(self, libname, is_static=False, mandatory=False):
if lt_path != None and lt_libname != None:
if lt_static == True:
- # file existance check has been made by find_lt_names
+ # file existence check has been made by find_lt_names
return os.path.join(lt_path,lt_libname)
if lt_path != None: