Fix various spelling errors
authorMathieu Parent <math.parent@gmail.com>
Sun, 26 Jul 2015 21:02:57 +0000 (23:02 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 6 Nov 2015 12:43:45 +0000 (13:43 +0100)
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Nov  6 13:43:45 CET 2015 on sn-devel-104

82 files changed:
ctdb/client/ctdb_client.c
ctdb/common/rb_tree.c
ctdb/common/system_aix.c
ctdb/common/system_freebsd.c
ctdb/common/system_gnu.c
ctdb/common/system_kfreebsd.c
ctdb/common/system_linux.c
ctdb/config/events.d/10.interface
ctdb/config/statd-callout
ctdb/doc/ctdbd.1.xml
ctdb/doc/ctdbd.conf.5.xml
ctdb/packaging/RPM/ctdb.spec.in
ctdb/server/ctdb_call.c
ctdb/server/ctdb_daemon.c
ctdb/server/ctdb_ltdb_server.c
ctdb/server/ctdb_monitor.c
ctdb/server/ctdb_recoverd.c
ctdb/server/ctdb_server.c
ctdb/server/ctdb_takeover.c
ctdb/server/ctdb_update_record.c
ctdb/server/ctdb_vacuum.c
ctdb/utils/smnotify/smnotify.c
docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml
docs-xml/archives/THANKS
docs-xml/manpages/idmap_rfc2307.8.xml
docs-xml/manpages/net.8.xml
docs-xml/manpages/pam_winbind.8.xml
docs-xml/manpages/pam_winbind.conf.5.xml
docs-xml/manpages/pdbedit.8.xml
docs-xml/manpages/vfs_ceph.8.xml
docs-xml/manpages/vfs_shadow_copy2.8.xml
docs-xml/manpages/vfs_smb_traffic_analyzer.8.xml
docs-xml/manpages/wbinfo.1.xml
docs-xml/smbdotconf/logging/loglevel.xml
docs-xml/smbdotconf/misc/dosfiletimes.xml
docs-xml/smbdotconf/misc/rpcdaemon.xml
docs-xml/smbdotconf/misc/rpcserver.xml
docs-xml/smbdotconf/security/lanmanauth.xml
docs-xml/smbdotconf/security/serverrole.xml
docs-xml/smbdotconf/winbind/winbindofflinelogon.xml
docs-xml/using_samba/ch02.xml
docs-xml/using_samba/ch05.xml
lib/krb5_wrap/krb5_samba.c
lib/ldb/common/ldb_controls.c
lib/tdb/docs/mutex.txt
lib/util/debug.c
libgpo/gpo_ldap.c
nsswitch/wb_common.c
python/samba/netcmd/user.py
source3/client/clitar.c
source3/include/MacExtensions.h
source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
source3/lib/privileges.c
source3/lib/smbldap.c
source3/lib/util_sock.c
source3/libsmb/clireadwrite.c
source3/registry/reg_objects.c
source3/rpc_server/lsa/srv_lsa_nt.c
source3/smbd/open.c
source3/winbindd/winbindd_ads.c
source3/winbindd/winbindd_cache.c
source3/winbindd/winbindd_msrpc.c
source3/winbindd/winbindd_pam.c
source4/auth/kerberos/kerberos-notes.txt
source4/dsdb/samdb/ldb_modules/rootdse.c
source4/dsdb/samdb/ldb_modules/samldb.c
source4/dsdb/tests/python/acl.py
source4/echo_server/echo_server.c
source4/lib/wmi/wmi_wrap.c
source4/ntvfs/posix/python/pyposix_eadb.c
source4/ntvfs/posix/python/pyxattr_native.c
source4/ntvfs/posix/python/pyxattr_tdb.c
source4/rpc_server/spoolss/dcesrv_spoolss.c
source4/scripting/bin/samba_upgradeprovision
source4/torture/basic/misc.c
source4/torture/raw/pingpong.c
source4/torture/rpc/backupkey.c
source4/torture/rpc/spoolss.c
source4/torture/vfs/fruit.c
source4/utils/man/ntlm_auth4.1.xml
testprogs/win32/spoolss/README.win32
testprogs/win32/spoolss/testspoolss.c

index 765f4f61e3fe619a25029247595e23489a6162b1..c655ffd9eb46115942d86a4012ce849589e7328a 100644 (file)
@@ -1014,7 +1014,7 @@ static void ctdb_client_reply_control(struct ctdb_context *ctdb,
                                                 c->errorlen);
        }
 
-       /* state->outdata now uses resources from c so we dont want c
+       /* state->outdata now uses resources from c so we don't want c
           to just dissappear from under us while state is still alive
        */
        talloc_steal(state, c);
index 4b1ff97199e276eecc9565eff5f2c42e50aa7526..6b0982f5d759dd7b5ede7072fff634be0fa1a42d 100644 (file)
@@ -64,9 +64,9 @@ static int tree_destructor(trbt_tree_t *tree)
 
        /* traverse the tree and remove the node destructor and steal
           the node to the temporary context.
-          we dont want to use the existing destructor for the node
+          we don't want to use the existing destructor for the node
           since that will remove the nodes one by one from the tree.
-          since the entire tree will be completely destroyed we dont care
+          since the entire tree will be completely destroyed we don't care
           if it is inconsistent or unbalanced while freeing the
           individual nodes
        */
@@ -504,7 +504,7 @@ delete_node(trbt_node_t *node, bool from_destructor)
           Once the delete of the node is finished, we remove this dummy
           node, which is simple to do since it is guaranteed that it will
           still not have any children after the delete operation.
-          This is because we dont represent the leaf-nodes as actual nodes
+          This is because we don't represent the leaf-nodes as actual nodes
           in this implementation.
         */
        if (!child) {
index e2b6536962d565aff4ade9b23912862cde945b2f..141e89107b7eb3033cdbfc19913c280183f07be4 100644 (file)
@@ -212,7 +212,7 @@ int ctdb_sys_close_capture_socket(void *private_data)
  */
 int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
 {
-       /* FIXME AIX: We dont do gratuitous arp yet */
+       /* FIXME AIX: We don't do gratuitous arp yet */
        return -1;
 }
 
index 320941f7ee28161f03c31e4571fca1dc4006d127..b8f3fbeab08fa262860082f2660bc202927cd2d8 100644 (file)
@@ -81,7 +81,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
  */
 int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
 {
-       /* FIXME FreeBSD: We dont do gratuitous arp yet */
+       /* FIXME FreeBSD: We don't do gratuitous arp yet */
        return -1;
 }
 
@@ -220,7 +220,7 @@ int ctdb_sys_send_tcp(const ctdb_sock_addr *dest,
                        return -1;
 
                }
-               /* sendto() dont like if the port is set and the socket is
+               /* sendto() don't like if the port is set and the socket is
                   in raw mode.
                */
                tmpdest = discard_const(dest);
index f38e622b3c85dd2f3af5cd8e0f6eeb8653df5d35..ec7986210bdbb274524441f3ec573c7d4ad0a86b 100644 (file)
@@ -80,7 +80,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
  */
 int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
 {
-       /* FIXME GNU/Hurd: We dont do gratuitous arp yet */
+       /* FIXME GNU/Hurd: We don't do gratuitous arp yet */
        return -1;
 }
 
@@ -215,7 +215,7 @@ int ctdb_sys_send_tcp(const ctdb_sock_addr *dest,
                        return -1;
 
                }
-               /* sendto() dont like if the port is set and the socket is
+               /* sendto() don't like if the port is set and the socket is
                   in raw mode.
                */
                tmpdest = discard_const(dest);
index f4ecc289b221175c0238020a74ff9394e6e733f9..cc478e8d9dc12b983f6e485d8354e79bae464d36 100644 (file)
@@ -80,7 +80,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
  */
 int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
 {
-       /* FIXME kFreeBSD: We dont do gratuitous arp yet */
+       /* FIXME kFreeBSD: We don't do gratuitous arp yet */
        return -1;
 }
 
@@ -215,7 +215,7 @@ int ctdb_sys_send_tcp(const ctdb_sock_addr *dest,
                        return -1;
 
                }
-               /* sendto() dont like if the port is set and the socket is
+               /* sendto() don't like if the port is set and the socket is
                   in raw mode.
                */
                tmpdest = discard_const(dest);
index d8a6e68462c13d272123cb7e9b1d5da46bf74238..1a36b1221c0fcea906f254809b110a1d8236eb9b 100644 (file)
@@ -419,7 +419,7 @@ int ctdb_sys_send_tcp(const ctdb_sock_addr *dest,
                        return -1;
 
                }
-               /* sendto() dont like if the port is set and the socket is
+               /* sendto() don't like if the port is set and the socket is
                   in raw mode.
                */
                tmpdest = discard_const(dest);
@@ -577,7 +577,7 @@ bool ctdb_sys_check_iface_exists(const char *iface)
 
        s = socket(PF_PACKET, SOCK_RAW, 0);
        if (s == -1){
-               /* We dont know if the interface exists, so assume yes */
+               /* We don't know if the interface exists, so assume yes */
                DEBUG(DEBUG_CRIT,(__location__ " failed to open raw socket\n"));
                return true;
        }
index acc0fc82ddc2f4b8573fc6606ad0e738ce1084f3..045a1cfbf0d535a7757cb3825d618b1fcda2875d 100755 (executable)
@@ -130,7 +130,7 @@ monitor_interfaces()
                mark_up $iface
                ;;
            ib*)
-               # we dont know how to test ib links
+               # we don't know how to test ib links
                mark_up $iface
                ;;
            *)
index e2f4c281781b52bfb8e0be2d12145f4e64a76215..f56e50f019aedba73bab17241aa0eb0d5eb02508 100755 (executable)
@@ -93,7 +93,7 @@ case "$1" in
 
     notify)
        # we must restart the lockmanager (on all nodes) so that we get
-       # a clusterwide grace period (so other clients dont take out
+       # a clusterwide grace period (so other clients don't take out
        # conflicting locks through other nodes before all locks have been
        # reclaimed)
 
@@ -103,7 +103,7 @@ case "$1" in
        #echo 0 > /proc/sys/net/ipv4/tcp_max_tw_buckets
        #echo 0 > /proc/sys/net/ipv4/tcp_max_orphans
 
-       # Delete the notification list for statd, we dont want it to 
+       # Delete the notification list for statd, we don't want it to 
        # ping any clients
        rm -f /var/lib/nfs/statd/sm/*
        rm -f /var/lib/nfs/statd/sm.bak/*
index 916585ca58f7ff02763f15a7c175c9940ec7c1e2..ae61792bcfd72f161ed45acd46ee03f2f59e9cf1 100644 (file)
        <listitem>
          <para>
            IPADDR specifies the single IP that CTDB will use in
-           conjuction with LVS.
+           conjunction with LVS.
          </para>
          <para>
            Please see the <citetitle>LVS</citetitle> section in
index 6a6007fb5c96fd52fe10789049b5d8c5225ec2b3..15ee7467d3932da575cef66ae7547d42bb4f30d8 100644 (file)
          </para>
          <para>
            If you change this then you probably want to set this in
-           root's enviroment (perhaps in a file in
+           root's environment (perhaps in a file in
            <filename>/etc/profile.d</filename>) so that you can use
            the <citerefentry><refentrytitle>ctdb</refentrytitle>
            <manvolnum>1</manvolnum></citerefentry> command in a
index 00e7f17c23257acdd38971293de45d9a4af8dae8..9985dfe61bbc26f0a72c6998b69851fe008c46c8 100644 (file)
@@ -277,7 +277,7 @@ Performance Co-Pilot (PCP) support for CTDB
 * Tue Nov 8 2011 : Version 1.12
  - Add new tunable : AllowClientDBAttach that can be used to stop
    client db access during maintenance operations
- - Updated logging for interfaces that are missing or dont exist but are
+ - Updated logging for interfaces that are missing or don't exist but are
    configured to be used.
  - Add timeout argument to ctdb_cmdline_client
  - PDMA support
@@ -343,7 +343,7 @@ Performance Co-Pilot (PCP) support for CTDB
    just do a less disruptive ip-reallocation
  - When starting ctdbd, wait until all initial recoveries have finished 
    before we issue the "startup" event.
-   So dont start services or monitoring until the cluster has
+   So don't start services or monitoring until the cluster has
    stabilized.
  - Major eventscript overhaul by Ronnie, Rusty and Martins and fixes of a few
    bugs found.
@@ -392,14 +392,14 @@ Performance Co-Pilot (PCP) support for CTDB
    "time since last ..." if from either the last recovery OR the last failover
  - Michael A: transaction updates
 * Wed Oct 28 2009 : Version 1.0.101
- - create a separate context for non-monitoring events so they dont interfere with the monitor event
+ - create a separate context for non-monitoring events so they don't interfere with the monitor event
  - make sure to return status 0 in teh callback when we abort an event
 * Wed Oct 28 2009 : Version 1.0.100
  - Change eventscript handling to allow EventScriptTimeout for each individual script instead of for all scripts as a whole.
  - Enhanced logging from the eventscripts, log the name and the duration for each script as it finishes.
  - Add a check to use wbinfo -t for the startup event of samba
  - TEMP: allow clients to attach to databases even when teh node is in recovery mode
- - dont run the monitor event as frequently after an event has failed
+ - don't run the monitor event as frequently after an event has failed
  - DEBUG: in the eventloops, check the local time and warn if the time changes backward or rapidly forward
  - From Metze, fix a bug where recovery master becoming unhealthy did not trigger an ip failover.
  - Disable the multipath script by default
@@ -411,7 +411,7 @@ Performance Co-Pilot (PCP) support for CTDB
  - Fix a SEGV in the new db priority code.
  - From Wolfgang : eliminate a ctdb_fatal() if there is a dmaster violation detected.
  - During testing we often add/delete eventscripts at runtime. This could cause an eventscript to fail and mark the node unhealthy if an eventscript was deleted while we were listing the names. Handle the errorcode and make sure the node does not becomne unhealthy in this case.
- - Lower the debuglevel for the messages when ctdb creates a filedescruiptor so we dont spam the logs with these messages.
+ - Lower the debuglevel for the messages when ctdb creates a filedescruiptor so we don't spam the logs with these messages.
  - Dont have the RPM automatically restart ctdb
  - Volker : add a missing transaction_cancel() in the handling of persistent databases
  - Treat interfaces with the anme ethX* as bond devices in 10.interfaces so we do the correct test for if they are up or not.
@@ -434,7 +434,7 @@ Performance Co-Pilot (PCP) support for CTDB
  - Add more debugging output when eventscripts have trouble. Print a 
    "pstree -p" to the log when scripts have hung.
  - Update the initscript,  only print the "No reclock file used" warning
-   when we do "service ctdb start", dont also print them for all other
+   when we do "service ctdb start", don't also print them for all other
    actions.
  - When changing between unhealthy/healthy state, push a request to the
    recovery master to perform an ip reallocation   instead of waiting for the
@@ -477,7 +477,7 @@ Performance Co-Pilot (PCP) support for CTDB
  - Add machinereadable output to the ctdb getreclock command
  - merge transaction updates from Michael Adam
  - In the new banning code, reset the culprit count to 0 for all nodes that could successfully compelte a full recovery.
- - dont mark the recovery master as a ban culprit because a node in the cluster needs a recovery. this happens naturally when using ctdb recover command so dont make this cause a node to be banned.
+ - don't mark the recovery master as a ban culprit because a node in the cluster needs a recovery. this happens naturally when using ctdb recover command so dont make this cause a node to be banned.
 * Sat Sep 12 2009 : Version 1.0.90
  - Be more forgiving for eventscripts that hang during startup
  - Fix for a banning bug in the new banning logic
@@ -565,7 +565,7 @@ Performance Co-Pilot (PCP) support for CTDB
  - When building initial vnnmap, ignode any nonexisting nodes
  - Add a new nodestate : DELETED that is used when deleting a node from an
    existing cluster.
- - dont remove the ctdb socket when shutting down. This prevents a race in the
+ - don't remove the ctdb socket when shutting down. This prevents a race in the
    initscripts when restarting ctdb quickly after stopping it.
  - TDB nesting reworked.
  - Remove obsolete ipmux
@@ -612,7 +612,7 @@ Performance Co-Pilot (PCP) support for CTDB
  - if we can not pull a database from a remote node during recovery, mark that node as a culprit so it becomes banned
  - increase the loglevel when we volunteer to drop all ip addresses after beeing in recovery mode for too long. Make this timeout tuneable with "RecoveryDropAllIPs" and have it default to 60 seconds
  - Add a new flag TDB_NO_NESTING to the tdb layer to prevent nested transactions which ctdb does not use and does not expect. Have ctdb set this flag to prevent nested transactions from occuring.
- - dont unconditionally kill off ctdb and restrat it on "service ctdb start". Fail "service ctdb start" with an error if ctdb is already running.
+ - don't unconditionally kill off ctdb and restrat it on "service ctdb start". Fail "service ctdb start" with an error if ctdb is already running.
  - Add a new tunable "VerifyRecoveryLock" that can be set to 0 to prevent the main ctdb daemon to verify that the recovery master has locked the reclock file correctly before allowing it to set the recovery mode to active.
  - fix a cosmetic bug with ctdb statistics where certain counters could become negative.
 * Wed Apr 8 2009 : Version 1.0.79
@@ -621,7 +621,7 @@ Performance Co-Pilot (PCP) support for CTDB
  - add a funciton remove_ip to safely remove an ip from an interface, taking care to workaround an issue with linux alias interfaces.
  - Update the natgw eventscript to use the safe remove_ip() function
  - fix a bug in the eventscript child process that would cause the socket to be removed.
- - dont verify nodemap on banned nodes during cluster monitoring
+ - don't verify nodemap on banned nodes during cluster monitoring
  - Update the dodgy SeqnumInterval to have ms resolution
 * Tue Mar 31 2009 : Version 1.0.78
  - Add a notify mechanism so we can send snmptraps/email to external management systems when the node becomes unhealthy
@@ -799,7 +799,7 @@ Performance Co-Pilot (PCP) support for CTDB
 * Fri Jul 18 2008 : Version 1.0.50
  - Dont assume that just because we can establish a TCP connection
    that we are actually talking to a functioning ctdb daemon.
-   So dont mark the node as CONNECTED just because the tcp handshake
+   So don't mark the node as CONNECTED just because the tcp handshake
    was successful.
  - Dont try to set the recmaster to ourself during elections for those
    cases we know this will fail. To remove some annoying benign but scary
@@ -867,7 +867,7 @@ Performance Co-Pilot (PCP) support for CTDB
  - zero out ctdb->freeze_handle when we free/destroy a freeze-child.
    This prevent a heap corruption/ctdb crash bug that could trigger
    if the freeze child times out.
- - we dont need to explicitely thaw the databases from the recovery daemon
+ - we don't need to explicitely thaw the databases from the recovery daemon
    since this is done implicitely when we restore the recovery mode back to normal.
  - track when we start and stop a recovery. Add the 'time it took to complete the
    recovery' to the 'ctdb uptime' output.
index 78c8573ca32788e1be8d1d3c863a63c6bab050c1..7b479d6f406a40dd95a45437bd4945133bb4e0a1 100644 (file)
@@ -964,7 +964,7 @@ void ctdb_request_call(struct ctdb_context *ctdb, struct ctdb_req_header *hdr)
                return;
        }
 
-       /* Dont do READONLY if we dont have a tracking database */
+       /* Dont do READONLY if we don't have a tracking database */
        if ((c->flags & CTDB_WANT_READONLY) && !ctdb_db->readonly) {
                c->flags &= ~CTDB_WANT_READONLY;
        }
index 7d2c186a0f77ea7d67d43629549c6160107cfa4b..41fc5e47c4ba0810a77ac96cae1525b8801f8c63 100644 (file)
@@ -676,7 +676,7 @@ static void daemon_request_call_from_client(struct ctdb_client *client,
                }
        }
 
-       /* Dont do READONLY if we dont have a tracking database */
+       /* Dont do READONLY if we don't have a tracking database */
        if ((c->flags & CTDB_WANT_READONLY) && !ctdb_db->readonly) {
                c->flags &= ~CTDB_WANT_READONLY;
        }
index 585135817b25ebd68634882aacbfaf38dee1be00..c5c60e9d31f32cc969f241832d5b3b5ec19b51ef 100644 (file)
@@ -1108,7 +1108,7 @@ int32_t ctdb_control_db_attach(struct ctdb_context *ctdb, TDB_DATA indata,
                return -1;
        }
 
-       /* dont allow any local clients to attach while we are in recovery mode
+       /* don't allow any local clients to attach while we are in recovery mode
         * except for the recovery daemon.
         * allow all attach from the network since these are always from remote
         * recovery daemons.
index ecf1f0d387eb2ade49b53d36a3dd28e6b3068f90..1420b5256f3e753de6e65c58763f139b0bee4600 100644 (file)
@@ -486,7 +486,7 @@ int32_t ctdb_control_modflags(struct ctdb_context *ctdb, TDB_DATA indata)
        node->flags   = c->new_flags & ~NODE_FLAGS_DISCONNECTED;
        node->flags  |= (c->old_flags & NODE_FLAGS_DISCONNECTED);
 
-       /* we dont let other nodes modify our STOPPED status */
+       /* we don't let other nodes modify our STOPPED status */
        if (c->pnn == ctdb->pnn) {
                node->flags &= ~NODE_FLAGS_STOPPED;
                if (old_flags & NODE_FLAGS_STOPPED) {
@@ -494,7 +494,7 @@ int32_t ctdb_control_modflags(struct ctdb_context *ctdb, TDB_DATA indata)
                }
        }
 
-       /* we dont let other nodes modify our BANNED status */
+       /* we don't let other nodes modify our BANNED status */
        if (c->pnn == ctdb->pnn) {
                node->flags &= ~NODE_FLAGS_BANNED;
                if (old_flags & NODE_FLAGS_BANNED) {
index 9273fe8ad51e5e76bdc4b7c0879038e6bed3ac3e..66786f30e4e421043cf53ff96c3ea76301c147d5 100644 (file)
@@ -605,11 +605,11 @@ static int create_missing_remote_databases(struct ctdb_context *ctdb, struct ctd
 
        /* verify that all other nodes have all our databases */
        for (j=0; j<nodemap->num; j++) {
-               /* we dont need to ourself ourselves */
+               /* we don't need to ourself ourselves */
                if (nodemap->nodes[j].pnn == pnn) {
                        continue;
                }
-               /* dont check nodes that are unavailable */
+               /* don't check nodes that are unavailable */
                if (nodemap->nodes[j].flags & NODE_FLAGS_INACTIVE) {
                        continue;
                }
@@ -669,11 +669,11 @@ static int create_missing_local_databases(struct ctdb_context *ctdb, struct ctdb
 
        /* verify that we have all database any other node has */
        for (j=0; j<nodemap->num; j++) {
-               /* we dont need to ourself ourselves */
+               /* we don't need to ourself ourselves */
                if (nodemap->nodes[j].pnn == pnn) {
                        continue;
                }
-               /* dont check nodes that are unavailable */
+               /* don't check nodes that are unavailable */
                if (nodemap->nodes[j].flags & NODE_FLAGS_INACTIVE) {
                        continue;
                }
@@ -947,7 +947,7 @@ static int pull_remote_database(struct ctdb_context *ctdb,
           (this merges based on rsn)
        */
        for (j=0; j<nodemap->num; j++) {
-               /* dont merge from nodes that are unavailable */
+               /* don't merge from nodes that are unavailable */
                if (nodemap->nodes[j].flags & NODE_FLAGS_INACTIVE) {
                        continue;
                }
@@ -989,7 +989,7 @@ static int update_vnnmap_on_all_nodes(struct ctdb_context *ctdb, struct ctdb_nod
 
        /* push the new vnn map out to all the nodes */
        for (j=0; j<nodemap->num; j++) {
-               /* dont push to nodes that are unavailable */
+               /* don't push to nodes that are unavailable */
                if (nodemap->nodes[j].flags & NODE_FLAGS_INACTIVE) {
                        continue;
                }
@@ -1792,7 +1792,7 @@ static bool do_takeover_run(struct ctdb_recoverd *rec,
                if (ctdb_client_send_message(rec->ctdb, nodes[i],
                                             CTDB_SRVID_DISABLE_TAKEOVER_RUNS,
                                             data) != 0) {
-                       DEBUG(DEBUG_INFO,("Failed to reenable takeover runs\n"));
+                       DEBUG(DEBUG_INFO,("Failed to re-enable takeover runs\n"));
                }
        }
 
@@ -2410,7 +2410,7 @@ static bool ctdb_election_win(struct ctdb_recoverd *rec, struct election_message
 
        ctdb_election_data(rec, &myem);
 
-       /* we cant win if we dont have the recmaster capability */
+       /* we cant win if we don't have the recmaster capability */
        if ((rec->ctdb->capabilities & CTDB_CAP_RECMASTER) == 0) {
                return false;
        }
@@ -3371,7 +3371,7 @@ static int verify_local_ip_allocation(struct ctdb_context *ctdb, struct ctdb_rec
        }
 
        /* verify that we have the ip addresses we should have
-          and we dont have ones we shouldnt have.
+          and we don't have ones we shouldnt have.
           if we find an inconsistency we set recmode to
           active on the local node and wait for the recmaster
           to do a full blown recovery.
index 98e483c4cb47d015eadfd4e706baea9ed2494b74..521f553b11ca2e96b78c0508390d83278e52a202 100644 (file)
@@ -213,7 +213,7 @@ void ctdb_input_pkt(struct ctdb_context *ctdb, struct ctdb_req_header *hdr)
        case CTDB_REPLY_CALL:
        case CTDB_REQ_DMASTER:
        case CTDB_REPLY_DMASTER:
-               /* we dont allow these calls when banned */
+               /* we don't allow these calls when banned */
                if (ctdb->nodes[ctdb->pnn]->flags & NODE_FLAGS_BANNED) {
                        DEBUG(DEBUG_DEBUG,(__location__ " ctdb operation %u"
                                " request %u"
index a4175578679ea7c222ce81085ca08edd16821f1d..6462de8aa4348c8386e59f790013be6ba9e2ffe7 100644 (file)
@@ -73,7 +73,7 @@ static int ctdb_add_local_iface(struct ctdb_context *ctdb, const char *iface)
 {
        struct ctdb_interface *i;
 
-       /* Verify that we dont have an entry for this ip yet */
+       /* Verify that we don't have an entry for this ip yet */
        for (i=ctdb->ifaces;i;i=i->next) {
                if (strcmp(i->name, iface) == 0) {
                        return 0;
@@ -1059,7 +1059,7 @@ static int ctdb_add_public_address(struct ctdb_context *ctdb,
        }
        free(tmp);
 
-       /* Verify that we dont have an entry for this ip yet */
+       /* Verify that we don't have an entry for this ip yet */
        for (vnn=ctdb->vnn;vnn;vnn=vnn->next) {
                if (ctdb_same_sockaddr(addr, &vnn->public_address)) {
                        DEBUG(DEBUG_CRIT,("Same ip '%s' specified multiple times in the public address list \n", 
@@ -2658,7 +2658,7 @@ int ctdb_takeover_run(struct ctdb_context *ctdb, struct ctdb_node_map_old *nodem
                for (tmp_ip=all_ips;tmp_ip;tmp_ip=tmp_ip->next) {
                        if (tmp_ip->pnn == nodemap->nodes[i].pnn) {
                                /* This node should be serving this
-                                  vnn so dont tell it to release the ip
+                                  vnn so don't tell it to release the ip
                                */
                                continue;
                        }
@@ -3040,7 +3040,7 @@ static void ctdb_remove_connection(struct ctdb_context *ctdb, struct ctdb_connec
        }
 
        /* if the array is empty we cant remove it
-          and we dont need to do anything
+          and we don't need to do anything
         */
        if (vnn->tcp_array == NULL) {
                DEBUG(DEBUG_INFO,("Trying to remove tickle that doesnt exist (array is empty) %s:%u\n",
@@ -3051,7 +3051,7 @@ static void ctdb_remove_connection(struct ctdb_context *ctdb, struct ctdb_connec
 
 
        /* See if we know this connection
-          if we dont know this connection  then we dont need to do anything
+          if we don't know this connection  then we dont need to do anything
         */
        tcpp = ctdb_tcp_find(vnn->tcp_array, conn);
        if (tcpp == NULL) {
@@ -3607,7 +3607,7 @@ static int ctdb_killtcp_destructor(struct ctdb_kill_tcp *killtcp)
 /* nothing fancy here, just unconditionally replace any existing
    connection structure with the new one.
 
-   dont even free the old one if it did exist, that one is talloc_stolen
+   don't even free the old one if it did exist, that one is talloc_stolen
    by the same node in the tree anyway and will be deleted when the new data 
    is deleted
 */
@@ -3684,7 +3684,7 @@ static int ctdb_killtcp_add_connection(struct ctdb_context *ctdb,
                        add_killtcp_callback, con);
 
        /* 
-          If we dont have a socket to listen on yet we must create it
+          If we don't have a socket to listen on yet we must create it
         */
        if (killtcp->capture_fd == -1) {
                const char *iface = ctdb_vnn_iface_string(vnn);
@@ -4227,7 +4227,7 @@ int verify_remote_ip_allocation(struct ctdb_context *ctdb,
        int i;
 
        if (ctdb->ip_tree == NULL) {
-               /* dont know the expected allocation yet, assume remote node
+               /* don't know the expected allocation yet, assume remote node
                   is correct. */
                return 0;
        }
index 410ee125ed53147fccf2271aead6c7638169c786..1ecb089940ed9cb926b3af02177fd3b3e4af8090 100644 (file)
@@ -43,7 +43,7 @@ struct ctdb_persistent_write_state {
        uint32_t flags;
 };
 
-/* dont create/update records that does not exist locally */
+/* don't create/update records that does not exist locally */
 #define UPDATE_FLAGS_REPLACE_ONLY      1
 
 /*
index e9138f23051861900a27532f580e44ed96ce6133..a95671e375a8eebb671e55289e9f7e78e952bfcc 100644 (file)
@@ -1442,7 +1442,7 @@ static void ctdb_vacuum_event(struct tevent_context *ev,
        struct tevent_fd *fde;
        int ret;
 
-       /* we dont vacuum if we are in recovery mode, or db frozen */
+       /* we don't vacuum if we are in recovery mode, or db frozen */
        if (ctdb->recovery_mode == CTDB_RECOVERY_ACTIVE ||
            ctdb->freeze_mode[ctdb_db->priority] != CTDB_FREEZE_NONE) {
                DEBUG(DEBUG_INFO, ("Not vacuuming %s (%s)\n", ctdb_db->db_name,
@@ -1745,7 +1745,7 @@ int32_t ctdb_local_schedule_for_deletion(struct ctdb_db_context *ctdb_db,
                return ret;
        }
 
-       /* if we dont have a connection to the daemon we can not send
+       /* if we don't have a connection to the daemon we can not send
           a control. For example sometimes from update_record control child
           process.
        */
index d7fd54626e24c63214a4945c8e6894fabd717126..fa584ff7ea12cfd2ece2ec03935916b137e571a5 100644 (file)
@@ -137,7 +137,7 @@ int main(int argc, const char *argv[])
                exit(10);
        }
 
-       /* we dont want to wait for any reply */
+       /* we don't want to wait for any reply */
        w.tv_sec = 0;
        w.tv_usec = 0;
        clnt_control(clnt, CLSET_TIMEOUT, (char *)&w);
index e301489a255e8111f135742b12d9e835af3a6ad8..9335f51be5501fccef8f56e9c1311eec6a34de6f 100644 (file)
@@ -1566,7 +1566,7 @@ refuse machine password change
                        <listitem><para>maximum password age = 90 days.</para></listitem>
                        <listitem><para>minimum password age = 7 days.</para></listitem>
                        <listitem><para>bad lockout attempt = 8 bad logon attempts.</para></listitem>
-                       <listitem><para>lockout duration = forever, account must be manually reenabled.</para></listitem>
+                       <listitem><para>lockout duration = forever, account must be manually re-enabled.</para></listitem>
                </orderedlist>
 
                <para>
index 37ecc99eebb95102a7113d6445b06eb4c779e37f..991cb6db45b91e1e27b0345728593a4a11375218 100644 (file)
@@ -112,7 +112,7 @@ John Terpstra (jht@aquasoft.com.au)
         of Samba.
 
         The donation of the new PC will make it possible to more fully
-        diagnose and observe the behaviour of Samba in conjuction with
+        diagnose and observe the behaviour of Samba in conjunction with
         other SMB protocol utilising systems.
 
 
index a502db2bd417b261d2a866cd434ef006946990dd..095e035b0f987a99ead33f20f03e384d05984265 100644 (file)
@@ -97,7 +97,7 @@
                <varlistentry>
                        <term>ldap_domain</term>
                        <listitem><para>When using the LDAP server in
-                       the Active Directory server, this allows to
+                       the Active Directory server, this allows one to
                        specify the domain where to access the Active
                        Directory server. This allows using trust
                        relationships while keeping all RFC 2307
index f459bf46503ae7cc500b384bc0f7eecc3b03c8e9..728fd662aa3b28f23f133fd9a8336f5aab3d5f1c 100644 (file)
                <term>--single-obj-repl</term>
                <listitem><para>
                                When calling "net rpc vampire keytab" this option
-                               allows to replicate just a single object to the generated keytab file.
+                               allows one to replicate just a single object to the generated keytab file.
                </para></listitem>
                </varlistentry>
 
                <term>--clean-old-entries</term>
                <listitem><para>
                                When calling "net rpc vampire keytab" this option
-                               allows to cleanup old entries from the generated keytab file.
+                               allows one to cleanup old entries from the generated keytab file.
                </para></listitem>
                </varlistentry>
 
 
                <varlistentry>
                <term>-X|--exclude DIRECTORY</term>
-               <listitem><para>Allows to exclude directories when copying with "net rpc share migrate".
+               <listitem><para>Allows one to exclude directories when copying with "net rpc share migrate".
                </para></listitem>
                </varlistentry>
 
@@ -1354,7 +1354,7 @@ to show in the result.
 </para>
 
 <para>
-       This attribute allows to control which Kerberos encryption types are used for the generation of initial and service tickets. The value consists of an integer bitmask with the following values:
+       This attribute allows one to control which Kerberos encryption types are used for the generation of initial and service tickets. The value consists of an integer bitmask with the following values:
 </para>
 
 <para>0x00000001 DES-CBC-CRC</para>
@@ -1380,7 +1380,7 @@ to show in the result.
        <title>ADS ENCTYPES SET <replaceable>&lt;ACCOUNTNAME&gt;</replaceable> <replaceable>[enctypes]</replaceable></title>
 
 <para>
-       Set the value of the "msDS-SupportedEncryptionTypes" attribute of the LDAP object of ACCOUNTNAME to a given value. If the value is ommitted, the value is set to 31 which enables all the currently supported encryption types.
+       Set the value of the "msDS-SupportedEncryptionTypes" attribute of the LDAP object of ACCOUNTNAME to a given value. If the value is omitted, the value is set to 31 which enables all the currently supported encryption types.
 </para>
 
 <para>Example: <userinput>net ads enctypes set Computername 24</userinput></para>
index 9bab9cabd4c2052f1d22ac5e7f27a38dfe15b646..e07e610c9d4e1b3990fb50988bdd44c57acf4c78 100644 (file)
                <varlistentry>
                <term>cached_login</term>
                <listitem><para>
-               Winbind allows to logon using cached credentials when <parameter>winbind offline logon</parameter> is enabled. To use this feature from the PAM module this option must be set.
+               Winbind allows one to logon using cached credentials when <parameter>winbind offline logon</parameter> is enabled. To use this feature from the PAM module this option must be set.
                </para></listitem>
                </varlistentry>
 
index da681e7cb6225b655d8e18e0b61c3864d2961164..4fdf985c0326ffe5ea479aa0da49d325ef103a4a 100644 (file)
                <varlistentry>
                <term>cached_login = yes|no</term>
                <listitem><para>
-               Winbind allows to logon using cached credentials when <parameter>winbind offline logon</parameter> is enabled. To use this feature from the PAM module this option must be set. Defaults to "no".
+               Winbind allows one to logon using cached credentials when <parameter>winbind offline logon</parameter> is enabled. To use this feature from the PAM module this option must be set. Defaults to "no".
                </para></listitem>
                </varlistentry>
 
index 6ed03993d38c0b880ce1ffc38336b6e7dbace4ff..413e0e4c41e283a53c18205f05f13da7a1c09b49 100644 (file)
@@ -428,7 +428,7 @@ account policy value for bad lockout attempt is now 3
                then <parameter>-i in-backend -e out-backend</parameter>
                applies to the account policies instead of the user database.</para>
 
-               <para>This option will allow to migrate account policies from their default
+               <para>This option will allow one to migrate account policies from their default
                tdb-store into a passdb backend, e.g. an LDAP directory server.</para>
 
                <para>Example: <command>pdbedit -y -i tdbsam: -e ldapsam:ldap://my.ldap.host</command></para>
index d250509e479b12714771e7dc02b6d91025bde07d..77e35f32cc0aeb591307da0e599259b1b88bd92c 100644 (file)
@@ -74,7 +74,7 @@
                <term>ceph:config_file = path</term>
                <listitem>
                <para>
-                       Allows to define a ceph configfile to use. Empty by default.
+                       Allows one to define a ceph configfile to use. Empty by default.
                </para>
                <para>
                        Example: ceph:config_file =
index 0cf1e5400a5795e27894b29c2a4476d8ee069e07..dc16d5d8049ca3a14401e2c6372993feac544ad9 100644 (file)
                </term>
                 <listitem>
                <para>
-               The basedir option allows to specify a directory
+               The basedir option allows one to specify a directory
                between the share's mount point and the share root,
                relative to which the file system's snapshots are taken.
                </para>
                <term>shadow:sscanf = yes/no</term>
                <listitem>
                <para>
-               This paramter can be used to specify that the time in
+               This parameter can be used to specify that the time in
                format string is given as an unsigned long integer (%lu)
                rather than a time strptime() can parse.
                The result must be a unix time_t time.
index 3cdc813c6fecb8f3f3684747b20e6c6239200c25..f441a3616020b945d0024a5198dcddf3c1dec5b2 100644 (file)
 </refsect1>
 <refsect1>
        <title>Version 2 of the protocol</title>
-       <para>Protocol version 2 is an approach to solve the problems introduced with protcol v1.
+       <para>Protocol version 2 is an approach to solve the problems introduced with protocol  v1.
        From the users perspective, the following changes are most prominent among other enhancements:
        </para>
        <itemizedlist>
index ee1d9934e7d982e33f8d916334b94f4dca2a3162..77c60833a3e92f9b543902bcf9a83bd912c66b62 100644 (file)
 
                <varlistentry>
                <term>--krb5ccname <replaceable>KRB5CCNAME</replaceable></term>
-               <listitem><para>Allows to request a sepcific kerberos credential
+               <listitem><para>Allows one to request a sepcific kerberos credential
                                cache type used for authentication.
                </para></listitem>
                </varlistentry>
index 07b9b8c678cb6c66e591c3bf7d59e549b135e5b9..f4e2adb544005356a48752d31be21840a61b26d3 100644 (file)
@@ -11,7 +11,7 @@
     </para>
 
     <para>This parameter has been extended since the 2.2.x 
-    series, now it allows to specify the debug level for multiple 
+    series, now it allows one to specify the debug level for multiple 
     debug classes. This is to give greater flexibility in the configuration 
     of the system. The following debug classes are currently implemented:
     </para>
index 987783078885188c16a5e05bfef1ea275a63103d..17fadd2687d126c1a33ef4472b3bb6af90d6f32d 100644 (file)
@@ -6,7 +6,7 @@
        <para>Under DOS and Windows, if a user can write to a 
        file they can change the timestamp on it. Under POSIX semantics, 
        only the owner of the file or root may change the timestamp. By 
-       default, Samba emulates the DOS semantics and allows to change the 
+       default, Samba emulates the DOS semantics and allows one to change the 
        timestamp on a file if the user <command moreinfo="none">smbd</command> is acting 
        on behalf has write permissions.
        Due to changes in Microsoft Office 2000 and beyond,
index ac12469168257581955ac6e19744ffd13378b714..806ddbdc954ce038ad85b77966bc50c8806f6622 100644 (file)
@@ -25,7 +25,7 @@
 
        <para>
        Choosing the <emphasis>fork</emphasis> option will cause samba to fork
-       a separate proces for each daemon configured this way. Each daemon may
+       a separate process for each daemon configured this way. Each daemon may
        in turn fork a number of children used to handle requests from multiple
        smbds and direct tcp/ip connections (if the Endpoint Mapper is
        enabled). Communication with smbd happens over named pipes and require
index a48c51cf7336a41b80ee36bc2c74b69ab6edf79c..434e5ec49eebccb46966d8f4e6b76e97b4c2403d 100644 (file)
@@ -49,7 +49,7 @@
        </para>
 
        <para>
-               Choosing the <emphasis>external</emphasis> option allows to run
+               Choosing the <emphasis>external</emphasis> option allows one to run
                a separate daemon or even a completely independent (3rd party)
                server capable of interfacing with samba via the MS-RPC
                interface over named pipes.
index ca34067a97398335fb707d470ea7da826d06261e..138a24f9f281b7d3b14ce3d6daa2b80b0552ed6a 100644 (file)
@@ -20,7 +20,7 @@
     will also result in sambaLMPassword in Samba's passdb being
     blanked after the next password change. As a result of that
     lanman clients won't be able to authenticate, even if lanman
-    auth is reenabled later on.
+    auth is re-enabled later on.
     </para>
                
     <para>Unlike the <command moreinfo="none">encrypt
index b46f04b2ae639d2ea81a509a887d633b3a6039f9..9511c61c96d61c4f116cd85ddd770ce1268d4633 100644 (file)
@@ -25,7 +25,7 @@
     <para><anchor id="AUTO"/><emphasis>SERVER ROLE = AUTO</emphasis></para>
 
     <para>This is the default server role in Samba, and causes Samba to consult
-    the <smbconfoption name="security"/> parameter (if set) to determine the server role, giving compatable behaviours to previous Samba versions.</para>
+    the <smbconfoption name="security"/> parameter (if set) to determine the server role, giving compatible behaviours to previous Samba versions.</para>
 
     <para><anchor id="STANDALONE"/><emphasis>SERVER ROLE = STANDALONE</emphasis></para>
 
index 33fb318c91f5561ba2991e9b7f1c169642665d4d..9cf12496ab7e42e4a817e71bcf1c0a80a50e036c 100644 (file)
@@ -5,7 +5,7 @@
 <description>
 
        <para>This parameter is designed to control whether Winbind should
-       allow to login with the <parameter moreinfo="none">pam_winbind</parameter> 
+       allow one to login with the <parameter moreinfo="none">pam_winbind</parameter> 
        module using Cached Credentials. If enabled, winbindd will store user credentials
        from successful logins encrypted in a local cache.
        </para>
index e632a42d237f30d5997aef18b93bbc5e51255eaf..e6bb595c1957060d22103dcd39f0f35ee03f132b 100644 (file)
@@ -136,7 +136,7 @@ newer.
 <indexterm id="ch02-idx-947333-0"><primary>makefiles</primary></indexterm> that accompanies the binary distribution should list any special requirements.<footnote label="2" id="ch02-pgfId-943622">
 
 
-<para>This is especially true with programs that use <emphasis>glibc-2.1</emphasis> (which comes standard with Red Hat Linux 6). This library caused quite a consternation in the development community when it was released because it was incompatable with previous versions of <emphasis>g</emphasis><filename>libc</filename>.</para>
+<para>This is especially true with programs that use <emphasis>glibc-2.1</emphasis> (which comes standard with Red Hat Linux 6). This library caused quite a consternation in the development community when it was released because it was incompatible with previous versions of <emphasis>g</emphasis><filename>libc</filename>.</para>
 
 
 </footnote></para>
index 0fbc4c744b2afe79f911d40d900826c1ac8f2c8d..c86f7b48361e65560a36ffd1b4f183cc21ee2a87 100644 (file)
@@ -1007,7 +1007,7 @@ domain master</title>
 <indexterm id="ch05-idx-969711-0"><primary>files</primary><secondary>deleting, option for</secondary></indexterm> <literal>veto</literal> <literal>files</literal> option comes in. If this boolean option is set to <literal>yes</literal>, the user is allowed to delete both the regular files and the vetoed files in the directory, and the directory itself will be removed. If the option is set to <literal>no</literal>, the user will not be able to delete the vetoed files, and consequently the directory will not be deleted either. From the user's perspective, the directory will appear to be empty, but cannot be removed.</para>
 
 
-<para>The <literal>dont</literal> <literal>descend</literal> directive specifies a list of <indexterm id="ch05-idx-969715-0"><primary>directories</primary><secondary>barring users from viewing contents</secondary></indexterm>directories whose contents Samba should not allow to be visible. Note that we say <emphasis>contents</emphasis>, not the directory itself. Users will be able to enter a directory marked as such, but they are prohibited from descending the directory tree any farther&mdash;they will always see an empty folder. For example, let's use this option with a more basic form of the share that we defined earlier in the chapter:</para>
+<para>The <literal>dont</literal> <literal>descend</literal> directive specifies a list of <indexterm id="ch05-idx-969715-0"><primary>directories</primary><secondary>barring users from viewing contents</secondary></indexterm>directories whose contents Samba should not allow one to be visible. Note that we say <emphasis>contents</emphasis>, not the directory itself. Users will be able to enter a directory marked as such, but they are prohibited from descending the directory tree any farther&mdash;they will always see an empty folder. For example, let's use this option with a more basic form of the share that we defined earlier in the chapter:</para>
 
 
 <programlisting>[data]
index 490d72392233dc5168a31abe16fc3ec27d30582b..8c702735459bbc1bdba770a06495c306984b0423 100644 (file)
@@ -143,7 +143,7 @@ bool setup_kaddr( krb5_address *pkaddr, struct sockaddr_storage *paddr)
 *
 * @param context       The krb5_context
 * @param host_princ    The krb5_principal to use
-* @param salt          The optional salt, if ommitted, salt is calculated with
+* @param salt          The optional salt, if omitted, salt is calculated with
 *                      the provided principal.
 * @param password      The krb5_data containing the password
 * @param enctype       The krb5_enctype to use for the keyblock generation
@@ -1276,7 +1276,7 @@ krb5_error_code smb_krb5_enctype_to_string(krb5_context context,
 
 /**********************************************************************
  * Open a krb5 keytab with flags, handles readonly or readwrite access and
- * allows to process non-default keytab names.
+ * allows one to process non-default keytab names.
  * @param context krb5_context
  * @param keytab_name_req string
  * @param write_access bool if writable keytab is required
index 8747d53ac02de916cf7a3b252733eab5793d6844..73463266e4c880bfa6d84532e314301c515b31b7 100644 (file)
@@ -407,7 +407,7 @@ char *ldb_control_to_string(TALLOC_CTX *mem_ctx, const struct ldb_control *contr
 
 
 /*
- * A little trick to allow to use constants defined in headers rather than
+ * A little trick to allow one to use constants defined in headers rather than
  * hardwritten in the file.
  * "sizeof" will return the \0 char as well so it will take the place of ":"
  * in the length of the string.
index 7625662e9dbc833d500514c86f8d6e07a9db6246..a5a75420c1dc86bfd7685fb7c6ef9de2a481680d 100644 (file)
@@ -8,11 +8,11 @@ forming a linked list of records that share a hash value. The individual
 linked lists are protected across processes with 1-byte fcntl locks on the
 starting pointer of the linked list representing a hash value.
 
-The external locking API of tdb allows to lock individual records. Instead of
+The external locking API of tdb allows one to lock individual records. Instead of
 really locking individual records, the tdb API locks a complete linked list
 with a fcntl lock.
 
-The external locking API of tdb also allows to lock the complete database, and
+The external locking API of tdb also allows one to lock the complete database, and
 ctdb uses this facility to freeze databases during a recovery. While the
 so-called allrecord lock is held, all linked lists and all individual records
 are frozen alltogether. Tdb achieves this by locking the complete file range
index f2a445ba5ee38dad261bc51b1d89f654ef06c41d..4bb54d7de48ca33f2cb6e8e90728a83832834538 100644 (file)
@@ -780,7 +780,7 @@ void debug_set_settings(struct debug_settings *settings,
 
        /*
         * If 'logging' is not set, create backend settings from
-        * deprecated 'syslog' and 'syslog only' paramters
+        * deprecated 'syslog' and 'syslog only' parameters
         */
        if (logging_param != NULL) {
                len = strlen(logging_param);
index f797c2f8ad535e6160fd857eaf4f87f22669f602..9a95f8be028280d77dad31331d4ef542c82bceed 100644 (file)
@@ -295,7 +295,7 @@ ADS_STATUS ads_add_gpo_link(ADS_STRUCT *ads,
        const char *gp_link, *gp_link_new;
        ADS_MODLIST mods;
 
-       /* although ADS allows to set anything here, we better check here if
+       /* although ADS allows one to set anything here, we better check here if
         * the gpo_dn is sane */
 
        if (!strnequal(gpo_dn, "LDAP://CN={", strlen("LDAP://CN={")) != 0) {
index da1a84476e8b88cf7f9a1896f0b93f714e1629e4..262181a3cff2e5a25127e0d86ea667fe5f19fd66 100644 (file)
@@ -195,7 +195,7 @@ static int make_safe_fd(int fd)
  * @brief Check if we talk to the priviliged pipe which should be owned by root.
  *
  * This checks if we have uid_wrapper running and if this is the case it will
- * allow to connect to the winbind privileged pipe even it is not owned by root.
+ * allow one to connect to the winbind privileged pipe even it is not owned by root.
  *
  * @param[in]  uid      The uid to check if we can safely talk to the pipe.
  *
index 2bc5522e26bd825ee9d483e739e1b3d165726700..ec91a931f5f96c8c17499b6975562d8ceee23b85 100644 (file)
@@ -426,7 +426,7 @@ Example2 shows how to set the account expiration of user User2 so it will never
 Example3:
 samba-tool user setexpiry --days=20 --filter=samaccountname=User3
 
-Example3 shows how to set the account expiration date to end of day 20 days from the current day.  The username or sAMAccountName is specified using the --filter= paramter and the username in this example is User3.
+Example3 shows how to set the account expiration date to end of day 20 days from the current day.  The username or sAMAccountName is specified using the --filter= parameter and the username in this example is User3.
 
 Example4:
 samba-tool user setexpiry --noexpiry User4
index 7eb3fa087eb3465188c55f55cf0577483bfb114b..b4f914f5c8cd70719b1effbc0c73007f63e1aa1f 100644 (file)
@@ -1387,7 +1387,7 @@ static NTSTATUS tar_create_skip_path(struct tar *t,
 
        if (!isdir) {
 
-               /* 1. if we dont want X and we have X, skip */
+               /* 1. if we don't want X and we have X, skip */
                if (!t->mode.system && (mode & FILE_ATTRIBUTE_SYSTEM)) {
                        *_skip = true;
                        return NT_STATUS_OK;
index 5b00998a95daa728bf5d84166ecd8719938d4329..23dcde9737e1de6357c6490b088531dbe92abc08 100644 (file)
@@ -80,18 +80,18 @@ typedef struct _SambaAfpInfo
 */
 
 /*
-** These extentions are only supported with the NT LM 0.12 Dialect. These extentions
+** These extensions are only supported with the NT LM 0.12 Dialect. These extentions
 ** will be process on a share by share bases.
 */
 
 /*
-** Trans2_Query_FS_Information Call is used by the MacCIFS extentions for three reasons.
-** First to see if the remote server share supports the basic Macintosh CIFS extentions.
+** Trans2_Query_FS_Information Call is used by the MacCIFS extensions for three reasons.
+** First to see if the remote server share supports the basic Macintosh CIFS extensions.
 ** Second to return some basic need information about the share to the Macintosh.
-** Third to see if this share support any other Macintosh extentions.
+** Third to see if this share support any other Macintosh extensions.
 **
 ** We will be using infromation levels that are betwwen 0x300 and 0x399 for all Macintosh
-** extentions calls. The first of these will be the SMB_MAC_QUERY_FS_INFO level which
+** extensions calls. The first of these will be the SMB_MAC_QUERY_FS_INFO level which
 ** will allow the server to return the MacQueryFSInfo structure. All fields are Little
 ** Endian unless other wise specified.
 */
index a2582a1d1f16d81c77fa6e5a4805e115b19cecf2..1e5d577e93ac64ce5ceef7827fef93e3646a0c22 100644 (file)
@@ -1171,7 +1171,7 @@ static void callback_do_change(GtkWidget *widget,
        box1 = gtk_vbox_new(FALSE, 0);
        gtk_container_add(GTK_CONTAINER(window), box1);
 
-       label = gtk_label_new("You can change the name and membership of this computer. Changes may affect access to network ressources.");
+       label = gtk_label_new("You can change the name and membership of this computer. Changes may affect access to network resources.");
        gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
        gtk_misc_set_alignment(GTK_MISC(label), 0, 0);
        gtk_box_pack_start(GTK_BOX(box1), label, TRUE, TRUE, 0);
index 19ee688042098785d04ec5c672218039630d61eb..d3509c2267b78800e4135fcf28788a3ecc20269e 100644 (file)
@@ -271,7 +271,7 @@ static int priv_traverse_fn(struct db_record *rec, void *state)
 }
 
 /*********************************************************************
- Retreive list of privileged SIDs (for _lsa_enumerate_accounts()
+ Retrieve list of privileged SIDs (for _lsa_enumerate_accounts()
 *********************************************************************/
 
 NTSTATUS privilege_enumerate_accounts(struct dom_sid **sids, int *num_sids)
index 75116d2cb647a26e3773707aa62c4e4122fcde91..1560f65c07aafb10e226f82d797dea89bd8818f5 100644 (file)
@@ -301,7 +301,7 @@ static void smbldap_set_mod_internal(LDAPMod *** modlist, int modop, const char
                return; 
        }
 
-#if 0  /* commented out after discussion with abartlet.  Do not reenable.
+#if 0  /* commented out after discussion with abartlet.  Do not re-enable.
           left here so other do not re-add similar code   --jerry */
                if (value == NULL || *value == '\0')
                return;
index 2939b4f188088f20fd76ef5173dcc450d28f2034..0e1a66c827381d7f2fe4a0a336b82e8f81cc6bdd 100644 (file)
@@ -1070,7 +1070,7 @@ int get_remote_hostname(const struct tsocket_address *remote_address,
        lookup_nc(&nc);
 
        if (nc.name == NULL) {
-               *name = talloc_strdup(mem_ctx, "UNKOWN");
+               *name = talloc_strdup(mem_ctx, "UNKNOWN");
        } else {
                *name = talloc_strdup(mem_ctx, nc.name);
        }
index f0cb7ad291be5307fe33e9ca408e0b117ac8f37d..79bf416822af94d4986a31c7808721c8f7737ffd 100644 (file)
@@ -296,7 +296,7 @@ struct cli_pull_state {
         * The maximum is 256:
         * - which would be a window of 256 MByte
         *   for SMB2 with multi-credit
-        *   or smb1 unix extentions.
+        *   or smb1 unix extensions.
         */
        uint16_t max_chunks;
        uint16_t num_chunks;
@@ -1111,7 +1111,7 @@ struct cli_push_state {
         * The maximum is 256:
         * - which would be a window of 256 MByte
         *   for SMB2 with multi-credit
-        *   or smb1 unix extentions.
+        *   or smb1 unix extensions.
         */
        uint16_t max_chunks;
        uint16_t num_chunks;
index 2d48b2603e02a99513477b02599d5cd2e38ab706..ded69e87f0603a4454de36c3e28ab85683653314 100644 (file)
@@ -304,7 +304,7 @@ int regsubkey_ctr_numkeys( struct regsubkey_ctr *ctr )
 }
 
 /***********************************************************************
- Retreive a specific key string
+ Retrieve a specific key string
  **********************************************************************/
 
 char* regsubkey_ctr_specific_key( struct regsubkey_ctr *ctr, uint32_t key_index )
@@ -378,7 +378,7 @@ uint32_t regval_type(struct regval_blob *val)
 }
 
 /***********************************************************************
- Retreive a pointer to a specific value.  Caller shoud dup the structure
+ Retrieve a pointer to a specific value.  Caller shoud dup the structure
  since this memory will go away when the ctr is free()'d
  **********************************************************************/
 
index 1e3f9f92a2336edfa9b564e884cfa013f27317f0..2d0d29e5f35787d1ee3e1fa3d40a1bf9d6d7295f 100644 (file)
@@ -3905,7 +3905,7 @@ NTSTATUS _lsa_EnumTrustedDomainsEx(struct pipes_struct *p,
        NTSTATUS nt_status;
 
        /* bail out early if pdb backend is not capable of ex trusted domains,
-        * if we dont do that, the client might not call
+        * if we don't do that, the client might not call
         * _lsa_EnumTrustedDomains() afterwards - gd */
 
        if (!(pdb_capabilities() & PDB_CAP_TRUSTED_DOMAINS_EX)) {
index ef1505dd35408ad3d63bb12fff69f5d3eafd6412..c34742e1330535eabe5ebc362bc85d8486b34558 100644 (file)
@@ -153,7 +153,7 @@ NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
         * Samba 3.6 and earlier granted execute access even
         * if the ACL did not contain execute rights.
         * Samba 4.0 is more correct and checks it.
-        * The compatibilty mode allows to skip this check
+        * The compatibilty mode allows one to skip this check
         * to smoothen upgrades.
         */
        if (lp_acl_allow_execute_always(SNUM(conn))) {
index 78350fd8549eace449ed74db8bbfdd99d61c28b7..b373be57698896caf7e6bf17d7d1a01d936cc4a5 100644 (file)
@@ -646,7 +646,7 @@ static NTSTATUS query_user(struct winbindd_domain *domain,
                TALLOC_FREE(user);
 
                if (info->full_name == NULL) {
-                       /* this might fail so we dont check the return code */
+                       /* this might fail so we don't check the return code */
                        wcache_query_user_fullname(domain,
                                                   mem_ctx,
                                                   sid,
index 4e270ca4dbca6e5826ebc79a9cbaac8f4f1e4fba..ae9d11f732200b69474bc875b988920924ef74fa 100644 (file)
@@ -3100,7 +3100,7 @@ void wcache_invalidate_samlogon(struct winbindd_domain *domain,
         fstring key_str, sid_string;
        struct winbind_cache *cache;
 
-       /* dont clear cached U/SID and UG/SID entries when we want to logon
+       /* don't clear cached U/SID and UG/SID entries when we want to logon
         * offline - gd */
 
        if (lp_winbind_offline_logon()) {
index 4080b1230484f903b75cdc14e849fa739c79233c..41217475862121069366b207c7f7733b805ebb8b 100644 (file)
@@ -443,7 +443,7 @@ static NTSTATUS msrpc_query_user(struct winbindd_domain *domain,
                                                     user->base.full_name.string);
 
                if (user_info->full_name == NULL) {
-                       /* this might fail so we dont check the return code */
+                       /* this might fail so we don't check the return code */
                        wcache_query_user_fullname(domain,
                                                   mem_ctx,
                                                   user_sid,
index 78b262505432fecfd0545247240feedaef26c06c..891042355554adc4eba035dff55cc79dd0d0c579 100644 (file)
@@ -1841,7 +1841,7 @@ process_result:
                                                      cached_info3->base.full_name.string);
                        } else {
 
-                               /* this might fail so we dont check the return code */
+                               /* this might fail so we don't check the return code */
                                wcache_query_user_fullname(domain,
                                                info3,
                                                &user_sid,
@@ -2002,7 +2002,7 @@ process_result:
                                                      cached_info3->base.full_name.string);
                        } else {
 
-                               /* this might fail so we dont check the return code */
+                               /* this might fail so we don't check the return code */
                                wcache_query_user_fullname(domain,
                                                *info3,
                                                &user_sid,
index d7c65c6052dac2ecb2e1745a2514464f3f5c6084..62615327294ddeef72b33213d6eb2c715827bad0 100644 (file)
@@ -6,7 +6,7 @@ Released under the GPLv3
 Important context for porting to MIT
 ------------------------------------
 
-This document should be read in conjuction with the Samba4 source code.  
+This document should be read in conjunction with the Samba4 source code.  
 DAL and KDC requirements are expressed (as an implementation against Heimdal's 
 HDB abstraction layer) in Samba4's source4/kdc/hdb-samba4.c in particular.
 hbd-samba4.c is the biggest piece of samba-to-krb glue layer, so the main
index f26bc94821966f410bcdfee3a70c7a2c6169d356..ff134584644f6801e382f018e82dde34df31ba99 100644 (file)
@@ -831,7 +831,7 @@ static int rootdse_search(struct ldb_module *module, struct ldb_request *req)
 
        if (do_attribute_explicit(req->op.search.attrs, "netlogon")) {
                ret = rootdse_handle_netlogon(ac);
-               /* We have to return an empty result, so dont forward `ret' */
+               /* We have to return an empty result, so don't forward `ret' */
                if (ret != LDB_SUCCESS) {
                        return ldb_module_done(ac->req, NULL, NULL, LDB_SUCCESS);
                }
index e3a7db27aa9c4b2ea5fba2f4f91b87d90c502e98..fbb392de42b5757466ecfa8b90d79679b2ba2826 100644 (file)
@@ -695,7 +695,7 @@ static int samldb_fill_object(struct samldb_ctx *ac)
                                                  "rdnAttId", "cn");
                if (ret != LDB_SUCCESS) return ret;
 
-               /* do not allow to mark an attributeSchema as RODC filtered if it
+               /* do not allow one to mark an attributeSchema as RODC filtered if it
                 * is system-critical */
                if (check_rodc_critical_attribute(ac->msg)) {
                        ldb_asprintf_errstring(ldb, "Refusing schema add of %s - cannot combine critical class with RODC filtering",
@@ -796,7 +796,7 @@ static int samldb_fill_object(struct samldb_ctx *ac)
                        }
                }
 
-               /* do not allow to mark an attributeSchema as RODC filtered if it
+               /* do not allow one to mark an attributeSchema as RODC filtered if it
                 * is system-critical */
                if (check_rodc_critical_attribute(ac->msg)) {
                        ldb_asprintf_errstring(ldb,
index d8e896299390e978a9fd6616dfdcffc7fa549c3a..ec042eeec6bd855d03685a3bfb8fb20bfc9e0965 100755 (executable)
@@ -702,7 +702,7 @@ class AclSearchTests(AclTests):
         res = anonymous.search("", expression="(objectClass=*)", scope=SCOPE_BASE)
         self.assertEquals(len(res), 1)
         #verify some of the attributes
-        #dont care about values
+        #don't care about values
         self.assertTrue("ldapServiceName" in res[0])
         self.assertTrue("namingContexts" in res[0])
         self.assertTrue("isSynchronized" in res[0])
index 5444bc710d02dc629098b09e24705a05a98c7b4d..eb049c5f58ae19c3720570ec417eb3a950586529 100644 (file)
@@ -264,7 +264,7 @@ static NTSTATUS echo_startup_interfaces(struct echo_server *echo,
 
        model_ops = process_model_startup("single");
        if (model_ops == NULL) {
-               DEBUG(0, ("Can't find 'single' proces model_ops\n"));
+               DEBUG(0, ("Can't find 'single' process model_ops\n"));
                return NT_STATUS_INTERNAL_ERROR;
        }
 
index dfbf63635bbd40a46a40f8dcbf5d0d5a5aaabb1c..a4aaf1b5450c9939db3a305e3ceabe047252019f 100644 (file)
    swig errors code.
 
    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
-   allows to return the 'cast rank', for example, if you have this
+   allows one to return the 'cast rank', for example, if you have this
 
        int food(double)
        int fooi(int);
index ecc2d8a55d542ae080c50da689f10a283528c576..db62baff2cc89018081ece9390f71c56dacf567a 100644 (file)
@@ -110,7 +110,7 @@ static PyObject *py_wrap_getxattr(PyObject *self, PyObject *args)
 static PyMethodDef py_posix_eadb_methods[] = {
        { "wrap_getxattr", (PyCFunction)py_wrap_getxattr, METH_VARARGS,
                "wrap_getxattr(filename,attribute) -> blob\n"
-               "Retreive given attribute on the given file." },
+               "Retrieve given attribute on the given file." },
        { "wrap_setxattr", (PyCFunction)py_wrap_setxattr, METH_VARARGS,
                "wrap_setxattr(filename,attribute,value)\n"
                "Set the given attribute to the given value on the given file." },
index 4f610a01f5ffa41f12558e3f0061c81835aa6ca7..6ddfe08092157dd5b334c4eb96b3468ebeb596c2 100644 (file)
@@ -98,7 +98,7 @@ static PyObject *py_wrap_getxattr(PyObject *self, PyObject *args)
 static PyMethodDef py_xattr_methods[] = {
        { "wrap_getxattr", (PyCFunction)py_wrap_getxattr, METH_VARARGS,
                "wrap_getxattr(filename,attribute) -> blob\n"
-               "Retreive given attribute on the given file." },
+               "Retrieve given attribute on the given file." },
        { "wrap_setxattr", (PyCFunction)py_wrap_setxattr, METH_VARARGS,
                "wrap_setxattr(filename,attribute,value)\n"
                "Set the given attribute to the given value on the given file." },
index 84ef426ead810c87aa12147c61aab66148cfa065..ef3401c79ceefa70bd972f4d5d93a836ee503066 100644 (file)
@@ -146,7 +146,7 @@ static PyObject *py_wrap_getxattr(PyObject *self, PyObject *args)
 static PyMethodDef py_xattr_methods[] = {
        { "wrap_getxattr", (PyCFunction)py_wrap_getxattr, METH_VARARGS,
                "wrap_getxattr(filename,attribute) -> blob\n"
-               "Retreive given attribute on the given file." },
+               "Retrieve given attribute on the given file." },
        { "wrap_setxattr", (PyCFunction)py_wrap_setxattr, METH_VARARGS,
                "wrap_setxattr(filename,attribute,value)\n"
                "Set the given attribute to the given value on the given file." },
index 14929764e4d5b10e8f35c6e65d610923cae4d74c..d88a61a85f24155fb9a29d4d349612fcfa9a6094 100644 (file)
@@ -1168,7 +1168,7 @@ static WERROR dcesrv_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct dcesrv_
        /*
         * TODO: for now just open a connection to the client and drop it again
         *       to keep the w2k3 PrintServer 
-        *       happy to allow to open the Add Printer GUI
+        *       happy to allow one to open the Add Printer GUI
         *       and the torture suite passing
         */
 
index 1893d03eea4fe8ebe71235a8b34be6f92a82927e..bc6e36a4f037b7909c9be9a6dd49c6fc0f778476 100755 (executable)
@@ -1232,7 +1232,7 @@ def rebuild_sd(samdb, names):
     During the different pre release of samba4 security descriptors
     (SD) were notarly broken (up to alpha11 included)
 
-    This function allows to get them back in order, this function works
+    This function allows one to get them back in order, this function works
     only after the database comparison that --full mode uses and which
     populates the dnToRecalculate and dnNotToRecalculate lists.
 
index 98423dfbdf8943b02dce7e7676c715484ace4c41..4e84e38c89d3c6c451dfe22d988e1968b17f7916 100644 (file)
@@ -750,7 +750,7 @@ static void benchrw_callback(struct smbcli_request *req)
        struct benchrw_state *state = req->async.private_data;
        struct torture_context *tctx = state->tctx;
        
-       /*dont send new requests when torture_numops is reached*/
+       /*don't send new requests when torture_numops is reached*/
        if ((state->mode == READ_WRITE_DATA)
            && (state->completed >= torture_numops)) {
                state->mode=MAX_OPS_REACHED;
index 2cb31879161eb1eccd36caf65a6d90af43956c6e..61f1d6b39bf6dd04b6dc330d263f9930df6f5b02 100644 (file)
@@ -72,7 +72,7 @@ try_again:
 
        status = smb_raw_lock(cli->tree, &io);
 
-       /* If we dont use timeouts and we got file lock conflict
+       /* If we don't use timeouts and we got file lock conflict
           just try the lock again.
        */
        if (lock_timeout==0) {
index a3b8aaa9a8db2a3bc642b4872e085b94af593702..b86fccda5f86c4d065be94c7958017f258ec1d17 100644 (file)
@@ -513,7 +513,7 @@ static DATA_BLOB *encrypt_blob_pk(struct torture_context *tctx,
 }
 
 
-static struct bkrp_BackupKey *createRetreiveBackupKeyGUIDStruct(struct torture_context *tctx,
+static struct bkrp_BackupKey *createRetrieveBackupKeyGUIDStruct(struct torture_context *tctx,
                                struct dcerpc_pipe *p, int version, DATA_BLOB *out)
 {
        struct dcerpc_binding *binding;
@@ -586,7 +586,7 @@ static struct bkrp_BackupKey *createRestoreGUIDStruct(struct torture_context *tc
        enum ndr_err_code ndr_err;
        NTSTATUS status;
        const char *user;
-       struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, version, &out_blob);
+       struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, version, &out_blob);
        if (r == NULL) {
                return NULL;
        }
@@ -605,7 +605,7 @@ static struct bkrp_BackupKey *createRestoreGUIDStruct(struct torture_context *tc
                               "Get GUID");
 
        /*
-        * We have to set it outside of the function createRetreiveBackupKeyGUIDStruct
+        * We have to set it outside of the function createRetrieveBackupKeyGUIDStruct
         * the len of the blob, this is due to the fact that they don't have the
         * same size (one is 32bits the other 64bits)
         */
@@ -740,12 +740,12 @@ static struct bkrp_BackupKey *createRestoreGUIDStruct(struct torture_context *tc
 /* Check that we are able to receive the certificate of the DCs
  * used for client wrap version of the backup key protocol
  */
-static bool test_RetreiveBackupKeyGUID(struct torture_context *tctx,
+static bool test_RetrieveBackupKeyGUID(struct torture_context *tctx,
                                        struct dcerpc_pipe *p)
 {
        struct dcerpc_binding_handle *b = p->binding_handle;
        DATA_BLOB out_blob;
-       struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+       struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
        enum dcerpc_AuthType auth_type;
        enum dcerpc_AuthLevel auth_level;
 
@@ -799,7 +799,7 @@ static bool test_RestoreGUID_ko(struct torture_context *tctx,
                torture_assert_int_equal(tctx, NDR_ERR_CODE_IS_SUCCESS(ndr_err), 0, "Unable to unmarshall bkrp_client_side_unwrapped");
                torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_PARAM, "Wrong error code");
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -828,7 +828,7 @@ static bool test_RestoreGUID_wrongversion(struct torture_context *tctx,
                torture_assert_int_equal(tctx, NDR_ERR_CODE_IS_SUCCESS(ndr_err), 0, "Unable to unmarshall bkrp_client_side_unwrapped");
                torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_PARAM, "Wrong error code on wrong version");
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -857,7 +857,7 @@ static bool test_RestoreGUID_wronguser(struct torture_context *tctx,
                torture_assert_int_equal(tctx, NDR_ERR_CODE_IS_SUCCESS(ndr_err), 0, "Unable to unmarshall bkrp_client_side_unwrapped");
                torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_ACCESS, "Restore GUID");
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -887,7 +887,7 @@ static bool test_RestoreGUID_v3(struct torture_context *tctx,
                torture_assert_werr_equal(tctx, r->out.result, WERR_OK, "Restore GUID");
                torture_assert_str_equal(tctx, (char*)resp.secret.data, secret, "Wrong secret");
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -919,7 +919,7 @@ static bool test_RestoreGUID(struct torture_context *tctx,
                                             "Unable to unmarshall bkrp_client_side_unwrapped");
                torture_assert_str_equal(tctx, (char*)resp.secret.data, secret, "Wrong secret");
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -948,7 +948,7 @@ static bool test_RestoreGUID_badmagiconsecret(struct torture_context *tctx,
                torture_assert_int_equal(tctx, NDR_ERR_CODE_IS_SUCCESS(ndr_err), 0, "Unable to unmarshall bkrp_client_side_unwrapped");
                torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_DATA, "Wrong error code while providing bad magic in secret");
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -977,7 +977,7 @@ static bool test_RestoreGUID_emptyrequest(struct torture_context *tctx,
                out_blob.length = *r->out.data_out_len;
                torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_PARAM, "Bad error code on wrong has in access check");
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -1013,7 +1013,7 @@ static bool test_RestoreGUID_badcertguid(struct torture_context *tctx,
                        torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_DATA, "Bad error code on wrong has in access check");
                }
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -1042,7 +1042,7 @@ static bool test_RestoreGUID_badmagicaccesscheck(struct torture_context *tctx,
                torture_assert_int_equal(tctx, NDR_ERR_CODE_IS_SUCCESS(ndr_err), 0, "Unable to unmarshall bkrp_client_side_unwrapped");
                torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_DATA, "Bad error code on wrong has in access check");
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -1071,7 +1071,7 @@ static bool test_RestoreGUID_badhashaccesscheck(struct torture_context *tctx,
                torture_assert_int_equal(tctx, NDR_ERR_CODE_IS_SUCCESS(ndr_err), 0, "Unable to unmarshall bkrp_client_side_unwrapped");
                torture_assert_werr_equal(tctx, r->out.result, WERR_INVALID_DATA, "Bad error code on wrong has in access check");
        } else {
-               struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+               struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
                torture_assert_ntstatus_equal(tctx, dcerpc_bkrp_BackupKey_r(b, tctx, r),
                        NT_STATUS_ACCESS_DENIED, "Get GUID");
        }
@@ -1081,12 +1081,12 @@ static bool test_RestoreGUID_badhashaccesscheck(struct torture_context *tctx,
 /* 
  * Check that the RSA modulus in the certificate of the DCs has 2048 bits.
  */
-static bool test_RetreiveBackupKeyGUID_2048bits(struct torture_context *tctx,
+static bool test_RetrieveBackupKeyGUID_2048bits(struct torture_context *tctx,
                                        struct dcerpc_pipe *p)
 {
        struct dcerpc_binding_handle *b = p->binding_handle;
        DATA_BLOB out_blob;
-       struct bkrp_BackupKey *r = createRetreiveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
+       struct bkrp_BackupKey *r = createRetrieveBackupKeyGUIDStruct(tctx, p, 2, &out_blob);
        enum dcerpc_AuthType auth_type;
        enum dcerpc_AuthLevel auth_level;
 
@@ -1097,7 +1097,7 @@ static bool test_RetreiveBackupKeyGUID_2048bits(struct torture_context *tctx,
        RSA *rsa;
        int RSA_returned_bits;
 
-       torture_assert(tctx, r != NULL, "createRetreiveBackupKeyGUIDStruct failed");
+       torture_assert(tctx, r != NULL, "createRetrieveBackupKeyGUIDStruct failed");
        
        hx509_context_init(&hctx);
 
@@ -2056,7 +2056,7 @@ struct torture_suite *torture_rpc_backupkey(TALLOC_CTX *mem_ctx)
                                                  &ndr_table_backupkey);
 
        torture_rpc_tcase_add_test(tcase, "retreive_backup_key_guid",
-                                  test_RetreiveBackupKeyGUID);
+                                  test_RetrieveBackupKeyGUID);
 
        torture_rpc_tcase_add_test(tcase, "restore_guid",
                                   test_RestoreGUID);
@@ -2094,7 +2094,7 @@ struct torture_suite *torture_rpc_backupkey(TALLOC_CTX *mem_ctx)
                                   test_RestoreGUID_emptyrequest);
 
        torture_rpc_tcase_add_test(tcase, "retreive_backup_key_guid_2048_bits",
-                                  test_RetreiveBackupKeyGUID_2048bits);
+                                  test_RetrieveBackupKeyGUID_2048bits);
 
        torture_rpc_tcase_add_test(tcase, "server_wrap_encrypt_decrypt",
                                   test_ServerWrap_encrypt_decrypt);
index 5950673d77f3a0c55c1de840ffd1400e579b825b..4bc99f241f984820ba8139fd40b28a10b4402b97 100644 (file)
@@ -7475,7 +7475,7 @@ static bool test_AddPrinter_normal(struct torture_context *tctx,
                "failed to add printer");
        result = ex ? rex.out.result : r.out.result;
 
-       /* w2k8r2 allows to add printer w/o defining printprocessor */
+       /* w2k8r2 allows one to add printer w/o defining printprocessor */
 
        if (!W_ERROR_IS_OK(result)) {
                torture_assert_werr_equal(tctx, result, WERR_UNKNOWN_PRINTPROCESSOR,
index 1c1d4ad739e418720d875f23a8599f02ae859958..313635eb69e1f3e64f2ec37cebe2f595419942bb 100644 (file)
@@ -1779,7 +1779,7 @@ static bool test_aapl(struct torture_context *tctx,
        /*
         * Now check returned AAPL context
         */
-       torture_comment(tctx, "Comparing returned AAPL capabilites\n");
+       torture_comment(tctx, "Comparing returned AAPL capabilities\n");
 
        aapl = smb2_create_blob_find(&io.out.blobs,
                                     SMB2_CREATE_TAG_AAPL);
index 3e26e3788517fa2f06b41f77ca6240cf514885ea..fe6ce6dda618d1f0c1ed374d3f81ea6b90076c1c 100644 (file)
 
        <varlistentry>
        <term>--request-lm-key</term>
-       <listitem><para>Retreive LM session key</para></listitem>
+       <listitem><para>Retrieve LM session key</para></listitem>
        </varlistentry>
 
        <varlistentry>
index 1e7bacc5bd7f564f8929ea4e05f9d1f99fc75f25..0c10f60e665845ed75b04a9a435bbe7a5438a1a8 100644 (file)
@@ -35,7 +35,7 @@ usage: testspoolss.exe <name> [print] [samba3] [architecture=ARCHITECTURE]
                          from the printserver
         [samba3]         will skip some tests samba servers are known
                          not to have implemented
-        [architecture=X] allows to define a specific
+        [architecture=X] allows one to define a specific
                          architecture to test with. choose between:
                          "Windows NT x86" or "Windows x64"
 ..............................................................................
index 422cca4acf6eee75900c4697fde6174b680f0296..794e545e1866fc2ea9f3db69941a2978a8b62e81 100644 (file)
@@ -1055,7 +1055,7 @@ static BOOL test_OnePrinter(struct torture_context *tctx,
        ret &= test_EnumPrinterDataEx(tctx, printername, "PrinterDriverData", handle, NULL, NULL);
        ret &= test_DeviceModes(tctx, printername, handle);
 #if 0
-       /* dont run these at the moment, behaviour is PrinterData API calls (not
+       /* don't run these at the moment, behaviour is PrinterData API calls (not
         * dcerpc calls) is almost unpredictable - gd */
        ret &= test_PrinterData(tctx, printername, handle);
        ret &= test_PrinterDataW(tctx, printername, handle);
@@ -1765,7 +1765,7 @@ int main(int argc, char *argv[])
                fprintf(stderr, "\t                 from the printserver\n");
                fprintf(stderr, "\t[samba3]         will skip some tests samba servers are known\n");
                fprintf(stderr, "\t                 not to have implemented\n");
-               fprintf(stderr, "\t[architecture=X] allows to define a specific\n");
+               fprintf(stderr, "\t[architecture=X] allows one to define a specific\n");
                fprintf(stderr, "\t                 architecture to test with. choose between:\n");
                fprintf(stderr, "\t                 \"Windows NT x86\" or \"Windows x64\"\n");
                exit(-1);