summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwen Schillig <swen@linux.ibm.com>2019-01-07 15:07:22 +0100
committerJeremy Allison <jra@samba.org>2019-01-10 02:41:29 +0100
commite29cb5095b519cd12ecc1029b22a120f14d93db5 (patch)
tree690702fd0158483892b1d8762054fa98c48364b3
parent6e0acc7c3989dfd3842bc1509af7c1b854e71340 (diff)
downloadsamba-e29cb5095b519cd12ecc1029b22a120f14d93db5.tar.gz
Fix typos and ban the rams from sambatdb-1.3.17
Signed-off-by: Swen Schillig <swen@linux.ibm.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
-rw-r--r--lib/krb5_wrap/krb5_samba.c2
-rw-r--r--lib/tdb/include/tdb.h2
-rw-r--r--lib/tevent/tevent.h2
-rw-r--r--libgpo/gpo_util.c4
-rw-r--r--source3/include/libsmbclient.h4
-rw-r--r--source4/dsdb/samdb/ldb_modules/dirsync.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/extended_dn_out.c2
-rwxr-xr-xsource4/dsdb/tests/python/sec_descriptor.py2
8 files changed, 10 insertions, 10 deletions
diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c
index 840fbb10695..039de66c7c7 100644
--- a/lib/krb5_wrap/krb5_samba.c
+++ b/lib/krb5_wrap/krb5_samba.c
@@ -1659,7 +1659,7 @@ out:
* this is only set to false for encryption types
* which do not support salting like RC4.
*
- * @param[in] keep_old_entries Wether to keep or delte old keytab entries.
+ * @param[in] keep_old_entries Whether to keep or delete old keytab entries.
*
* @retval 0 on Success
*
diff --git a/lib/tdb/include/tdb.h b/lib/tdb/include/tdb.h
index 445f48c1fd9..825ceedd9b4 100644
--- a/lib/tdb/include/tdb.h
+++ b/lib/tdb/include/tdb.h
@@ -244,7 +244,7 @@ int tdb_reopen(struct tdb_context *tdb);
* improve performance on systems that keep POSIX locks as a non-scalable data
* structure in the kernel.
*
- * @param[in] parent_longlived Wether the parent is longlived or not.
+ * @param[in] parent_longlived Whether the parent is longlived or not.
*
* @return 0 on success, -1 on error.
*/
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
index 664604a06bd..c1ed85109d9 100644
--- a/lib/tevent/tevent.h
+++ b/lib/tevent/tevent.h
@@ -1907,7 +1907,7 @@ size_t tevent_queue_length(struct tevent_queue *queue);
*
* @param[in] queue The queue.
*
- * @return Wether the queue is running or not..
+ * @return Whether the queue is running or not..
*/
bool tevent_queue_running(struct tevent_queue *queue);
diff --git a/libgpo/gpo_util.c b/libgpo/gpo_util.c
index e90b9a3f244..6ad5c3b7f2f 100644
--- a/libgpo/gpo_util.c
+++ b/libgpo/gpo_util.c
@@ -469,7 +469,7 @@ NTSTATUS gpo_process_gpo_list(TALLOC_CTX *mem_ctx,
/****************************************************************
- check wether the version number in a GROUP_POLICY_OBJECT match those of the
+ check whether the version number in a GROUP_POLICY_OBJECT match those of the
locally stored version. If not, fetch the required policy via CIFS
****************************************************************/
@@ -555,7 +555,7 @@ NTSTATUS check_refresh_gpo(ADS_STRUCT *ads,
}
/****************************************************************
- check wether the version numbers in the gpo_list match the locally stored, if
+ check whether the version numbers in the gpo_list match the locally stored, if
not, go and get each required GPO via CIFS
****************************************************************/
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index 5e4a1715402..b045221f12b 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -2681,7 +2681,7 @@ int smbc_listxattr(const char *url,
* extended attributes
*
* @note This function always returns all attribute names supported
- * by NT file systems, regardless of wether the referenced
+ * by NT file systems, regardless of whether the referenced
* file system supports extended attributes (e.g. a Windows
* 2000 machine supports extended attributes if NTFS is used,
* but not if FAT is used, and Windows 98 doesn't support
@@ -2716,7 +2716,7 @@ int smbc_llistxattr(const char *url,
* extended attributes
*
* @note This function always returns all attribute names supported
- * by NT file systems, regardless of wether the referenced
+ * by NT file systems, regardless of whether the referenced
* file system supports extended attributes (e.g. a Windows
* 2000 machine supports extended attributes if NTFS is used,
* but not if FAT is used, and Windows 98 doesn't support
diff --git a/source4/dsdb/samdb/ldb_modules/dirsync.c b/source4/dsdb/samdb/ldb_modules/dirsync.c
index b5510eccd24..2a9895ae641 100644
--- a/source4/dsdb/samdb/ldb_modules/dirsync.c
+++ b/source4/dsdb/samdb/ldb_modules/dirsync.c
@@ -404,7 +404,7 @@ skip:
continue;
}
/* For links, when our functional level > windows 2000
- * we use the RMD_LOCAL_USN information to decide wether
+ * we use the RMD_LOCAL_USN information to decide whether
* we return the attribute or not.
* For windows 2000 this information is in the replPropertyMetaData
* so it will be handled like any other replicated attribute
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
index 014ae0a8f53..af4ad8b5d08 100644
--- a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
+++ b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
@@ -748,7 +748,7 @@ static int extended_dn_out_search(struct ldb_module *module, struct ldb_request
ac->extended_type = 0;
}
- /* check if attrs only is specified, in that case check wether we need to modify them */
+ /* check if attrs only is specified, in that case check whether we need to modify them */
if (req->op.search.attrs && !is_attr_in_list(req->op.search.attrs, "*")) {
if (! is_attr_in_list(req->op.search.attrs, "objectGUID")) {
ac->remove_guid = true;
diff --git a/source4/dsdb/tests/python/sec_descriptor.py b/source4/dsdb/tests/python/sec_descriptor.py
index a385c4e17ad..5e0f1453423 100755
--- a/source4/dsdb/tests/python/sec_descriptor.py
+++ b/source4/dsdb/tests/python/sec_descriptor.py
@@ -338,7 +338,7 @@ class OwnerGroupDescriptorTests(DescriptorTests):
self.deleteAll()
def check_user_belongs(self, user_dn, groups=[]):
- """ Test wether user is member of the expected group(s) """
+ """ Test whether user is member of the expected group(s) """
if groups != []:
# User is member of at least one additional group
res = self.ldb_admin.search(user_dn, attrs=["memberOf"])