diff --git a/lam/codespell.sh b/lam/codespell.sh index d3954986..00ddb3cb 100755 --- a/lam/codespell.sh +++ b/lam/codespell.sh @@ -1,3 +1,3 @@ #!/bin/bash -~/.local/bin/codespell --skip '*3rdParty*,*/ckeditor/*,*/po/*,*/locale/*,tmp,sess,config,graphics,*/style/images/*,*/style/*.gif,*/style/*.png,*/docs/manual-onePage/*,*/docs/manual-sources/images/*,*/templates/lib/*jquery*,*~,*/docs/phpdoc/*,*/docs/manual/*,*/docs/devel/images/*,*/docs/manual-pdf/*,*.sh,*/cropper.js,*/lib/extra/duo/*' --ignore-words-list "tim,files'" +~/.local/bin/codespell --skip '*3rdParty*,*/ckeditor/*,*/po/*,*/locale/*,tmp,sess,config,graphics,*/style/images/*,*/style/*.gif,*/style/*.png,*/docs/manual-onePage/*,*/docs/manual-sources/images/*,*/templates/lib/*jquery*,*~,*/docs/phpdoc/*,*/docs/manual/*,*/docs/devel/images/*,*/docs/manual-pdf/*,*.sh,*/cropper.js,*/lib/extra/duo/*' --ignore-words-list "tim,te,pres,files'" diff --git a/lam/docs/devel/mod_accountPages.htm b/lam/docs/devel/mod_accountPages.htm index 60145d6f..88fd48a3 100644 --- a/lam/docs/devel/mod_accountPages.htm +++ b/lam/docs/devel/mod_accountPages.htm @@ -39,7 +39,7 @@ attribute. Therefore we will save these two values.
    * This function loads all needed attributes into the object.
    *
-    * @param array $attr an array as it is retured from +    * @param array $attr an array as it is returned from ldap_get_attributes
    */
    function load_attributes($attr) {
diff --git a/lam/docs/devel/mod_basics.htm b/lam/docs/devel/mod_basics.htm index 4ded5f0b..026cfb7a 100644 --- a/lam/docs/devel/mod_basics.htm +++ b/lam/docs/devel/mod_basics.htm @@ -58,7 +58,7 @@ class ieee802Device

4. Meta data

-The module interface inludes a lot of required and optional functions. +The module interface includes a lot of required and optional functions. Many of these functions do not need to be implemented directly in the module, you can define meta data for them and the baseModule diff --git a/lam/docs/devel/mod_general.htm b/lam/docs/devel/mod_general.htm index d2b57563..cbe1886b 100644 --- a/lam/docs/devel/mod_general.htm +++ b/lam/docs/devel/mod_general.htm @@ -122,7 +122,7 @@ get_metaData() {


4. Dependencies

-Modules can depend on eachother. This is useful if you need to access +Modules can depend on each other. This is useful if you need to access attributes from other modules or the managed object classes of your module are not structural.

@@ -198,7 +198,7 @@ is set dynamically
You can tell LAM what object classes are managed by your module.
LAM will then check the spelling of the objectClass attributes and correct it automatically. This is useful if other applications (e.g. -smbldap-tools) also create accounts and the spelling is differnt.
+smbldap-tools) also create accounts and the spelling is different.

Example:

diff --git a/lam/docs/devel/profile_files.htm b/lam/docs/devel/profile_files.htm index 41825e89..d1c19fa3 100644 --- a/lam/docs/devel/profile_files.htm +++ b/lam/docs/devel/profile_files.htm @@ -18,7 +18,7 @@ designed to be editable by hand. They do not allow to add comments and have a simpler format.

Format

-There is one option per line which is formated: <identifier>: +There is one option per line which is formatted: <identifier>: <value>

Identifier is the option's name, value is the rest of the line after diff --git a/lam/docs/manual-sources/appendix-security.xml b/lam/docs/manual-sources/appendix-security.xml index 0ed2b02f..0ed32231 100644 --- a/lam/docs/manual-sources/appendix-security.xml +++ b/lam/docs/manual-sources/appendix-security.xml @@ -34,7 +34,7 @@
Use of SSL - The data which is transfered between you and LAM is very sensitive. + The data which is transferred between you and LAM is very sensitive. Please always use SSL encrypted connections between LAM and your browser to protect yourself against network sniffers.
diff --git a/lam/docs/manual-sources/appendix-troubleshooting.xml b/lam/docs/manual-sources/appendix-troubleshooting.xml index 8d23c04a..7852d288 100644 --- a/lam/docs/manual-sources/appendix-troubleshooting.xml +++ b/lam/docs/manual-sources/appendix-troubleshooting.xml @@ -85,7 +85,7 @@ If there are any object classes or attributes missing you will get a notice. See LDAP schema files for a - list of used schemas. You may also want to deactive unused modules in + list of used schemas. You may also want to deactivate unused modules in your LAM server profile (tab "Modules"). diff --git a/lam/docs/manual-sources/chapter-bigPicture.xml b/lam/docs/manual-sources/chapter-bigPicture.xml index 724bcaa3..e0ed3cc0 100644 --- a/lam/docs/manual-sources/chapter-bigPicture.xml +++ b/lam/docs/manual-sources/chapter-bigPicture.xml @@ -292,7 +292,7 @@ LAM runtime environment: - LAM runs on PHP. Therefore, it is independant of CPU architecture + LAM runs on PHP. Therefore, it is independent of CPU architecture and operating system (OS). You can run LAM on any OS which supports Apache, Nginx or other PHP compatible web servers. diff --git a/lam/docs/manual-sources/chapter-configuration.xml b/lam/docs/manual-sources/chapter-configuration.xml index 16b71aad..18b46ff9 100644 --- a/lam/docs/manual-sources/chapter-configuration.xml +++ b/lam/docs/manual-sources/chapter-configuration.xml @@ -207,7 +207,7 @@ - File: all messages will be writen to the given file. LAM will + File: all messages will be written to the given file. LAM will create it if not yet existing. diff --git a/lam/docs/manual-sources/chapter-modules.xml b/lam/docs/manual-sources/chapter-modules.xml index 4962d7ea..7339606c 100644 --- a/lam/docs/manual-sources/chapter-modules.xml +++ b/lam/docs/manual-sources/chapter-modules.xml @@ -1807,7 +1807,7 @@ Setup password changing LAM Pro cannot generate the password hashes itself because Heimdal - uses a propietary format for them. Therefore, LAM Pro needs to call e.g. + uses a proprietary format for them. Therefore, LAM Pro needs to call e.g. kadmin to set the password. The wildcards @@password@@ and @@principal@@ are replaced with @@ -1856,7 +1856,7 @@ Setup password changing LAM Pro cannot generate the password hashes itself because MIT - uses a propietary format for them. Therefore, LAM Pro needs to call + uses a proprietary format for them. Therefore, LAM Pro needs to call kadmin/kadmin.local to set the password. LAM will add "-q 'cpw -pw PASSWORD PRINCIPAL'" to the command to @@ -1870,9 +1870,9 @@ password change. Please note that kadmin/kadmin.local often returns a successful - command even if errors occured (e.g. password policy violations). You + command even if errors occurred (e.g. password policy violations). You need to test this before and if affected then write a wrapper script - arround kadmin that returns non-zero return codes for errors. + around kadmin that returns non-zero return codes for errors. Example commands: @@ -1956,7 +1956,7 @@ - You can add the user to existing alias entries or create completly + You can add the user to existing alias entries or create completely new ones. @@ -4737,7 +4737,7 @@ Run slapindex to rebuild the index. please skip the "@" entry in the CSV file below. LAM creates this entry with sample data. - In this example we assume that the following zone extry + In this example we assume that the following zone entry exists: dn: dlzZoneName=example.com,ou=bind,dc=example,dc=com @@ -5360,7 +5360,7 @@ OK (10 msec) LAM will display a default icon and "Custom fields" as label if you do not enter any values. - You may also specify how LAM displays cutom fields when there are + You may also specify how LAM displays custom fields when there are multiple field groups. The default is accordion view where you can switch field groups by clicking on the title. You may also deactivate this mode. Then all field groups are displayed one below the other. @@ -5375,7 +5375,7 @@ OK (10 msec) Defining groups: - All input fields are devided into groups. A group may contain one or + All input fields are divided into groups. A group may contain one or more object classes and allows you to add/remove a certain set of input fields. @@ -5724,7 +5724,7 @@ OK (10 msec) - §attribute|;§; attribute values separted by ";" (you can set + §attribute|;§; attribute values separated by ";" (you can set other separators if you want) @@ -5974,7 +5974,7 @@ OK (10 msec) You can switch LAM's logging to debug mode if you are unsure which attributes with which values are available. - The following special wildcards are available for automatical + The following special wildcards are available for automatic scripts: diff --git a/lam/docs/manual-sources/chapter-selfService.xml b/lam/docs/manual-sources/chapter-selfService.xml index 27c9f6e6..0e1975a2 100644 --- a/lam/docs/manual-sources/chapter-selfService.xml +++ b/lam/docs/manual-sources/chapter-selfService.xml @@ -1921,7 +1921,7 @@ - §attribute|;§; attribute values separted by ";" (you can set + §attribute|;§; attribute values separated by ";" (you can set other separators if you want) diff --git a/lam/docs/manual-sources/chapter-tools.xml b/lam/docs/manual-sources/chapter-tools.xml index 63ffcb1d..8fc8f562 100644 --- a/lam/docs/manual-sources/chapter-tools.xml +++ b/lam/docs/manual-sources/chapter-tools.xml @@ -192,7 +192,7 @@ This will run the actions against your LDAP directory. You will see which accounts are edited in the progress area and also if any errors - occured. + occurred. diff --git a/lam/docs/schema/dhcp.schema b/lam/docs/schema/dhcp.schema index c5ed6c72..a7ed1241 100644 --- a/lam/docs/schema/dhcp.schema +++ b/lam/docs/schema/dhcp.schema @@ -331,7 +331,7 @@ attributetype ( 2.16.840.1.113719.1.203.4.55 attributetype ( 2.16.840.1.113719.1.203.4.56 NAME 'dhcpComments' EQUALITY caseIgnoreIA5Match - DESC 'Generic attribute that allows coments within any DHCP object' + DESC 'Generic attribute that allows comments within any DHCP object' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # Classes diff --git a/lam/lib/modules/dhcp_settings.inc b/lam/lib/modules/dhcp_settings.inc index 236f6ba9..3ed28827 100644 --- a/lam/lib/modules/dhcp_settings.inc +++ b/lam/lib/modules/dhcp_settings.inc @@ -3,7 +3,7 @@ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) Copyright (C) 2008 Thomas Manninger - 2008 - 2019 Roland Gruber + 2008 - 2020 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ */ /** - * This function checks if the given IP address ist valid. + * This function checks if the given IP address is valid. * * @param string IP to check * @param check Subnet diff --git a/lam/lib/modules/posixAccount.inc b/lam/lib/modules/posixAccount.inc index aed6bb9f..b77b0a68 100644 --- a/lam/lib/modules/posixAccount.inc +++ b/lam/lib/modules/posixAccount.inc @@ -1208,7 +1208,7 @@ class posixAccount extends baseModule implements passwordService { } /** - * Checks if an attribute contains only ASCII charaters and replaces invalid characters. + * Checks if an attribute contains only ASCII characters and replaces invalid characters. * * @param string $attribute attribute value * @return string attribute value with replaced non-ASCII characters @@ -3670,7 +3670,7 @@ class posixAccount extends baseModule implements passwordService { /** * Returns a suggestion for the user name. - * By default this wil be the first character of the first name plus the last name. + * By default this will be the first character of the first name plus the last name. * * @param array $attrs LDAP attributes * @param string $typeId type id (e.g. user) diff --git a/lam/lib/modules/posixGroup.inc b/lam/lib/modules/posixGroup.inc index 5ea2a135..852702e9 100644 --- a/lam/lib/modules/posixGroup.inc +++ b/lam/lib/modules/posixGroup.inc @@ -853,7 +853,7 @@ class posixGroup extends baseModule implements passwordService { else unset($this->attributes['gidNumber'][0]); } } - // $uids is allways an array but not if no entries were found + // $uids is always an array but not if no entries were found if (is_array($gids)) { // id-number is in use and account is a new account if ((in_array($this->attributes['gidNumber'][0], $gids)) && $this->orig['gidNumber'][0]=='') { diff --git a/lam/lib/schema.inc b/lam/lib/schema.inc index a7106a02..3d5f714e 100644 --- a/lam/lib/schema.inc +++ b/lam/lib/schema.inc @@ -1,10 +1,9 @@