Commit ce2c5173 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#9161 - Fix various typos

Fix a number of different typos across the code base
parent 71213e69
......@@ -52,7 +52,7 @@ const struct berval pbkdf2_sha512_scheme = BER_BVC("{PBKDF2-SHA512}");
* Converting base64 string to adapted base64 string.
* Adapted base64 encode is identical to general base64 encode except
* that it uses '.' instead of '+', and omits trailing padding '=' and
* whitepsace.
* whitespace.
* see http://pythonhosted.org/passlib/lib/passlib.utils.html
* This is destructive function.
*/
......
......@@ -65,7 +65,7 @@
* Please make sure that your system defines BYTE_ORDER. If your
* architecture is little-endian, make sure it also defines
* LITTLE_ENDIAN and that the two (BYTE_ORDER and LITTLE_ENDIAN) are
* equivilent.
* equivalent.
*
* If your system does not define the above, then you can do so by
* hand like this:
......
......@@ -944,7 +944,6 @@ RetCodes
userApplications
NDBM
newSuperiorDN
browseable
auditBind
setstyle
newSuperior
......
......@@ -57,7 +57,7 @@ support browsing and searching.
While some consider the Internet {{TERM[expand]DNS}} (DNS) is an
example of a globally distributed directory service, DNS is not
browseable nor searchable. It is more properly described as a
browsable nor searchable. It is more properly described as a
globally distributed {{lookup}} service.
......
......@@ -365,7 +365,7 @@ Configuration via {{slapd.conf}}(5) would look like:
> ldap:///dc=catalog,dc=example,dc=com?title?sub?(objectClass=titleCatalog)
A specification like the above would reject any {{mail}} attribute which did not
look like {{<alpha-numeric string>@mydomain.com}}.
look like {{<alphanumeric string>@mydomain.com}}.
It would also reject any title attribute whose values were not listed in the
title attribute of any {{titleCatalog}} entries in the given scope.
......
......@@ -282,7 +282,7 @@ lloadd|LDAP Load Balancer
!block references; data; sort=Reference; style=grid
Reference|Status|Document|Jump
UM-GUIDE|O|The SLAPD and SLURPD Administrators Guide|https://web.archive.org/web/20170809071245/http://www.umich.edu/~dirsvcs/ldap/doc/guides/slapd/guide.pdf
RFC2079|PS|Definition of an X.500 Attribute Type and an Object Class to Hold Uniform Resource Identifers|https://www.rfc-editor.org/rfc/rfc2079.txt
RFC2079|PS|Definition of an X.500 Attribute Type and an Object Class to Hold Uniform Resource Identifiers|https://www.rfc-editor.org/rfc/rfc2079.txt
RFC2296|PS|Use of Language Codes in LDAP|https://www.rfc-editor.org/rfc/rfc2296.txt
RFC2307|X|An Approach for Using LDAP as a Network Information Service|https://www.rfc-editor.org/rfc/rfc2307.txt
RFC2589|PS|Lightweight Directory Access Protocol (v3): Extensions for Dynamic Directory Services|https://www.rfc-editor.org/rfc/rfc2589.txt
......
......@@ -2,7 +2,7 @@
# Copyright 1999-2021 The OpenLDAP Foundation, All Rights Reserved.
# COPYING RESTRICTIONS APPLY, see COPYRIGHT.
# This file should match ../../../COPYRIGHT (except in formating)
# This file should match ../../../COPYRIGHT (except in formatting)
!if OPT_PP_HTML
!define copyright '[[c]] Copyright'
......
......@@ -468,7 +468,7 @@ When using Mozilla NSS, TLSCertificateKeyFile specifies the name of
a file that contains the password for the key for the certificate specified with
TLSCertificateFile. The modutil command can be used to turn off password
protection for the cert/key database. For example, if TLSCACertificatePath
specifes /etc/openldap/certdb as the location of the cert/key database, use
specifies /etc/openldap/certdb as the location of the cert/key database, use
modutil to change the password to the empty string:
.nf
modutil \-dbdir /etc/openldap/certdb \-changepw 'NSS Certificate DB'
......
......@@ -1985,7 +1985,7 @@ fails. Otherwise the syncrepl session continues without TLS. The
.B tls_reqcert
setting defaults to "demand", the
.B tls_reqsan
seting defaults to "allow", and the other TLS settings
setting defaults to "allow", and the other TLS settings
default to the same as the main slapd TLS settings.
The
......
......@@ -119,9 +119,9 @@ constraint_attribute cn,sn,givenName set
A specification like the above would reject any
.B mail
attribute which did not look like
.BR "<alpha-numeric string>@mydomain.com"
.BR "<alphanumeric string>@mydomain.com"
or that looks like
.BR "<alpha-numeric string>@notallowed.com" .
.BR "<alphanumeric string>@notallowed.com" .
It would also reject any
.B title
attribute whose values were not listed in the
......
......@@ -149,7 +149,7 @@ LBER_F( char * ) ber_pvt_wsa_err2string LDAP_P((int));
#ifdef HAVE_PIPE
/*
* Only use pipe() on systems where file and socket descriptors
* are interchangable
* are interchangeable
*/
# define USE_PIPE HAVE_PIPE
#endif
......
......@@ -349,7 +349,7 @@ ber_put_boolean(
typedef struct seqorset_header {
char xtagbuf[TAGBUF_SIZE + 1]; /* room for tag + len(tag or len) */
union {
ber_elem_size_t offset; /* enclosing seqence/set */
ber_elem_size_t offset; /* enclosing sequence/set */
char padding[SOS_LENLEN-1]; /* for final length encoding */
} next_sos;
# define SOS_TAG_END(header) ((unsigned char *) &(header).next_sos - 1)
......
......@@ -31,7 +31,7 @@
*
* It should only be enabled by an experienced developer as it causes
* the inclusion of numerous assert()'s, many of which may be triggered
* by a prefectly valid program. If LDAP_MEMORY_DEBUG & 2 is true,
* by a perfectly valid program. If LDAP_MEMORY_DEBUG & 2 is true,
* that includes asserts known to break both slapd and current clients.
*
* The code behind this macro is subject to change as needed to
......
......@@ -243,7 +243,7 @@ ldif_parse_line2(
* or \0. this routine handles continued lines, bundling them into
* a single big line before returning. if a line begins with a white
* space character, it is a continuation of the previous line. the white
* space character (nb: only one char), and preceeding newline are changed
* space character (nb: only one char), and preceding newline are changed
* into CONTINUED_LINE_MARKER chars, to be deleted later by the
* ldif_parse_line() routine above.
*
......
......@@ -240,7 +240,7 @@ ldap_create_persistentsearch_control(
not to return it). If this parameter is NULL, no indication
of whether the change number was present is returned.
chgnump (OUT) This result paramter is filled in with the change number
chgnump (OUT) This result parameter is filled in with the change number
if one was returned in the control. If this parameter
is NULL, the change number is not returned.
......
......@@ -25,7 +25,7 @@
*
* Does not support cancellation nor does any status checking.
*/
/* Adapted from publically available examples for:
/* Adapted from publicly available examples for:
* "Programming with Posix Threads"
* by David R Butenhof, Addison-Wesley
* http://cseng.aw.com/bookpage.taf?ISBN=0-201-63392-2
......
......@@ -977,7 +977,7 @@ ldap_attributetype2bv( LDAPAttributeType * at, struct berval *bv )
*
* Each of them is written as a recursive-descent parser, except that
* none of them is really recursive. But the idea is kept: there
* is one routine per non-terminal that eithers gobbles lexical tokens
* is one routine per non-terminal that either gobbles lexical tokens
* or calls lower-level routines, etc.
*
* The scanner is implemented in the routine get_token. Actually,
......
......@@ -448,7 +448,7 @@ ldap_create_sort_control(
returnCode (OUT) This result parameter is filled in with the sort control
result code. This parameter MUST not be NULL.
attribute (OUT) If an error occured the server may return a string
attribute (OUT) If an error occurred the server may return a string
indicating the first attribute in the sortkey list
that was in error. If a string is returned, the memory
should be freed with ldap_memfree. If this parameter is
......
......@@ -1176,7 +1176,7 @@ static Sockbuf_IO tlsg_sbio =
tlsg_sb_close /* sbi_close */
};
/* Certs are not automatically varified during the handshake */
/* Certs are not automatically verified during the handshake */
static int
tlsg_cert_verify( tlsg_session *ssl )
{
......
......@@ -253,7 +253,7 @@ ldap_create_vlv_control(
generated context identifier if one was returned by
the server. If the server did not return a context
identifier, this parameter will be set to NULL, even
if an error occured.
if an error occurred.
The returned context SHOULD be used in the next call
to create a VLV sort control. The struct berval
returned SHOULD be disposed of by calling ber_bvfree()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment