Fix typos and ban the rams from samba tdb-1.3.17
authorSwen Schillig <swen@linux.ibm.com>
Mon, 7 Jan 2019 14:07:22 +0000 (15:07 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 10 Jan 2019 01:41:29 +0000 (02:41 +0100)
Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
lib/krb5_wrap/krb5_samba.c
lib/tdb/include/tdb.h
lib/tevent/tevent.h
libgpo/gpo_util.c
source3/include/libsmbclient.h
source4/dsdb/samdb/ldb_modules/dirsync.c
source4/dsdb/samdb/ldb_modules/extended_dn_out.c
source4/dsdb/tests/python/sec_descriptor.py

index 840fbb1069543f424092ef04e4ff1b4267f7240c..039de66c7c79fc7f3675b67f2482d831e9ab3c38 100644 (file)
@@ -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
  *
index 445f48c1fd93e244a895dc59de641b4da2824348..825ceedd9b443d3fb8daa64452a76a865b9ea467 100644 (file)
@@ -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.
  */
index 664604a06bd0d6fe1ef60878fbe47874253378bb..c1ed85109d9f99ec1997c985214b959ebb0243f9 100644 (file)
@@ -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);
 
index e90b9a3f244e7317335785e2ea890e12631283e0..6ad5c3b7f2fadae197d717968c4211b84fb46d9c 100644 (file)
@@ -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
  ****************************************************************/
 
index 5e4a1715402a4c6dff0638c3f08c0fe867785daf..b045221f12b685e6ca38f049470e9570a349637f 100644 (file)
@@ -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
index b5510eccd24673b8000d651213978c0c6323a136..2a9895ae641f4a7aa5bc83c69fdc7408930d9fb4 100644 (file)
@@ -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
index 014ae0a8f536a20e64fbf03daae772c374ba1a06..af4ad8b5d08db17b7b889f105666c34a9d1f1b95 100644 (file)
@@ -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;
index a385c4e17ada1db9c84ddfbfdeac66c659b76c12..5e0f1453423c064e074700ecb75c1181c2d88648 100755 (executable)
@@ -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"])