Commit 10566c8b authored by Josh Soref's avatar Josh Soref Committed by Quanah Gibson-Mount
Browse files

ITS#8605 - spelling fixes

* javascript
* kernel
* ldap
* length
* macros
* maintained
* manager
* matching
* maximum
* mechanism
* memory
* method
* mimic
* minimum
* modifiable
* modifiers
* modifying
* multiple
* necessary
* normalized
* objectclass
* occurrence
* occurring
* offered
* operation
* original
* overridden
* parameter
* permanent
* preemptively
* printable
* protocol
* provider
* really
* redistribution
* referenced
* refresh
* regardless
* registered
* request
* reserved
* resource
* response
* sanity
* separated
* setconcurrency
* should
* specially
* specifies
* structure
* structures
* subordinates
* substitution
* succeed
* successful
* successfully
* sudoers
* sufficient
* superiors
* supported
* synchronization
* terminated
* they're
* through
* traffic
* transparent
* unsigned
* unsupported
* version
* absence
* achieves
* adamson
* additional
* address
* against
* appropriate
* architecture
* associated
* async
* attribute
* authentication
* authorized
* auxiliary
* available
* beg...
parent fd5ad3ef
......@@ -534,7 +534,7 @@ if test $ac_cv_header_db_h = yes; then
fi
])
dnl --------------------------------------------------------------------
dnl Check for version compatility with back-bdb
dnl Check for version compatibility with back-bdb
AC_DEFUN([OL_BDB_COMPAT],
[AC_CACHE_CHECK([if Berkeley DB version supported by BDB/HDB backends], [ol_cv_bdb_compat],[
AC_EGREP_CPP(__db_version_compat,[
......@@ -719,7 +719,7 @@ dnl Check GNU Pth pthread Header
dnl
dnl defines ol_cv_header linux_threads to 'yes' or 'no'
dnl 'no' implies pthreads.h is not LinuxThreads or pthreads.h
dnl doesn't exists. Existance of pthread.h should separately
dnl doesn't exist. Existence of pthread.h should separately
dnl checked.
dnl
AC_DEFUN([OL_HEADER_GNU_PTH_PTHREAD_H], [
......@@ -750,7 +750,7 @@ dnl Check LinuxThreads Header
dnl
dnl defines ol_cv_header linux_threads to 'yes' or 'no'
dnl 'no' implies pthreads.h is not LinuxThreads or pthreads.h
dnl doesn't exists. Existance of pthread.h should separately
dnl doesn't exist. Existence of pthread.h should separately
dnl checked.
dnl
AC_DEFUN([OL_HEADER_LINUX_THREADS], [
......@@ -1107,7 +1107,7 @@ AC_DEFUN([OL_FUNC_GETHOSTBYADDR_R_NARGS],
])dnl
dnl
dnl --------------------------------------------------------------------
dnl Check for Cyrus SASL version compatility
dnl Check for Cyrus SASL version compatibility
AC_DEFUN([OL_SASL_COMPAT],
[AC_CACHE_CHECK([Cyrus SASL library version], [ol_cv_sasl_compat],[
AC_EGREP_CPP(__sasl_compat,[
......
......@@ -317,7 +317,7 @@ eval `echo h.$opt_spec |\
eval `echo h:help,$opt_alias |\
sed -e 's/-/_/g' -e 's/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g'`
# interate over argument line
# iterate over argument line
opt_PREV=''
while [ $# -gt 0 ]; do
# special option stops processing
......@@ -383,11 +383,11 @@ while [ $# -gt 0 ]; do
eval "opt_${opt_OPT}=yes"
;;
':' )
# option with argument (multiple occurances override)
# option with argument (multiple occurrences override)
eval "opt_${opt_OPT}=\"\$opt_ARG\""
;;
'+' )
# option with argument (multiple occurances append)
# option with argument (multiple occurrences append)
eval "opt_${opt_OPT}=\"\$opt_${opt_OPT}\${ASC_NL}\$opt_ARG\""
;;
* )
......
......@@ -77,7 +77,7 @@ usage( void )
fprintf( stderr, _(" -E sasl=(a[utomatic]|i[nteractive]|q[uiet]>\tSASL mode (defaults to automatic if any other -E option provided, otherwise none))\n"));
fprintf( stderr, _(" -E mech=<mech>\tSASL mechanism (default "" e.g. Simple)\n"));
fprintf( stderr, _(" -E realm=<realm>\tSASL Realm (defaults to none)\n"));
fprintf( stderr, _(" -E authcid=<authcid>\tSASL Authenication Identity (defaults to USER)\n"));
fprintf( stderr, _(" -E authcid=<authcid>\tSASL Authentication Identity (defaults to USER)\n"));
fprintf( stderr, _(" -E authzid=<authzid>\tSASL Authorization Identity (defaults to none)\n"));
fprintf( stderr, _(" -E secprops=<secprops>\tSASL Security Properties (defaults to none)\n"));
tool_common_usage();
......
......@@ -422,7 +422,7 @@ dnl ----------------------------------------------------------------
# validate options
if test $ol_enable_slapd = no ; then
dnl SLAPD was specificallly disabled
dnl SLAPD was specifically disabled
if test $ol_enable_slapi = yes ; then
AC_MSG_WARN([slapd disabled, ignoring --enable-slapi argument])
fi
......@@ -969,7 +969,7 @@ AC_CHECK_FUNC(select, :, AC_MSG_ERROR([select() required.]))
if test "${ac_cv_header_winsock_h}" != yes; then
dnl Select arg types
dnl (if this detection becomes permenent, it and the select() detection
dnl (if this detection becomes permanent, it and the select() detection
dnl should be done before the yielding select test)
AC_FUNC_SELECT_ARGTYPES
fi
......@@ -1491,7 +1491,7 @@ pthread_rwlock_t rwlock;
AC_DEFINE(HAVE_PTHREAD_DETACH,1,
[define if you have pthread_detach function])
dnl Check for setconcurreny functions
dnl Check for setconcurrency functions
AC_CHECK_FUNCS( \
pthread_setconcurrency \
pthread_getconcurrency \
......@@ -1737,7 +1737,7 @@ case $ol_with_threads in auto | yes | lwp)
ol_with_yielding_select=yes
fi
dnl Check for setconcurreny functions
dnl Check for setconcurrency functions
AC_CHECK_FUNCS( \
thr_setconcurrency \
thr_getconcurrency \
......@@ -1972,7 +1972,7 @@ hosts_access(req)
AC_DEFINE(HAVE_TCPD,1, [define if you have -lwrap])
WRAP_LIBS="-lwrap"
elif test $ol_enable_wrappers = yes ; then
AC_MSG_ERROR([could not find TCP wrappers, select apppropriate options or disable])
AC_MSG_ERROR([could not find TCP wrappers, select appropriate options or disable])
else
AC_MSG_WARN([could not find TCP wrappers, support disabled])
WRAP_LIBS=""
......
......@@ -6,7 +6,7 @@ Headerfiles installed.
Installation:
=============
Just run the "configure" script with the apropriate options. Especially
Just run the "configure" script with the appropriate options. Especially
these two options can be imported, if you didn't install the OpenLDAP-
libraries in the default place:
......@@ -14,7 +14,7 @@ libraries in the default place:
C-libraries are located.
--with-ldap-includes=<path to ldap include files> : To tell configure
where the OpenLDAP include files are located.
--enable-debug to enable compliation with debugging symbols and stderr
--enable-debug to enable compilation with debugging symbols and stderr
output
(run "configure --help" to see all possible command line options)
......
......@@ -463,7 +463,7 @@ WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
# This WARN_NO_PARAMDOC option can be abled to get warnings for
# This WARN_NO_PARAMDOC option can be enabled to get warnings for
# functions that are documented, but have no documentation for their parameters
# or return value. If set to NO (the default) doxygen will only warn about
# wrong or incomplete parameter documentation, but not about the absence of
......@@ -637,7 +637,7 @@ REFERENCES_RELATION = YES
# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
# link to the source code. Otherwise they will link to the documentstion.
# link to the source code. Otherwise they will link to the documentation.
REFERENCES_LINK_SOURCE = YES
......
......@@ -30,7 +30,7 @@ int main(){
lc->bind("cn=Manager,o=Organisation,c=DE" , "secret",cons);
std::cout << lc->getHost() << std::endl;
bool result = lc->compare("cn=Manager,o=Organisation,c=DE",
LDAPAttribute("cn","Manaer"));
LDAPAttribute("cn","Manager"));
std::cout << "Compare: " << result << std::endl;
LDAPAttributeList* attrs=new LDAPAttributeList();
......
......@@ -62,8 +62,8 @@ class LDAPAsynConnection{
*/
static const int SEARCH_SUB=2;
/** Construtor that initializes a connection to a server
* @param hostname Name (or IP-Adress) of the destination host
/** Constructor that initializes a connection to a server
* @param hostname Name (or IP-Address) of the destination host
* @param port Port the LDAP server is running on
* @param cons Default constraints to use with operations over
* this connection
......@@ -111,7 +111,7 @@ class LDAPAsynConnection{
* error that occured.
* This method does a simple (username, password) bind to the server.
* Other, saver, authentcation methods are provided later
* @param dn the distiguished name to bind as
* @param dn the distinguished name to bind as
* @param passwd cleartext password to use
*/
LDAPMessageQueue* bind(const std::string& dn="",
......@@ -196,7 +196,7 @@ class LDAPAsynConnection{
* @throws LDAPException If the Request could not be sent to the
* destination server, a LDAPException-object contains the
* error that occured.
* @param dn Distiguished Name of the Entry to modify
* @param dn Distinguished Name of the Entry to modify
* @param modlist A set of modification that should be applied
* to the Entry
* @param cons A set of constraints that should be used with this
......@@ -232,7 +232,7 @@ class LDAPAsynConnection{
* error that occured.
* @param oid The dotted decimal representation of the extended
* Operation that should be performed
* @param value The data asociated with this operation
* @param value The data associated with this operation
* @param cons A set of constraints that should be used with this
* request
*/
......
......@@ -124,7 +124,7 @@ class LDAPAttribute{
void setValues(const StringList& values);
/**
* For interal use only.
* For internal use only.
* This method is used to translate the values of the Attribute to
* 0-terminated Array of BerValue-structs as used by the C-API
* @return The Values of the Attribute as an 0-terminated Array of
......
......@@ -18,24 +18,24 @@
using namespace std;
// little helper function for doing case insensitve string comparison
// little helper function for doing case insensitive string comparison
bool nocase_compare(char c1, char c2);
LDAPAttributeList::LDAPAttributeList(){
DEBUG(LDAP_DEBUG_CONSTRUCT,
"LDAPAttributeList::LDAPAttributList( )" << endl);
"LDAPAttributeList::LDAPAttributeList( )" << endl);
}
LDAPAttributeList::LDAPAttributeList(const LDAPAttributeList& al){
DEBUG(LDAP_DEBUG_CONSTRUCT,
"LDAPAttributeList::LDAPAttributList(&)" << endl);
"LDAPAttributeList::LDAPAttributeList(&)" << endl);
m_attrs=al.m_attrs;
}
LDAPAttributeList::LDAPAttributeList(const LDAPAsynConnection *ld,
LDAPMessage *msg){
DEBUG(LDAP_DEBUG_CONSTRUCT,
"LDAPAttributeList::LDAPAttributList()" << endl);
"LDAPAttributeList::LDAPAttributeList()" << endl);
BerElement *ptr=0;
char *name=ldap_first_attribute(ld->getSessionHandle(), msg, &ptr);
/*
......@@ -65,7 +65,7 @@ LDAPAttributeList::LDAPAttributeList(const LDAPAsynConnection *ld,
}
LDAPAttributeList::~LDAPAttributeList(){
DEBUG(LDAP_DEBUG_DESTROY,"LDAPAttributeList::~LDAPAttributList()" << endl);
DEBUG(LDAP_DEBUG_DESTROY,"LDAPAttributeList::~LDAPAttributeList()" << endl);
}
size_t LDAPAttributeList::size() const{
......
......@@ -43,7 +43,7 @@ class LDAPConnection : private LDAPAsynConnection {
*
* During execution of this constructor no network communication
* is performed. Just some internal data structure are initialized
* @param hostname Name (or IP-Adress) of the destination host
* @param hostname Name (or IP-Address) of the destination host
* @param port Port the LDAP server is running on
* @param cons Default constraints to use with operations over
* this connection
......@@ -57,7 +57,7 @@ class LDAPConnection : private LDAPAsynConnection {
~LDAPConnection();
/**
* Initzializes a synchronous connection to a server.
* Initializes a synchronous connection to a server.
*
* There is actually no
* communication to the server. Just the object is initialized
......@@ -82,7 +82,7 @@ class LDAPConnection : private LDAPAsynConnection {
* Performs a simple authentication with the server
*
* @throws LDAPReferralException if a referral is received
* @throws LDAPException for any other error occuring during the
* @throws LDAPException for any other error occurring during the
* operation
* @param dn The name of the entry to bind as
* @param passwd The cleartext password for the entry
......@@ -102,11 +102,11 @@ class LDAPConnection : private LDAPAsynConnection {
void unbind();
/**
* Performs a COMPARE-operation on an entery of the destination
* Performs a COMPARE-operation on an entry of the destination
* server.
*
* @throws LDAPReferralException if a referral is received
* @throws LDAPException for any other error occuring during the
* @throws LDAPException for any other error occurring during the
* operation
* @param dn Distinguished name of the entry for which the compare
* should be performed
......@@ -126,7 +126,7 @@ class LDAPConnection : private LDAPAsynConnection {
*
* This method performs the DELETE operation on the server
* @throws LDAPReferralException if a referral is received
* @throws LDAPException for any other error occuring during the
* @throws LDAPException for any other error occurring during the
* operation
* @param dn Distinguished name of the entry that should be deleted
* @param cons A set of constraints that should be used with this
......@@ -138,7 +138,7 @@ class LDAPConnection : private LDAPAsynConnection {
* Use this method to perform the ADD-operation
*
* @throws LDAPReferralException if a referral is received
* @throws LDAPException for any other error occuring during the
* @throws LDAPException for any other error occurring during the
* operation
* @param le the entry to add to the directory
* @param cons A set of constraints that should be used with this
......@@ -150,7 +150,7 @@ class LDAPConnection : private LDAPAsynConnection {
* To modify the attributes of an entry, this method can be used
*
* @throws LDAPReferralException if a referral is received
* @throws LDAPException for any other error occuring during the
* @throws LDAPException for any other error occurring during the
* operation
* @param dn The DN of the entry which should be modified
* @param mods A set of modifications for that entry.
......@@ -163,10 +163,10 @@ class LDAPConnection : private LDAPAsynConnection {
/**
* This method performs the ModDN-operation.
*
* It can be used to rename or move an entry by modifing its DN.
* It can be used to rename or move an entry by modifying its DN.
*
* @throws LDAPReferralException if a referral is received
* @throws LDAPException for any other error occuring during the
* @throws LDAPException for any other error occurring during the
* operation
* @param dn The DN that should be modified
* @param newRDN If the RDN of the entry should be modified the
......@@ -188,7 +188,7 @@ class LDAPConnection : private LDAPAsynConnection {
* This method can be used for the sync. SEARCH-operation.
*
* @throws LDAPReferralException if a referral is received
* @throws LDAPException for any other error occuring during the
* @throws LDAPException for any other error occurring during the
* operation
* @param base The distinguished name of the starting point for the
* search
......@@ -214,7 +214,7 @@ class LDAPConnection : private LDAPAsynConnection {
* This method is for extended LDAP-Operations.
*
* @throws LDAPReferralException if a referral is received
* @throws LDAPException for any other error occuring during the
* @throws LDAPException for any other error occurring during the
* operation
* @param oid The Object Identifier of the Extended Operation that
* should be performed.
......
......@@ -137,7 +137,7 @@ const LDAPControlSet* LDAPConstraints::getClientControls() const{
}
LDAPControl** LDAPConstraints::getSrvCtrlsArray() const {
DEBUG(LDAP_DEBUG_TRACE,"LDAPContstraints::getSrvCtrlsArray()" << endl);
DEBUG(LDAP_DEBUG_TRACE,"LDAPConstraints::getSrvCtrlsArray()" << endl);
if(m_serverControls){
return m_serverControls->toLDAPControlArray();
}else{
......@@ -146,7 +146,7 @@ LDAPControl** LDAPConstraints::getSrvCtrlsArray() const {
}
LDAPControl** LDAPConstraints::getClCtrlsArray() const {
DEBUG(LDAP_DEBUG_TRACE,"LDAPContstraints::getClCtrlsArray()" << endl);
DEBUG(LDAP_DEBUG_TRACE,"LDAPConstraints::getClCtrlsArray()" << endl);
if(m_clientControls){
return m_clientControls->toLDAPControlArray();
}else{
......@@ -155,7 +155,7 @@ LDAPControl** LDAPConstraints::getClCtrlsArray() const {
}
timeval* LDAPConstraints::getTimeoutStruct() const {
DEBUG(LDAP_DEBUG_TRACE,"LDAPContstraints::getTimeoutStruct()" << endl);
DEBUG(LDAP_DEBUG_TRACE,"LDAPConstraints::getTimeoutStruct()" << endl);
if(m_maxTime == LDAP_NO_LIMIT){
return 0;
}else{
......@@ -167,12 +167,12 @@ timeval* LDAPConstraints::getTimeoutStruct() const {
}
bool LDAPConstraints::getReferralChase() const {
DEBUG(LDAP_DEBUG_TRACE,"LDAPContstraints::getReferralChase()" << endl);
DEBUG(LDAP_DEBUG_TRACE,"LDAPConstraints::getReferralChase()" << endl);
return m_referralChase;
}
int LDAPConstraints::getHopLimit() const{
DEBUG(LDAP_DEBUG_TRACE,"LDAPContstraints::getHopLimit()" << endl);
DEBUG(LDAP_DEBUG_TRACE,"LDAPConstraints::getHopLimit()" << endl);
return m_HopLimit;
}
......@@ -34,10 +34,10 @@ class LDAPControlSet {
* For internal use only
*
* This constructor creates a new LDAPControlSet for a
* 0-terminiated array of LDAPControl-structures as used by the
* 0-terminated array of LDAPControl-structures as used by the
* C-API
* @param controls: pointer to a 0-terminated array of pointers to
* LDAPControll-structures
* LDAPControl-structures
* @note: untested til now. Due to lack of server that return
* Controls
*/
......
......@@ -37,7 +37,7 @@ class LDAPEntry{
* Used internally only.
*
* The constructor is used internally to create a LDAPEntry from
* the C-API's data structurs.
* the C-API's data structures.
*/
LDAPEntry(const LDAPAsynConnection *ld, LDAPMessage *msg);
......
......@@ -27,8 +27,8 @@ class LDAPException : public std::runtime_error
/**
* Constructs a LDAPException-object from the parameters
* @param res_code A valid LDAP result code.
* @param err_string An addional error message for the error
* that happend (optional)
* @param err_string An additional error message for the error
* that happened (optional)
*/
LDAPException(int res_code,
const std::string& err_string=std::string()) throw();
......@@ -36,7 +36,7 @@ class LDAPException : public std::runtime_error
/**
* Constructs a LDAPException-object from the error state of a
* LDAPAsynConnection-object
* @param lc A LDAP-Connection for that an error has happend. The
* @param lc A LDAP-Connection for that an error has happened. The
* Constructor tries to read its error state.
*/
LDAPException(const LDAPAsynConnection *lc) throw();
......@@ -58,7 +58,7 @@ class LDAPException : public std::runtime_error
const std::string& getResultMsg() const throw();
/**
* @return The addional error message of the error (if it was set)
* @return The additional error message of the error (if it was set)
*/
const std::string& getServerMsg() const throw();
......
......@@ -46,7 +46,7 @@ class LDAPMsg{
static const int EXTENDED_REQUEST=LDAP_REQ_EXTENDED;
/**
* The destructor has no implemenation, because this is an abstract
* The destructor has no implementation, because this is an abstract
* class.
*/
virtual ~LDAPMsg() {}
......@@ -81,7 +81,7 @@ class LDAPMsg{
* DEL_RESPONSE <BR>
* MODDN_RESPONSE <BR>
* COMPARE_RESPONSE <BR>
* EXTENDED_REPONSE <BR>
* EXTENDED_RESPONSE <BR>
*/
int getMessageType();
......
......@@ -11,7 +11,7 @@
#include <LDAPRebindAuth.h>
/**
* Just an abstract class to provide a mechnism for rebind to another
* Just an abstract class to provide a mechanism for rebind to another
* server when chasing referrals. Clients have to implement a class
* derived from this. To use authentication other than anonymous for
* referral chasing
......
......@@ -10,7 +10,7 @@
#include<string>
/**
* This class represent Authenication information for the case that the
* This class represent Authentication information for the case that the
* library is chasing referrals.
*
* The LDAPRebind::getRebindAuth() method returns an object of this type.
......
......@@ -19,7 +19,7 @@ class LDAPUrl;
*
* Each request that is sent to a LDAP-server by this library is
* represented by a special object that contains the parameters and some
* other info of the request. This virtual class is the common base classe
* other info of the request. This virtual class is the common base class
* for these specialized request classes.
*/
class LDAPRequest{
......
......@@ -59,7 +59,7 @@ class LDAPResult : public LDAPMsg{
static const int ALIAS_DEREFERENCING_PROBLEM = 36;
static const int INAPPROPRIATE_AUTENTICATION = 48;
static const int INAPPROPRIATE_AUTHENTICATION = 48;
static const int INVALID_CREDENTIALS = 49;
static const int INSUFFICIENT_ACCESS = 50;
static const int BUSY = 51;
......@@ -125,7 +125,7 @@ class LDAPResult : public LDAPMsg{
std::string resToString() const;
/**
* In some case of error the server may return addional error
* In some case of error the server may return additional error
* messages.
* @returns The additional error message returned by the server.
*/
......@@ -141,7 +141,7 @@ class LDAPResult : public LDAPMsg{
const std::string& getMatchedDN() const;
/**
* @returns If the result code is REFERRAL this methode returns the
* @returns If the result code is REFERRAL this method returns the
* URLs of the referral that was sent by the server.
*/
const LDAPUrlList& getReferralUrls() const;
......
Supports Markdown
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