Compare commits

...

1545 Commits

Author SHA1 Message Date
Roland Gruber 72ef7f1ac5 identification method description 2020-08-17 20:22:07 +02:00
Roland Gruber 4f8b1e81ea identification method description 2020-08-14 16:47:32 +02:00
Roland Gruber c5b6c8132c fixed PHP message 2020-08-13 17:30:35 +02:00
Roland Gruber 6c306bcb9e translation 2020-08-11 19:58:30 +02:00
Roland Gruber 3c7fdca8eb 7.3 2020-08-10 20:04:38 +02:00
Roland Gruber d0b18ad8b5 translation 2020-08-10 19:47:10 +02:00
Roland Gruber 4455a5a15d translation 2020-08-09 20:28:20 +02:00
Roland Gruber 598fa546a9 translation 2020-08-07 22:07:47 +02:00
Roland Gruber df0e02da9f refactoring 2020-07-30 20:41:39 +02:00
Roland Gruber 2ee58dd737 7.3 2020-07-30 20:26:35 +02:00
Roland Gruber 8375f9e0d0 code fixes 2020-07-29 17:02:21 +02:00
Roland Gruber ad23fd0fc2 codeql 2020-07-29 16:47:51 +02:00
Roland Gruber 5972e94fdb codeql 2020-07-29 16:37:15 +02:00
gruberroland 9a9bb3dce7
Create codeql-analysis.yml 2020-07-29 16:18:54 +02:00
Roland Gruber bfa22c6aa3 allow to hide a part of the DN in display 2020-07-26 21:28:28 +02:00
Roland Gruber 09989ee804 fixed rtl display 2020-07-26 21:24:45 +02:00
Roland Gruber 08a65e2608 webcam support 2020-07-26 20:50:04 +02:00
gruberroland 3368b4ab10
Merge pull request #102 from LDAPAccountManager/feature/webcam
Feature/webcam
2020-07-24 21:05:57 +02:00
Roland Gruber b3905d73ca fixed test 2020-07-24 21:00:36 +02:00
Roland Gruber e5344b0568 fixed test 2020-07-24 20:56:20 +02:00
Roland Gruber b00fd8d83e typo 2020-07-24 20:54:19 +02:00
Roland Gruber 018513ac95 webcam support 2020-07-24 20:49:04 +02:00
Roland Gruber 75120fc25d webcam support 2020-07-24 10:06:22 +02:00
Roland Gruber 3ad5dcf65a webcam support 2020-07-22 13:28:17 +02:00
Roland Gruber 6768c7e7ef webcam support 2020-07-22 08:23:49 +02:00
Roland Gruber 1dd0f64f5b fixed removing of memberUid on forced sync 2020-07-20 20:59:24 +02:00
Roland Gruber cb58a27972 fixed removing of memberUid on forced sync 2020-07-20 20:56:31 +02:00
Roland Gruber 9394eeeabd fixed unbound variable 2020-07-19 13:08:33 +02:00
Roland Gruber ffb3ed9357 use additional LDAP filter for search 2020-07-18 20:36:08 +02:00
Roland Gruber 4158ebb91d use additional LDAP filter for search 2020-07-18 20:33:36 +02:00
Roland Gruber 2698995cc2 added job to send users group summary 2020-07-18 20:13:38 +02:00
Roland Gruber 840289e360 fixed test 2020-07-18 13:22:00 +02:00
Roland Gruber 60109eb47c config export/import 2020-07-12 10:13:30 +02:00
Roland Gruber e070accf18 active export/import 2020-07-12 09:48:49 +02:00
Roland Gruber 21e7e4a95d export webauthn data 2020-07-08 20:46:56 +02:00
Roland Gruber 5e770d8920 fixed warning 2020-07-03 20:02:48 +02:00
Roland Gruber e03cd1f57c moved message 2020-06-30 20:51:20 +02:00
Roland Gruber d32d8d3a0d moved error message 2020-06-30 20:24:38 +02:00
Roland Gruber 1523f0ee8f enhanced error messages 2020-06-28 20:52:10 +02:00
Roland Gruber bc277e4c0a enhanced error messages 2020-06-28 20:46:32 +02:00
Roland Gruber f75f813a9a enhanced error messages 2020-06-28 11:16:37 +02:00
Roland Gruber 87986e93cc PHP notice 2020-06-27 20:47:43 +02:00
Roland Gruber 780daded11 show info if login failed and account can be determined as locked 2020-06-21 21:33:43 +02:00
Roland Gruber 38cbfb9dab fixed translation 2020-06-21 21:12:44 +02:00
Roland Gruber 60199a41b5 fixed layout 2020-06-19 12:42:15 +02:00
Roland Gruber aed8ce867c 7.3.PRE1 2020-06-19 09:10:18 +02:00
Roland Gruber 30909b385a show password prompt if user with expired password logs in 2020-06-18 13:08:23 +02:00
gruberroland 55ccddbf1e
Merge pull request #101 from LDAPAccountManager/configImportExport
Config import export
2020-06-17 13:05:01 +02:00
Roland Gruber ee75385e7d fixed tests 2020-06-17 12:57:18 +02:00
gruberroland 9ec8d2ce57
Merge branch 'develop' into configImportExport 2020-06-17 12:27:25 +02:00
Roland Gruber 605713a181 better error messages on login 2020-06-17 11:28:05 +02:00
Roland Gruber fd8e7c1de3 fixed tests 2020-06-16 20:14:33 +02:00
Roland Gruber bdd3dd39b9 sync primary group 2020-06-16 09:55:28 +02:00
Roland Gruber 4d0a6d92e7 round with precision 2 2020-06-15 20:26:33 +02:00
Roland Gruber e58459d351 PHP 7.4 2020-06-15 20:23:15 +02:00
Roland Gruber 316c979ef2 PHP 7.4 2020-06-15 20:20:35 +02:00
Roland Gruber 3bd507a47d make group display configurable 2020-06-15 15:34:44 +02:00
Roland Gruber 01844a0d05 Merge remote-tracking branch 'remotes/origin/develop' into configImportExport
# Conflicts:
#	lam/lib/selfService.inc
2020-06-14 21:36:48 +02:00
Roland Gruber 57dcbd880d PHPDoc 2020-06-14 21:34:19 +02:00
Roland Gruber 12581a5dc0 format usage 2020-06-14 21:22:50 +02:00
Roland Gruber 2fcabf0c07 Merge branch 'develop' of github.com:LDAPAccountManager/lam into develop 2020-06-14 19:58:24 +02:00
Roland Gruber db523af70f use full width for groups 2020-06-14 19:58:02 +02:00
Roland Gruber 69796a98f3 fixed formatting issue 2020-06-12 09:42:54 +02:00
gruberroland 82905cb4e5
Merge pull request #99 from steffen-moser/fixAutoSyncForGroupOfMembers
Adding groupOfMembers to the GON types
2020-06-06 10:41:54 +02:00
Steffen Moser 6f88ec8d9d Adding groupOfMembers to the GON types 2020-06-06 02:51:26 +02:00
Roland Gruber 75fd361116 Merge branch 'develop' of github.com:LDAPAccountManager/lam into develop 2020-06-05 16:01:24 +02:00
Roland Gruber f36446fe43 PHP 7.4 2020-06-05 16:00:59 +02:00
gruberroland 1196c56287
Update FUNDING.yml 2020-06-04 20:43:14 +02:00
gruberroland 48ace3c3f9
Create FUNDING.yml 2020-06-04 20:42:08 +02:00
Roland Gruber 5a09f8159f typos 2020-06-03 17:51:21 +02:00
Roland Gruber 6ade23ce65 7.3 2020-06-02 19:44:34 +02:00
Roland Gruber 03f6fd858b fixed build 2020-06-02 19:40:57 +02:00
Roland Gruber f23d2a4455 set user verification to discouraged 2020-06-01 20:08:58 +02:00
Roland Gruber f091b653b8 store self service profiles as JSON 2020-06-01 10:52:55 +02:00
Roland Gruber aa43b4721b store self service profiles as JSON 2020-06-01 10:34:34 +02:00
Roland Gruber 7bd799bee3 PDF global templates export 2020-05-30 12:35:22 +02:00
gruberroland 3ba7fa18bd
Create SECURITY.md 2020-05-28 20:32:31 +02:00
Roland Gruber 2e61e2dca9 #96 added option to disable certificate check 2020-05-28 20:25:39 +02:00
Roland Gruber 71af42442b phpmailer update 2020-05-28 20:11:36 +02:00
Roland Gruber 3018a887c0 PHP 7.4 2020-05-27 17:33:29 +02:00
Roland Gruber aaddb6eead TCPDF 6.3.5 2020-05-27 17:25:59 +02:00
Roland Gruber 95bdb04949 PHP 7.4 fix 2020-05-27 17:18:35 +02:00
Roland Gruber 93a7ffdd65 remove dev files before building packages 2020-05-24 09:17:14 +02:00
Roland Gruber ed28d3b8e7 fix version 2020-05-24 09:04:41 +02:00
gruberroland 3c305f26fa
Merge pull request #94 from patbaumgartner/develop
Providing better env variables to customize users and groups DN
2020-05-24 08:33:15 +02:00
Patrick Baumgartner ecdd23e843
Renaming env variables and providing better defaults 2020-05-23 14:07:47 +02:00
Patrick Baumgartner 1081b51fe9
Adding LDAP_GROUPS_DN und LDAP_USERS_DN 2020-05-23 14:05:27 +02:00
Patrick Baumgartner b91333ff12
Allowing to have a DN for users and groups
Users and groups are usually not in the same DN/OU, therefore we need the possibility to adjust them as well via environment variables and still keeping backward compatibility.
2020-05-23 14:00:02 +02:00
Roland Gruber 2e5419b3ac Merge branch 'develop' into configImportExport
# Conflicts:
#	lam/VERSION
2020-05-22 21:12:24 +02:00
Roland Gruber 9198187a26 typos 2020-05-22 21:10:48 +02:00
Roland Gruber 32b5a14226 import and export account profile templates 2020-05-22 21:02:13 +02:00
Roland Gruber 5151d96592 refactoring 2020-05-16 11:10:37 +02:00
Roland Gruber 0a72bc9635 config import and export 2020-05-13 20:47:12 +02:00
Roland Gruber 6fc259d718 config import and export 2020-05-12 20:58:56 +02:00
Roland Gruber 40fd19e3bf refactoring 2020-05-07 21:31:21 +02:00
Roland Gruber 9b4261ca36 refactoring 2020-05-07 21:18:19 +02:00
Roland Gruber 2db6bf23eb refactoring 2020-05-07 21:15:26 +02:00
Roland Gruber ffd74d88e4 config export 2020-05-07 21:10:47 +02:00
Roland Gruber a246fde0e2 refactoring 2020-05-07 20:27:50 +02:00
Roland Gruber 665ca9daad refactoring 2020-05-07 20:22:41 +02:00
Roland Gruber 81587a9b00 refactoring 2020-05-03 10:59:35 +02:00
Roland Gruber 9c6e30a03b account profile export 2020-05-03 10:32:35 +02:00
Roland Gruber c9d32bf2de refactoring 2020-05-02 18:51:33 +02:00
Roland Gruber a6b39d522f 7.2 2020-05-01 08:54:14 +02:00
Roland Gruber 8e9700d230 7.2 2020-05-01 08:41:53 +02:00
Roland Gruber e44f3d3243 refactoring 2020-04-29 20:33:43 +02:00
Roland Gruber 8743285719 #93 added missing locales 2020-04-28 21:06:15 +02:00
Roland Gruber 7fcc2cf38d error handling 2020-04-27 21:53:50 +02:00
Roland Gruber 1d107c4a24 i18n 2020-04-27 20:25:35 +02:00
Roland Gruber ec2a017fc7 i18n 2020-04-26 19:43:36 +02:00
Roland Gruber a724638886 i18n 2020-04-26 13:46:16 +02:00
Roland Gruber acbdec11dd i18n 2020-04-26 08:57:49 +02:00
Roland Gruber 8d50dd59b0 server profiles import 2020-04-26 08:55:09 +02:00
Roland Gruber ea72ab63a9 Merge remote-tracking branch 'remotes/origin/develop' into configImportExport 2020-04-25 20:50:33 +02:00
Roland Gruber d0e88cf80b i18n 2020-04-25 20:34:47 +02:00
Roland Gruber 2331e42e34 fixed text alignment 2020-04-23 21:18:27 +02:00
Roland Gruber df189f69e7 7.2 2020-04-22 20:20:52 +02:00
Roland Gruber 5b17baa628 i18n 2020-04-22 18:41:57 +02:00
Roland Gruber 5a40e6fed1 7.2 2020-04-21 21:18:39 +02:00
Roland Gruber d980ffc1a5 7.2 2020-04-21 20:14:57 +02:00
Roland Gruber 56d51c8e8c fixed issue with LDAP escaping 2020-04-21 20:01:35 +02:00
Roland Gruber a52393dc79 fixed issue when no quotas are found 2020-04-20 21:05:11 +02:00
Roland Gruber 58882affa7 fixed issue when no quotas are found 2020-04-19 20:53:56 +02:00
Roland Gruber 8b38839dae fixed issue when no quotas are found 2020-04-19 20:49:25 +02:00
Roland Gruber 24a6e14251 export server profiles 2020-04-19 20:40:40 +02:00
Roland Gruber 9936c834db onclick for span 2020-04-19 20:39:57 +02:00
Roland Gruber e8d421ae04 added certificates to export 2020-04-13 15:40:33 +02:00
Roland Gruber 00c5a014b4 import main config 2020-04-12 21:51:19 +02:00
Roland Gruber 38293656b6 check which settings are imported 2020-04-12 14:00:23 +02:00
Roland Gruber 9ed53f51de added export 2020-04-12 13:52:11 +02:00
Roland Gruber f0f81c085b added export 2020-04-12 13:51:36 +02:00
Roland Gruber 8af2132926 import/export config 2020-04-12 12:39:52 +02:00
Roland Gruber 541684d49f responsive 2020-04-11 15:41:26 +02:00
Roland Gruber 07f5ae2d7a #213 fixed Google reCaptcha 2020-04-10 20:48:09 +02:00
Roland Gruber b65125beaf added dev mode 2020-04-10 20:34:36 +02:00
Roland Gruber c9990fa189 allow to create Unix group when creating a user 2020-04-07 17:52:57 +02:00
gruberroland 18e1e5e3c1
Merge pull request #92 from LDAPAccountManager/composer-update
updated dependencies
2020-04-03 17:35:14 +02:00
Roland Gruber 6f5a8cb0cd updated dependencies 2020-04-03 17:33:33 +02:00
gruberroland 9cf564e500
Merge pull request #91 from LDAPAccountManager/licenseMail
License mail
2020-04-03 16:57:45 +02:00
Roland Gruber e9eca9ab74 docs 2020-04-03 16:57:22 +02:00
Roland Gruber ffb8fca488 show license message depending on setting 2020-04-03 16:53:55 +02:00
Roland Gruber 365389cd0b show license message depending on setting 2020-04-02 21:19:23 +02:00
Roland Gruber 0609c748ea 7.2 2020-04-02 21:02:06 +02:00
Roland Gruber 394cbedb2a configurable license warning 2020-03-28 21:57:04 +01:00
Roland Gruber 028f8adcfd configurable license warning 2020-03-28 21:34:58 +01:00
Roland Gruber 56eb28c2ba added auto-conversion for values 2020-03-28 18:06:38 +01:00
Roland Gruber 468a95e434 fixed profile check 2020-03-26 16:47:22 +01:00
Roland Gruber b12ba2369e refactoring 2020-03-19 20:42:36 +01:00
Roland Gruber 726f1e13b4 refactoring 2020-03-19 20:26:49 +01:00
gruberroland 802b16797a
Merge pull request #88 from LDAPAccountManager/phpMailer
Php mailer
2020-03-19 20:20:25 +01:00
Roland Gruber a07c0013ae refactoring 2020-03-19 19:55:58 +01:00
Roland Gruber bd7d32d2d0 refactoring 2020-03-19 19:48:38 +01:00
gruberroland 824ec1917a
Merge pull request #87 from LDAPAccountManager/phpMailer
Php mailer
2020-03-19 19:39:28 +01:00
Roland Gruber c192886117 phpMailer 2020-03-19 19:33:40 +01:00
Roland Gruber bf52e55f5f Merge branch 'develop' into phpMailer
# Conflicts:
#	lam/HISTORY
2020-03-19 19:23:26 +01:00
Roland Gruber 4a5ef05f38 7.1 2020-03-16 21:53:45 +01:00
Roland Gruber 54f6c82cee 7.1 2020-03-16 21:27:58 +01:00
Roland Gruber b6425b9abd refactoring 2020-03-13 20:59:30 +01:00
Roland Gruber 96c4b49f06 i18n 2020-03-13 11:31:51 +01:00
Roland Gruber 04065ccf58 fixed missing translations 2020-03-13 11:30:11 +01:00
Roland Gruber 0647faf744 new mail system 2020-03-11 21:29:07 +01:00
Roland Gruber 012e2b450f new mail system 2020-03-11 21:27:36 +01:00
Roland Gruber 2904f178a0 new mail system 2020-03-11 21:09:42 +01:00
Roland Gruber 6d5971d716 translation update 2020-03-11 09:01:26 +01:00
Roland Gruber 50596a358e new mail server options 2020-03-10 21:08:20 +01:00
Roland Gruber 0f40ba18c0 new mail server options 2020-03-09 21:40:15 +01:00
Roland Gruber 44dff694c4 added PHPMailer 2020-03-06 21:29:16 +01:00
Roland Gruber e386b9dad4 #20 sort users 2020-03-04 14:17:51 +01:00
Roland Gruber b4007b5d8e composer update 2020-03-04 13:02:09 +01:00
Roland Gruber 0230241b15 spell checking 2020-03-04 12:07:56 +01:00
Roland Gruber 51ed41f4fa spell checking 2020-03-04 12:02:14 +01:00
Roland Gruber 8894146c06 spell checking 2020-03-04 11:53:30 +01:00
Roland Gruber 2495dae78a spell checking 2020-03-03 20:57:29 +01:00
Roland Gruber ad2bce6a6a spell checking 2020-03-03 20:54:24 +01:00
Roland Gruber 5b14134108 spell checking 2020-03-03 20:34:06 +01:00
Roland Gruber 45b4bdb7d5 spell checking 2020-03-02 16:44:15 +01:00
Roland Gruber b7ab251f6c spell checking 2020-03-02 15:20:18 +01:00
Roland Gruber 041a8eb833 i18n 2020-03-01 13:37:52 +01:00
Roland Gruber eae8f36dab typos 2020-02-24 20:08:28 +01:00
Roland Gruber 799d9b24fc 7.1 2020-02-22 21:06:56 +01:00
Roland Gruber f3747d176e 7.1 2020-02-22 19:56:30 +01:00
Roland Gruber cb5291cb1a 7.1 2020-02-22 13:29:06 +01:00
Roland Gruber 5f09fe6ebe 7.1 2020-02-22 11:18:45 +01:00
Roland Gruber 110d693aaf 7.1 2020-02-22 11:16:10 +01:00
Roland Gruber 8eb07c27f4 7.1 2020-02-22 11:15:08 +01:00
Roland Gruber 4090fff0f3 fixed test 2020-02-22 11:07:30 +01:00
Roland Gruber 0610004c7d refactoring 2020-02-22 11:07:18 +01:00
Roland Gruber cc5fab6e5a removed debug output 2020-02-22 10:46:00 +01:00
Roland Gruber aec46823ba translation update 2020-02-22 10:29:25 +01:00
Roland Gruber 74d8210b01 phpunit update 2020-02-21 19:53:08 +01:00
Roland Gruber 5153f6ea17 fixed issues with comma in DN 2020-02-21 19:30:28 +01:00
Roland Gruber 098c28339a 7.1 2020-02-18 20:58:36 +01:00
Roland Gruber 45cbadd56c i18n 2020-02-18 20:47:49 +01:00
Roland Gruber a98fe5786a Merge remote-tracking branch 'origin/develop' into develop 2020-02-16 20:31:57 +01:00
Roland Gruber afdfa543d6 added crossorigin for manifest 2020-02-16 20:31:42 +01:00
gruberroland e923a03979
Merge pull request #86 from LDAPAccountManager/feature/imap
Feature/imap
2020-02-15 21:43:24 +01:00
Roland Gruber 0f8fb1e146 refactoring 2020-02-15 21:43:08 +01:00
Roland Gruber 59e9635e90 refactoring 2020-02-15 21:38:07 +01:00
Roland Gruber c0e1e026d8 use Horde imap library 2020-02-15 21:32:04 +01:00
Roland Gruber bd3777f764 use Horde imap library 2020-02-15 21:25:06 +01:00
Roland Gruber 362014ddf6 use Horde imap library 2020-02-15 21:23:40 +01:00
Roland Gruber aa0228c34c use Horde imap library 2020-02-15 14:11:40 +01:00
Roland Gruber 3f06070b89 added Horde IMAP lib 2020-02-13 21:31:32 +01:00
Roland Gruber 3d409d6e48 more profile options 2020-02-11 21:13:47 +01:00
Roland Gruber fdb6aaa809 increase default field size to 1000 2020-02-10 20:52:15 +01:00
Roland Gruber 7981f59b0e support workstations 2020-02-08 15:43:11 +01:00
Roland Gruber 2fbac1d9f0 Merge branch 'develop' of github.com:LDAPAccountManager/lam into develop 2020-02-08 15:42:41 +01:00
Roland Gruber 29f41b8774 PHP notice 2020-02-08 15:42:07 +01:00
gruberroland 64b41eb8e1
Merge pull request #85 from lasat/develop
Add 'expose 80' to Dockerfile
2020-02-05 20:37:14 +01:00
Roland Gruber 2b83758564 self registration for AD 2020-02-05 20:33:32 +01:00
Roland Gruber b15b94cb29 PHP7 2020-02-04 19:08:18 +01:00
lasat 4d3af3daaa
Add 'expose 80' to Dockerfile
this made usage with seperate network and behind reverse proxies (traefik, nginx) easier
2020-02-04 13:52:55 +01:00
Roland Gruber c468ba6479 fixed mail sending 2020-02-02 20:39:44 +01:00
Roland Gruber daa2fec5c7 2020 2020-02-02 19:47:09 +01:00
Roland Gruber e28efcfd21 allow ^/$ in filter expression 2020-02-01 17:30:53 +01:00
Roland Gruber 3dc40d1f99 refactoring 2020-02-01 17:13:35 +01:00
Roland Gruber c8d1e5ab82 AD LDS 2020-02-01 11:37:53 +01:00
Roland Gruber 981b0320f9 set email return-path 2020-01-28 20:45:38 +01:00
Roland Gruber 1e4ff3ce11 fixed issue with non-existing entries 2020-01-26 11:34:45 +01:00
Roland Gruber 9316803fc6 fixed PHP issue 2020-01-24 18:42:34 +01:00
Roland Gruber 7aa038a710 password check module 2020-01-22 21:35:12 +01:00
Roland Gruber c1d09bba09 added displayName 2020-01-19 18:12:03 +01:00
Roland Gruber 4131d5fe6c require PHP7 2020-01-18 10:40:30 +01:00
Roland Gruber 60b3ffb9ca added composer 2020-01-17 22:45:54 +01:00
Roland Gruber 02770b7759 ES5 2020-01-16 21:30:33 +01:00
Roland Gruber 9a855266ab ES5 2020-01-16 21:18:39 +01:00
Roland Gruber 1440bf22d6 ES5 2020-01-16 21:12:55 +01:00
Roland Gruber 7d1c2afd21 ES5 2020-01-16 21:01:57 +01:00
Roland Gruber d9fd4b36e2 optimize clone 2020-01-16 20:38:45 +01:00
gruberroland 7b222d9edb
Merge pull request #80 from LDAPAccountManager/webauthn
Webauthn
2020-01-13 20:29:43 +01:00
Roland Gruber 0c65e5bedb webauthn 2020-01-13 20:20:54 +01:00
Roland Gruber 8ee96c56d2 fixed error messages 2020-01-13 20:19:57 +01:00
Roland Gruber c1e6b61ecd webauthn 2020-01-13 20:14:40 +01:00
Roland Gruber f1db477fda webauthn 2020-01-12 10:57:39 +01:00
Roland Gruber 691055b83e webauthn 2020-01-11 17:29:05 +01:00
Roland Gruber 286e447553 php-imap 2020-01-10 20:07:10 +01:00
Roland Gruber 4e329f1f55 webauthn 2020-01-10 20:06:24 +01:00
Roland Gruber 3ac7ae668b data attributes 2020-01-10 20:05:06 +01:00
Roland Gruber c29be12a9e webauthn 2020-01-08 20:38:26 +01:00
Roland Gruber 0990d61507 webauthn 2020-01-06 14:02:32 +01:00
Roland Gruber 8a014f3a8a webauthn 2020-01-06 12:26:50 +01:00
Roland Gruber 9e1e0634e6 webauthn 2020-01-05 19:05:55 +01:00
Roland Gruber 03ced7c697 webauthn 2020-01-05 17:53:12 +01:00
Roland Gruber 3299d48e95 webauthn 2020-01-04 20:39:05 +01:00
Roland Gruber 7df361d6d0 webauthn 2020-01-04 19:06:01 +01:00
Roland Gruber 38addc429c webauthn 2020-01-04 18:28:25 +01:00
Roland Gruber ef9b3dd64e webauthn 2020-01-01 18:12:29 +01:00
Roland Gruber f97359f466 webauthn 2020-01-01 18:08:30 +01:00
Roland Gruber 9d9c37a44a webauthn 2020-01-01 17:17:35 +01:00
Roland Gruber 91e98b6926 webauthn 2020-01-01 17:13:19 +01:00
Roland Gruber 7514ec6b84 webauthn 2020-01-01 17:04:14 +01:00
Roland Gruber 68f6f3eafe i18n 2020-01-01 13:58:51 +01:00
Roland Gruber 7a096cfc94 webauthn 2019-12-31 17:01:51 +01:00
Roland Gruber 06d19858e3 Merge remote-tracking branch 'remotes/origin/develop' into webauthn
# Conflicts:
#	lam/HISTORY
2019-12-31 12:29:38 +01:00
Roland Gruber 6f28f17e41 7.0 2019-12-21 20:29:45 +01:00
Roland Gruber 3e20940d34 7.0 2019-12-21 20:04:02 +01:00
Roland Gruber 3ffefbd821 7.0 2019-12-21 19:47:18 +01:00
Roland Gruber 4e892e2171 refactoring 2019-12-21 19:40:29 +01:00
Roland Gruber eae502c629 refactoring 2019-12-21 15:13:48 +01:00
Roland Gruber de19770211 refactoring 2019-12-21 15:08:48 +01:00
Roland Gruber 27a4234634 added unit tests 2019-12-21 14:18:03 +01:00
Roland Gruber 0e835e3003 added webauthn error message 2019-12-19 22:01:54 +01:00
Roland Gruber 0ed0d17676 Merge branch 'develop' into webauthn 2019-12-19 21:14:28 +01:00
Roland Gruber 934f3be4a1 i18n 2019-12-18 22:12:42 +01:00
Roland Gruber 1851f02832 display additional data for Windows hosts 2019-12-17 21:17:28 +01:00
Roland Gruber 9136d79751 allow to skip preconfiguration 2019-12-16 20:39:58 +01:00
Roland Gruber 10f6897e7e fixed environment variables 2019-12-16 17:03:39 +01:00
Roland Gruber 54d4bd40c9 added LAM_LANG 2019-12-16 16:58:55 +01:00
Roland Gruber 65a10ef62c fixed install issue 2019-12-15 17:40:44 +01:00
Roland Gruber 8abd515ac6 fixed install issue 2019-12-15 17:30:00 +01:00
Roland Gruber 1d4bdd7156 fixed set -e issue 2019-12-15 17:18:50 +01:00
Roland Gruber c6bb9d5b22 debhelper 2019-12-15 17:14:42 +01:00
Roland Gruber 023d5c833c do not install lam.conf if other config files exist 2019-12-15 16:23:09 +01:00
Roland Gruber c2a8501cac i18n 2019-12-15 16:16:00 +01:00
Roland Gruber dbc096f7af include JS files 2019-12-13 18:24:28 +01:00
Roland Gruber 9208cb2349 support skipping of 2FA 2019-12-09 21:36:57 +01:00
Roland Gruber 9086f5847e Merge remote-tracking branch 'origin/develop' into webauthn
Conflicts:
	lam/locale/de_DE/LC_MESSAGES/messages.mo
	lam/locale/de_DE/LC_MESSAGES/messages.po
2019-12-09 20:13:09 +01:00
Roland Gruber 6469d8fb4c i18n 2019-12-09 20:04:37 +01:00
Roland Gruber b985110def 7.0.RC1 2019-12-09 18:19:11 +01:00
Roland Gruber 80c97d49c6 typo 2019-12-09 17:59:54 +01:00
Roland Gruber 7e3635a3c2 CSS fix 2019-12-08 18:41:33 +01:00
Roland Gruber e20689dfe6 new standards version 2019-12-08 09:51:45 +01:00
Roland Gruber 49c088915f 7.0 2019-12-08 09:37:47 +01:00
gruberroland 1bc26a314e
Merge pull request #81 from LDAPAccountManager/docker
Docker
2019-12-07 21:49:13 +01:00
Roland Gruber 7734b33e26 docs update 2019-12-07 21:46:22 +01:00
Roland Gruber 3054f38d7c documented environment variables, cleanup 2019-12-07 21:41:36 +01:00
Roland Gruber 3d7e2e9c47 copyright 2019-12-07 20:00:44 +01:00
gruberroland c170a0954c
Merge pull request #76 from fbartels/docker
General Dockerfile improvements & automatic configuration
2019-12-07 19:06:49 +01:00
Roland Gruber 22d15581a9 deactivated outdated translations 2019-12-07 13:32:20 +01:00
Roland Gruber 8e9641fad3 i18n 2019-12-07 13:17:08 +01:00
Roland Gruber 596b5bb1f8 i18n 2019-12-07 12:56:39 +01:00
Roland Gruber 0723b5f6bb i18n 2019-12-07 12:51:17 +01:00
Roland Gruber a8738a5e53 typos 2019-12-07 12:49:45 +01:00
Roland Gruber 2aabad9a3d webauthn: store registrations, check for duplicate security keys 2019-12-01 18:11:19 +01:00
Roland Gruber 0f13e3c8ba webauthn 2019-11-30 14:23:49 +01:00
Roland Gruber 0a30964011 php 7.3 2019-11-30 11:29:06 +01:00
Roland Gruber 18eb9ed216 php 7.3 2019-11-30 11:19:53 +01:00
Roland Gruber 84d20e204a php 7.3 2019-11-30 11:16:25 +01:00
Roland Gruber c71b01a73e php 7.3 2019-11-30 11:12:07 +01:00
Roland Gruber 41b4869052 php 7.3 2019-11-30 11:04:29 +01:00
Roland Gruber e4363b83c4 webauthn 2019-11-30 10:42:08 +01:00
Roland Gruber 2d90e73b2f webauthn 2019-11-30 08:48:01 +01:00
Roland Gruber 4d5d93c62b webauthn 2019-11-28 21:19:44 +01:00
Roland Gruber 58e15da1a8 updated test cases 2019-11-28 21:18:25 +01:00
Roland Gruber 1535bf4da6 webauthn 2019-11-25 21:07:23 +01:00
Roland Gruber 9637c2dff6 webauthn 2019-11-24 09:45:57 +01:00
Roland Gruber e329c28c3e webauthn 2019-11-21 22:03:42 +01:00
Roland Gruber db48e32dc6 fixed message 2019-11-21 22:02:38 +01:00
Roland Gruber 38045cbac1 PHP 7 2019-11-21 21:51:05 +01:00
Roland Gruber deca797a80 PHP 7 2019-11-21 21:48:14 +01:00
Roland Gruber 4cb095f0f7 removed image 2019-11-21 20:01:14 +01:00
Roland Gruber a5036782bd added "cn" to profile options 2019-11-21 19:57:45 +01:00
Roland Gruber ffd47f8ca5 webauthn 2019-11-21 19:34:01 +01:00
Roland Gruber 62dcd743fb webauthn 2019-11-17 21:51:24 +01:00
Roland Gruber e471b5586d Merge remote-tracking branch 'origin/develop' into webauthn
Conflicts:
	lam/lib/2factor.inc
2019-11-17 21:41:40 +01:00
Roland Gruber df09375be3 webauthn 2019-11-17 21:38:57 +01:00
gruberroland 1dac968a02
Merge pull request #79 from LDAPAccountManager/yubico_multiServer
YubiKey multi server setup
2019-11-17 17:51:56 +01:00
Roland Gruber 3719e55105 docs update 2019-11-17 17:50:30 +01:00
Roland Gruber 61025edd68 YubiKey multiple servers 2019-11-17 17:44:30 +01:00
Roland Gruber 128dc774fb YubiKey multi server setup 2019-11-16 08:28:24 +01:00
Roland Gruber b65623742d added help in self service 2019-11-15 19:08:51 +01:00
Roland Gruber 6395756ceb self service fixes 2019-11-15 15:43:16 +01:00
Felix Bartels 75cfafebc9 General Dockerfile improvements & automatic configuration
- add a docker-compose file for easy rebuilds and test deployments
- switch to slim version of base image
- instruct apt to run noninteractive
- maintainer is deprecated in Dockerfile
- reformat packages being installed and add ca-certificates
- reduce layers and size while cleaning up in the indivdual layers
- add proper startup script
- make apache put logs on the console
- add healthcheck
- set lam password at startup
- make more settings configurable through env variables
- add ldap to the example compose file
- predefine DEBUG var
- Upgrade to Debian Buster

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-11-15 07:39:21 +01:00
Roland Gruber 65412574a0 styling updates 2019-11-14 21:56:15 +01:00
gruberroland 690ba0407d
Merge pull request #77 from LDAPAccountManager/hideTabs
Hide tabs
2019-11-13 20:04:12 +01:00
Roland Gruber 42fb854601 7.0 2019-11-09 14:35:16 +01:00
Roland Gruber b0d786c86e fixed formatting of DN with escaped commas 2019-11-09 14:32:35 +01:00
Roland Gruber d991ec578c fixed saving accounts with Windows escaping 2019-11-09 14:25:06 +01:00
Roland Gruber 83a0ff71c9 #210 removed old workaround that causes issues with spaces in DN 2019-11-09 14:10:06 +01:00
Roland Gruber 714dbaa0fd filter by substring match instead of exact match 2019-11-09 11:08:42 +01:00
Roland Gruber a3f0c07096 spacing fixes 2019-11-07 21:45:12 +01:00
Roland Gruber 5a12fc7a2e less padding 2019-11-07 21:14:52 +01:00
Roland Gruber e3b0d10bf8 hide tabs for edit pages 2019-11-07 21:05:11 +01:00
Roland Gruber eddbc27d3d save some space on screen 2019-11-07 17:21:59 +01:00
Roland Gruber c05d07d8f5 responsive 2019-11-04 19:54:39 +01:00
Roland Gruber 50102f2c3f responsive 2019-11-03 09:26:49 +01:00
Roland Gruber 00a299e80f responsive 2019-11-02 18:51:36 +01:00
Roland Gruber dbb2e8aa37 refactoring 2019-11-02 12:05:32 +01:00
Roland Gruber 3169c85802 responsive 2019-11-02 12:01:16 +01:00
Roland Gruber 75ce322789 responsive 2019-11-02 11:35:54 +01:00
Roland Gruber cbff63567c responsive 2019-11-02 10:44:28 +01:00
Roland Gruber 622a72ef18 refactoring 2019-11-01 21:01:08 +01:00
Roland Gruber 22b4da76e9 responsive 2019-11-01 20:58:22 +01:00
Roland Gruber 6039d77a7d responsive 2019-11-01 20:39:17 +01:00
Roland Gruber 58828c9836 line break issue fixed 2019-10-26 17:52:40 +02:00
Roland Gruber 3c5ef4eb30 put suffix + RDN in one line 2019-10-26 17:52:17 +02:00
gruberroland 51e9c29973
Merge pull request #75 from LDAPAccountManager/refactoring_lamdaemon
added prefix for lamdaemon
2019-10-26 17:32:36 +02:00
Roland Gruber b91b28d013 added prefix for lamdaemon 2019-10-26 17:28:24 +02:00
Roland Gruber 1c5c760f6e decreased min-width of input in account list 2019-10-24 21:15:37 +02:00
Roland Gruber 20c1ea8991 better table layout 2019-10-24 21:07:57 +02:00
gruberroland f21f8ee423
Merge pull request #74 from LDAPAccountManager/refactoring_lamdaemon
Refactoring lamdaemon
2019-10-23 21:27:27 +02:00
Roland Gruber 624c94bff0 updated connect() method 2019-10-23 21:25:33 +02:00
Roland Gruber eef69a7a35 updated connect() method 2019-10-23 21:14:54 +02:00
Roland Gruber 04c00f0850 Merge branch 'develop' of git@github.com:LDAPAccountManager/lam.git into develop 2019-10-23 18:57:10 +02:00
Roland Gruber 7334947d54 use only 33% for image 2019-10-23 18:56:54 +02:00
gruberroland 21e50208ed
Merge pull request #73 from LDAPAccountManager/refactoring_lamdaemon
added getConfiguredScriptServers()
2019-10-22 21:26:30 +02:00
Roland Gruber d074e2377d use getConfiguredScriptServers() 2019-10-22 21:22:32 +02:00
Roland Gruber 162ed79946 use getConfiguredScriptServers() 2019-10-17 21:18:13 +02:00
Roland Gruber d2a07f697c refactoring 2019-10-15 16:15:12 +02:00
Roland Gruber 4128f703aa refactoring 2019-10-15 16:06:46 +02:00
Roland Gruber de988316a5 use getConfiguredScriptServers() 2019-10-13 20:12:55 +02:00
Roland Gruber cc3e8057d8 added getConfiguredScriptServers() 2019-10-13 20:04:22 +02:00
Roland Gruber dc94c51cda 7.0 2019-10-12 17:35:19 +02:00
Roland Gruber 8426cc6ccd fixed inclusion of Duo CSS 2019-10-12 10:10:31 +02:00
Roland Gruber b5e163cfc3 disable password saving 2019-10-10 20:45:40 +02:00
Roland Gruber ff8fd47bed refactoring 2019-10-06 11:13:44 +02:00
Roland Gruber 0240dec74e refactoring 2019-10-05 12:29:51 +02:00
Roland Gruber d5b779c5e1 fixed Sonar issues 2019-10-05 12:21:19 +02:00
Roland Gruber 6052047b52 added missing Duo 2019-10-03 17:48:17 +02:00
Roland Gruber ac56e61a0f 6.9 2019-09-29 10:52:07 +02:00
Roland Gruber 9530f704e2 added source-only build 2019-09-29 09:43:16 +02:00
Roland Gruber 461a9819c7 6.9 2019-09-29 09:25:43 +02:00
Roland Gruber 5a2fa00b37 fix for self service 2019-09-28 17:53:07 +02:00
Roland Gruber e2b92878fa 8.0.1 2019-09-28 17:52:44 +02:00
Roland Gruber b327e72a46 6.9 2019-09-28 17:27:32 +02:00
Roland Gruber af9f714ffb responsive 2019-09-28 11:24:47 +02:00
Roland Gruber 426e1cf80f responsive fix 2019-09-27 20:09:47 +02:00
Roland Gruber 969d681104 responsive 2019-09-27 19:06:22 +02:00
Roland Gruber 0eff6e7065 responsive 2019-09-27 19:00:05 +02:00
Roland Gruber 807925d9a7 responsive 2019-09-27 17:16:16 +02:00
Roland Gruber 302acfa2d9 responsive 2019-09-26 19:44:17 +02:00
Roland Gruber 3ad1b5c20a responsive 2019-09-26 19:24:49 +02:00
Roland Gruber 728e3cacc3 sorting 2019-09-26 19:24:36 +02:00
Roland Gruber a1da6a897d fixed issue with group of names update 2019-09-26 18:40:16 +02:00
Roland Gruber cb699635c5 fixed gd test 2019-09-26 18:19:57 +02:00
Roland Gruber a9c0833250 responsive 2019-09-26 18:05:06 +02:00
Roland Gruber 7add41b48e responsive 2019-09-23 17:59:15 +02:00
Roland Gruber 2bc62a34cf validation update 2019-09-22 13:19:26 +02:00
Roland Gruber 6298546620 responsive 2019-09-17 12:02:21 +02:00
Roland Gruber fa3baf8f86 i18n improvements 2019-09-13 21:16:22 +02:00
Roland Gruber 45e0968059 fixed broken images 2019-09-12 21:39:26 +02:00
Roland Gruber fa6a40a7a0 i18n 2019-09-10 08:28:47 +02:00
Roland Gruber f646e1e8ff responsive 2019-09-07 20:43:04 +02:00
Roland Gruber a8eb89aaf2 responsive 2019-09-06 21:13:43 +02:00
Roland Gruber 533ea1645f fixed getSelfServiceSettings() 2019-09-05 21:26:49 +02:00
Roland Gruber 482226a955 6.9 2019-09-04 18:07:58 +02:00
Roland Gruber 51eaeed060 responsive 2019-09-03 21:31:29 +02:00
Roland Gruber 44fc341de9 responsive 2019-09-02 18:05:25 +02:00
Roland Gruber caf809c87e responsive update 2019-09-02 18:05:05 +02:00
Roland Gruber 967ff33b34 less space 2019-09-02 18:04:21 +02:00
Roland Gruber 065232505e responsive 2019-09-01 10:52:03 +02:00
Roland Gruber b21b3657fb custom label 2019-09-01 09:34:06 +02:00
Roland Gruber 9db074c1e7 added delete button 2019-08-31 11:15:49 +02:00
Roland Gruber cfcb1efd8f show tabs when save error occured 2019-08-31 11:07:06 +02:00
Roland Gruber 60c3053901 responsive 2019-08-30 22:32:38 +02:00
Roland Gruber ab3d13cf28 check SSH key 2019-08-29 20:44:47 +02:00
Roland Gruber d73ffee957 phpceclib 2.0.21 2019-08-29 20:23:11 +02:00
Roland Gruber c7c1d030e3 responsive 2019-08-27 21:30:51 +02:00
Roland Gruber 156252ef7f responsive 2019-08-27 21:29:51 +02:00
Roland Gruber 3c4e558e6c filter for addDoubleSelectionArea() 2019-08-26 20:26:00 +02:00
Roland Gruber 1b31c893fd max-width-10 2019-08-26 18:59:07 +02:00
Roland Gruber 4c05994a6f responsive 2019-08-25 12:44:13 +02:00
Roland Gruber 92110ed8da responsive 2019-08-25 12:41:14 +02:00
Roland Gruber 5668f5f634 responsive 2019-08-25 12:26:32 +02:00
Roland Gruber 99c4130435 responsive 2019-08-25 11:59:53 +02:00
Roland Gruber 8c7d06e4ae #207 added note about RSA 2019-08-25 11:43:18 +02:00
Roland Gruber 493150ab6f responsive 2019-08-23 22:03:29 +02:00
Roland Gruber 9fa374e2b4 6.8.2 2019-08-20 17:34:52 +02:00
Roland Gruber e63900b566 typo 2019-08-19 21:59:47 +02:00
Roland Gruber 47c55d76c5 responsive 2019-08-19 21:56:21 +02:00
Roland Gruber fa259a2168 *_count attributes 2019-08-19 21:01:40 +02:00
Roland Gruber 6815777b8c responsive 2019-08-17 10:53:01 +02:00
Roland Gruber 4084972bd2 styling title bar 2019-08-17 10:52:44 +02:00
Roland Gruber 46cfdb821c support respoinsiveRow in multi-field 2019-08-17 10:52:26 +02:00
Roland Gruber 368a3988dc responsive 2019-08-17 10:27:18 +02:00
Roland Gruber 1acf7c95e4 added feature policy 2019-08-16 22:09:31 +02:00
Roland Gruber 17ac43d503 double area for mobile 2019-08-15 17:15:57 +02:00
Roland Gruber 39f363ba83 fixed title 2019-08-15 17:15:23 +02:00
Roland Gruber 49ae8b49b6 responsive 2019-08-15 17:03:33 +02:00
Roland Gruber 43326b515f mobile fix 2019-08-15 17:02:50 +02:00
Roland Gruber 1783f6f9b6 allow to render an area with two selects 2019-08-15 17:02:36 +02:00
Roland Gruber 1d994cc5b8 fixed closing div on empty select 2019-08-15 17:01:53 +02:00
Roland Gruber 8df75742d2 refactored edit header 2019-08-15 15:11:25 +02:00
Roland Gruber edf2f61df4 responsive 2019-08-15 14:37:05 +02:00
Roland Gruber f88b5ee74f help icon 2019-08-15 14:36:55 +02:00
Roland Gruber febba5803a responsive design 2019-08-15 14:13:10 +02:00
Roland Gruber bb32bb6424 set LDAP_OPT_X_TLS_CACERTFILE 2019-08-15 12:48:37 +02:00
Roland Gruber 4a373743af fixed #206 2019-08-14 20:53:08 +02:00
Roland Gruber f77adfe858 fixed config issue 2019-08-14 20:49:10 +02:00
Roland Gruber 71283f3b53 i18n 2019-08-13 20:08:21 +02:00
Roland Gruber 9cae521150 Duo 2019-08-13 20:08:08 +02:00
gruberroland a7f2f753c5
Merge pull request #70 from LDAPAccountManager/duo
Duo support
2019-08-13 17:36:12 +02:00
Roland Gruber 095e728104 Duo 2019-08-13 17:29:02 +02:00
Roland Gruber bf777b2e99 Duo support 2019-08-13 17:03:30 +02:00
Roland Gruber edb50f4d4b login attribute for 2-factor 2019-08-11 09:39:47 +02:00
Roland Gruber 5f15b2fae2 dynamic scrolling 2019-08-10 14:19:23 +02:00
Roland Gruber 9781e951a6 footer for self service 2019-08-08 21:10:32 +02:00
gruberroland 02d100b5f0
Merge pull request #68 from LDAPAccountManager/decrypt_login
Decrypt login
2019-08-06 21:48:47 +02:00
Roland Gruber 5d87fd7037 removed debug 2019-08-06 21:44:12 +02:00
Roland Gruber e0a82bc70d removed decrypt_login() 2019-08-05 21:56:06 +02:00
Roland Gruber 6d392e51ee refactoring 2019-07-31 21:19:42 +02:00
Roland Gruber 34431b286d 6.8.1 2019-07-25 20:24:45 +02:00
Roland Gruber fa7c9699db filtering of dynamic scrolling fields 2019-07-24 22:00:15 +02:00
Roland Gruber 778fde3357 refactoring 2019-07-24 21:32:25 +02:00
Roland Gruber 29a7b0c3e0 dynamic select field 2019-07-24 21:29:26 +02:00
Roland Gruber f8cfcf9f34 Ajax filtering 2019-07-20 20:29:31 +02:00
Roland Gruber 2bb7470fa2 use Ajax filtering 2019-07-20 20:25:14 +02:00
Roland Gruber 3cabf78630 fixed issues with single select box 2019-07-19 16:15:11 +02:00
Roland Gruber 877d35362b refactoring 2019-07-19 10:27:53 +02:00
Roland Gruber 2ade724c40 refactoring 2019-07-19 10:16:28 +02:00
Roland Gruber b831414ca4 allow to show member/owner count 2019-07-17 21:10:24 +02:00
Roland Gruber 03caa12d31 docker 2019-07-16 12:12:39 +02:00
Roland Gruber f6d80e3abd 6.8 2019-07-02 19:09:49 +02:00
Roland Gruber 85ebe6ff04 6.8 2019-07-02 19:04:54 +02:00
Roland Gruber 14f6ecd91b gitignore 2019-07-02 12:55:01 +02:00
Roland Gruber 259fff76af 6.8 2019-07-02 12:54:16 +02:00
gruberroland 7ebfa14029
Merge pull request #67 from LDAPAccountManager/feature/parallelEditing
6.8
2019-07-02 12:49:09 +02:00
Roland Gruber f3516ba92d 6.8 2019-07-02 12:47:32 +02:00
Roland Gruber 6086765d16 Self service: support legacy attribute "email" for password self reset
and user self registration
2019-06-28 11:09:00 +02:00
Roland Gruber 8fa29aa1d0 i18n 2019-06-28 10:34:25 +02:00
Roland Gruber 1e54f0fb08 legacy email support 2019-06-22 22:07:31 +02:00
Roland Gruber ddb8402b0a #66 2019-06-20 21:14:12 +02:00
Roland Gruber 105cbd7403 i18n 2019-06-14 20:30:19 +02:00
Roland Gruber 0faebfe928 i18n 2019-06-11 08:50:47 +02:00
Roland Gruber b25ad345d7 6.8 2019-06-09 10:02:06 +02:00
Roland Gruber 3ba7a75d0c 6.8 2019-06-08 22:14:56 +02:00
Roland Gruber f285f83c3e 6.8 2019-06-08 20:46:36 +02:00
Roland Gruber ef0673decd password optional 2019-06-05 19:24:46 +02:00
Roland Gruber 929b37ce40 translation update 2019-06-04 09:05:17 +02:00
Roland Gruber 94ee2317a6 translation update 2019-06-01 08:48:38 +02:00
Roland Gruber 51e0c41fae ignore logs 2019-06-01 08:31:42 +02:00
gruberroland 2993588a2a
Merge pull request #65 from LDAPAccountManager/feature/parallelEditing
Feature/parallel editing
2019-05-30 17:21:50 +02:00
Roland Gruber 86e37191fa cleanup old containers 2019-05-30 17:19:45 +02:00
Roland Gruber 49423d778c PHP notice 2019-05-30 17:18:01 +02:00
Roland Gruber 213807efc6 translation update 2019-05-30 16:40:00 +02:00
Roland Gruber d0dadf2949 parallel editing 2019-05-30 15:51:23 +02:00
Roland Gruber 5a9c4660e1 use random session key 2019-05-23 22:09:05 +02:00
Roland Gruber 5989df4a43 use variable session key 2019-05-23 20:38:44 +02:00
Roland Gruber 6c47d1528a Revert "provide tab id"
This reverts commit e5484ee833.
2019-05-23 17:22:47 +02:00
Roland Gruber e5484ee833 provide tab id 2019-05-20 20:06:55 +02:00
Roland Gruber 8186aed796 removed parallel editing check 2019-05-20 18:06:07 +02:00
Roland Gruber 89aa75c61a PWA 2019-05-20 17:19:04 +02:00
Roland Gruber a20cc2652a updated PWA 2019-05-20 17:04:53 +02:00
Roland Gruber c79170a34f service worker 2019-05-20 16:30:12 +02:00
Roland Gruber ae511610ec progressive web app 2019-05-20 15:48:37 +02:00
Roland Gruber b1f85eb050 added force password change to profile editor 2019-05-20 13:10:06 +02:00
Roland Gruber 1f20b1d48e fixed wrong error message 2019-05-20 12:26:27 +02:00
Roland Gruber bd28b7160f 6.8 2019-05-20 11:24:19 +02:00
Roland Gruber 0879961b61 PHP 7.3 fixes 2019-05-20 11:09:02 +02:00
Roland Gruber c3a7fac3f3 added home drive to profile editor options 2019-05-12 20:51:46 +02:00
Roland Gruber a69ab717bd refactoring 2019-05-12 20:51:12 +02:00
Roland Gruber 2938be9308 fixed comparison check 2019-05-12 18:41:52 +02:00
Roland Gruber 3b35aa29da hide fields that are not managed by a module 2019-05-12 18:11:39 +02:00
Roland Gruber 54b68e7765 show server profile in header 2019-05-12 10:13:09 +02:00
Roland Gruber 99da1f05e6 common version text 2019-05-12 09:50:23 +02:00
Roland Gruber 2924e3e652 check for XMLReader and XMLWriter 2019-05-08 20:40:02 +02:00
Roland Gruber de2ff0afa2 account status 2019-05-08 20:34:54 +02:00
Roland Gruber f8a91f3f4f #200 fixed filter select for account status 2019-05-08 20:32:29 +02:00
Roland Gruber 9bac92a4a5 Bind DLZ records 2019-04-17 21:40:37 +02:00
Roland Gruber 415d3c11b8 fixed dependency 2019-04-05 22:18:34 +02:00
Roland Gruber 04bd9acc37 6.7 2019-04-05 20:50:38 +02:00
Roland Gruber 3d0a53cb07 clear old links 2019-03-25 20:25:49 +01:00
Roland Gruber c253c67af5 limit size of first column in account list 2019-03-25 20:18:14 +01:00
Roland Gruber 25539ee021 6.7 2019-03-25 19:52:21 +01:00
Roland Gruber 9c4d068592 yubico 2019-03-24 13:30:48 +01:00
Roland Gruber 63e3adf89f tcpdf 2019-03-24 12:55:48 +01:00
Roland Gruber 03108cc055 tcpdf 2019-03-24 12:38:30 +01:00
Roland Gruber 050519215f tcpdf 2019-03-24 12:33:06 +01:00
Roland Gruber 788a10d293 tcpdf 2019-03-24 12:29:28 +01:00
Roland Gruber f85d64aaa4 TCPDF update 2019-03-24 09:37:16 +01:00
Roland Gruber 9ba767eb30 translation update 2019-03-24 09:04:48 +01:00
Roland Gruber e38c184cd7 translation update 2019-03-23 07:40:40 +01:00
Roland Gruber b4ddddee58 i18n 2019-03-17 20:31:58 +01:00
Roland Gruber 01f037c5fc typo 2019-03-15 18:12:30 +01:00
Roland Gruber a15a3ea233 6.7 2019-03-15 17:25:38 +01:00
Roland Gruber 534afc281b translation update 2019-03-10 10:25:49 +01:00
Roland Gruber f91d29bb58 typo 2019-03-10 10:25:33 +01:00
Roland Gruber 0ff0131dc8 typo 2019-03-10 10:13:23 +01:00
Roland Gruber a5a7a66e2a self service 2019-03-10 10:06:22 +01:00
Roland Gruber 68e3b3f076 base URL 2019-03-09 11:27:49 +01:00
Roland Gruber 4f04dcb48e added base URL to getCallingURL() 2019-03-09 11:10:42 +01:00
Roland Gruber 19ea7dd3dd base URL for self service 2019-03-09 09:41:32 +01:00
Roland Gruber 2ac5b95e63 refactoring 2019-03-09 09:19:39 +01:00
Roland Gruber 7564ba33f4 new self service fields 2019-03-06 19:39:13 +01:00
Roland Gruber e10416f588 group of names memberships 2019-03-06 19:14:58 +01:00
Roland Gruber 87921f07c7 Merge branch 'develop' of git@github.com:LDAPAccountManager/lam.git into develop 2019-03-06 18:09:33 +01:00
Roland Gruber a93bcf830f Unix group memberships in self service 2019-03-06 18:09:22 +01:00
gruberroland b2d1f5de58
Merge pull request #64 from dhoffend/fix-ldap-exop
create correct error message when ldap_exop fails
2019-03-06 18:03:45 +01:00
Daniel Hoffend 8da632d4a0 create correct error message when ldap_exop fails 2019-03-06 16:52:10 +01:00
Roland Gruber cc90b307b0 fixed issue when object class of groups is in lower case 2019-03-05 17:59:33 +01:00
Roland Gruber 39f0730434 added mail alias to self service 2019-03-03 13:18:02 +01:00
Roland Gruber 82201ec448 added mail routing address to self service 2019-03-03 10:34:43 +01:00
Roland Gruber 12d5ac115a Shadow account expiration date 2019-03-03 10:28:43 +01:00
Roland Gruber dd2fb80375 added shadow account expiration notification job 2019-03-03 10:16:45 +01:00
Roland Gruber 8af9661254 PHP 7.3 2019-03-01 19:18:09 +01:00
Roland Gruber 5a6506cf6d fixed logging 2019-03-01 18:28:14 +01:00
Roland Gruber da4788b3cc fixed file attributes 2019-03-01 17:26:18 +01:00
Roland Gruber ad41a10036 remote logging 2019-03-01 17:18:54 +01:00
Roland Gruber ab12d24703 XFR 2019-02-27 20:05:25 +01:00
Roland Gruber 1eac04648a support multiple regex IDs for upload check 2019-02-27 19:22:39 +01:00
Roland Gruber 3d1ce91759 fixed footer 2019-02-27 19:16:31 +01:00
gruberroland 3587661a9d
Merge pull request #62 from LDAPAccountManager/monolog
Monolog
2019-02-24 12:01:10 +01:00
Roland Gruber 7c87eb0324 remote logging 2019-02-24 12:00:15 +01:00
Roland Gruber dfc8e5e5d3 ignore nuser+ngroup 2019-02-24 11:58:43 +01:00
Roland Gruber fb78790a39 6.7 2019-02-24 11:58:21 +01:00
Roland Gruber 575b700604 implemented logging 2019-02-23 20:29:45 +01:00
Roland Gruber ffe2316003 added configuration for remote logging 2019-02-23 19:44:10 +01:00
Roland Gruber 4949b1b70a added Monolog 2019-02-23 18:59:03 +01:00
Roland Gruber 34ffbb4f36 responsive account edit page 2019-02-23 18:42:21 +01:00
Roland Gruber 5f32b829b6 DNAME 2019-02-10 11:09:18 +01:00
Roland Gruber 8ac696ed22 fixed cases when numbers are equal 2019-02-01 20:27:49 +01:00
Roland Gruber 1c708bb816 PHP 7.3 2019-02-01 20:27:21 +01:00
Roland Gruber 716d119d34 PHP 7.3 fix 2019-02-01 20:18:55 +01:00
Roland Gruber 1bd598b0c3 set security headers 2019-02-01 19:38:03 +01:00
Roland Gruber 77e7c77e20 use String().trim() 2019-02-01 19:35:31 +01:00
Roland Gruber ec19de29c0 fixed content type 2019-01-29 21:31:50 +01:00
gruberroland b00282afb0
Merge pull request #58 from chriamue/patch-1
keep container running
2019-01-29 19:43:45 +01:00
Christian M f0e69fa6a3
keep container running
Hi, using ldapaccountmanager/lam in kubernetes stops running.
I think the same problem will happen starting using docker-compose.
Can you please change the Dockerfile or document on dockerhub.
Here is a config that works:
...
      containers:
        - name: ldap-account-manager
          image: ldapaccountmanager/lam
          command: ["/bin/sh"]
          args: ["-c", "service apache2 start && sleep infinity"]
2019-01-29 13:06:09 +01:00
Roland Gruber d15cde2507 fixed click events on page 2 and later 2019-01-28 21:14:49 +01:00
Roland Gruber b3d5b641f6 updated RPM 2019-01-28 18:21:00 +01:00
Roland Gruber db0150b0f6 removed dependencies as PHP 5 and 7 cannot be set together 2019-01-28 18:19:32 +01:00
Roland Gruber 992814d1c6 Bind DLZ description 2019-01-27 10:33:58 +01:00
Roland Gruber 3b6dd49278 tree-only configurations 2019-01-18 19:16:48 +01:00
Roland Gruber 189cabf5f4 do not add types by default to allow tree-only configurations 2019-01-18 19:11:10 +01:00
Roland Gruber ac936dd34a added mailLocalAddress and proxyAddresses as self service fields 2019-01-16 20:52:59 +01:00
Roland Gruber 7403a95104 removed obsolete code 2019-01-13 14:44:24 +01:00
Roland Gruber 8f14cab65e Dockerfile 2019-01-12 11:02:39 +01:00
Roland Gruber 104bfb0682 removed logging of all users 2019-01-09 18:53:20 +01:00
Roland Gruber 20f617ebdf check rights 2019-01-04 19:00:05 +01:00
Roland Gruber 18547baad2 refactoring 2019-01-02 21:10:32 +01:00
gruberroland 5682245739
Merge pull request #57 from LDAPAccountManager/yubiKey2FA
YubiKey 2FA
2019-01-01 11:53:49 +01:00
Roland Gruber e43d520e52 limit id length 2019-01-01 11:31:43 +01:00
Roland Gruber 8c4612c2ff documentation 2019-01-01 11:24:44 +01:00
Roland Gruber d0a97c47a9 YubiKey for self service 2019-01-01 10:54:31 +01:00
Roland Gruber 89ab8d0f1f get attribute name from config 2018-12-31 12:39:20 +01:00
Roland Gruber 4fea8155c8 refactoring 2018-12-31 11:42:20 +01:00
Roland Gruber 098618704a fixed logo copy 2018-12-31 11:03:50 +01:00
Roland Gruber fc24f4a2aa YubiKey support 2018-12-31 10:51:44 +01:00
Roland Gruber a55c337efd refactoring 2018-12-29 21:06:27 +01:00
Roland Gruber a206e9fefe limit key length to 12 2018-12-29 20:06:13 +01:00
Roland Gruber f0086e725b refactoring 2018-12-29 15:49:42 +01:00
Roland Gruber cf25c31a37 refactoring 2018-12-29 09:51:51 +01:00
Roland Gruber 87e47ae9b1 Merge branch 'develop' of git@github.com:LDAPAccountManager/lam.git into develop 2018-12-28 13:42:52 +01:00
Roland Gruber aa8fdf5369 standards 2018-12-28 13:30:27 +01:00
Roland Gruber 6af8cf3dc3 6.6 2018-12-28 11:29:41 +01:00
Roland Gruber bc3152c03a refactoring 2018-12-28 11:19:15 +01:00
Roland Gruber 5e4c692f6f update 2018-12-26 10:05:17 +01:00
Roland Gruber 57d5e1ce3f refactoring 2018-12-26 09:53:58 +01:00
Roland Gruber 2ce96573c0 docs 2018-12-26 09:39:51 +01:00
Roland Gruber 727390064f refactoring 2018-12-24 12:44:09 +01:00
Roland Gruber e8c0fb9371 translation update 2018-12-24 11:16:26 +01:00
Roland Gruber fbb7749425 translation update 2018-12-23 20:55:19 +01:00
Roland Gruber ffcf1c82df phpunit 2018-12-23 19:12:51 +01:00
Roland Gruber 36782d1a1a phpunit 2018-12-23 18:54:35 +01:00
Roland Gruber d35aa31a8f phpunit 2018-12-23 18:40:37 +01:00
Roland Gruber e14b199feb phpunit 2018-12-23 18:37:19 +01:00
Roland Gruber cbb94aecc4 phpunit 2018-12-23 18:28:16 +01:00
Roland Gruber 53d1d1d865 refactoring 2018-12-23 18:22:26 +01:00
Roland Gruber 5b4c9b8c38 coverage for lib 2018-12-23 17:55:44 +01:00
Roland Gruber efdaa29136 refactoring 2018-12-23 17:52:56 +01:00
Roland Gruber 4e7c972187 refactoring 2018-12-23 17:46:31 +01:00
Roland Gruber 19858a03f5 refactoring 2018-12-23 17:45:01 +01:00
Roland Gruber 615e0f4947 refactoring 2018-12-23 17:39:44 +01:00
Roland Gruber 36b91b2785 refactoring 2018-12-23 17:32:17 +01:00
Roland Gruber e43b106c95 refactoring 2018-12-23 17:28:42 +01:00
Roland Gruber 77282fed29 refactoring 2018-12-23 17:21:50 +01:00
Roland Gruber de2b6e1631 refactoring 2018-12-23 13:54:08 +01:00
Roland Gruber 077556a6a9 refactoring 2018-12-23 11:11:23 +01:00
Roland Gruber 2a10013f36 refactoring 2018-12-23 11:01:29 +01:00
Roland Gruber e289cabe3f added var 2018-12-23 10:41:33 +01:00
Roland Gruber 5a6ee994cb removed duplicates 2018-12-23 10:33:42 +01:00
Roland Gruber 4636b63e7b fixed max. errors to show 2018-12-23 10:33:15 +01:00
Roland Gruber 6b24c8f7f0 error message fix 2018-12-23 10:32:56 +01:00
Roland Gruber 5eb0bcbc39 fixed array_unique usage 2018-12-23 10:32:36 +01:00
Roland Gruber cbad61519e added title 2018-12-23 10:32:09 +01:00
Roland Gruber d3608c7bd0 changed includes 2018-12-22 21:33:07 +01:00
Roland Gruber 680b99aba3 phpunit 2018-12-22 21:28:21 +01:00
Roland Gruber 2e0637cf7b unit tests 2018-12-22 21:14:41 +01:00
Roland Gruber d3ce330b62 unit tests 2018-12-22 21:12:16 +01:00
Roland Gruber e64abbaf46 Sonar 2018-12-22 20:32:53 +01:00
Roland Gruber bb061d128f Sonar 2018-12-22 20:23:57 +01:00
Roland Gruber 2f453aa5db Sonar 2018-12-22 20:20:58 +01:00
Roland Gruber b988411011 Sonar 2018-12-22 20:16:16 +01:00
Roland Gruber 5517a48e56 Sonar 2018-12-22 20:11:40 +01:00
Roland Gruber 0c52c929c5 updated test 2018-12-22 19:52:31 +01:00
Roland Gruber 57b2add165 TravisCI 2018-12-22 17:46:15 +01:00
Roland Gruber 74deb30986 translation update 2018-12-16 11:46:13 +01:00
Roland Gruber d9e2393f89 translation update 2018-12-12 19:38:12 +01:00
Roland Gruber a90d377faa replaced closure-compiler 2018-12-10 17:53:38 +01:00
Roland Gruber 4a94a19535 6.6 2018-12-10 17:09:12 +01:00
Roland Gruber f257cdede4 translation update 2018-12-09 19:56:34 +01:00
Roland Gruber ce4486a1e4 added domain-search 2018-11-25 14:51:03 +01:00
Roland Gruber 44e8fc232d new redirect 2018-11-25 14:50:24 +01:00
Roland Gruber d07d20f546 new refresh 2018-11-25 10:51:39 +01:00
Roland Gruber bb9a1b1719 check for duplicate host name 2018-11-23 20:05:41 +01:00
Roland Gruber 2d3f584bb4 added fallback for iconv 2018-11-23 18:31:47 +01:00
Roland Gruber 8852dd170d responsive 2018-11-20 19:24:26 +01:00
Roland Gruber bf34dd43bc responsive 2018-11-20 19:21:03 +01:00
Roland Gruber 691ccbc477 responsive delete page 2018-11-20 19:18:23 +01:00
Roland Gruber fe913bd5bf fixed issue with delete all 2018-11-20 18:45:24 +01:00
Roland Gruber 42bca3db59 responsive design 2018-11-18 09:19:12 +01:00
Roland Gruber 92115264fb group sync 2018-11-17 20:43:59 +01:00
Roland Gruber bb9f1f0eff Windows group sync 2018-11-17 20:40:09 +01:00
Roland Gruber 4ced8c519f Bind DLZ 2018-11-16 18:52:30 +01:00
Roland Gruber 01fa846f86 bindDLZ tests 2018-11-16 18:50:33 +01:00
Roland Gruber 085be08eea support weeks in number shortening 2018-11-14 20:13:31 +01:00
Roland Gruber 74e8fb830d fixed PHP notice 2018-11-11 20:20:20 +01:00
Roland Gruber b7396de612 fixed list filtering 2018-11-11 19:56:15 +01:00
Roland Gruber 29c3f6582c better DHCP searching 2018-11-11 13:28:36 +01:00
Roland Gruber 89b46e63fc 6.6 2018-11-05 20:22:51 +01:00
Roland Gruber d983e86605 #140 account expiration notification jobs 2018-11-05 20:21:46 +01:00
Roland Gruber 4b4b982ad9 cron jobs 2018-11-04 20:48:57 +01:00
Roland Gruber 22bc951171 #140 account expiration job 2018-11-03 11:22:19 +01:00
gruberroland b42c694a8a
Merge pull request #56 from LDAPAccountManager/jquery-update
Jquery update
2018-11-02 19:51:34 +01:00
Roland Gruber 94c122e44f new jQuery version 2018-11-02 17:51:12 +01:00
Roland Gruber 898afd25e2 copyright update 2018-11-01 20:11:45 +01:00
Roland Gruber 10fef6d1d2 jQuery update 2018-11-01 20:02:06 +01:00
Roland Gruber 55cdd56465 jQuery update 2018-11-01 19:46:19 +01:00
Roland Gruber 14edd44652 jQuery update 2018-11-01 18:17:11 +01:00
Roland Gruber 6f3bbf11a4 jQuery update 2018-11-01 18:09:51 +01:00
Roland Gruber 54f93d1424 fixed tabs 2018-11-01 11:26:55 +01:00
Roland Gruber baeaa0f98b jQuery update 2018-11-01 11:21:03 +01:00
Roland Gruber b197b6297b added lightbox 2018-10-28 17:18:47 +01:00
Roland Gruber 510d69e28b added lightbox on user list 2018-10-28 16:10:29 +01:00
gruberroland a97e489ba7
Merge pull request #55 from LDAPAccountManager/feature/responsiveList
Feature/responsive list
2018-10-28 15:18:04 +01:00
Roland Gruber 1935d3def8 responsive account table 2018-10-28 13:55:30 +01:00
Roland Gruber 985828da3a responsive account table 2018-10-28 10:11:45 +01:00
Roland Gruber dec9585733 added row events and tools 2018-10-27 16:43:04 +02:00
Roland Gruber fe5260b5e6 click and double click events for rows 2018-10-27 16:42:31 +02:00
Roland Gruber 62ae3267d2 responsive table head 2018-10-27 14:39:37 +02:00
Roland Gruber aa921cadf8 responsive settings dialog 2018-10-27 11:42:45 +02:00
Roland Gruber ec5fcebd7f responsive navigation 2018-10-26 20:13:13 +02:00
Roland Gruber a6f11073ca responsive account lists 2018-10-23 20:25:45 +02:00
Roland Gruber b0edc4c6f9 responsive account list 2018-10-23 06:51:23 +02:00
Roland Gruber 1b198403d7 color for self service 2018-10-22 21:11:31 +02:00
Roland Gruber a804f94d6f added hidden field for selected accordion tab 2018-10-21 10:08:17 +02:00
Roland Gruber ea40d3b796 added departmentNumber 2018-10-20 19:44:23 +02:00
Roland Gruber fc71a984bf added multi-value field functions for self service 2018-10-20 19:41:18 +02:00
Roland Gruber 5ac81d90eb styling of self service 2018-10-20 17:20:24 +02:00
Roland Gruber dc5f2f5bbf fix for links 2018-10-19 21:31:13 +02:00
Roland Gruber 9dffa0ed12 YubiKey support 2018-10-15 21:05:39 +02:00
gruberroland 65de9a2d18
Merge pull request #54 from LDAPAccountManager/importexport
Importexport
2018-10-14 09:57:53 +02:00
Roland Gruber b324cca20c updated help for import/export 2018-10-14 09:44:10 +02:00
Roland Gruber 5f62f9aed3 added link to go down DN level 2018-10-14 09:16:55 +02:00
Roland Gruber f0cbe217eb go back in DN selection 2018-10-13 19:05:50 +02:00
Roland Gruber d0388973e5 added first level of DN selection 2018-10-11 16:52:38 +02:00
Roland Gruber 89df814e77 DN chooser 2018-10-06 19:47:33 +02:00
Roland Gruber a202ed8824 disable tree import/export 2018-10-06 19:31:16 +02:00
Roland Gruber 1247e1f22b Merge remote-tracking branch 'origin/develop' into importexport 2018-10-06 10:53:39 +02:00
Roland Gruber ef41215d22 added CSV export 2018-10-06 10:45:44 +02:00
Roland Gruber 1d7db3794b LDIF export 2018-10-04 21:07:55 +02:00
Roland Gruber 378ab6cf93 6.5 2018-09-25 19:44:09 +02:00
Roland Gruber cfce928df4 fixed links 2018-09-25 19:00:08 +02:00
Roland Gruber 0b66a600a2 6.5 2018-09-25 17:52:09 +02:00
Roland Gruber a811c8ee7f 6.5 2018-09-25 17:47:06 +02:00
Roland Gruber f2d77dc851 export 2018-09-23 20:12:27 +02:00
Roland Gruber 9e5c2f0fd8 added libapache2-mod-fcgid 2018-09-23 10:07:45 +02:00
Roland Gruber 23e58208cf added libapache2-mod-fcgid 2018-09-23 10:06:25 +02:00
Roland Gruber 98f6c2bf84 export 2018-09-23 10:05:06 +02:00
Roland Gruber 4afd3d940e added export form 2018-09-15 20:13:57 +02:00
Roland Gruber 0bd7fcacf0 renamed tool 2018-09-15 18:27:38 +02:00
Roland Gruber 0cc31a4391 added checkbox to not stop on error 2018-09-15 18:25:53 +02:00
Roland Gruber cd749730a4 fixed error handling 2018-09-15 15:10:50 +02:00
Roland Gruber 2b9d775347 test 2018-09-15 15:07:53 +02:00
Roland Gruber 5b81c8e03c modify - add, delete, replace 2018-09-15 15:03:47 +02:00
Roland Gruber 28118bdaef translation update 2018-09-12 22:42:25 +02:00
Roland Gruber 08f8007f3e translation update 2018-09-10 19:40:59 +02:00
Roland Gruber 11258d7f1f translation update 2018-09-07 20:43:39 +02:00
Roland Gruber fe3c054825 changetype delete 2018-09-06 21:30:05 +02:00
Roland Gruber 1cbe9d546f changetype modrdn 2018-09-06 21:19:07 +02:00
Roland Gruber 109e7d679c add changetype 2018-09-06 20:53:22 +02:00
Roland Gruber 08c0f40282 typo 2018-09-06 18:24:30 +02:00
Roland Gruber 6031795a6d newer standards 2018-09-06 17:59:10 +02:00
Roland Gruber fc98320c71 6.5.RC1 2018-09-06 17:51:10 +02:00
Roland Gruber 613b47e738 translations 2018-09-04 21:11:05 +02:00
Roland Gruber 822b23c83a translation update 2018-09-04 19:55:05 +02:00
Roland Gruber a44350407e import changetype add 2018-09-04 19:34:03 +02:00
Roland Gruber 33b35fa23b import full entries 2018-09-01 13:36:04 +02:00
Roland Gruber c9cff54937 import tool 2018-08-31 20:59:05 +02:00
Roland Gruber a4c867d6b3 show/hide for radio 2018-08-29 18:59:45 +02:00
Roland Gruber 32d18361e9 better error message 2018-08-29 18:19:17 +02:00
Roland Gruber abceebdc4b fixed file upload 2018-08-28 21:17:05 +02:00
Roland Gruber 18a22ef1c4 fixed file upload 2018-08-28 21:15:51 +02:00
Roland Gruber 7222f10fe6 import/export 2018-08-28 20:20:36 +02:00
Roland Gruber f0b3b548de moved files 2018-08-28 20:19:49 +02:00
gruberroland 5a15f29418
Merge pull request #52 from LDAPAccountManager/imageutils
Imageutils
2018-08-25 19:43:50 +02:00
Roland Gruber 1fa90317e8 history 2018-08-25 19:40:46 +02:00
Roland Gruber 4b0411d448 support GD and Imagick 2018-08-25 19:39:47 +02:00
Roland Gruber 2c158e6844 use image utils 2018-08-19 20:25:15 +02:00
Roland Gruber 6f8a9549f2 added image manipulation class 2018-08-19 19:13:16 +02:00
Roland Gruber caa96faa5c updated history 2018-08-18 11:01:37 +02:00
Roland Gruber 0b7315a351 warn if user id already exists 2018-08-18 10:57:42 +02:00
Roland Gruber 458b3c454f check group of names before adding members 2018-08-18 10:48:44 +02:00
Roland Gruber 316ed2d0a8 check Unix membership before LDAP add 2018-08-18 10:32:39 +02:00
Roland Gruber 828fdc08c5 no array constant 2018-08-16 18:30:52 +02:00
Roland Gruber 2848bc9586 fixed issues with next user name suggestion 2018-08-15 10:43:10 +02:00
Roland Gruber ebe2c6390a check mailbox before creation 2018-08-12 10:39:24 +02:00
Roland Gruber a35c4bc06d set duplicate uid message to warning 2018-08-12 10:38:56 +02:00
Roland Gruber cb24a02efd set duplicate user name to warning 2018-08-12 09:41:36 +02:00
gruberroland 2acd157626
Merge pull request #51 from LDAPAccountManager/apache2.2-removal
drop Apache 2.2 support
2018-08-11 14:59:44 +02:00
Roland Gruber 7da2586583 drop Apache 2.2 support 2018-08-11 14:57:05 +02:00
Roland Gruber 0d70919200 check if scope class exists 2018-08-10 20:02:41 +02:00
Roland Gruber 96b29d8919 replace existing accounts during upload 2018-08-06 20:41:07 +02:00
Roland Gruber c2cae621e7 added salt for crypt 2018-07-31 19:10:42 +02:00
Roland Gruber d37bd1db71 gitignore 2018-07-28 13:42:58 +02:00
Roland Gruber c1918cdb4f gitignore 2018-07-28 13:36:15 +02:00
Roland Gruber 76330c4d92 ignore 2018-07-16 18:48:30 +02:00
Roland Gruber 90bb19a142 Kolab update 2018-07-14 16:59:35 +02:00
Roland Gruber b06266c1e6 Kolab update 2018-07-14 16:23:35 +02:00
Roland Gruber b58fb827fd LDAP_EXOP 2018-07-07 17:48:20 +02:00
Roland Gruber 86b10eda6a LDAP EXOP password change 2018-07-07 17:40:44 +02:00
Roland Gruber c4e8811056 check RDN value 2018-07-07 17:39:49 +02:00
Roland Gruber 6962420169 support password exop 2018-07-07 14:05:39 +02:00
Roland Gruber 805f04f508 fixed PHP notice 2018-07-07 14:04:43 +02:00
Roland Gruber 5c796f84ec auto delete module 2018-06-30 11:02:40 +02:00
Roland Gruber 31862c5bc5 added form validation 2018-06-30 09:49:20 +02:00
Roland Gruber 36c731e092 fixed PHP 7.2 warning 2018-06-30 09:16:43 +02:00
Roland Gruber 1f23b0314b added auto delete module 2018-06-29 20:44:36 +02:00
Roland Gruber 237ba66711 added date+time check 2018-06-29 20:43:10 +02:00
Roland Gruber fdca95bd3b 3rd party 2018-06-28 14:40:12 +02:00
Roland Gruber d29ec9220d removed samples 2018-06-28 14:29:06 +02:00
Roland Gruber 48ff1e39f4 3rd party 2018-06-28 14:24:44 +02:00
Roland Gruber 7b689e44a7 formatting and removed extra license file 2018-06-28 14:24:27 +02:00
Roland Gruber 87b72f6995 3rd party 2018-06-28 14:02:28 +02:00
Roland Gruber 206eda9100 3rdParty 2018-06-28 13:52:44 +02:00
Roland Gruber 4316805413 Debian dependencies 2018-06-28 13:46:44 +02:00
Roland Gruber 558a8f774f reduced grid to minimum 2018-06-27 18:19:35 +02:00
Roland Gruber 516a6b7654 do not show duplicate devices for quota 2018-06-27 14:20:45 +02:00
Roland Gruber 9422d9d678 responsive layout 2018-06-25 18:07:26 +02:00
Roland Gruber 0445919f26 translation update 2018-06-22 22:02:31 +02:00
Roland Gruber 41e495a29c fixed rename issue 2018-06-21 21:06:37 +02:00
gruberroland 17dc6dc694
Merge pull request #50 from LDAPAccountManager/ckeditorUpdate
ckeditor update
2018-06-21 20:58:18 +02:00
Roland Gruber 380a26ab50 dependency 2018-06-20 10:17:21 +02:00
Roland Gruber c73b4392b0 checkout tag only 2018-06-20 09:50:45 +02:00
Roland Gruber a975c80404 6.4 2018-06-20 09:28:10 +02:00
Roland Gruber e51ee9c826 check for invalid configuration 2018-06-20 08:27:10 +02:00
Roland Gruber d707c525a4 ckeditor update 2018-06-17 18:07:19 +02:00
Roland Gruber 4df34f631c translation update 2018-06-16 10:48:31 +02:00
Roland Gruber 7a0ec1cafb sync groups 2018-06-15 19:04:29 +02:00
Roland Gruber 717f2fda41 added option to sync Windows groups 2018-06-15 19:03:51 +02:00
Roland Gruber 89a8c41f78 added sync with Windows members 2018-06-13 19:00:45 +02:00
Roland Gruber c83842ef40 changed config ordering 2018-06-11 17:48:43 +02:00
Roland Gruber 1b4e899755 translation update 2018-06-06 21:29:38 +02:00
Roland Gruber 6221b3650f 6.4 2018-06-04 18:37:46 +02:00
gruberroland 869858fd2c
Merge pull request #49 from etlel/develop
major correction of mistakes in the French translation
2018-06-03 17:50:28 +02:00
Louperivois 3aeea4f444 Correction of mistakes and inconsistencies in the French translation 2018-06-02 11:56:31 -04:00
Roland Gruber 29b51a287a updated standards 2018-05-31 09:23:06 +02:00
Roland Gruber 4940ba069f responsive design 2018-05-31 09:11:05 +02:00
Roland Gruber e2e75ece20 added local filtering 2018-05-31 08:58:30 +02:00
Roland Gruber dfc3dcb4c6 limit server side filtering to known attributes 2018-05-30 19:43:44 +02:00
Roland Gruber 97cb8bcce9 provide method to define server side filtering 2018-05-30 18:48:34 +02:00
Roland Gruber fc0c396f64 translation update 2018-05-29 18:04:44 +02:00
Roland Gruber 8e144b1e30 added options to sync Unix and group of names memberships 2018-05-28 18:43:15 +02:00
Roland Gruber 38bfa53285 check CN for duplicates 2018-05-27 18:25:00 +02:00
Roland Gruber 133d554916 check for existing email address 2018-05-22 19:55:49 +02:00
Roland Gruber 6dfc06931a check user name 2018-05-20 09:31:06 +02:00
Roland Gruber a73b8777f2 support "," in DN 2018-05-20 08:22:51 +02:00
Roland Gruber daefa6cdb8 responsive tools 2018-05-19 14:00:53 +02:00
Roland Gruber 179f08ddb2 responsive tools 2018-05-19 13:26:35 +02:00
Roland Gruber dd2308f780 responsive tools 2018-05-19 11:14:31 +02:00
Roland Gruber 8e083898e2 responsive tools 2018-05-19 09:48:12 +02:00
Roland Gruber 88a2bb9479 responsive tools 2018-05-19 08:15:34 +02:00
Roland Gruber d5c1e06bac responsive tools 2018-05-17 19:56:58 +02:00
Roland Gruber cd8dab077e responsive tools 2018-05-17 19:40:17 +02:00
Roland Gruber 2dab545449 removed id 2018-05-17 19:11:24 +02:00
Roland Gruber c5f045ced8 more obfuscation 2018-05-16 19:23:26 +02:00
Roland Gruber 8ec7c2136f updated normalize 2018-05-16 18:27:35 +02:00
Roland Gruber a0c8f5b1e7 added image cropping 2018-05-16 18:00:54 +02:00
Louperivois cda5da41ea Correction of mistakes and inconsistencies in the French translation 2018-05-12 12:42:31 -04:00
Roland Gruber ac70ea60e3 image cropping 2018-05-12 16:41:52 +02:00
Roland Gruber 137ef0721f added cropping support 2018-05-12 10:43:32 +02:00
Roland Gruber 5ec89293b2 require imagick 2018-05-12 09:39:29 +02:00
Roland Gruber ffaa7d5bac fixed scrolling 2018-05-12 09:22:23 +02:00
Louperivois 5d9f12bfd9 major correction of mistakes in the French translation 2018-05-10 22:48:45 -04:00
Roland Gruber 35d580f217 responsive tools 2018-05-10 09:06:19 +02:00
Roland Gruber c30045b3ad changed warning message 2018-05-10 08:00:45 +02:00
Roland Gruber 26356262aa responsive tools 2018-05-08 20:11:53 +02:00
Roland Gruber 38164082ce responsive 2018-05-02 20:29:47 +02:00
Roland Gruber 06612960c9 responsive 2018-05-02 20:26:10 +02:00
Roland Gruber 26c3dcdc8e 6.4 2018-05-01 10:16:05 +02:00
gruberroland 20bee9f684
Merge pull request #48 from LDAPAccountManager/php7.2
Php7.2
2018-05-01 10:11:01 +02:00
Roland Gruber bb38fe42a7 new PHPUnit 2018-05-01 10:08:05 +02:00
Roland Gruber f9198ce9e1 added additional test 2018-05-01 09:51:41 +02:00
Roland Gruber 7959b1dc5d PHP 7.2 2018-05-01 09:42:50 +02:00
Roland Gruber 7b9726a2d3 PHP 7.2 2018-05-01 09:41:30 +02:00
Roland Gruber 774334aa88 updated tests 2018-05-01 09:34:56 +02:00
Roland Gruber 735a7d3554 PHP 7.2 compatibility 2018-04-30 19:32:47 +02:00
Roland Gruber 632d3a26bd PHP 7.2 compatibility 2018-04-30 19:29:31 +02:00
Roland Gruber a9ac81352e removed create_function 2018-04-29 20:51:29 +02:00
Roland Gruber ecb9cb2dfe tests for masort() 2018-04-29 19:21:49 +02:00
Roland Gruber ae296aa3b9 PHP 7.2 2018-04-25 19:53:03 +02:00
Roland Gruber 2a02a26c16 IMAP file upload 2018-04-22 21:29:44 +02:00
Roland Gruber e171042b9f fixed column overview 2018-04-22 21:25:10 +02:00
Roland Gruber bca8100d0a responsive upload 2018-04-18 19:30:45 +02:00
Roland Gruber c0df2e6a27 responsive upload 2018-04-18 19:08:51 +02:00
Roland Gruber 9e71a67953 responsive upload 2018-04-18 18:43:29 +02:00
Roland Gruber fad14da5f7 new input elements 2018-04-17 21:01:20 +02:00
Roland Gruber d328f19f0a responsive 2018-04-16 20:46:09 +02:00
Roland Gruber e3793cd78f responsive table padding 2018-04-16 20:45:49 +02:00
Roland Gruber be4292bbbb help for subtitles 2018-04-16 20:45:29 +02:00
Roland Gruber 7128404409 password expiration 2018-04-15 19:03:50 +02:00
Roland Gruber a1fa476517 password expiration 2018-04-15 18:37:38 +02:00
Roland Gruber 08d87af41a fixed icons 2018-04-15 10:46:20 +02:00
Roland Gruber 743c7b9559 show modules for force password change 2018-04-15 10:42:02 +02:00
Roland Gruber 5d9beec96d checkboxes support classes 2018-04-15 10:33:44 +02:00
Roland Gruber 5b578cee53 fixed PHP notice 2018-04-14 16:33:10 +02:00
Roland Gruber ff4a77a738 wildcards and profile options for mail routing 2018-04-14 16:07:13 +02:00
Roland Gruber 7541a15193 allow to move account type position 2018-04-11 19:52:32 +02:00
Roland Gruber 7d35991bb4 print DN if uid already exists 2018-04-11 18:40:44 +02:00
Roland Gruber 10f881c323 external password check 2018-04-11 18:17:18 +02:00
Roland Gruber 38d12b349d 6.4 2018-04-10 21:41:03 +02:00
Roland Gruber fa67431df3 external password check 2018-04-10 21:32:26 +02:00
Roland Gruber 78bfff3bb8 6.4 2018-04-10 19:46:57 +02:00
Roland Gruber b5a37edc98 PHP 7.2 2018-04-10 19:46:41 +02:00
Roland Gruber 5f01264521 changed filter for loading the account 2018-04-05 18:41:44 +02:00
Roland Gruber 7de8db855c added note aabout SSH LDAP auth command 2018-03-24 09:52:56 +01:00
Roland Gruber 73c799f90a translation update 2018-03-20 18:20:02 +01:00
Roland Gruber fe1547e145 typo 2018-03-19 18:10:38 +01:00
Roland Gruber 5a13e3898c policy update 2018-03-19 18:07:16 +01:00
Roland Gruber 32759c45cb 6.3 2018-03-19 18:01:31 +01:00
Roland Gruber 79acfbf185 6.3 2018-03-18 08:48:03 +01:00
Roland Gruber 993751c7ff changed CSRF token handling from GET to POST 2018-03-14 20:06:09 +01:00
Roland Gruber ca358b3975 translation update 2018-03-14 18:37:44 +01:00
Roland Gruber d4f0d6db96 check input 2018-03-12 19:53:41 +01:00
Roland Gruber 16fc7f7e86 check input 2018-03-12 19:48:56 +01:00
Roland Gruber 0f09b6c6d9 get group name from more modules 2018-03-12 19:22:04 +01:00
Roland Gruber f1d7aec5fc check request values 2018-03-12 19:08:39 +01:00
Roland Gruber a5f9412ee3 6.3 2018-03-11 10:52:56 +01:00
Roland Gruber 8bbb4d774a fixed checkbox selector 2018-03-11 10:44:52 +01:00
Roland Gruber eb99b37ddb set secure flag for session cookie 2018-03-10 18:48:11 +01:00
Roland Gruber 0181bed466 translation update 2018-03-08 19:06:57 +01:00
Roland Gruber cc651ec3e0 translation update 2018-03-04 15:42:50 +01:00
Roland Gruber e037373dc0 new settings 2018-03-04 10:10:53 +01:00
Roland Gruber a85dfefed2 Unix reconfiguration 2018-03-04 09:57:14 +01:00
Roland Gruber c3370a8ec2 fixed import 2018-03-04 09:43:32 +01:00
Roland Gruber 45c1ade0f1 fixed PDF 2018-03-04 09:43:16 +01:00
Roland Gruber 1a37568520 fix for file upload 2018-03-04 09:37:32 +01:00
Roland Gruber f9e6247158 config options for subtypes 2018-03-03 17:44:28 +01:00
Roland Gruber d12724179b sync group of names must be global option 2018-03-03 17:04:40 +01:00
Roland Gruber 5925c71503 removed advanced options accordion 2018-03-03 10:28:44 +01:00
Roland Gruber 2d2be02b34 fixed PHP error on old versions 2018-03-03 10:28:21 +01:00
Roland Gruber fe44f7b13c fixed showing of auto-sync option 2018-02-25 10:46:22 +01:00
Roland Gruber 351735e073 support subtypes 2018-02-25 10:32:06 +01:00
Roland Gruber 596355e959 config settings for each account subtype 2018-02-24 15:15:07 +01:00
Roland Gruber 618c9604e0 fix for new schema namespace 2018-02-24 15:14:36 +01:00
Roland Gruber dfd1748810 check for unique label 2018-02-24 14:18:15 +01:00
Roland Gruber 0b5e5f35a1 captcha support 2018-02-11 11:26:52 +01:00
Roland Gruber 6049be786f better logging 2018-02-11 10:27:23 +01:00
Roland Gruber a1fbae2f14 captcha 2018-02-10 17:31:03 +01:00
Roland Gruber 049f3760b8 typo 2018-02-09 20:35:06 +01:00
Roland Gruber fb364cbeb7 display DN of group of names 2018-02-09 20:33:35 +01:00
Roland Gruber 8b89cfc4db fixed font parameter 2018-02-09 20:32:44 +01:00
Roland Gruber 8ed53444f7 2018 2018-02-06 19:05:44 +01:00
gruberroland 8ea9904a5f
Merge pull request #45 from LDAPAccountManager/6_2_1_merge
6 2 1 merge
2018-02-06 19:00:43 +01:00
Roland Gruber f0b68d2b1a Merge remote-tracking branch 'origin/develop' into 6_2_1
Conflicts:
	lam-packaging/debian/changelog
	lam/HISTORY
	lam/VERSION
2018-02-06 18:57:46 +01:00
Roland Gruber c7462fa862 6.2.1 2018-02-04 17:45:12 +01:00
Roland Gruber 93a409babd #44 fixed login issue
# Conflicts:
#	lam/HISTORY
2018-02-04 17:29:10 +01:00
Roland Gruber 24dfcd1f4a fixed certificate buttons 2018-02-04 17:17:18 +01:00
Roland Gruber 75abda70ca fixed certificate buttons 2018-02-02 18:58:23 +01:00
Roland Gruber dd0ba120ca user name suggestions: clean umlauts and special characters only in LDAP
values
2018-01-17 17:39:31 +01:00
Roland Gruber 44eb1b93d2 #44 fixed login issue 2018-01-16 18:31:52 +01:00
Roland Gruber fa9f2490ec responsive 2018-01-13 19:58:55 +01:00
Roland Gruber 3b8addba5e type hints 2018-01-12 18:00:18 +01:00
Roland Gruber 999e22a2d1 responsive schema browser 2018-01-12 17:57:32 +01:00
Roland Gruber 05fac42d77 refactoring 2018-01-08 18:42:55 +01:00
Roland Gruber 12cf9e61da refactoring 2018-01-07 17:44:50 +01:00
Roland Gruber c370ab7e09 refactoring 2018-01-07 17:33:46 +01:00
Roland Gruber 7db09169be refactoring 2018-01-07 17:19:28 +01:00
Roland Gruber 5f714c4ab5 refactoring 2018-01-07 17:00:02 +01:00
Roland Gruber 6f6feade86 responsive 2018-01-06 18:17:50 +01:00
Roland Gruber c63b03ff2f fixed menu width 2018-01-03 19:00:41 +01:00
Roland Gruber 5ee8a052ac responsive 2018-01-03 18:40:51 +01:00
Roland Gruber b71ae14684 responsive 2018-01-03 18:03:00 +01:00
Roland Gruber 63c72daa63 responsive 2018-01-02 21:42:02 +01:00
Roland Gruber 21d0b7eb02 referential integrity overlay 2017-12-31 13:48:16 +01:00
Roland Gruber 39e5cf1985 referential integrity 2017-12-31 12:53:30 +01:00
Roland Gruber 4b4b9892d4 referential integrity overlay 2017-12-31 12:37:50 +01:00
Roland Gruber fc0b65468a custom types 2017-12-31 10:52:33 +01:00
Roland Gruber d9a8f16e78 custom base type 2017-12-30 17:07:49 +01:00
Roland Gruber 124f563090 custom types 2017-12-30 15:05:33 +01:00
Roland Gruber 9fa744ddb5 dynamic lists 2017-12-22 11:56:03 +01:00
Roland Gruber 3c07a0e878 added type id 2017-12-22 10:43:02 +01:00
Roland Gruber 7541cf63fe fixed font weight in table 2017-12-22 10:42:09 +01:00
Roland Gruber 7223e997f2 also read hidden attributes 2017-12-22 10:41:31 +01:00
Roland Gruber 574ddbcbb6 added type id to get LDAP filter 2017-12-22 09:41:52 +01:00
Roland Gruber ea33f2f5ac use type ids for config check 2017-12-20 20:44:08 +01:00
Roland Gruber 1e51b59cf9 dynamic lists 2017-12-20 18:47:28 +01:00
Roland Gruber b57230faf2 added explanation and fixed K/M/G/T 2017-12-20 18:26:12 +01:00
Roland Gruber 854231d0e2 use type id in $allScopes 2017-12-18 21:52:24 +01:00
Roland Gruber 07b885a2ad responsive settings 2017-12-17 12:03:43 +01:00
Roland Gruber b6d130ce14 responsive settings 2017-12-17 11:44:49 +01:00
Roland Gruber 9efa8507df responsive show/hide for checkboxes 2017-12-17 11:44:28 +01:00
Roland Gruber 400827889a responsive settings 2017-12-17 09:59:07 +01:00
Roland Gruber 30a7865daf support help module setting 2017-12-16 16:20:37 +01:00
Roland Gruber 55e5ddae3f PHPdoc 2017-12-16 15:47:06 +01:00
Roland Gruber 7397be0ee1 smaller title 2017-12-15 16:58:54 +01:00
Roland Gruber 47caf8bdc5 fix for rich-edit 2017-12-15 16:53:53 +01:00
Roland Gruber bb89fa334b added validation rules 2017-12-15 16:52:56 +01:00
Roland Gruber c87a7dc1f2 6.3 2017-12-13 17:16:30 +01:00
Roland Gruber 4dc1fc16d5 check for duplicate call 2017-12-13 17:05:17 +01:00
Roland Gruber 40c9d92b9a typo 2017-12-13 16:51:19 +01:00
Roland Gruber 046a29d7d5 deliver CSS/JS as one file 2017-12-13 16:47:52 +01:00
Roland Gruber 564fc2ed7f docs 2017-12-13 16:09:26 +01:00
Roland Gruber db504da5d7 error handling 2017-12-13 12:31:26 +01:00
Roland Gruber 68cd9b53aa fixed issue when no type was preselected 2017-12-13 11:06:57 +01:00
Roland Gruber b541460231 error handling 2017-12-13 10:59:38 +01:00
Roland Gruber 3eaeaa6c30 fixed missing types 2017-12-13 10:59:16 +01:00
Roland Gruber c8cd42eddc policy 2017-12-13 10:20:39 +01:00
Roland Gruber d5cd6a678c 6.2 2017-12-13 10:11:46 +01:00
Roland Gruber 0ec5c8ce7e margin for textarea 2017-12-06 19:21:59 +01:00
Roland Gruber e949577727 CSS class support for responsive row and width selection for responsive
table
2017-12-06 18:30:44 +01:00
Roland Gruber ecdd731b3a avoid text overflow 2017-12-06 17:36:34 +01:00
gruberroland 839941187c
Merge pull request #43 from LDAPAccountManager/responsiveSettings
Responsive settings
2017-12-04 21:06:18 +01:00
Roland Gruber 1101f50908 layout fix 2017-12-04 18:31:19 +01:00
Roland Gruber e6f43db732 copyright 2017-12-02 18:09:59 +01:00
Roland Gruber 6be073de49 responsive settings 2017-12-02 18:07:33 +01:00
Roland Gruber 059d987cc9 responsive settings 2017-12-02 17:51:59 +01:00
Roland Gruber c61c2dac54 responsive settings 2017-12-02 15:59:36 +01:00
Roland Gruber 7271354247 responsive settings 2017-12-02 14:53:31 +01:00
Roland Gruber 913f49f71c translation update 2017-12-01 18:20:09 +01:00
Roland Gruber 0a2a75c88e translation update 2017-11-29 18:18:31 +01:00
Roland Gruber 281938613f 6.2 2017-11-28 19:14:00 +01:00
Roland Gruber 767a296de1 translation update 2017-11-28 18:12:33 +01:00
Roland Gruber 06952795cd standards 4.1.1 2017-11-27 18:52:18 +01:00
Roland Gruber 7dbfbb4bbe license update 2017-11-27 18:46:35 +01:00
Roland Gruber 2484a335e4 fixed build 2017-11-27 18:34:20 +01:00
Roland Gruber 942498f163 6.2 2017-11-27 18:27:14 +01:00
Roland Gruber f882a8bc42 translation update 2017-11-27 18:13:40 +01:00
Roland Gruber ee795fa42e better help support 2017-11-27 18:11:38 +01:00
Roland Gruber 150e6158dc fixed host options 2017-11-25 17:55:29 +01:00
Roland Gruber 7521164800 responsive settings 2017-11-25 17:51:13 +01:00
Roland Gruber 016ef337df responsive settings 2017-11-25 17:40:31 +01:00
Roland Gruber 9dd005ce5a responsive settings 2017-11-25 17:06:29 +01:00
Roland Gruber c688217165 do not escape label 2017-11-25 17:05:54 +01:00
Roland Gruber 0952a461cc support array of module options 2017-11-25 14:44:12 +01:00
Roland Gruber 75599c21d6 responsive settings 2017-11-25 14:35:22 +01:00
Roland Gruber 97e4a55e03 allow longer label text for checkboxes 2017-11-25 14:34:42 +01:00
Roland Gruber 86a2a1c8de responsive settings 2017-11-25 11:39:34 +01:00
Roland Gruber 2d991a420d support larger icons 2017-11-25 11:38:52 +01:00
Roland Gruber a1bee10fd1 generic way for initial focus 2017-11-24 19:22:11 +01:00
Roland Gruber 985acfb5f2 LAM Pro hint 2017-11-23 18:40:04 +01:00
Roland Gruber 2ff684d3af translation update 2017-11-23 18:15:22 +01:00
Roland Gruber 1dea64098d hidden tools formatting 2017-11-21 20:11:59 +01:00
Roland Gruber bdcacc1d55 responsive design 2017-11-21 20:02:36 +01:00
Roland Gruber c0f0dc0412 typos 2017-11-21 18:17:03 +01:00
Roland Gruber 7654fdfd3c set ssl variables also when session not yet exists 2017-11-19 10:31:26 +01:00
Roland Gruber d0f6befa7e support number fields with min/max 2017-11-19 10:13:41 +01:00
Roland Gruber 56fe32cad6 #42 fixed PHP notice in LM hash 2017-11-14 20:42:52 +01:00
Roland Gruber 7146be7ecf responsive design 2017-11-12 11:45:36 +01:00
Roland Gruber 213c973dd9 common functions for config pages 2017-11-11 16:39:53 +01:00
Roland Gruber 83074b5fb4 added icon 2017-11-11 15:12:43 +01:00
Roland Gruber ff8fd54b91 fixed photo deletion 2017-11-07 20:28:38 +01:00
Roland Gruber ab78756094 responsive layout 2017-11-05 18:47:15 +01:00
Roland Gruber c5558b4ddf htmlSpan 2017-11-05 18:46:11 +01:00
Roland Gruber a453e67402 unique icon for module settings 2017-11-05 11:00:25 +01:00
Roland Gruber ef5a689938 responsive layout 2017-11-05 10:49:33 +01:00
Roland Gruber ce68219e6a refactoring 2017-11-04 19:27:02 +01:00
Roland Gruber ed325fcab6 responsive layout 2017-11-04 15:09:29 +01:00
Roland Gruber 8d78f0d040 removed obsolete code 2017-11-04 13:49:26 +01:00
Roland Gruber 0becd907f6 use central function to include CSS/JS 2017-11-04 11:29:38 +01:00
Roland Gruber 78c4043927 responsive config login 2017-11-04 10:49:28 +01:00
Roland Gruber 97dc46fb7d removed obsolete scripts 2017-11-04 09:12:47 +01:00
Roland Gruber d143e59889 responsive main configuration 2017-11-03 18:53:10 +01:00
Roland Gruber 8d601c57ff responsive table 2017-11-02 20:05:57 +01:00
Roland Gruber 45e37db836 responsive update 2017-11-01 19:41:29 +01:00
Roland Gruber 93d26f97cb moved responsive CSS classes to separate file 2017-11-01 13:55:02 +01:00
Roland Gruber c0d146d6e1 responsive design 2017-11-01 13:45:20 +01:00
Roland Gruber aab3658deb added doc 2017-11-01 10:35:41 +01:00
Roland Gruber 94fdfca094 added PDF 2017-11-01 10:17:34 +01:00
Roland Gruber 21d7a381b7 updated grid and responsive login page 2017-10-31 15:22:34 +01:00
gruberroland 0d0cb17ae1
Merge pull request #41 from LDAPAccountManager/JobResultLog
Job result log
2017-10-29 16:37:40 +01:00
Roland Gruber a7f1166ede job dry-run 2017-10-29 16:35:22 +01:00
Roland Gruber faac345f53 new job logger 2017-10-29 16:26:25 +01:00
Roland Gruber ea30293724 new job logging 2017-10-29 15:55:00 +01:00
Roland Gruber 57c169e700 added isDebugLoggingEnabled() 2017-10-29 11:33:07 +01:00
Roland Gruber 4cb8aec794 changed logging 2017-10-25 20:40:28 +02:00
Roland Gruber 6a3f31aa30 added error handler for Ajax call 2017-10-25 20:38:39 +02:00
Roland Gruber fce8908a72 refactoring 2017-10-24 21:06:18 +02:00
Roland Gruber f1decc1f4c refactoring 2017-10-24 20:48:34 +02:00
Roland Gruber 8629b5d867 refactoring 2017-10-24 20:43:28 +02:00
Roland Gruber 09fd516f9f updated images 2017-10-23 18:12:46 +02:00
gruberroland 8e8437a4aa Merge pull request #40 from LDAPAccountManager/tcpdf
Tcpdf
2017-10-23 18:05:36 +02:00
Roland Gruber 6b97541530 added font selection 2017-10-23 17:58:08 +02:00
Roland Gruber 8ccaf564ed support saving default value in local storage 2017-10-22 19:45:54 +02:00
Roland Gruber 4544259dd4 CJK fonts 2017-10-22 19:17:03 +02:00
Roland Gruber 164c6c005e better formatting of postal addres in PDF 2017-10-22 17:21:00 +02:00
Roland Gruber 44fbc4b507 removed old fonts 2017-10-22 17:10:13 +02:00
Roland Gruber 061bb0d38f removed FPDF 2017-10-22 16:58:44 +02:00
Roland Gruber 8f03835019 added TCPDF 2017-10-22 15:26:52 +02:00
Roland Gruber 21a305bf4f refactoring 2017-10-22 10:32:56 +02:00
Roland Gruber c5a0be924c quota: allow k/m/g/t/K/M/G/T 2017-10-21 21:37:40 +02:00
Roland Gruber b3a5e0603e fixed profile check 2017-10-21 21:37:07 +02:00
Roland Gruber 2c14a5ae61 support to store default profile for new users 2017-10-20 20:26:35 +02:00
gruberroland 54bf006d5c Merge pull request #39 from LDAPAccountManager/expireStatus
Expire status
2017-10-19 19:46:10 +02:00
Roland Gruber c7bc9ee258 doc update 2017-10-19 19:44:13 +02:00
Roland Gruber a52f4f1e5d Windows expiration 2017-10-19 19:32:22 +02:00
Roland Gruber fb08739441 check shadow password expiration 2017-10-17 17:46:04 +02:00
Roland Gruber f1fc0c1fba added expired to status selction 2017-10-17 17:22:22 +02:00
Roland Gruber 7e450ebdfa changed label 2017-10-16 19:54:44 +02:00
Roland Gruber e60aaf1a77 show expiration status 2017-10-16 19:51:27 +02:00
Roland Gruber e7898c4326 removed obsolete mt_srand 2017-10-16 19:50:44 +02:00
Roland Gruber 696ec86674 allow to build branches 2017-10-15 10:53:07 +02:00
Roland Gruber 66a1b43565 expiration status 2017-10-15 10:22:19 +02:00
Roland Gruber ddf2e22e91 fixed 1673595 2017-10-13 06:54:41 +02:00
Roland Gruber fc63f9fe91 updated priority 2017-10-13 06:48:57 +02:00
Roland Gruber ecfb9879e4 removed obsolete convertHex2bin() 2017-10-10 18:55:43 +02:00
Roland Gruber b227a55a2b central function for LDAP connect 2017-10-07 14:45:15 +02:00
Roland Gruber 4f3eb2f7bb fixed import of yet untrusted certificates 2017-10-07 10:47:42 +02:00
Roland Gruber 1a1d28a8af allow to set token if not yet done 2017-10-07 09:58:05 +02:00
Roland Gruber 6781fb1964 shorter login name 2017-10-03 10:17:51 +02:00
Roland Gruber 06f145d6a9 move rpmsign to the end 2017-09-28 18:21:10 +02:00
Roland Gruber 6c65c774f4 6.2 2017-09-28 18:13:11 +02:00
Roland Gruber 18e5206b26 Debian update 2017-09-28 17:57:46 +02:00
Roland Gruber fcb3553e6e added hint for kadmin wrapper script 2017-09-24 10:05:20 +02:00
Roland Gruber d521f60f66 Merge branch 'develop' of git@github.com:LDAPAccountManager/lam.git into develop 2017-09-24 09:49:02 +02:00
Roland Gruber 38cf0b2108 fixed issue when saving '0' values 2017-09-24 09:48:42 +02:00
gruberroland cc0002e833 Merge pull request #38 from LDAPAccountManager/release-6.2
Release 6.2
2017-09-23 09:59:07 +02:00
Roland Gruber be24c5a3ca Merge remote-tracking branch 'origin/develop' into release-6.2
Conflicts:
	lam/HISTORY
2017-09-23 09:55:19 +02:00
Roland Gruber a5522c29ab SASL support for self service 2017-09-22 19:52:57 +02:00
Roland Gruber 9f91009174 6.1 2017-09-19 18:26:58 +02:00
Roland Gruber 6ec7fb87f3 refactoring 2017-09-18 19:47:27 +02:00
Roland Gruber 93e69bfb4c refactoring 2017-09-18 19:39:08 +02:00
Roland Gruber e37f3e3dc4 translation update 2017-09-18 19:26:51 +02:00
Roland Gruber e468e10a29 foreach loops 2017-09-17 12:33:33 +02:00
Roland Gruber 5cdcc495f4 use foreach 2017-09-17 11:25:11 +02:00
Roland Gruber e0fd0c8a51 added images + doc 2017-09-17 10:27:50 +02:00
Roland Gruber d7f967352b added type hinting 2017-09-17 10:17:13 +02:00
Roland Gruber 166c9b285a removed TODOs 2017-09-17 09:59:21 +02:00
Roland Gruber b89a227f7c new remote API 2017-09-17 09:40:05 +02:00
Roland Gruber e899bf8c82 new remote API 2017-09-17 09:21:37 +02:00
Roland Gruber 749021a175 use proper namespace and class 2017-09-16 22:16:35 +02:00
Roland Gruber f2c78d6992 added newline 2017-09-16 22:08:57 +02:00
Roland Gruber 1411aa4863 new phpseclib 2017-09-16 16:55:21 +02:00
Roland Gruber 0e251a3244 update to phpseclib 2.0.6 2017-09-16 15:09:25 +02:00
Roland Gruber aa435cecfb removed obsolete magic_quotes_gpc handling 2017-09-16 13:31:59 +02:00
Roland Gruber c8d36eadd7 PHP 5.6 and IE 11 2017-09-16 09:58:08 +02:00
Roland Gruber 29d3e2560f nginx PHP 7 config 2017-09-08 21:10:11 +02:00
Roland Gruber fb25095248 fixed PHP version 2017-09-08 07:32:00 +02:00
Roland Gruber 9a19bc85f3 translation update 2017-09-07 21:52:22 +02:00
Roland Gruber b3bbc87736 fixed storing config 2017-09-07 07:17:52 +02:00
Roland Gruber 7e8bea25d5 6.1 2017-09-05 19:36:06 +02:00
Roland Gruber e0865608a2 CRYPT-SHA512 2017-09-05 19:32:42 +02:00
Roland Gruber e9d658e4bd translation update 2017-09-05 18:38:33 +02:00
Roland Gruber 9a5ec3d8c3 custom fields constants 2017-09-05 07:21:22 +02:00
Roland Gruber 6bb5249bf1 upload API change 2017-09-02 13:03:36 +02:00
Roland Gruber 264d8ea26c newline 2017-08-28 19:32:49 +02:00
Roland Gruber efa6846dfe gitignore 2017-08-28 19:30:43 +02:00
Roland Gruber 8661d9612a more tests 2017-08-28 19:29:30 +02:00
Roland Gruber f1ebe371d7 custom fields constants 2017-08-27 22:10:14 +02:00
Roland Gruber 8ef708b43f 193 2017-08-27 09:49:59 +02:00
Roland Gruber a6bca40ea4 PHP 7 nginx 2017-08-27 09:48:54 +02:00
Roland Gruber 29ebf207a5 #193 fixed PHP7 issue on nginx 2017-08-27 09:37:28 +02:00
Roland Gruber ec308f3b20 added auto-trimming 2017-08-26 11:42:48 +02:00
Roland Gruber 0c56824988 custom fields 2017-08-24 20:45:09 +02:00
Roland Gruber 485c04f092 fixed 5.4 issue and insert position for PDF editor 2017-08-24 20:29:55 +02:00
Roland Gruber d545622594 #192 fixed initial settings 2017-08-21 18:38:46 +02:00
Roland Gruber 1666b9d2fc 6.1 2017-08-20 19:40:31 +02:00
Roland Gruber 56fbf6ad74 fixed help in self service 2017-08-20 19:40:11 +02:00
Roland Gruber 25849a874c added syslog dependency 2017-08-16 21:09:06 +02:00
Roland Gruber e89b62c044 XML check 2017-08-16 19:25:53 +02:00
Roland Gruber 66e89f7acd 6.1 2017-08-15 10:32:24 +02:00
Roland Gruber 026f33a3da Merge branch 'develop' of git@github.com:LDAPAccountManager/lam.git into develop 2017-08-15 10:29:48 +02:00
Roland Gruber 463aaa2f4b fixed post modify 2017-08-15 10:29:30 +02:00
Roland Gruber 204798567f fixed variable 2017-07-20 21:22:35 +02:00
Roland Gruber 3b9f847ca6 fixed email 2017-07-19 21:16:25 +02:00
Roland Gruber 88cd30ff05 6.0.1 2017-07-19 20:51:32 +02:00
Roland Gruber ae64c43e2f Patch 19: fixed multi-value input field 2017-07-19 20:33:28 +02:00
Roland Gruber b99aa5729d fixed issue with tool visibility 2017-07-16 20:48:46 +02:00
Roland Gruber d06035f1ce reduced icons 2017-07-05 17:54:10 +02:00
Roland Gruber bacd10dedb reduced icons 2017-07-05 17:53:22 +02:00
Roland Gruber b78dc34d36 allow types to define their custom icon 2017-07-05 17:44:18 +02:00
Roland Gruber f24fcf853b removed obsolete locking code 2017-07-05 17:11:38 +02:00
Roland Gruber 85e8b3e739 remove outdated entries 2017-07-03 20:23:49 +02:00
Roland Gruber 499c6b6a2c fixed issues with duplicating empty type and module settings 2017-07-02 09:35:27 +02:00
gruberroland 7264498645 Merge pull request #34 from LDAPAccountManager/pdf_xml
Pdf xml
2017-07-02 09:05:21 +02:00
Roland Gruber 642f24fcee new PDF writing API 2017-07-02 09:00:14 +02:00
Roland Gruber 3a4e208cf9 new API: remove entries and sections 2017-07-01 11:21:53 +02:00
Roland Gruber e9bfa90336 new API: add section entries 2017-07-01 09:59:51 +02:00
Roland Gruber 677a34e9a9 migration to new PDF API 2017-07-01 09:50:49 +02:00
Roland Gruber b900f52a4c fixed missing time zone 2017-06-27 20:23:04 +02:00
Roland Gruber ad6837c056 typo 2017-06-27 20:19:28 +02:00
Roland Gruber 9660af8f48 new output dir 2017-06-27 20:19:14 +02:00
Roland Gruber 3f1d91ce37 Merge branch 'develop' into pdf_xml 2017-06-26 18:58:12 +02:00
Roland Gruber d1e83fa973 6.0 2017-06-26 18:32:53 +02:00
Roland Gruber f47381828c removed old XML parser 2017-06-25 15:21:11 +02:00
Roland Gruber 6800df7985 new PDF API 2017-06-25 15:19:11 +02:00
Roland Gruber ba3782b685 new PDF API 2017-06-25 14:47:33 +02:00
Roland Gruber e4eed3c55d new PDF reader 2017-06-25 14:23:28 +02:00
Roland Gruber 77e592d1dc new PDF model 2017-06-25 09:49:11 +02:00
Roland Gruber af3c0965bf new PDF model 2017-06-25 09:47:32 +02:00
Roland Gruber b527ad253b fixed height of vertical tabs 2017-06-20 18:43:19 +02:00
Roland Gruber e515eb2019 translation update 2017-06-19 18:10:35 +02:00
Roland Gruber 6fc698b695 chmod 2017-06-15 11:08:51 +02:00
Roland Gruber 7a58c318a0 debhelper 2017-06-15 11:06:56 +02:00
Roland Gruber fb063beb2d fix rights 2017-06-15 11:05:18 +02:00
Roland Gruber 8adc56d47a updated debhelper level 2017-06-15 10:58:31 +02:00
Roland Gruber 350cda3f75 translation update 2017-06-15 10:52:33 +02:00
Roland Gruber bdc11ba121 fixed method signatures 2017-06-14 19:59:14 +02:00
Roland Gruber a7d9166ca2 6.0.RC2 2017-06-13 19:31:47 +02:00
Roland Gruber 613842e33a translation update 2017-06-13 19:24:35 +02:00
Roland Gruber ee7aea44eb fixed issue with self service 2017-06-12 17:49:15 +02:00
Roland Gruber 6d52216a09 new type API 2017-06-11 21:15:41 +02:00
Roland Gruber 6d91963df0 fixed PHP warnings 2017-06-11 21:04:16 +02:00
Roland Gruber bee01d1682 reordering 2017-06-07 19:39:01 +02:00
Roland Gruber 61eb284e27 translation update 2017-06-07 19:24:01 +02:00
Roland Gruber 1dd6dafe14 translation update 2017-06-06 19:46:20 +02:00
Roland Gruber 4d4248936a 6.0 2017-06-06 19:05:51 +02:00
Roland Gruber 4b3f65fc6f fixed double linking 2017-06-05 19:16:51 +02:00
Roland Gruber 368ba7b2c1 Revert "removed duplicate entry"
This reverts commit f572c8f25d.
2017-06-05 18:58:47 +02:00
Roland Gruber f572c8f25d removed duplicate entry 2017-06-05 18:47:30 +02:00
Roland Gruber dbaa6746de Courier 2017-06-05 18:28:24 +02:00
gruberroland ceaa4d6405 Merge pull request #33 from LDAPAccountManager/courier
Courier
2017-06-05 11:08:33 +02:00
Roland Gruber e0068e1f68 upload 2017-06-05 11:03:31 +02:00
Roland Gruber e64e7e3adf fixed upload 2017-06-05 11:03:20 +02:00
Roland Gruber bc3e1d4856 implemented except upload 2017-06-05 09:42:00 +02:00
Roland Gruber 7260bb5267 PHPdoc fixes 2017-06-05 09:39:29 +02:00
Roland Gruber 4130b1d880 initial checkin 2017-05-30 20:31:05 +02:00
Roland Gruber 41c35e23d1 translation update 2017-05-29 19:21:45 +02:00
Roland Gruber 619d37861c courier mail aliases 2017-05-29 19:01:36 +02:00
Roland Gruber 8cc6564540 fixed label for required multi-values 2017-05-29 19:00:32 +02:00
Roland Gruber 06136f1d5f custom fields selection with LDAP search 2017-05-25 11:40:06 +02:00
Roland Gruber 129338dfa6 refactoring 2017-05-25 11:00:58 +02:00
Roland Gruber e6dd937f32 fix for select with empty value 2017-05-25 09:49:05 +02:00
Roland Gruber fab16750a6 custom fields file upload 2017-05-21 13:35:41 +02:00
Roland Gruber 851f8b5bb7 new type API 2017-05-20 11:46:49 +02:00
Roland Gruber b57cdea3fc do not render empty help entries 2017-05-20 11:46:26 +02:00
Roland Gruber d3d6dfc032 new type API 2017-05-20 10:55:26 +02:00
Roland Gruber 824d3df9f9 provide type for upload 2017-05-20 10:04:09 +02:00
Roland Gruber c172acfa7b links 2017-05-20 09:21:15 +02:00
Roland Gruber 4e2fc18eda removed list of tables 2017-05-20 09:13:36 +02:00
Roland Gruber e423194cce Kopano support 2017-05-20 09:04:31 +02:00
Roland Gruber cc690fe34b Kopano 2017-05-17 20:34:57 +02:00
Roland Gruber c9e7973ed4 Kopano 2017-05-16 21:15:15 +02:00
Roland Gruber 7b57ca83c0 create base folders for pdf/profiles 2017-05-15 20:11:00 +02:00
Roland Gruber 3933081282 fixed password attribute 2017-05-13 17:58:02 +02:00
Roland Gruber a6952f1d9f "o" for self service 2017-05-13 11:10:38 +02:00
Roland Gruber eaa09a2799 new type API 2017-05-13 11:07:54 +02:00
Roland Gruber 5d10297448 new type API 2017-05-10 19:23:28 +02:00
Roland Gruber 0244dd9ff1 typo 2017-05-10 18:48:59 +02:00
Roland Gruber 2f5f0caff1 new type API 2017-05-08 19:59:28 +02:00
Roland Gruber 7b82372a2d support Windows lockoutTime 2017-05-07 13:26:41 +02:00
Roland Gruber 7169068d93 disable browser password managers 2017-05-06 15:41:38 +02:00
Roland Gruber 40b701a8bf new type API 2017-05-06 15:22:27 +02:00
Roland Gruber b886074693 fixed return value 2017-05-06 15:21:37 +02:00
Roland Gruber 09bd0720d5 #190 fixed PHP notice 2017-05-06 13:48:48 +02:00
Roland Gruber 711d5b3d77 new type API 2017-05-06 11:09:43 +02:00
Roland Gruber f60c37edcd new type API 2017-05-06 10:47:19 +02:00
Roland Gruber 9c9d8b3f09 new type API 2017-05-03 20:37:04 +02:00
Roland Gruber 056cbce9c3 new type API 2017-05-02 21:20:16 +02:00
Roland Gruber 51bb97ba38 new type API 2017-05-01 20:02:44 +02:00
Roland Gruber 50d472e96d new type API 2017-04-26 19:25:12 +02:00
Roland Gruber c51918907e new type API 2017-04-26 19:01:57 +02:00
Roland Gruber 1a16b3cd5b new type API 2017-04-26 18:22:05 +02:00
Roland Gruber 394faed7eb new type API 2017-04-25 20:14:59 +02:00
Roland Gruber cd4cc1ae26 new type API 2017-04-25 20:03:38 +02:00
Roland Gruber b4248bc898 new type API 2017-04-24 20:13:20 +02:00
Roland Gruber 94553967e5 new type API 2017-04-23 20:46:58 +02:00
Roland Gruber 9ac206a613 new type API 2017-04-22 16:14:15 +02:00
Roland Gruber 01f2d618f2 new type API 2017-04-22 15:59:07 +02:00
Roland Gruber a844d4d06d new type API 2017-04-22 11:57:57 +02:00
Roland Gruber 7d4dd7bda2 new type API 2017-04-22 11:25:25 +02:00
Roland Gruber cc997a625f new type API 2017-04-22 11:16:41 +02:00
Roland Gruber c01e6c242e added accountContainer when getting PDF fields 2017-04-22 10:52:31 +02:00
Roland Gruber 9a8f264450 removed obsolete code 2017-04-22 10:22:46 +02:00
Roland Gruber e01e3f0e1a allow to set CSS classes on links 2017-04-20 18:26:56 +02:00
Roland Gruber 515a153286 added account expiration date to PDF fields 2017-04-18 18:28:10 +02:00
Roland Gruber f4ce9c1299 fixed required check 2017-04-17 20:29:31 +02:00
Roland Gruber 077f81be49 changed conditions 2017-04-17 19:53:07 +02:00
Roland Gruber 6676cac168 be more failure tolerant 2017-04-17 19:30:34 +02:00
Roland Gruber 50b721c7ef fixed return code 2017-04-17 19:12:11 +02:00
Roland Gruber 7919b3f150 be more error tolerant 2017-04-17 12:02:23 +02:00
Roland Gruber cf850c8057 fixed typo 2017-04-17 11:59:40 +02:00
Roland Gruber c5a47f1691 do not enable PHP by default (done by PHP package itself) 2017-04-17 11:52:18 +02:00
Roland Gruber 02a69aace8 removed old conf.d support 2017-04-17 11:16:38 +02:00
Roland Gruber d7cb9f4b52 removed action module config 2017-04-17 11:12:21 +02:00
Roland Gruber e4a035a1c3 set default password 2017-04-16 19:02:49 +02:00
Roland Gruber d4a6bf00fa PHP 7.1 2017-04-16 19:01:53 +02:00
Roland Gruber 291c9ee14f Merge branch '5.7.1' into develop 2017-04-05 19:53:02 +02:00
Roland Gruber 997a4530e6 #188 fixed issue with self service Ajax requests 2017-04-05 19:49:14 +02:00
Roland Gruber e99f8dae36 replaced MCrypt with OpenSSL 2017-04-02 19:37:06 +02:00
Roland Gruber ee2bde16e9 5.8 2017-04-02 15:54:27 +02:00
Roland Gruber b13054d5b2 5.8 2017-04-02 15:45:57 +02:00
Roland Gruber 3be9e00e2a new minification 2017-04-02 15:42:57 +02:00
Roland Gruber dd17435a20 replaced YUI compressor 2017-04-02 15:35:06 +02:00
Roland Gruber fb1ab48b38 new type API 2017-04-02 15:34:45 +02:00
Roland Gruber 7d5310f588 fix for Edge 2017-04-02 14:32:18 +02:00
Roland Gruber 40bbb4736e fixed accordion 2017-04-02 13:19:40 +02:00
Roland Gruber 8b0dd38bfe new type API 2017-04-01 09:59:13 +02:00
Roland Gruber 267cdcb31b new type API 2017-04-01 09:57:03 +02:00
Roland Gruber 3a3c88ba4b added typeId for profile methods 2017-03-30 20:39:24 +02:00
Roland Gruber ef1eec558a new type API 2017-03-30 18:56:23 +02:00
Roland Gruber 953ea96aa0 typo 2017-03-30 18:55:52 +02:00
Roland Gruber e1b7be85a7 5.8.RC1 2017-03-27 18:58:53 +02:00
Roland Gruber 9b8d39d3dd translation update 2017-03-27 18:40:34 +02:00
Roland Gruber 9a4963c85b new type API 2017-03-25 20:25:20 +01:00
Roland Gruber 207c77b5f0 new type API 2017-03-24 18:23:52 +01:00
Roland Gruber daa51d1659 new type API 2017-03-22 20:17:52 +01:00
Roland Gruber 2f45affd69 ignore dot files on cleanup 2017-03-22 19:41:01 +01:00
Roland Gruber 0ac6fc6c2e new type API 2017-03-21 19:26:31 +01:00
Roland Gruber 6022dee5a0 new type API 2017-03-21 18:47:05 +01:00
Roland Gruber 2ce3618ca9 new type API 2017-03-20 21:12:08 +01:00
Roland Gruber 8161c897c6 fixed redirect 2017-03-20 21:11:42 +01:00
Roland Gruber 572935dde8 support multiple configs 2017-03-18 11:28:21 +01:00
Roland Gruber 4c04d67d02 removed obsolete code 2017-03-16 20:09:50 +01:00
gruberroland 4179b1bbe6 Merge pull request #29 from LDAPAccountManager/lam58
Lam58
2017-03-16 20:05:43 +01:00
Roland Gruber a92642795b new type API 2017-03-16 19:44:01 +01:00
Roland Gruber 599f5c4cda Merge branch 'develop' into lam58 2017-03-16 19:32:38 +01:00
Roland Gruber c51f2893ce 5.7 2017-03-14 18:27:06 +01:00
Roland Gruber baa8536560 new method to get modules of a type 2017-03-12 12:12:11 +01:00
gruberroland 0d15c8b9d7 Merge pull request #27 from LDAPAccountManager/icon
added icon
2017-03-11 11:40:46 +01:00
Roland Gruber f36226b2bb added icon 2017-03-11 11:38:22 +01:00
Roland Gruber effc028255 PHP version 2017-03-11 10:58:02 +01:00
Roland Gruber 036a16a031 fixed issues with empty (#26) 2017-03-08 17:19:44 +01:00
Roland Gruber bcfcd15e92 translation update 2017-03-07 19:02:52 +01:00
Roland Gruber 0e67958385 added missing new line 2017-03-06 19:35:33 +01:00
Roland Gruber b6ea9ec201 added namespace 2017-03-06 19:32:30 +01:00
Roland Gruber 6da80b323e added namespace 2017-03-06 19:18:58 +01:00
Roland Gruber a3d6ea07b4 added namespace 2017-03-06 19:16:02 +01:00
Roland Gruber cb1ffbef07 added namespace 2017-03-06 19:12:02 +01:00
Roland Gruber 706492cc54 translation update 2017-03-05 09:40:10 +01:00
Roland Gruber cb62f63cd8 department changes 2017-03-04 11:18:30 +01:00
Roland Gruber 4d6724430e switch to attribute name department instead of departmentNumber 2017-03-04 11:14:17 +01:00
Roland Gruber ad836591c5 2017 2017-03-02 20:50:17 +01:00
Roland Gruber 8fd5151521 chmod 2017-03-01 18:26:16 +01:00
Roland Gruber 2c71fb9c7b 5.7 2017-03-01 17:47:46 +01:00
Roland Gruber fa6360d5c8 5.7 2017-03-01 17:43:30 +01:00
Roland Gruber eced92fe0d 5.7 2017-03-01 17:35:40 +01:00
Roland Gruber 875cec5152 translation update 2017-02-27 20:15:03 +01:00
Roland Gruber 9a5ea26777 changed logout to be more fault tolerant 2017-02-27 19:25:47 +01:00
Roland Gruber 7bc0115b2a translation update 2017-02-25 13:46:52 +01:00
Roland Gruber 9fdbee4c0f translation update 2017-02-25 13:44:41 +01:00
Roland Gruber 453e0da077 #185 make comparing attribute values more strict 2017-02-21 19:57:50 +01:00
Roland Gruber f57a6a4b3c chmod 2017-02-20 18:41:46 +01:00
Roland Gruber 8f7b9c9c5a font links 2017-02-20 18:36:08 +01:00
Roland Gruber a7523916c1 DejaVu 2017-02-20 17:57:45 +01:00
Roland Gruber 7cab830b06 DejaVu font 2017-02-19 11:14:16 +01:00
gruberroland 7c94b6e13f Merge pull request #25 from LDAPAccountManager/new_pdf_api
New pdf api
2017-02-19 09:25:56 +01:00
Roland Gruber 8ab3996483 dependencies 2017-02-19 09:19:37 +01:00
Roland Gruber fc514c461f developer update 2017-02-19 09:16:06 +01:00
Roland Gruber d949b1bae4 PHPDoc update 2017-02-19 09:14:11 +01:00
Roland Gruber 7ccd41ef11 new PDF API 2017-02-18 21:10:06 +01:00
Roland Gruber 753b443656 added PDF namespace 2017-02-18 10:13:08 +01:00
Roland Gruber 809cb97f84 set correct head line 2017-02-18 09:59:57 +01:00
Roland Gruber ddeafb3503 replace internal PDF API 2017-02-15 21:45:26 +01:00
Roland Gruber 581eb84598 disable debug in tree because too much 2017-02-15 18:35:23 +01:00
Roland Gruber 835e28ef2b close 1628937 2017-02-12 10:58:57 +01:00
Roland Gruber d0d244b0a7 fixed 1632193 2017-02-12 10:50:29 +01:00
Roland Gruber 3c84fb1dbc dependencies 2017-02-12 10:49:02 +01:00
Roland Gruber e342a61d2d dependencies 2017-02-12 10:28:26 +01:00
gruberroland 968b6ebd22 Merge pull request #24 from LDAPAccountManager/2factor_auth
2factor auth
2017-02-11 22:37:24 +01:00
Roland Gruber c0ea7ecf34 2-factor documentation 2017-02-11 22:34:42 +01:00
Roland Gruber c475c66d60 2-factor 2017-02-11 22:07:38 +01:00
Roland Gruber 82bb3674fd get config for admin interface 2017-02-11 19:54:57 +01:00
Roland Gruber ac92e048fb refactoring 2017-02-11 19:39:05 +01:00
Roland Gruber 88050ca3f0 added 2-factor options 2017-02-11 18:16:08 +01:00
Roland Gruber f405f7910b check if user is logged in 2017-02-11 17:11:37 +01:00
Roland Gruber 5274f7d048 xinclude 2017-02-10 19:32:34 +01:00
Roland Gruber af265a3014 split howto 2017-02-10 19:30:10 +01:00
gruberroland b32ba7feb4 Merge pull request #23 from LDAPAccountManager/2factor_auth
2factor auth
2017-02-10 18:36:43 +01:00
Roland Gruber 5d54a7ea7b 2-factor authentication 2017-02-10 18:34:23 +01:00
Roland Gruber d2a1c917c2 5.6.6 2017-02-09 19:40:19 +01:00
Roland Gruber 6508042ec2 fixed issue when settings contain a ": " 2017-02-09 19:39:10 +01:00
Roland Gruber 1d8a6b3e28 fixed import 2017-02-08 18:49:27 +01:00
Roland Gruber 9eebadb5ca check 2nd factor 2017-02-08 18:45:15 +01:00
Roland Gruber 61f75e1dfa added more 2-factor options 2017-01-31 20:50:51 +01:00
Roland Gruber b3a917255d 2-factor authentication options 2017-01-30 20:02:31 +01:00
Roland Gruber 85bf6865cc gitignore 2017-01-28 17:54:48 +01:00
Roland Gruber 1c81c4c17e 5.6.5 2017-01-25 17:48:26 +01:00
Roland Gruber d39a29cc25 5.6.5 2017-01-23 19:58:48 +01:00
Roland Gruber afdc4b3f92 2factor authentication 2017-01-23 19:57:50 +01:00
Roland Gruber 16bc59f4c3 added curl 2017-01-22 20:37:56 +01:00
Roland Gruber 46477a829c trim upload input 2017-01-22 18:01:24 +01:00
Roland Gruber 936fb60b42 fixed template copy 2017-01-22 18:00:47 +01:00
Roland Gruber 71f4307745 allow subclassing 2017-01-15 11:02:18 +01:00
Roland Gruber d07a463e9a fixed account creation 2017-01-11 21:43:23 +01:00
Roland Gruber 89cfba1a24 fixed template copy 2017-01-11 21:27:28 +01:00
Roland Gruber f1fb0bf355 removed obsolete copying 2017-01-11 21:20:08 +01:00
Roland Gruber adcea47ce5 fixed case sensitivity 2017-01-11 21:01:37 +01:00
gruberroland 08771b3ffd Merge pull request #9 from LDAPAccountManager/type_api
new type API
2017-01-08 21:06:10 +01:00
Roland Gruber 17b71064ee support multiple type configs 2017-01-08 20:59:09 +01:00
gruberroland 841306c00c Merge pull request #22 from LDAPAccountManager/type_api_tmp
Type api tmp
2017-01-07 19:16:24 +01:00
Roland Gruber 6b643729d0 new type API 2017-01-07 19:14:29 +01:00
Roland Gruber 7d60eba628 removed obsolete code 2017-01-07 19:10:33 +01:00
Roland Gruber d6b9a28b58 new type API 2017-01-07 19:10:12 +01:00
gruberroland 94c4450e2c Merge pull request #20 from LDAPAccountManager/type_api_tmp
Type api tmp
2017-01-07 18:45:03 +01:00
Roland Gruber 84f2b43923 new type API for delete 2017-01-07 18:39:40 +01:00
Roland Gruber cdaa9a8a12 new type API for upload 2017-01-07 18:23:04 +01:00
gruberroland dede64d746 Merge pull request #19 from LDAPAccountManager/type_api_tmp
Type api tmp
2017-01-06 13:58:10 +01:00
Roland Gruber 9355b55982 init PDF and account profiles 2017-01-06 13:56:17 +01:00
Roland Gruber 752417f355 performance improvements 2017-01-06 11:38:52 +01:00
Roland Gruber 695f94e322 new type API for PDF 2017-01-06 10:11:47 +01:00
Roland Gruber 164433343c fixed select 2017-01-06 10:11:29 +01:00
Roland Gruber 61647ed008 PDF import with new type API 2017-01-05 21:40:48 +01:00
Roland Gruber 8774583532 new type API for PDF 2017-01-05 21:05:17 +01:00
Roland Gruber a9234c1537 new type API for PDF 2017-01-04 20:52:51 +01:00
gruberroland dba1cdcf96 Merge pull request #18 from LDAPAccountManager/type_api_tmp
new type API
2017-01-03 20:03:41 +01:00
Roland Gruber 22cfb56f60 new type API 2017-01-03 20:02:29 +01:00
gruberroland 71ccfc7356 Merge pull request #17 from LDAPAccountManager/type_api_tmp
Type api tmp
2016-12-31 15:09:55 +01:00
Roland Gruber e93d59740c moved getSuffixList() 2016-12-31 14:44:46 +01:00
Roland Gruber 7027522950 new type API 2016-12-31 11:13:36 +01:00
Roland Gruber ccc2721f51 formatting 2016-12-31 11:00:47 +01:00
Roland Gruber b408538403 getSuffixList() no longer supports self service 2016-12-31 10:55:56 +01:00
Roland Gruber 7f6574af8c move reading of suffix list 2016-12-31 10:43:31 +01:00
gruberroland 6b6cd4538f Merge pull request #16 from LDAPAccountManager/type_api_tmp
Type api tmp
2016-12-29 20:13:56 +01:00
Roland Gruber a6330b41e2 new type API 2016-12-29 20:12:15 +01:00
Roland Gruber 23c1251009 new type API 2016-12-29 19:39:34 +01:00
gruberroland c8b1dfe35b Merge pull request #15 from LDAPAccountManager/type_api_tmp
Type api tmp
2016-12-28 20:01:14 +01:00
Roland Gruber da5661a0f9 configuration for multi-types 2016-12-28 19:53:49 +01:00
Roland Gruber fe21487a3b multi type support 2016-12-28 19:53:18 +01:00
Roland Gruber 769aea44ba multi type support 2016-12-28 19:52:57 +01:00
Roland Gruber cf872b330c fixed missing $types 2016-12-28 19:51:48 +01:00
Roland Gruber 5f699648d0 reset password 2016-12-28 18:26:17 +01:00
gruberroland 8a432792ee Merge pull request #14 from LDAPAccountManager/type_api_tmp
Type api tmp
2016-12-26 19:33:09 +01:00
Roland Gruber 294ab941b1 new type API 2016-12-26 19:28:34 +01:00
Roland Gruber cbdd69f7f6 new type API 2016-12-26 19:11:05 +01:00
Roland Gruber 0bf8702763 new type API 2016-12-26 18:41:22 +01:00
Roland Gruber fad7a009f0 html coverage 2016-12-26 18:31:55 +01:00
Roland Gruber 4417e5aff7 check if tests can be run 2016-12-26 18:16:49 +01:00
Roland Gruber 39fdc3e5d2 include path 2016-12-26 18:06:18 +01:00
Roland Gruber 56bc52a7a7 changed include paths 2016-12-26 18:01:08 +01:00
Roland Gruber 949bc2ad1b PHPUnit 2016-12-26 17:51:15 +01:00
Roland Gruber 35b91ce517 Merge remote-tracking branch 'origin/type_api' into type_api_tmp 2016-12-26 17:41:03 +01:00
Roland Gruber fe4fa15ee7 tests 2016-12-26 17:40:25 +01:00
Roland Gruber 59d22b6652 phpunit 2016-12-26 11:06:38 +01:00
Roland Gruber d862ff6300 phpunit 2016-12-26 11:05:30 +01:00
gruberroland aa1af9ed71 Merge pull request #13 from LDAPAccountManager/type_api_tmp
Type api tmp
2016-12-26 10:54:07 +01:00
Roland Gruber 010f3d848b composer.json 2016-12-26 10:52:46 +01:00
Roland Gruber a95b614692 composer.json 2016-12-26 10:51:55 +01:00
gruberroland 2cde29e040 Merge pull request #12 from LDAPAccountManager/type_api_tmp
Type api tmp
2016-12-26 10:31:13 +01:00
Roland Gruber ed31fe6dd4 new type API 2016-12-26 10:26:26 +01:00
Roland Gruber 50468a1fef added namespace 2016-12-26 10:02:08 +01:00
gruberroland 8e9fd5bb36 Merge pull request #11 from LDAPAccountManager/type_api_tmp
new type API
2016-12-25 18:49:54 +01:00
Roland Gruber dbb3c779c4 new type API 2016-12-25 18:46:41 +01:00
gruberroland ad77a4054f Merge pull request #10 from LDAPAccountManager/type_api_tmp
new type API
2016-12-24 15:46:35 +01:00
Roland Gruber 207cd984ce new type API 2016-12-24 15:39:02 +01:00
Roland Gruber f9995d7cb6 new type API 2016-12-24 13:04:31 +01:00
Roland Gruber aa9c11ae0c new type API 2016-12-23 20:58:01 +01:00
Roland Gruber d510dc58c1 fixed PHP error 2016-12-20 22:12:31 +01:00
Roland Gruber 3fc092b3b7 namespace 2016-12-19 21:37:27 +01:00
Roland Gruber 97be076bba namespace for types 2016-12-19 21:32:08 +01:00
Roland Gruber f16a0286f7 removed advanced options 2016-12-19 17:05:47 +01:00
Roland Gruber b8e76638c4 5.7 2016-12-19 16:34:36 +01:00
Roland Gruber c0fb2a785c 5.6 2016-12-18 19:42:04 +01:00
Roland Gruber 6222f3d1f3 Merge branch 'develop' of git@github.com:LDAPAccountManager/lam.git into develop 2016-12-18 13:16:57 +01:00
Roland Gruber db60c61ef5 added class 2016-12-18 13:16:41 +01:00
gruberroland 184b0e5b82 Merge pull request #8 from LDAPAccountManager/responsive_config
responsive
2016-12-18 13:11:09 +01:00
Roland Gruber 7b2cef9981 fixed log message 2016-12-18 13:08:55 +01:00
Roland Gruber 5708f5b96c responsive 2016-12-14 20:43:16 +01:00
Roland Gruber 5caf322903 gitignore 2016-12-14 19:46:14 +01:00
Roland Gruber f8eee85c29 translation update 2016-12-11 20:00:20 +01:00
Roland Gruber 7838c9da25 translation update 2016-12-09 19:54:23 +01:00
gruberroland 1ba9008da2 Merge pull request #6 from LDAPAccountManager/upload_ajax
Upload ajax
2016-12-08 18:31:21 +01:00
Roland Gruber 308e3292c9 fixed error message 2016-12-08 18:17:04 +01:00
Roland Gruber eddfb11cf0 Ajax file upload 2016-12-07 21:18:06 +01:00
Roland Gruber c9008b3c7c fix PHP notices 2016-12-07 21:17:20 +01:00
Roland Gruber 502a47ecfa updated copyright + manual 2016-12-03 13:44:21 +01:00
Roland Gruber 30e1bd8469 translation update 2016-12-01 20:45:45 +01:00
Roland Gruber 2804d7ccaa translation update 2016-11-29 21:59:24 +01:00
Roland Gruber fd5de4198c translation update 2016-11-29 19:24:21 +01:00
Roland Gruber a7d99aa2ea 5.6 2016-11-28 19:01:48 +01:00
Roland Gruber 2b29f054bc fixed typos 2016-11-28 18:59:10 +01:00
Roland Gruber 422ab23a72 multiple security questions 2016-11-27 12:06:58 +01:00
Roland Gruber 44a722351a buttons 2016-11-26 18:24:51 +01:00
Roland Gruber f6d018f3f4 new replacement system 2016-11-20 10:32:13 +01:00
Roland Gruber dc23a7b766 new wildcard mechanism 2016-11-19 19:20:44 +01:00
Roland Gruber bb73f687ed more default translations 2016-11-14 19:37:39 +01:00
Roland Gruber cf636521f4 custom scripts 2016-11-14 19:17:59 +01:00
Roland Gruber 9f9802549a attributes field maxlength=1000 2016-11-14 19:17:10 +01:00
Roland Gruber 5f5b86b16d label for manual scripts 2016-11-14 19:15:08 +01:00
Roland Gruber 213c65d115 fixed mail check 2016-11-12 09:51:08 +01:00
Roland Gruber 4373c1b040 mail routing for groups 2016-11-12 09:48:34 +01:00
Roland Gruber 9f9cb353b1 new Windows attributes 2016-11-09 21:49:02 +01:00
Roland Gruber 7211faaf47 added proxyAddresses 2016-11-09 21:46:27 +01:00
Roland Gruber 2382108462 support for company, mobile, otherMobile, pager, otherPager 2016-11-09 19:22:43 +01:00
Roland Gruber a0dffd1f08 set INFO.userPasswordStatusChange in personal module 2016-11-06 10:08:36 +01:00
Roland Gruber a050000879 5.6 2016-11-05 12:51:31 +01:00
Roland Gruber 82c579e56e docs update 2016-11-05 12:13:14 +01:00
Roland Gruber 55f0964710 job history 2016-11-01 15:33:29 +01:00
Roland Gruber 9b9a462517 added tablepadding05 2016-11-01 15:17:26 +01:00
Roland Gruber 10c2e2c726 replaced dry run icon 2016-11-01 11:48:16 +01:00
Roland Gruber a0c02057f5 tar.bz2 update 2016-11-01 09:24:31 +01:00
Roland Gruber 97bea2bd0f autoconf fixes 2016-11-01 09:23:36 +01:00
Roland Gruber bc68b0eb5a install sample config 2016-11-01 08:55:34 +01:00
Roland Gruber aa5020d46b expiration hint 2016-10-25 20:02:10 +02:00
Roland Gruber 68bee45561 evaluation hint 2016-10-25 19:50:46 +02:00
Roland Gruber 70e3afc38e license expiration 2016-10-24 20:26:39 +02:00
Roland Gruber 54afe29cb8 hide login when no profiles were found 2016-10-09 10:59:43 +02:00
Roland Gruber ba4965bb98 fixed config rights 2016-10-09 10:45:21 +02:00
Roland Gruber 69932539b0 new version 2016-10-09 10:39:17 +02:00
Roland Gruber cd46b06dd4 fixed autoconf installation 2016-10-09 10:37:35 +02:00
Roland Gruber 0813e24b7a fixed rights 2016-09-10 16:16:10 +02:00
Roland Gruber c4bc0b3f07 translation updates 2016-09-10 16:09:34 +02:00
Roland Gruber 6efa35bdbc phpdoc 2016-09-10 15:34:29 +02:00
Roland Gruber 6d24baa182 5.5 2016-09-10 15:17:40 +02:00
Roland Gruber bff8c8dfad translation update 2016-09-06 18:52:55 +02:00
Roland Gruber d9e4871576 changed order 2016-09-06 17:49:34 +02:00
Roland Gruber 9acf4c86c0 translation update 2016-09-05 14:39:19 +02:00
Roland Gruber 52594017d6 white background 2016-09-02 14:57:11 +02:00
Roland Gruber d0df311595 do not modify if value is the same 2016-09-02 11:07:15 +02:00
Roland Gruber e3901f434e use ldap_modify_batch if available 2016-09-02 11:05:19 +02:00
Roland Gruber 3aaa019701 PHP 5.4 fix 2016-09-02 10:06:39 +02:00
Roland Gruber f350424b97 translation update 2016-09-01 19:23:19 +02:00
Roland Gruber 1142b54ea4 translations 2016-08-29 19:44:58 +02:00
Roland Gruber 49ac5ae7f5 minify CSS 2016-08-27 22:28:37 +02:00
Roland Gruber 7dab0517a4 Revert "5.5"
This reverts commit 7db31cb041.
2016-08-27 22:10:34 +02:00
Roland Gruber 7db31cb041 5.5 2016-08-27 21:48:20 +02:00
Roland Gruber 6efdc5d030 license docs 2016-08-27 19:52:52 +02:00
Roland Gruber 5c6988eea2 responsive design 2016-08-27 15:56:23 +02:00
Roland Gruber 5b284f84f8 style 2016-08-27 15:31:59 +02:00
Roland Gruber ddd5df2bfe date 2016-08-27 15:14:43 +02:00
Roland Gruber d4df8a98e3 new version 2016-08-27 12:05:24 +02:00
Roland Gruber 5bde5554aa style changes 2016-08-27 10:40:05 +02:00
Roland Gruber faba43680c changed license check 2016-08-27 09:15:33 +02:00
Roland Gruber 08a329eb7d added license key 2016-08-21 11:16:44 +02:00
Roland Gruber 619b715a60 env 2016-08-21 09:18:04 +02:00
Roland Gruber 500d0eecf9 removed obsolete code 2016-08-12 20:23:35 +02:00
Roland Gruber d13d2908a8 lamdaemon SSH key 2016-08-09 20:18:58 +02:00
Roland Gruber b5e8794163 support lamdaemon authentication with SSH key 2016-08-08 22:01:36 +02:00
Roland Gruber 7a580d0296 PHP 7 issue 2016-08-07 10:42:21 +02:00
Roland Gruber 5f725d3253 moved encryption functions to security.inc 2016-08-07 10:40:36 +02:00
Roland Gruber b50d48e082 fixed issue with password change icon 2016-07-30 09:37:07 +02:00
Roland Gruber ce3d5930be 389ds password mail job 2016-07-23 10:46:50 +02:00
Roland Gruber d6365d3c1d added 389ds password expiration 2016-07-21 20:31:40 +02:00
Roland Gruber 75f7ee43ca removed mktime calls 2016-07-20 20:19:26 +02:00
Roland Gruber b2fc9fe4c6 removed getDate() 2016-07-18 20:58:47 +02:00
Roland Gruber be211bedea removed getDate() 2016-07-18 20:34:43 +02:00
Roland Gruber 32e79e6417 check for duplicate MACs 2016-07-17 20:45:17 +02:00
Roland Gruber 41b0172810 added Windows cleanup job 2016-07-17 10:26:22 +02:00
Roland Gruber 3bef3a577a added Qmail cleanup job 2016-07-17 09:25:36 +02:00
Roland Gruber 3e923725db cleanup job FreeRadius 2016-07-16 16:07:21 +02:00
Roland Gruber 4f5d7273c8 new styles 2016-07-16 14:35:11 +02:00
Roland Gruber 9e767e885c added htmlContentLink 2016-07-16 14:34:53 +02:00
Roland Gruber a195a9e9f8 move/delete expired accounts 2016-07-16 10:31:21 +02:00
Roland Gruber 0bb6888ad0 added job to move or delete expired accounts 2016-07-16 09:52:09 +02:00
Roland Gruber 1a3f0f5d8a removed obsolete code 2016-07-14 21:00:47 +02:00
Roland Gruber d3cacaaa5d allow to show effective members 2016-07-13 22:05:03 +02:00
Roland Gruber 9cdb618a01 5.5 2016-07-13 20:09:45 +02:00
Roland Gruber 9c57805972 remove empty image tags when no photo is set 2016-07-11 19:30:53 +02:00
Roland Gruber 7ba57d8161 password history 2016-07-09 09:31:55 +02:00
Roland Gruber feaa741096 password history 2016-07-09 08:26:05 +02:00
Roland Gruber 8bb1b358d2 Allow to sync Unix password with Windows password 2016-06-26 10:15:45 +02:00
Roland Gruber 5d85a88ca1 fixed rights 2016-06-21 20:11:25 +02:00
Roland Gruber f0a376846c updated LAM Pro files 2016-06-21 20:06:09 +02:00
Roland Gruber ca85245fac 5.4 2016-06-21 19:00:44 +02:00
Roland Gruber b5afb21b21 389ds locking 2016-06-19 17:12:00 +02:00
Roland Gruber f4f6b7c34c support 389ds (de)activation 2016-06-19 15:34:02 +02:00
Roland Gruber 2509cb1d68 support 389ds (de)activation 2016-06-19 14:48:28 +02:00
Roland Gruber cfc5aee617 added password to PDF fields 2016-06-19 11:41:47 +02:00
Roland Gruber 60b57e12f0 translation update 2016-06-09 17:27:50 +02:00
Roland Gruber b73cbf63cb translation update 2016-06-06 19:30:43 +02:00
Roland Gruber 687d1e4358 date update 2016-05-31 18:09:25 +02:00
Roland Gruber 33205d0e8b translation update 2016-05-31 17:57:16 +02:00
Roland Gruber ec2d11dd6a translation update 2016-05-30 21:44:48 +02:00
Roland Gruber 146e5c4061 reduce messages 2016-05-29 11:01:25 +02:00
Roland Gruber 083f8de056 fixed for loop 2016-05-29 10:50:06 +02:00
Roland Gruber 36add79764 better service restart 2016-05-29 10:22:33 +02:00
Roland Gruber 12d8870334 translation update 2016-05-29 08:48:51 +02:00
Roland Gruber 672ba58ac5 3.8.9 2016-05-28 20:13:55 +02:00
Roland Gruber d116967ab8 spec file update 2016-05-28 20:05:55 +02:00
Roland Gruber ec84e6935c translation update 2016-05-28 19:43:39 +02:00
Roland Gruber 89bdcdfe3d Samba history support 2016-05-27 21:18:40 +02:00
Roland Gruber 1e9a5bd74c Samba history support 2016-05-27 21:17:22 +02:00
Roland Gruber 6089935a71 check password minimum age for Samba 3 2016-05-26 20:08:08 +02:00
Roland Gruber 3a2580478d check password history in self service 2016-05-26 19:41:10 +02:00
Roland Gruber d47438d4a8 fixed search_domains 2016-05-26 19:40:37 +02:00
Roland Gruber 7870f0babb 5.3-2 2016-05-24 19:37:09 +02:00
Roland Gruber 8879f2cfd2 check password history 2016-05-22 09:56:32 +02:00
Roland Gruber bdae11ff4a store sambaPasswordHistory 2016-05-20 19:38:36 +02:00
Roland Gruber cf5132745d support for 389ds locking and deactivation 2016-05-15 12:15:30 +02:00
Roland Gruber 616b11e362 show 389ds lock status 2016-05-14 14:12:24 +02:00
Roland Gruber 016025fe2d show 389ds deactivation status in account list 2016-05-14 13:28:22 +02:00
Roland Gruber bbf6d31827 CC and BCC address for password notification jobs (RFE 134) 2016-05-14 11:25:26 +02:00
Roland Gruber 3387e210ad CC and BCC address for password notification jobs (RFE 134) 2016-05-14 11:22:36 +02:00
Roland Gruber 06e716139a ship with patched version of fpdf 2016-05-10 18:37:01 +02:00
Roland Gruber c4075de648 phpseclib 1.0.2 2016-05-10 18:14:55 +02:00
Roland Gruber 88b7a32187 optional posixAccount object class 2016-05-09 20:10:14 +02:00
Roland Gruber 0b3c6b1036 do not copy .gitignore 2016-04-22 22:09:14 +02:00
Roland Gruber fa1713323f ignore 2016-04-22 21:55:22 +02:00
Roland Gruber 7a338d26f3 browsers 2016-04-19 20:42:37 +02:00
Roland Gruber db9a2ba2a1 fix for 32bit systems (179) 2016-04-19 20:41:51 +02:00
Roland Gruber ed969dec2d 5.4.RC1 2016-04-02 15:40:01 +02:00
Roland Gruber bd93daa397 more robust reload 2016-04-02 15:33:19 +02:00
Roland Gruber bd85a89d4c more robust Apache restart 2016-04-02 15:06:55 +02:00
Roland Gruber 8511a05a72 better link handling 2016-04-02 14:45:33 +02:00
Roland Gruber ad2002c3e1 reCAPTCHA 2016-04-02 13:42:07 +02:00
Roland Gruber bcf888423b support for Google reCAPTCHA 2016-04-02 13:30:06 +02:00
Roland Gruber cb5f5bb3d2 support magic numbers for UIDs/GIDs 2016-03-28 11:15:14 +02:00
Roland Gruber e66931e393 support magic numbers for UIDs/GIDs 2016-03-28 11:11:06 +02:00
Roland Gruber 75a239f10b support magic numbers for UID/GID 2016-03-28 11:06:04 +02:00
Roland Gruber 25f546e100 rename SQLite database on profile rename 2016-03-28 09:25:21 +02:00
Roland Gruber e8760f2541 .gitignore 2016-03-26 15:02:04 +01:00
Roland Gruber b9455e4b3a .gitignore 2016-03-26 14:45:46 +01:00
Roland Gruber 133589f792 readme 2016-03-25 13:33:30 +01:00
Roland Gruber e0d5ed512b .gitignores 2016-03-25 13:17:51 +01:00
Roland Gruber dda22833f6 move to git 2016-03-25 12:50:28 +01:00
4445 changed files with 522688 additions and 188664 deletions

3
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,3 @@
github: [LDAPAccountManager]

11
.github/codeql/codeql-config.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: "LAM CodeQL config"
queries:
- uses: security-and-quality
paths-ignore:
- '**/3rdParty/**/*.*'
- '**/lib/extra/**/*.*'
- '**/lib/*jquery*.js'
paths:
- lam

56
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@ -0,0 +1,56 @@
name: "CodeQL"
on:
push:
branches: [develop]
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
schedule:
- cron: '0 10 * * 0'
jobs:
analyse:
name: Analyse
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
with:
config-file: ./.github/codeql/codeql-config.yml
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
/.settings/
/.buildpath
/.project
/.Readme.md.html
/vendor/
/composer.lock
/code-coverage/
/.phpunit.result.cache
/lam/lib/3rdParty/composer/bin/

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
language: php
addons:
sonarcloud:
organization: "ldap-account-manager"
php:
- '7.3'
cache:
directories:
- '$HOME/.sonar/cache'
script:
- phpunit
- ls -l code-coverage/*
- sonar-scanner
- pip install --user codespell
- cd lam
- ./codespell.sh

28
Readme.md Normal file
View File

@ -0,0 +1,28 @@
LDAP Account Manager
====================
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. LAM was designed to make LDAP management as easy as possible for the user. It abstracts from the technical details of LDAP and allows persons without technical background to manage LDAP entries. If needed, power users may still directly edit LDAP entries via the integrated LDAP browser.
![LAM](https://www.ldap-account-manager.org/lamcms/sites/default/files/styles/slideshow/public/userList.png)
![LAM](https://www.ldap-account-manager.org/lamcms/sites/default/files/styles/slideshow/public/user_0.png)
# Download
You can get the newest version at https://www.ldap-account-manager.org/.
# Documentation
Please see the [documentation area](https://www.ldap-account-manager.org/lamcms/documentation).
# Source code
There are two modules. Usually, you only need the files inside "lam".
* [lam](lam): LAM main source code
* [lam-packaging](lam-packaging): build scripts
# License
LAM is published under the GNU General Public License.
The complete list of licenses can be found in the copyright file.
Copyright (C) 2003 - 2020 Roland Gruber <post@rolandgruber.de>

9
SECURITY.md Normal file
View File

@ -0,0 +1,9 @@
# Security Policy
## Supported Versions
Security updates are always created based on the latest release.
## Reporting a Vulnerability
Please report all security issues to post@rolandgruber.de. Reports will be answered within 48h.

10
composer.json Normal file
View File

@ -0,0 +1,10 @@
{
"require-dev" : {
"phpunit/phpunit" : "8.5.2",
"squizlabs/php_codesniffer" : "3.4.0"
},
"require": {
"ext-ldap": "*",
"ext-json": "*"
}
}

1
copyright Normal file
View File

@ -0,0 +1 @@
Please see lam/copyright.

View File

@ -4,13 +4,7 @@ Alias /lam /usr/share/ldap-account-manager
<Directory /usr/share/ldap-account-manager>
Options +FollowSymLinks
AllowOverride All
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
Require all granted
DirectoryIndex index.html
</Directory>
@ -20,67 +14,31 @@ Alias /lam /usr/share/ldap-account-manager
<Directory /var/lib/ldap-account-manager/tmp/internal>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /var/lib/ldap-account-manager/sess>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /var/lib/ldap-account-manager/config>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /usr/share/ldap-account-manager/lib>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /usr/share/ldap-account-manager/help>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /usr/share/ldap-account-manager/locale>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>

View File

@ -5,9 +5,10 @@ location /lam {
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/var/run/php7-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~ /lam/(tmp/internal|sess|config|lib|help|locale) {

View File

@ -8,32 +8,23 @@
%define _binary_payload w9.bzdio
%define _source_payload w9.bzdio
Name: ldap-account-manager
License: GPL
Group: Productivity/Networking/Web/Frontends
Name: ldap-account-manager
License: GPL
Group: Productivity/Networking/Web/Frontends
Version: @@VERSION@@
Release: 0.%lam_distribution.1
Source0: ldap-account-manager-%{version}.tar.bz2
URL: https://www.ldap-account-manager.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
Summary: Administration of LDAP users, groups and hosts via Web GUI
Summary(de): Administration von Benutzern, Gruppen und Hosts für LDAP-Server
Vendor: Roland Gruber
Packager: Roland Gruber <post@rolandgruber.de>
BuildArchitectures: noarch
Summary: Administration of LDAP users, groups and hosts via Web GUI
Summary(de): Administration von Benutzern, Gruppen und Hosts für LDAP-Server
Vendor: Roland Gruber
Packager: Roland Gruber <post@rolandgruber.de>
BuildArch: noarch
AutoReqProv: no
%if %is_suse
Requires: php5
Requires: php5-ldap
Requires: php5-hash
Requires: php5-gd
Requires: php5-gettext
Requires: perl
%endif
%if %is_fedora
Requires: perl
%endif
Source1: lam.nginx.conf
Source2: lam.apache.conf
%description
LDAP Account Manager (LAM) runs on an existing webserver.
@ -56,10 +47,39 @@ definiert werden. Account-Informationen können als PDF exportiert
werden. Außerdem exisitiert ein Script mit dem man Quotas und
Home-Verzeichnisse verwalten kann.
%package lamdaemon
Summary: Quota and home directory management for LDAP Account Manager
Summary(de): Verwaltung von Quotas und Heimatverzeichnissen für LDAP Account Manager
Group: Productivity/Networking/Web/Frontends
AutoReqProv: no
%if %is_suse
Requires: perl
Requires: sudo
%endif
%if %is_fedora
Requires: perl
Requires: perl-Sys-Syslog
Requires: sudo
%endif
%description lamdaemon
Lamdaemon is part of LDAP Account Manager. This package
needs to be installed on the server where the home directories
reside and/or quotas should be managed.
%description lamdaemon -l de
Lamdaemon ist Teil von LDAP Account Manager. Dieses Paket
wird auf dem Server installiert, auf dem Quotas und
Heimatverzeichnisse verwaltet werden sollen.
%files lamdaemon
%dir /usr/share/%{lam_dir}
%dir /usr/share/%{lam_dir}/lib
/usr/share/%{lam_dir}/lib/lamdaemon.pl
%doc COPYING HISTORY README VERSION
%prep
pwd
cp $RPM_SOURCE_DIR/lam.apache.conf $RPM_BUILD_DIR/
cp $RPM_SOURCE_DIR/lam.nginx.conf $RPM_BUILD_DIR/
%setup -n ldap-account-manager-%{version}
%build
@ -78,9 +98,9 @@ ln -s /var/lib/%{lam_dir}/tmp $RPM_BUILD_ROOT/usr/share/%{lam_dir}/tmp
mv $RPM_BUILD_ROOT/usr/share/%{lam_dir}/sess $RPM_BUILD_ROOT/var/lib/%{lam_dir}
ln -s /var/lib/%{lam_dir}/sess $RPM_BUILD_ROOT/usr/share/%{lam_dir}/sess
mkdir -p $RPM_BUILD_ROOT%{httpd_confdir}
cp $RPM_BUILD_DIR/lam.apache.conf $RPM_BUILD_ROOT%{httpd_confdir}/
cp $RPM_SOURCE_DIR/lam.apache.conf $RPM_BUILD_ROOT%{httpd_confdir}/
mkdir -p $RPM_BUILD_ROOT/etc/%{lam_dir}
cp $RPM_BUILD_DIR/lam.nginx.conf $RPM_BUILD_ROOT/etc/%{lam_dir}/
cp $RPM_SOURCE_DIR/lam.nginx.conf $RPM_BUILD_ROOT/etc/%{lam_dir}/
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
@ -96,29 +116,26 @@ if [ ! -f /var/lib/%{lam_dir}/config/config.cfg ]; then
chown %{lam_uid}:%{lam_gid} /var/lib/%{lam_dir}/config/lam.conf
fi
fi
%if %is_suse
/usr/sbin/a2enmod version > /dev/null
/etc/init.d/apache2 reload
%endif
%if %is_fedora
if [ -e /etc/init.d/httpd ]; then
/etc/init.d/httpd reload
else
/bin/systemctl reload httpd.service
fi
%endif
for server in apache2 httpd nginx; do
if [ `which systemctl 2< /dev/null` ]; then
if [ "`systemctl is-active ${server}.service`" = "active" ]; then
systemctl reload ${server}.service
fi
elif [ -e /etc/init.d/${server} ]; then
/etc/init.d/$server reload > /dev/null 2>&1 || :
fi
done
%postun
%if %is_suse
/etc/init.d/apache2 reload
%endif
%if %is_fedora
if [ -e /etc/init.d/httpd ]; then
/etc/init.d/httpd reload
else
/bin/systemctl reload httpd.service
fi
%endif
for server in apache2 httpd nginx; do
if [ `which systemctl 2< /dev/null` ]; then
if [ "`systemctl is-active ${server}.service`" = "active" ]; then
systemctl reload ${server}.service
fi
elif [ -e /etc/init.d/${server} ]; then
/etc/init.d/$server reload > /dev/null 2>&1 || :
fi
done
%files
%defattr(-, root, root)
@ -163,43 +180,12 @@ fi
- Added subpackage for lamdaemon
* Wed Jan 11 2006 - Iain Lea iain@bricbrac.de
- Updated for 1.0 series on Fedora Core
- Updated for 1.0 series on Fedora Core
* Mon Dec 12 2005 - Iain Lea iain@bricbrac.de
- Updated for 0.5.x series on Fedora Core
- Updated for 0.5.x series on Fedora Core
* Sun Mar 21 2004 - TiloLutz@gmx.de
- Initial release 0.1.0 - 0.4.5
%package lamdaemon
Summary: Quota and home directory management for LDAP Account Manager
Summary(de): Verwaltung von Quotas und Heimatverzeichnissen für LDAP Account Manager
Group: Productivity/Networking/Web/Frontends
AutoReqProv: no
%if %is_suse
Requires: perl
Requires: sudo
%endif
%if %is_fedora
Requires: perl
Requires: sudo
%endif
%description lamdaemon
Lamdaemon is part of LDAP Account Manager. This package
needs to be installed on the server where the home directories
reside and/or quotas should be managed.
%description lamdaemon -l de
Lamdaemon ist Teil von LDAP Account Manager. Dieses Paket
wird auf dem Server installiert, auf dem Quotas und
Heimatverzeichnisse verwaltet werden sollen.
%files lamdaemon
%dir /usr/share/%{lam_dir}
%dir /usr/share/%{lam_dir}/lib
/usr/share/%{lam_dir}/lib/lamdaemon.pl
%doc COPYING HISTORY README VERSION

View File

@ -24,7 +24,7 @@ datarootdir=@datarootdir@
sysconfdir=@sysconfdir@
localstatedir=@localstatedir@
mandir=@mandir@
htmldir=@prefix@/html
docdir=@prefix@/docs
web_root=@WEB_ROOT@
srcdir=@srcdir@
@ -39,8 +39,8 @@ DOCS = COPYING HISTORY README copyright docs/schema/dhcp.schema
HTML_DOCS = devel manual
LIST1 = graphics help index.html lib locale style templates VERSION
LIST2 = sess tmp
LIST1 = graphics help index.html lib locale style templates VERSION pwa_worker.js
LIST2 = sess tmp tmp/internal
LIST3 = config
RAR = run-as-root.sh
@ -64,14 +64,15 @@ install-lam:
[ -d $(DESTDIR)$(localstatedir)/$${i} ] || \
$(MKDIR) -p $(DESTDIR)$(localstatedir)/$${i} || exit 1 ; \
$(CHMOD) 750 $(DESTDIR)$(localstatedir)/$${i} ; \
[ -d $${i} ] || \
$(LN_S) $(localstatedir)/$${i} $${i} ; \
(cd $(srcdir) ; $(COPY) $${i}/.htaccess \
$(DESTDIR)$(localstatedir)/$${i}) ; \
done ; \
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d * | $(GREP) -v sample)`" ; \
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d *)`" ; \
(cd $(srcdir)/$(LIST3) ; $(TAR) cf - .) | \
(cd $(DESTDIR)$(sysconfdir) ; $(TAR) xf -) ; \
$(LN_S) $(sysconfdir) ${LIST3} ; \
[ -e ${LIST3} ] || $(LN_S) $(sysconfdir) ${LIST3} ; \
(cd $(srcdir) ; $(TAR) cf - $(LIST1)) | $(TAR) xf - ; \
[ -d $(DESTDIR)$(prefix)/docs ] || \
$(MKDIR) -p $(DESTDIR)$(prefix)/docs || exit 1 ; \
@ -79,22 +80,24 @@ install-lam:
$(PERL) -pi -e "s~/usr/bin/perl~$(PERL)~" \
$(DESTDIR)$(web_root)/lib/lamdaemon.pl ; \
cd $${HERE} ; \
echo "LAM files installed" ; \
if [ `$(ID) -u` = 0 ] ; then \
$(MAKE) DESTDIR=$(DESTDIR) do-chown ; \
else \
$(MAKE) DESTDIR=$(DESTDIR) echo-chown ; \
fi
fi ; \
echo "" ; \
echo "LAM installed in $(DESTDIR)$(prefix)"
do-chown:
@for i in $(LIST2) ; do \
$(CHOWN) $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(localstatedir)/$${i} ; \
done ; \
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d * | $(GREP) -v sample)`" ; \
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d *)`" ; \
for i in $${LIST4} ; do \
$(CHOWN) -R $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(sysconfdir)/$${i} ; \
done
$(CHOWN) $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(sysconfdir)
echo-chown:
@ -103,20 +106,22 @@ echo-chown:
echo "$(CHOWN) $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(localstatedir)/$${i}" \
>> $(RAR) ; \
done ; \
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d * | $(GREP) -v sample)`" ; \
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d *)`" ; \
for i in $${LIST4} ; do \
echo "$(CHOWN) -R $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(sysconfdir)/$${i}" \
>> $(RAR) ; \
done ; \
echo $(CHOWN) $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(sysconfdir)
echo "Switch user to root and run $(RAR)"
install-htdocs:
@[ -d $(DESTDIR)$(htmldir) ] || \
$(MKDIR) -p $(DESTDIR)$(htmldir) || exit 1 ; \
@[ -d $(DESTDIR)$(docdir) ] || \
$(MKDIR) -p $(DESTDIR)$(docdir) || exit 1 ; \
(cd $(srcdir)/docs ; $(TAR) cf - $(HTML_DOCS)) | \
(cd $(DESTDIR)$(htmldir) ; $(TAR) xf -) ; \
echo "HTML docs installed in $(htmldir)"
(cd $(DESTDIR)$(docdir) ; $(TAR) xf -) ; \
echo "Documentation installed in $(docdir)" ; \
echo ""
clean:

View File

@ -1,10 +1,10 @@
#!/bin/bash
#
# Builds LDAP Account Manager packages from SVN.
# Builds LDAP Account Manager packages.
if [ $# -lt 1 ]
then
echo -e "Usage: buildPackage <SVN tag>"
echo -e "Usage: buildPackage <tag>, buildPackage develop, buildPackage -b branch"
exit
fi
@ -12,37 +12,57 @@ set -e
cd /daten/projekte/lam/pakete
if [ "$1" = "trunk" ]
if [ "$1" = "develop" ]
then
export SVN_TAG="trunk"
export REPO_BRANCH="develop"
elif [ "$1" = "-b" ]
then
export REPO_BRANCH="$2"
else
export SVN_TAG="tags/$1"
export REPO_BRANCH="$1"
fi
# minifies the JavaScript files
function minify {
local dir="$1"
echo "Minify JS files in $dir"
local outFile=$dir/100_lam.${VERSION}.min.js
local files=`ls $dir/*.js`
local jsFiles=""
for file in $files; do
# skip dropmenu file, incompatible with YUI compressor
if [[ $file =~ .*dropmenu.* ]]; then
continue
fi
yui-compressor --nomunge --preserve-semi --disable-optimizations --charset UTF-8 -o ${file}-MIN $file
rm $file
mv ${file}-MIN $file
# add final new line to supress Debian warnings
echo "" >> $file
jsFiles="$jsFiles $file"
done
uglifyjs -o $outFile $jsFiles
rm $files
# add final new line to supress Debian warnings
echo "" >> $outFile
}
echo "Get files from SVN..."
svn export -q svn+ssh://gruberroland@svn.code.sf.net/p/lam/code/$SVN_TAG/lam lam &
svn export -q svn+ssh://gruberroland@svn.code.sf.net/p/lam/code/$SVN_TAG/lam-packaging lam-packaging &
svn export -q file:///daten/projekte/SVNROOT/$SVN_TAG/lamPro lamPro &
# minifies the CSS files
function minifyCSS {
local dir="$1"
echo "Minify CSS files in $dir"
local outFile=$dir/100_lam.${VERSION}.min.css
local files=`ls $dir/*.css`
cat $files | cleancss --skip-rebase -o $outFile
rm $files
# add final new line to supress Debian warnings
echo "" >> $outFile
}
wait
echo "Getting files..."
git clone --depth 1 -b $REPO_BRANCH --single-branch git@github.com:LDAPAccountManager/lam.git github
cd github
mv lam ../
mv lam-packaging ../
cd ..
rm -rf github
git clone --depth 1 -b $REPO_BRANCH --single-branch git@gitlab.com:LDAPAccountManager/lamPro.git lamPro
cd lamPro
rm -rf .git
rm -rf docker
cd ..
cp lam-packaging/getVersion ./
export VERSION=`./getVersion`
@ -50,8 +70,10 @@ export VERSION=`./getVersion`
# remove files which are not in the final release
rm -r lam/po
rm -r lam/tests
rm lam/lib/font/*.ttf
rm -f lam/lib/3rdParty/tcpdf/fonts/*.ttf
rm -r lam/templates/lib/extra/ckeditor/plugins/*/dev
find . -name .svnignore -exec rm {} \;
find . -name .gitignore -exec rm {} \;
mv lam ldap-account-manager-$VERSION
# create LAM manual
@ -82,12 +104,13 @@ perl -pi -e "s/\\@\\@VERSION\\@\\@/$VERSION/g" configure.ac
autoconf
rm -r autom4te.cache
cd ..
# Debian gets orig.tar.bz2 with original JS files
# Debian gets orig.tar.bz2 with original JS files
tar cfj ldap-account-manager-$VERSION.tar.bz2 --owner=root --group=root --mtime=now ldap-account-manager-$VERSION
mv ldap-account-manager-$VERSION.tar.bz2 Debian/ldap-account-manager_$VERSION.orig.tar.bz2
cp -ar ldap-account-manager-$VERSION Debian/
# build other packages with minified JS files
minify ldap-account-manager-$VERSION/templates/lib
minifyCSS ldap-account-manager-$VERSION/style
tar cfj ldap-account-manager-$VERSION.tar.bz2 --owner=root --group=root --mtime=now ldap-account-manager-$VERSION
rm -r ldap-account-manager-$VERSION
@ -101,20 +124,27 @@ perl -pi -e "s/\\@\\@VERSION\\@\\@/$VERSION/g" configure.ac
autoconf
rm -r autom4te.cache
cd ..
# Debian gets orig.tar.bz2 with original JS files
# Debian gets orig.tar.bz2 with original JS files
tar cfj ldap-account-manager-$VERSION.tar.bz2 --owner=root --group=root --mtime=now ldap-account-manager-$VERSION
mv ldap-account-manager-$VERSION.tar.bz2 Debian/ldap-account-manager_$VERSION.orig.tar.bz2
cp -ar ldap-account-manager-$VERSION Debian/
# build other packages with minified JS files
minify ldap-account-manager-$VERSION/templates/lib
minifyCSS ldap-account-manager-$VERSION/style
tar cfj ldap-account-manager-$VERSION.tar.bz2 --owner=root --group=root --mtime=now ldap-account-manager-$VERSION
rm -r ldap-account-manager-$VERSION
cd ..
# Debian
cp -r lam-packaging/debian Debian/ldap-account-manager-$VERSION/
cp -ar Debian Debian-Upload
cd Debian/ldap-account-manager-$VERSION
debuild
debuild -k478730308FBD512ADF09D38E7F3D136B2BCD7990
cd ..
rm -r ldap-account-manager-$VERSION
cd ..
cd Debian-Upload/ldap-account-manager-$VERSION
debuild -S -k478730308FBD512ADF09D38E7F3D136B2BCD7990
cd ..
rm -r ldap-account-manager-$VERSION
cd ..
@ -123,7 +153,7 @@ cd ..
cd LAMPro
cp -r ../lam-packaging/debian Debian/ldap-account-manager-$VERSION/
cd Debian/ldap-account-manager-$VERSION
debuild
debuild -k478730308FBD512ADF09D38E7F3D136B2BCD7990
cd ..
rm -r ldap-account-manager-$VERSION
cd ..
@ -152,7 +182,7 @@ mkdir LAMPro/RPM
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
cp lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-fedora.spec
rpmbuild --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-fedora.spec
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
# Fedora RPM for LAM Pro
@ -160,7 +190,7 @@ cd LAMPro
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.bz2
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
cp ../lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-fedora.spec
rpmbuild --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-fedora.spec
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
cd ..
@ -168,7 +198,7 @@ cd ..
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
cp lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-suse.spec
rpmbuild --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-suse.spec
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
# Suse RPM for LAM Pro
@ -176,10 +206,12 @@ cd LAMPro
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.bz2
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
cp ../lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-suse.spec
rpmbuild --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-suse.spec
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
cd ..
rpmsign --addsign RPM/*.rpm LAMPro/RPM/*.rpm
# generate checksum files
sha256sum *.tar.bz2 >> checksums.txt
cd RPM

View File

@ -1,3 +1,141 @@
ldap-account-manager (7.3.RC1-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Mon, 10 Aug 2020 19:25:33 +0200
ldap-account-manager (7.2-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Fri, 01 May 2020 08:04:56 +0200
ldap-account-manager (7.1-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Mon, 16 Mar 2020 21:24:23 +0100
ldap-account-manager (7.0-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Sat, 21 Dec 2019 19:53:45 +0100
ldap-account-manager (6.9-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Sun, 29 Sep 2019 09:12:37 +0200
ldap-account-manager (6.8-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Tue, 02 Jul 2019 12:26:45 +0200
ldap-account-manager (6.7-1) unstable; urgency=medium
* new upstream release
* Fix "Depends on tcpdf which is considered unfit for buster" removed
dependency and embedded required parts (Closes: #923736)
-- Roland Gruber <post@rolandgruber.de> Mon, 25 Mar 2019 17:21:36 +0100
ldap-account-manager (6.6-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Fri, 28 Dec 2018 11:08:14 +0100
ldap-account-manager (6.5-1) unstable; urgency=medium
* new upstream release
* Fix "Embedded code copies" by adding dependency to phpseclib
(phpLDAPadmin code is customized and cannot be reused)
(Closes: #781419)
-- Roland Gruber <post@rolandgruber.de> Tue, 25 Sep 2018 17:37:41 +0200
ldap-account-manager (6.4-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Wed, 20 Jun 2018 09:21:48 +0200
ldap-account-manager (6.3-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Mon, 19 Mar 2018 16:25:31 +0200
ldap-account-manager (6.2.1-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Sun, 04 Feb 2018 17:43:51 +0100
ldap-account-manager (6.2-1) unstable; urgency=medium
* new upstream release
* LP: #1673595 PHP 7 support
-- Roland Gruber <post@rolandgruber.de> Wed, 13 Dec 2017 08:02:05 +0200
ldap-account-manager (6.1-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Tue, 19 Sep 2017 18:24:35 +0200
ldap-account-manager (6.0.1-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Wed, 19 Jul 2017 20:50:22 +0200
ldap-account-manager (6.0-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Mon, 26 Jun 2017 18:27:21 +0200
ldap-account-manager (5.7-1) unstable; urgency=medium
* new upstream release
* LP: #1632193 fixed PHP 7 issue
* LP: #1628937 reload only done when apache is active
* Fix "php-xml and php-zip should be dependencies to run ldap-account-
manager" by updating dependencies (Closes: #858232)
-- Roland Gruber <post@rolandgruber.de> Tue, 14 Mar 2017 17:47:23 +0100
ldap-account-manager (5.6-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Sun, 18 Dec 2016 18:23:35 +0200
ldap-account-manager (5.5-1) unstable; urgency=medium
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Sat, 10 Sep 2016 14:23:35 +0200
ldap-account-manager (5.4-1) unstable; urgency=medium
* Fix "Fragile postinst script" added more checks
(Closes: #819474)
* new upstream release
-- Roland Gruber <post@rolandgruber.de> Tue, 21 Jun 2016 17:38:42 +0200
ldap-account-manager (5.3-2) unstable; urgency=medium
* use patched fpdf from upstream (PHP 7 compatible)
-- Roland Gruber <post@rolandgruber.de> Tue, 10 May 2016 19:23:42 +0200
ldap-account-manager (5.3-1) unstable; urgency=medium
* new upstream release
@ -86,7 +224,7 @@ ldap-account-manager (4.3-1) unstable; urgency=low
ldap-account-manager (4.2.1-2) unstable; urgency=low
* Apache 2.4 support
* Fix "transition towards Apache 2.4"
* Fix "transition towards Apache 2.4"
support conf-enabled (Closes: #669824)
* Fix "[ldap-account-manager] Can't install ldap-account-manager"
support conf-enabled (Closes: #711778)
@ -271,7 +409,7 @@ ldap-account-manager (2.7.0-1) unstable; urgency=low
* Fix "[l10n] Updated Czech translation of ldap-account-manager
debconf messages"
updated translation (Closes: #539437)
* Fix "[INTL:it] Italian debconf templates translation"
* Fix "[INTL:it] Italian debconf templates translation"
updated translation (Closes: #539501)
* Fix "[INTL:es] Spanish debconf template translation for ldap-
account-manager"
@ -527,7 +665,7 @@ ldap-account-manager (0.4.9+0.5.alpha1-1) experimental; urgency=low
* Updated to new upstream release 0.5.alpha1
* Added configuration options for Apache2
* Added template for webserver restart
* Translatable templates
* Translatable templates
-- Roland Gruber <post@rolandgruber.de> Tue, 10 May 2005 11:38:00 +0200

View File

@ -1 +1 @@
7
9

View File

@ -1,20 +1,27 @@
Source: ldap-account-manager
Maintainer: Roland Gruber <post@rolandgruber.de>
Section: web
Priority: extra
Standards-Version: 3.9.7
Build-Depends: debhelper (>= 7), po-debconf, yui-compressor
Priority: optional
Standards-Version: 4.5.0
Build-Depends: debhelper (>= 9), po-debconf, cleancss, node-uglify
Homepage: https://www.ldap-account-manager.org/
Package: ldap-account-manager
Architecture: all
Depends: php5 (>= 5.4.26) | php (>= 21), php5-ldap | php-ldap, php5-gd | php-gd, php5-json | php-json , php5-imagick | php-imagick, apache2 | httpd, php-fpdf (>= 1.7), debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends}
Recommends: php-apc
Suggests: ldap-server, php5-mcrypt, ldap-account-manager-lamdaemon, perl
Depends: php (>= 7), php-ldap,
php-gd | php-imagick,
php-json, php-curl,
php-zip, php-xml, php-gmp,
libapache2-mod-php | libapache2-mod-fcgid | php-fpm,
php-phpseclib (>= 2.0), php-monolog,
apache2 (>= 2.4.0) | httpd, fonts-dejavu, debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends}
Recommends: php-opcache
Suggests: ldap-server, php-mcrypt, ldap-account-manager-lamdaemon, perl
Conflicts: libapache2-mod-php5, php5, php5-fpm
Description: webfrontend for managing accounts in an LDAP directory
LDAP Account Manager (LAM) runs on an existing webserver.
It manages user, group and host accounts. Currently LAM
supports these account types: Samba 3/4, Unix, Kolab 2/3,
supports these account types: Samba 3/4, Unix, Kolab,
address book entries, NIS mail aliases and MAC addresses.
There is an integrated LDAP browser to allow access to the
raw LDAP attributes. You can use templates

File diff suppressed because it is too large Load Diff

View File

@ -4,13 +4,7 @@ Alias /lam /usr/share/ldap-account-manager
<Directory /usr/share/ldap-account-manager>
Options +FollowSymLinks
AllowOverride All
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
Require all granted
DirectoryIndex index.html
</Directory>
@ -20,67 +14,31 @@ Alias /lam /usr/share/ldap-account-manager
<Directory /var/lib/ldap-account-manager/tmp/internal>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /var/lib/ldap-account-manager/sess>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /var/lib/ldap-account-manager/config>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /usr/share/ldap-account-manager/lib>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /usr/share/ldap-account-manager/help>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>
<Directory /usr/share/ldap-account-manager/locale>
Options -Indexes
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Directory>

View File

@ -4,10 +4,9 @@ location /lam {
autoindex off;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~ /lam/(tmp/internal|sess|config|lib|help|locale) {

View File

@ -1,19 +1,24 @@
#!/bin/bash
set -e
dir="templates/lib"
files=`ls $dir/*.js`
for file in $files; do
# skip dropmenu file, incompatible with YUI compressor
if [[ $file =~ .*dropmenu.* ]]; then
continue
fi
yui-compressor --nomunge --preserve-semi --disable-optimizations --charset UTF-8 -o ${file}-MIN $file
rm $file
mv ${file}-MIN $file
outFile=templates/lib/100_lam.${SOURCE_DATE_EPOCH}.min.js
if [ ! -e $outFile ]; then
files=`ls templates/lib/*.js`
jsFiles=""
for file in $files; do
jsFiles="$jsFiles $file"
done
uglifyjs -o $outFile $jsFiles
rm $files
# add final new line to supress Debian warnings
echo "" >> $file
done
echo "" >> $outFile
fi
files=`ls style/*.css`
outFile=style/100_lam.${SOURCE_DATE_EPOCH}.min.css
if [ ! -e $outFile ]; then
cat $files | cleancss --skip-rebase -o ${outFile}
rm $files
# add final new line to supress Debian warnings
echo "" >> $outFile
fi

View File

@ -2,9 +2,21 @@
set -e
if [ "$1" != "configure" ]; then
exit 0
fi
. /usr/share/debconf/confmodule
db_version 2.0 || [ $? -lt 30 ]
# 3rd party libs
phpThirdPartyLibs='phpseclib Monolog Psr'
for phpThirdPartyLib in $phpThirdPartyLibs; do
if [ ! -L /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib} ] ; then
ln -s /usr/share/php/${phpThirdPartyLib} /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib}
fi
done
cd /usr/share/ldap-account-manager/config-samples/profiles
files=`ls -a default.*`
for file in $files; do
@ -24,14 +36,15 @@ files=`ls -a *.jpg`
for file in $files; do
cp $file /var/lib/ldap-account-manager/config/templates/pdf/logos/$file
done
if [ ! -h /usr/share/ldap-account-manager/lib/fpdf.php ]; then\
ln -s /usr/share/fpdf/fpdf.php /usr/share/ldap-account-manager/lib/fpdf.php; fi
if [ ! -h /usr/share/ldap-account-manager/config ]; then\
ln -s /var/lib/ldap-account-manager/config /usr/share/ldap-account-manager/config; fi
if [ ! -h /usr/share/ldap-account-manager/sess ]; then\
ln -s /var/lib/ldap-account-manager/sess /usr/share/ldap-account-manager/sess; fi
if [ ! -h /usr/share/ldap-account-manager/tmp ]; then\
ln -s /var/lib/ldap-account-manager/tmp /usr/share/ldap-account-manager/tmp; fi
if [ ! -h /usr/share/ldap-account-manager/config ]; then
ln -s /var/lib/ldap-account-manager/config /usr/share/ldap-account-manager/config
fi
if [ ! -h /usr/share/ldap-account-manager/sess ]; then
ln -s /var/lib/ldap-account-manager/sess /usr/share/ldap-account-manager/sess
fi
if [ ! -h /usr/share/ldap-account-manager/tmp ]; then
ln -s /var/lib/ldap-account-manager/tmp /usr/share/ldap-account-manager/tmp
fi
chown www-data /etc/ldap-account-manager/config.cfg
chmod 600 /etc/ldap-account-manager/config.cfg
chown www-data /var/lib/ldap-account-manager/sess
@ -41,9 +54,14 @@ chown www-data /var/lib/ldap-account-manager/tmp/internal
chmod 700 /var/lib/ldap-account-manager/tmp
chown -R www-data /var/lib/ldap-account-manager/config
chmod 700 /var/lib/ldap-account-manager/config
if [ ! -f /var/lib/ldap-account-manager/config/lam.conf ]; \
then cp /var/lib/ldap-account-manager/config/unix.conf.sample /var/lib/ldap-account-manager/config/lam.conf; \
chown www-data /var/lib/ldap-account-manager/config/lam.conf; fi
set +e
ls -l /var/lib/ldap-account-manager/config/*.conf &> /dev/null
cfgFilesExist=$?
set -e
if [ $cfgFilesExist -ne 0 ]; then
cp /var/lib/ldap-account-manager/config/unix.conf.sample /var/lib/ldap-account-manager/config/lam.conf
chown www-data /var/lib/ldap-account-manager/config/lam.conf
fi
chmod 600 /var/lib/ldap-account-manager/config/*.conf
if [ "$1" = "configure" ]; then
db_get "ldap-account-manager/alias"
@ -58,37 +76,17 @@ if [ "$1" = "configure" ]; then
test -x /usr/sbin/$server || continue
case "$server" in
apache2)
if [ -d /etc/$server/mods-enabled ] && [ -d /etc/$server/mods-available ]; then
if [ ! -f /etc/$server/mods-enabled/actions.load -a ! -h /etc/$server/mods-enabled/actions.load ]; then
ln -s /etc/$server/mods-available/actions.load /etc/$server/mods-enabled/actions.load
fi
if [ -f /etc/$server/mods-available/php5.load ]; then
if [ ! -f /etc/$server/mods-enabled/php5.load -a ! -h /etc/$server/mods-enabled/php5.load ]; then
ln -s /etc/$server/mods-available/php5.load /etc/$server/mods-enabled/php5.load
fi
fi
if [ -f /etc/$server/mods-available/php5.conf ]; then
if [ ! -f /etc/$server/mods-enabled/php5.conf -a ! -h /etc/$server/mods-enabled/php5.conf ]; then
ln -s /etc/$server/mods-available/php5.conf /etc/$server/mods-enabled/php5.conf
fi
fi
if [ -f /etc/$server/mods-available/version.load ]; then
if [ ! -f /etc/$server/mods-enabled/version.load -a ! -h /etc/$server/mods-enabled/version.load ]; then
ln -s /etc/$server/mods-available/version.load /etc/$server/mods-enabled/version.load
fi
fi
if [ -h /etc/$server/conf.d/ldap-account-manager ]; then
rm -f /etc/$server/conf.d/ldap-account-manager
fi
if [ -d /etc/$server/conf.d -a ! -e /etc/$server/conf.d/ldap-account-manager ]; then
ln -s /etc/ldap-account-manager/apache.conf /etc/$server/conf.d/ldap-account-manager
restart="$restart $server"
fi
if [ -d /etc/$server/conf-available ] && [ -d /etc/$server/conf-enabled ]; then
if [ ! -e /etc/$server/conf-available/ldap-account-manager ]; then
if [ -d /etc/$server/conf-available ]; then
if [ ! -e /etc/$server/conf-available/ldap-account-manager.conf ]; then
if [ -h /etc/$server/conf-available/ldap-account-manager.conf ]; then
rm /etc/$server/conf-available/ldap-account-manager.conf
fi
ln -s /etc/ldap-account-manager/apache.conf /etc/$server/conf-available/ldap-account-manager.conf
fi
if [ ! -e /etc/$server/conf-enabled/ldap-account-manager.conf ]; then
ln -s ../conf-available/ldap-account-manager.conf /etc/$server/conf-enabled/ldap-account-manager.conf
fi
a2query -q -c ldap-account-manager || a2enconf -q ldap-account-manager
restart="$restart $server"
fi
;;
@ -102,8 +100,6 @@ if [ "$1" = "configure" ]; then
invoke-rc.d $server reload
elif [ `which service` ]; then
service $server reload
elif [ `which systemctl` ]; then
systemctl reload ${server}.service
fi
done
fi

View File

@ -2,11 +2,14 @@
set -e
if [ "$1" = "upgrade" ]; then
exit 0
fi
if [ -f /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_version 2.0 || [ $? -lt 30 ]
rm -f /usr/share/ldap-account-manager/lib/fpdf.php
rm -f /usr/share/ldap-account-manager/sess
rm -f /usr/share/ldap-account-manager/tmp
rm -f /usr/share/ldap-account-manager/config
@ -21,16 +24,17 @@ if [ -f /usr/share/debconf/confmodule ]; then
server=${server%,}
case "$server" in
apache2)
rm -f /etc/$server/conf.d/ldap-account-manager
set +e
a2query -q -c ldap-account-manager && a2disconf -q ldap-account-manager
set -e
rm -f /etc/$server/conf-available/ldap-account-manager.conf
rm -f /etc/$server/conf-enabled/ldap-account-manager.conf
test -x /usr/sbin/$server || continue
restart="$restart $server"
;;
esac
done
fi
set +e
db_get "ldap-account-manager/restart-webserver"
if [ $? -eq 0 ] && [ "$RET" = "true" ]; then
@ -38,26 +42,33 @@ if [ -f /usr/share/debconf/confmodule ]; then
for server in $restart; do
server=${server%,}
if [ `which invoke-rc.d` ]; then
invoke-rc.d $server reload
invoke-rc.d $server reload
elif [ `which service` ]; then
service $server reload
elif [ `which systemctl` ]; then
systemctl reload ${server}.service
service $server reload
fi
done
fi
# 3rd party libs
phpThirdPartyLibs='phpseclib tcpdf Monolog Psr'
for phpThirdPartyLib in $phpThirdPartyLibs; do
if [ -L /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib} ] ; then
rm /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib}
fi
done
set -e
if [ "$1" = "purge" ]; then
rm -r -f /usr/share/ldap-account-manager
rm -r -f /var/lib/ldap-account-manager
db_purge
fi
#DEBHELPER#
db_stop
fi
exit 0

View File

@ -0,0 +1,17 @@
#!/bin/bash
set -e
if [ "$1" != "upgrade" ]; then
exit 0
fi
# 3rd party libs
phpThirdPartyLibs='phpseclib tcpdf Monolog Psr'
for phpThirdPartyLib in $phpThirdPartyLibs; do
if [ -L /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib} ] ; then
rm /usr/share/ldap-account-manager/lib/3rdParty/${phpThirdPartyLib}
fi
done
#DEBHELPER#

View File

@ -15,7 +15,7 @@ build-indep: build-stamp
build-stamp:
install:
install:
dh_testdir
dh_testroot
dh_prep
@ -23,6 +23,7 @@ install:
install -D --mode=644 index.html debian/ldap-account-manager/usr/share/ldap-account-manager/index.html
install -D --mode=644 VERSION debian/ldap-account-manager/usr/share/ldap-account-manager/VERSION
install -D --mode=644 pwa_worker.js debian/ldap-account-manager/usr/share/ldap-account-manager/pwa_worker.js
install -D --mode=644 tmp/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/tmp/.htaccess
install -D --mode=644 tmp/internal/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/tmp/internal/.htaccess
install -D --mode=644 config/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/.htaccess
@ -40,12 +41,17 @@ install:
install -D --mode=644 lib/.htaccess debian/ldap-account-manager/usr/share/ldap-account-manager/lib/.htaccess
install -D --mode=644 lib/*.inc debian/ldap-account-manager/usr/share/ldap-account-manager/lib
install -D --mode=755 lib/*.sh debian/ldap-account-manager/usr/share/ldap-account-manager/lib
install -D --mode=644 lib/ufpdf.php debian/ldap-account-manager/usr/share/ldap-account-manager/lib/ufpdf.php
cp -r lib/font debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
cp -r lib/modules debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
cp -r lib/types debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
cp -r lib/tools debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
cp -r lib/3rdParty debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
# 3rd party libs are linked
install -d --mode=755 debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty
cp -r lib/3rdParty/composer debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty/
cp -r lib/3rdParty/yubico debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty/
cp -r lib/3rdParty/tcpdf debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty/
cp -r lib/3rdParty/duo debian/ldap-account-manager/usr/share/ldap-account-manager/lib/3rdParty/
cp -r locale debian/ldap-account-manager/usr/share/ldap-account-manager/
install -D --mode=644 sess/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/sess/.htaccess
cp -r style debian/ldap-account-manager/usr/share/ldap-account-manager/

36
lam-packaging/docker/.env Normal file
View File

@ -0,0 +1,36 @@
#
# LAM setup
#
# skip LAM preconfiguration (lam.conf + config.cfg), values: (true/false)
# If set to false the other variables below have no effect.
LAM_SKIP_PRECONFIGURE=false
# domain of LDAP database root entry, will be converted to dc=...,dc=...
LDAP_DOMAIN=my-domain.com
# LDAP base DN to overwrite value generated by LDAP_DOMAIN
LDAP_BASE_DN=dc=my-domain,dc=com
# LDAP users DN to overwrite value provided by LDAP_BASE_DN
LDAP_USERS_DN=ou=people,dc=my-domain,dc=com
# LDAP groups DN to overwrite value provided by LDAP_BASE_DN
LDAP_GROUPS_DN=ou=groups,dc=my-domain,dc=com
# LDAP server URL
LDAP_SERVER=ldap://ldap:389
# LDAP admin user (set as login user for LAM)
LDAP_USER=cn=admin,dc=my-domain,dc=com
# default language, e.g. en_US, de_DE, fr_FR, ...
LAM_LANG=en_US
# LAM configuration master password and password for server profile "lam"
LAM_PASSWORD=lam
# deactivate TLS certificate checks, activate for development only
LAM_DISABLE_TLS_CHECK=false
#
# docker-compose only, LDAP server setup
#
# LDAP organisation name for OpenLDAP
LDAP_ORGANISATION="LDAP Account Manager Demo"
# LDAP admin password
LDAP_ADMIN_PASSWORD=adminpw
# password for LDAP read-only user
LDAP_READONLY_USER_PASSWORD=readonlypw

View File

@ -0,0 +1,112 @@
#
# Docker image for LDAP Account Manager
# This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
# Copyright (C) 2019 - 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
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Usage: run this command: docker run -p 8080:80 -it -d ldapaccountmanager/lam:stable
#
# Then access LAM at http://localhost:8080/
# You can change the port 8080 if needed.
# See possible environment variables here: https://github.com/LDAPAccountManager/lam/blob/develop/lam-packaging/docker/.env
#
FROM debian:buster-slim
LABEL maintainer="Roland Gruber <post@rolandgruber.de>"
ARG LAM_RELEASE=7.3.RC1
EXPOSE 80
ENV \
DEBIAN_FRONTEND=noninteractive \
DEBUG=''
RUN apt-get update && \
apt-get upgrade -y
# install locales
RUN apt-get install -y locales
RUN sed -i 's/^# *\(ca_ES.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(cz_CZ.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(de_DE.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(en_GB.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(es_ES.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(fr_FR.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(it_IT.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(hu_HU.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(nl_NL.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(pl_PL.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(pt_BR.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(ru_RU.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(sk_SK.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(tr_TR.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(uk_UA.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(ja_JP.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(zh_TW.UTF-8\)/\1/' /etc/locale.gen && \
sed -i 's/^# *\(zh_CN.UTF-8\)/\1/' /etc/locale.gen && \
locale-gen
RUN apt-get install --no-install-recommends -y \
apache2 \
ca-certificates \
dumb-init \
fonts-dejavu \
libapache2-mod-php \
php \
php-curl \
php-gd \
php-imagick \
php-ldap \
php-monolog \
php-phpseclib \
php-xml \
php-zip \
php-imap \
php-gmp \
wget \
&& \
rm /etc/apache2/sites-enabled/*default* && \
rm -rf /var/cache/apt /var/lib/apt/lists/*
# install LAM
RUN wget http://prdownloads.sourceforge.net/lam/ldap-account-manager_${LAM_RELEASE}-1_all.deb?download \
-O /tmp/ldap-account-manager_${LAM_RELEASE}-1_all.deb && \
dpkg -i /tmp/ldap-account-manager_${LAM_RELEASE}-1_all.deb && \
rm -f /tmp/ldap-account-manager_${LAM_RELEASE}-1_all.deb
# redirect Apache logging
RUN sed -e 's,^ErrorLog.*,ErrorLog "|/bin/cat",' -i /etc/apache2/apache2.conf
# because there is no logging set in the lam vhost logging goes to other_vhost_access.log
RUN ln -sf /dev/stdout /var/log/apache2/other_vhosts_access.log
# add redirect for /
RUN a2enmod rewrite
RUN echo "RewriteEngine on" >> /etc/apache2/conf-enabled/laminit.conf \
&& echo "RewriteRule ^/$ /lam/ [R,L]" >> /etc/apache2/conf-enabled/laminit.conf
COPY start.sh /usr/local/bin/start.sh
WORKDIR /var/lib/ldap-account-manager/config
# start Apache when container starts
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD [ "/usr/local/bin/start.sh" ]
HEALTHCHECK --interval=1m --timeout=10s \
CMD wget -qO- http://localhost/lam/ | grep -q '<title>LDAP Account Manager</title>'

View File

@ -0,0 +1,42 @@
version: '3.5'
services:
ldap-account-manager:
build:
context: .
image: ldapaccountmanager/lam:7.3.RC1
restart: unless-stopped
ports:
- "8080:80"
volumes:
- lametc/:/etc/ldap-account-manager
- lamconfig/:/var/lib/ldap-account-manager/config
- lamsession/:/var/lib/ldap-account-manager/sess
environment:
- LAM_PASSWORD=${LAM_PASSWORD}
- LAM_LANG=en_US
- LDAP_SERVER=${LDAP_SERVER}
- LDAP_DOMAIN=${LDAP_DOMAIN}
- LDAP_BASE_DN=${LDAP_BASE_DN}
- ADMIN_USER=cn=admin,${LDAP_BASE_DN}
- DEBUG=true
ldap:
image: osixia/openldap:latest
restart: unless-stopped
environment:
- LDAP_ORGANISATION=${LDAP_ORGANISATION}
- LDAP_DOMAIN=${LDAP_DOMAIN}
- LDAP_BASE_DN=${LDAP_BASE_DN}
- LDAP_ADMIN_PASSWORD=${LDAP_ADMIN_PASSWORD}
- LDAP_READONLY_USER=true
- LDAP_READONLY_USER_PASSWORD=${LDAP_READONLY_USER_PASSWORD}
command: "--loglevel info --copy-service"
volumes:
- ldap:/var/lib/ldap
- slapd:/etc/ldap/slapd.d
volumes:
lametc:
lamconfig:
lamsession:
ldap:
slapd:

66
lam-packaging/docker/start.sh Executable file
View File

@ -0,0 +1,66 @@
#!/bin/bash
#
# Docker start script for LDAP Account Manager
# This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
# Copyright (C) 2019 Felix Bartels
# 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
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
set -eu # unset variables are errors & non-zero return values exit the whole script
[ "$DEBUG" ] && set -x
if [ "${LAM_DISABLE_TLS_CHECK:-}" == "true" ]; then
ln -s /etc/ldap/ldap.conf /etc/ldap.conf
echo "TLS_REQCERT never" >> /etc/ldap/ldap.conf
fi
LAM_SKIP_PRECONFIGURE="${LAM_SKIP_PRECONFIGURE:-false}"
if [ "$LAM_SKIP_PRECONFIGURE" != "true" ]; then
LAM_LANG="${LAM_LANG:-en_US}"
export LAM_PASSWORD="${LAM_PASSWORD:-lam}"
LAM_PASSWORD_SSHA=$(php -r '$password = getenv("LAM_PASSWORD"); mt_srand((microtime() * 1000000)); $rand = abs(hexdec(bin2hex(openssl_random_pseudo_bytes(5)))); $salt0 = substr(pack("h*", md5($rand)), 0, 8); $salt = substr(pack("H*", sha1($salt0 . $password)), 0, 4); print "{SSHA}" . base64_encode(pack("H*", sha1($password . $salt))) . " " . base64_encode($salt) . "\n";')
LDAP_SERVER="${LDAP_SERVER:-ldap://ldap:389}"
LDAP_DOMAIN="${LDAP_DOMAIN:-my-domain.com}"
LDAP_BASE_DN="${LDAP_BASE_DN:-dc=${LDAP_DOMAIN//\./,dc=}}"
LDAP_USERS_DN="${LDAP_USERS_DN:-${LDAP_BASE_DN}}"
LDAP_GROUPS_DN="${LDAP_GROUPS_DN:-${LDAP_BASE_DN}}"
LDAP_ADMIN_USER="${LDAP_USER:-cn=admin,${LDAP_BASE_DN}}"
sed -i -f- /etc/ldap-account-manager/config.cfg <<- EOF
s|^password:.*|password: ${LAM_PASSWORD_SSHA}|;
EOF
unset LAM_PASSWORD
sed -i -f- /var/lib/ldap-account-manager/config/lam.conf <<- EOF
s|^ServerURL:.*|ServerURL: ${LDAP_SERVER}|;
s|^Admins:.*|Admins: ${LDAP_ADMIN_USER}|;
s|^Passwd:.*|Passwd: ${LAM_PASSWORD_SSHA}|;
s|^treesuffix:.*|treesuffix: ${LDAP_BASE_DN}|;
s|^defaultLanguage:.*|defaultLanguage: ${LAM_LANG}.utf8|;
s|^.*suffix_user:.*|types: suffix_user: ${LDAP_USERS_DN}|;
s|^.*suffix_group:.*|types: suffix_group: ${LDAP_GROUPS_DN}|;
EOF
fi
echo "Starting Apache"
rm -f /run/apache2/apache2.pid
set +u
# shellcheck disable=SC1091
source /etc/apache2/envvars
exec /usr/sbin/apache2 -DFOREGROUND

View File

@ -1,11 +1,5 @@
<Files *>
Options +FollowSymLinks
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
Require all granted
DirectoryIndex index.html
</Files>

View File

@ -4,288 +4,629 @@ See the copyright file for a detailed list of licenses.
-------------------------------------------------------------------------------------
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
TERMS AND CONDITIONS
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
0. Definitions.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
"This License" refers to version 3 of the GNU General Public License.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
A "covered work" means either the unmodified Program or a work based
on the Program.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
1. Source Code.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
The Corresponding Source for a work in source code form is that
same work.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
2. Basic Permissions.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
13. Use with the GNU Affero General Public License.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
14. Revised Versions of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
NO WARRANTY
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
15. Disclaimer of Warranty.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
END OF TERMS AND CONDITIONS
16. Limitation of Liability.
How to Apply These Terms to Your New Programs
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@ -293,15 +634,15 @@ free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
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
the Free Software Foundation; either version 2 of the License, or
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@ -310,37 +651,30 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

View File

@ -1,3 +1,236 @@
September 2020
- PHP 7.4 compatibility
- Configuration export and import
- Server profiles support to specify a part of the DN to hide
- Show password prompt when a user with expired password logs into LAM admin interface (requires PHP 7.2)
- Better error messages on login when account is expired/deactivated/...
- Personal/Windows: photo can be uploaded via webcam
- Windows users: group display format can be configured (cn/dn)
- LAM Pro:
-> Windows: new cron job to send users a summary of their managed groups
- Fixed bugs:
-> Unix groups: memberUid was not deleted correctly when forced sync with group of names is active
01.05.2020 7.2
- Unix: allow to create group with same name during user creation
- LAM Pro:
-> EMail sending can be done via SMTP without local mail server
-> License expiration warning can be sent via email or disabled
- Fixed bugs:
-> Captcha don't show anymore in Self Service login page (213)
-> Unix memberships cannot be changed. This issue can also affect other membership relations.
-> Missing locales on Docker image
17.03.2020 7.1
- PHP 7 required
- WebAuthn/FIDO2 support for 2-factor-authentication (requires PHP 7.2)
- IMAP: changed library to support latest TLS versions
- Personal: support display name (hidden by default in server profile)
- Windows users: support allowed workstations, more profile options
- Reactivated Polish translation
- LAM Pro:
-> PPolicy: support for password check module
-> Windows AD LDS support (users and groups)
-> User self registration: support Active Directory/Samba4
21.12.2019 7.0
- Lamdaemon can be configured with directory prefix for homedirs
- Account list filters match on substrings instead of whole value
- YubiKey: support to configure multiple verification servers
- Windows hosts: added last password change and last login
- Deactivated non-maintained translations: Catalan, Czech, Hungarian, Polish and Turkish
Contact us if you would like to take over. Translators get LAM Pro for free (commercial use included).
- Docker updates
- Fixed bugs:
-> Missing CSS for Duo
-> Editing of DNs with comma on Windows (210)
29.09.2019 6.9
- Group account types can show member+owner count in list view
- 2-factor authentication:
-> Duo support
-> user name attribute for privacyIDEA can be specified
- LAM Pro:
-> New self service settings for login and main page footer
-> Custom fields: custom labels for LDAP search select list
- Fixed bugs:
-> Configuration issue with Unix user/host module (206)
02.07.2019 6.8
- Parallel editing of multiple entries in different browser tabs supported
- LAM supports the progressive web app standard which allows to install LAM as an icon on home screen
- Windows: added home drive and force password change to profile editor
- Unix: password management can be disabled in module settings
- LAM Pro:
-> Bind DLZ: entry table can show record data (use special attribute "#records" in server profile)
-> Self service: support legacy attribute "email" for password self reset and user self registration
- Fixed bugs:
-> Users: No drop-down filter box for account status (200)
-> Custom fields: Account type "Groups" not saving/deleting fields (66)
25.03.2019 6.7
- Added YubiKey as 2-factor authentication provider
- Support logging to remote syslog server
- PHP 7.3 support
- LAM Pro:
-> Allow to mark text and text area fields as required
-> New self service fields:
-> Mail routing
-> Windows proxy addresses + mail alias
-> Shadow account expiration date
-> Unix and group of names memberships
-> Base URL for emails in self service can be configured in self service profile
-> Bind DLZ: support DNAME+XFR records and descriptions in records (requires latest LDAP schema)
-> Cron jobs: added Shadow account expiration notification job
- Fixed bugs:
-> Allow tree-only configurations without any other tab
28.12.2018 6.6
- New import/export in tools menu
- YubiKey support
- Windows users:
-> Manage "departmentNumber" (needs to be activated via LAM server profile)
-> Sync group memberships from Unix and group of names
- LAM Pro:
-> Easy setting of background color in self service profile
-> Cron jobs: added Windows/Qmail/FreeRadius account expiration notification jobs
-> Bind DLZ: usability improvements and small fixes
25.09.2018 6.5
- Password change possible via LDAP EXOP operation (set LDAP_EXOP as password hash, requires PHP 7.2)
- Support Imagick and GD
- Dropped support for Apache 2.2
- Upload: allow to overwrite existing accounts
- Personal: photos can be printed in PDF export
- Kolab updates
- LAM Pro:
-> Auto deletion of entries with dynamic directory services support (requires PHP 7.2)
- Fixed bugs:
-> Issue when changing key case of uid (#197)
20.06.2018 6.4
- Imagick PHP extension required
- Passwords can be checked against external service (e.g. https://api.pwnedpasswords.com/range)
- Personal/Windows: image cropping support
- Better filtering of account lists
- Unix: Unix, Windows and group of names memberships can be synced in group selection
- IMAP: create mailbox via file upload
- PHP 7.2 support
- Support for "," in DN
- LAM Pro:
-> Better support for 389ds password expiration
- Fixed bugs:
-> Error on password reset page when custom fields is used (194)
19.03.2018 6.3
- Server profile: added option if referential integrity overlay is active to skip cleanup actions
- Unix: several options are now specific to subaccount types (reconfiguration required!)
- Fixed bugs:
-> Security fixes (XSS vulnerabilities CVE-2018-8763 and CSRF token in URL CVE-2018-8764)
-> Quota for Windows groups did not work
- LAM Pro:
-> Support custom structural object classes with new custom type
-> Support dynamic lists
-> Self service login and password self reset can be secured with captcha
04.02.2018 6.2.1
- Fixed bugs:
-> Login page not working when no server profile exists (44)
-> LAM Pro: Password Self Reset has issues when both security question and confirmation mail are activated.
-> LAM main configuration: certificate buttons do not work
13.12.2017 6.2
- License changed from GPL v2 to GPL v3
- PHP 5.6 and Internet Explorer 11 or later required
- PDF export supports Chinese, Japan and Korean
- Account status also shows expired accounts
- Quota: support k/m/g/t/K/M/G/T to specify values in e.g. kB
- LAM Pro:
-> Cron jobs include better logging and support dry-run
19.09.2017 6.1
- Automatically trim input fields to avoid trailing/leading spaces
- LAM Pro:
-> Custom fields: support wildcards in text fields such as $firstname
-> Custom fields: specify minimum/maximum count for multi-value entries
-> Custom fields: new type for constant values
- Fixed bugs:
-> Password modify page reports error on password change when posixAccount is present for users
-> Nginx configuration files did not include "fastcgi_param SCRIPT_FILENAME $request_filename;" (193)
20.07.2017 6.0.1
- Fixed bugs:
-> Configuration file fills up with empty values
-> Tool visibility settings
26.06.2017 6.0
- Support multiple configurations for same account type
- PHP 7.1 compatibility
- Courier users and mail aliases
- Windows: Support unlocking of users with too many failed login attempts
- Samba 3: added account expiration date to PDF fields
- LAM Pro:
-> Custom fields: can be used for file upload
-> Custom fields: new selection list type that gets options from LDAP search
-> Kopano support
15.03.2017 5.7
- 2-factor authentication for admin login and self service with privacyIDEA
- PDF files use DejaVu serif font for better readability and more supported characters (e.g. Cyrillic)
- Windows users: the department option now uses attribute "department" instead of "departmentNumber"
- Updated Debian dependencies
- Fixed bugs:
-> Comparison issue prevents saving of values (185)
18.12.2016 5.6
- New mechanism to replace wildcards in user edit screen. Personal/Unix support more wildcards like "$firstname".
- Windows: added support for pager, otherPager, mobile, otherMobile, company and proxyAddresses (disabled by default in server profile)
- Mail routing: enable for groups and allow to add/remove the extension
- LAM Pro:
-> Password self reset: support for up to 3 security questions
-> 389ds: new wildcards for custom scripts: $INFO.389lockingStatusChange$ and $INFO.389deactivationStatusChange$
-> Custom scripts: custom button label supported for manual scripts
10.09.2016 5.5
- Windows: allow to show effective members of a group
- Lamdaemon: support SSH key authentication
- LAM Pro:
-> Group of names/members + roles: allow to show effective members of a group
-> Cron jobs:
* Move or delete expired accounts (Shadow, Windows, qmail, FreeRadius)
* 389ds: added job to notify before password expires
-> 389ds: manage password expiration time with module "Account locking"
- Fixed bugs:
-> PHP 7 issues on edit page
21.06.2016 5.4
- Unix: support magic numbers for UIDs/GIDs (e.g. 389 server DNA plugin)
- Samba 3: support for Samba password history (RFE 133)
- LAM Pro:
-> New module for 389ds unlocking and account (de)activation
-> Self registration: support for Google reCAPTCHA
-> Password notification jobs support CC and BCC
-> Self Service: Samba 3 supports password history and minimum age check
21.03.2016 5.3
- Requires PHP 5.4.0 or higher
- PHP 7 support
@ -6,7 +239,7 @@
- Personal/Unix: support K5KEY hash type for smbk5pwd
- New NIS netgroup module for hosts
- Puppet: autocompletion for classes and variables, allow to enforce list of possible classes
- fixed bugs:
- Fixed bugs:
-> Autoload errors in tree view
-> Set correct content type on JSON requests (174)
- LAM Pro:
@ -105,7 +338,7 @@
- LAM Pro:
-> Password self reset and user self registration support to set a header text
-> Sudo roles: support latest schema
-> Bind DLZ: automatic PTR management (disabled by default) and better formating of e.g. TTL values
-> Bind DLZ: automatic PTR management (disabled by default) and better formatting of e.g. TTL values
18.03.2014 4.5
@ -297,7 +530,7 @@
-> support to read user name from uid attribute
-> added quota management
- Personal: added additional options for account profiles
- Mail aliases: sort receipients (RFE 3170336)
- Mail aliases: sort recipients (RFE 3170336)
- Asterisk: support all attributes (can be disabled in configuration)
- Samba 3/Shadow: allow to sync expiration date (RFE 3147751)
- LAM Pro:
@ -424,7 +657,7 @@
21.01.2009 2.5.0
- LAM Pro:
-> supports rfc2307bis schema for Unix groups (RFE 2111694)
-> added alias manangement (object classes alias + uidObject) (RFE 1912779)
-> added alias management (object classes alias + uidObject) (RFE 1912779)
- Shadow: module is now optional when creating new accounts
- Kolab:
-> account extension is now optional
@ -613,7 +846,7 @@
- security: LAM checks the session id and client IP
- fixed bugs:
-> Samba 3: hash values were wrong in some rare cases (1440021)
-> Samba 3: readded time zone selection for logon hours (1407761)
-> Samba 3: re-added time zone selection for logon hours (1407761)
-> Unix: call of unknown function (1450464)
@ -750,7 +983,7 @@
-> dynamic configuration options (based on modules)
- all pages in UTF-8
- added developer documentation
- PHPDoc formated comments
- PHPDoc formatted comments
- new plugin for managing MAC addresses (RFE 926017)
- new plugin for managing NIS mail aliases (RFE 1050036)
- new plugin for managing mail routing with inetLocalMailRecipient (RFE 1092137)
@ -812,7 +1045,7 @@
if magic_quotes_gpc in php.ini is was set to "Off", several pages did not work
some smaller bugs in mass upload
Samba hash values for hosts were not correct
Unix passwords could be disabled but not reenabled
Unix passwords could be disabled but not re-enabled
fixed problem with eval() in status.inc (894433)
@ -835,7 +1068,7 @@
- better error handling at login
- support spaces in DNs
- PDF text for users
- create missing OUs recursivly
- create missing OUs recursively
- fixed bugs:
SMD5 passwords were wrong
primaryGroupSID wrong if SID has no relation to Algorithmic RID Base

View File

@ -3,19 +3,16 @@ LAM - Readme
============
LDAP Account Manager (LAM) manages user, group and host accounts in an LDAP
directory. LAM runs on any webserver with PHP5 support and connects to your
directory. LAM runs on any webserver with PHP7 support and connects to your
LDAP server unencrypted or via SSL/TLS.
Currently LAM supports these account types: Samba 3/4, Unix, Kolab 2,
Currently LAM supports these account types: Samba 3/4, Unix, Kolab,
address book entries, NIS mail aliases and MAC addresses. There is a tree
viewer included to allow access to the raw LDAP attributes. You can use
templates for account creation and use multiple configuration profiles.
LAM is translated to Catalan, Chinese (Traditional + Simplified), Czech,
Dutch, English, French, German, Hungarian, Italian, Japanese, Polish,
Portuguese, Russian, Slovak, Spanish, Turkish and Ukrainian.
https://www.ldap-account-manager.org/
Copyright (C) 2003 - 2016 Roland Gruber <post@rolandgruber.de>
Copyright (C) 2003 - 2020 Roland Gruber <post@rolandgruber.de>
Installation and documentation:
Please see the LAM manual in docs/manual/index.html.

View File

@ -1 +1 @@
5.3
7.3.RC1

3
lam/codespell.sh Executable file
View File

@ -0,0 +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,te,pres,files'"

18
lam/composer.json Normal file
View File

@ -0,0 +1,18 @@
{
"config": {
"vendor-dir": "lib/3rdParty/composer"
},
"repositories": [
{
"type": "pear",
"url": "https://pear.horde.org"
}
],
"require" : {
"web-auth/webauthn-lib" : "2.1.7",
"symfony/http-foundation" : "5.0.7",
"symfony/psr-http-message-bridge" : "1.3.0",
"pear-pear.horde.org/Horde_Imap_Client" : "2.30.1",
"phpmailer/phpmailer": "~6.1"
}
}

1804
lam/composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

6
lam/config/.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
d_*
config.cfg
/serverCerts.pem
/pdf/
/profiles/
*.sqlite

View File

@ -1,9 +1,3 @@
<Files *>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Require all denied
</Files>

View File

@ -13,7 +13,7 @@ ServerURL: ldap://localhost:389
Admins: cn=Manager,dc=my-domain,dc=com
# password to change these preferences via webfrontend (default: lam)
Passwd: {SSHA}T2yboe0j+a41sZZm4UZl6kEzbcI= q9uv7w==
Passwd: lam
# suffix of tree view
# e.g. dc=yourdomain,dc=org
@ -23,10 +23,10 @@ treesuffix: dc=yourdomain,dc=org
defaultLanguage: en_GB.utf8
# Path to external Script
scriptPath:
scriptPath:
# Server of external Script
scriptServer:
scriptServer:
# Access rights for home directories
scriptRights: 750
@ -39,12 +39,12 @@ searchLimit: 0
# Module settings
modules: posixAccount_minUID: 10000
modules: posixAccount_maxUID: 30000
modules: posixAccount_minMachine: 50000
modules: posixAccount_maxMachine: 60000
modules: posixGroup_minGID: 10000
modules: posixGroup_maxGID: 20000
modules: posixAccount_user_minUID: 10000
modules: posixAccount_user_maxUID: 30000
modules: posixAccount_host_minMachine: 50000
modules: posixAccount_host_maxMachine: 60000
modules: posixGroup_group_minGID: 10000
modules: posixGroup_group_maxGID: 20000
modules: posixGroup_pwdHash: SSHA
modules: posixAccount_pwdHash: SSHA
@ -97,11 +97,11 @@ loginSearchFilter: uid=%USER%
# Bind DN for login search.
loginSearchDN:
loginSearchDN:
# Bind password for login search.
loginSearchPassword:
loginSearchPassword:
# HTTP authentication for LAM login.
@ -109,11 +109,11 @@ httpAuthentication: false
# Password mail from
lamProMailFrom:
lamProMailFrom:
# Password mail reply-to
lamProMailReplyTo:
lamProMailReplyTo:
# Password mail is HTML
@ -185,17 +185,17 @@ modules: inetOrgPerson_readOnly_telephoneNumber: false
modules: inetOrgPerson_readOnly_departmentNumber: false
modules: inetOrgPerson_readOnly_manager: false
modules: inetOrgPerson_readOnly_givenName: false
modules: inetOrgPerson_jpegPhoto_maxWidth:
modules: inetOrgPerson_jpegPhoto_maxHeight:
modules: inetOrgPerson_jpegPhoto_maxSize:
types: filter_user:
types: customLabel_user:
types: filter_group:
types: customLabel_group:
types: hidden_user:
types: hideNewButton_user:
types: hideDeleteButton_user:
types: readOnly_user:
modules: inetOrgPerson_jpegPhoto_maxWidth:
modules: inetOrgPerson_jpegPhoto_maxHeight:
modules: inetOrgPerson_jpegPhoto_maxSize:
types: filter_user:
types: customLabel_user:
types: filter_group:
types: customLabel_group:
types: hidden_user:
types: hideNewButton_user:
types: hideDeleteButton_user:
types: readOnly_user:
tools: tool_hide_toolServerInformation: false
tools: tool_hide_toolFileUpload: false
tools: tool_hide_toolMultiEdit: false

View File

@ -6,10 +6,10 @@
# the second is the character encoding and the third the language name.
# Catalan
ca_ES.utf8:UTF-8:Català (Catalunya)
# ca_ES.utf8:UTF-8:Català (Catalunya)
# Czech
cs_CZ.utf8:UTF-8:Čeština (Česko)
# cs_CZ.utf8:UTF-8:Čeština (Česko)
# German
de_DE.utf8:UTF-8:Deutsch (Deutschland)
@ -30,7 +30,7 @@ fr_FR.utf8:UTF-8:Français (France)
it_IT.utf8:UTF-8:Italiano (Italia)
# Hungarian
hu_HU.utf8:UTF-8:Magyar (Magyarország)
# hu_HU.utf8:UTF-8:Magyar (Magyarország)
# Dutch
nl_NL.utf8:UTF-8:Nederlands (Nederland)
@ -48,7 +48,7 @@ ru_RU.utf8:UTF-8:Русский (Россия)
sk_SK.utf8:UTF-8:Slovenčina (Slovensko)
# Turkish
tr_TR.utf8:UTF-8:Türkçe (Türkiye)
# tr_TR.utf8:UTF-8:Türkçe (Türkiye)
# Ukrainian
uk_UA.utf8:UTF-8:Українська (Україна)

View File

@ -13,7 +13,7 @@ ServerURL: ldap://localhost:389
Admins: cn=Manager,dc=my-domain,dc=com
# password to change these preferences via webfrontend (default: lam)
Passwd: {SSHA}ahGvrvP2tLZCEChawYlRD0v5dFk= sSirVg==
Passwd: lam
# suffix of tree view
# e.g. dc=yourdomain,dc=org
@ -23,10 +23,10 @@ treesuffix: dc=yourdomain,dc=org
defaultLanguage: en_GB.utf8
# Path to external Script
scriptPath:
scriptPath:
# Server of external Script
scriptServer:
scriptServer:
# Access rights for home directories
scriptRights: 750
@ -39,12 +39,12 @@ searchLimit: 0
# Module settings
modules: posixAccount_minUID: 10000
modules: posixAccount_maxUID: 30000
modules: posixAccount_minMachine: 50000
modules: posixAccount_maxMachine: 60000
modules: posixGroup_minGID: 10000
modules: posixGroup_maxGID: 20000
modules: posixAccount_user_minUID: 10000
modules: posixAccount_user_maxUID: 30000
modules: posixAccount_host_minMachine: 50000
modules: posixAccount_host_maxMachine: 60000
modules: posixGroup_group_minGID: 10000
modules: posixGroup_group_maxGID: 20000
modules: posixGroup_pwdHash: SSHA
modules: posixAccount_pwdHash: SSHA
@ -97,11 +97,11 @@ loginSearchFilter: uid=%USER%
# Bind DN for login search.
loginSearchDN:
loginSearchDN:
# Bind password for login search.
loginSearchPassword:
loginSearchPassword:
# HTTP authentication for LAM login.
@ -109,11 +109,11 @@ httpAuthentication: false
# Password mail from
lamProMailFrom:
lamProMailFrom:
# Password mail reply-to
lamProMailReplyTo:
lamProMailReplyTo:
# Password mail is HTML
@ -122,10 +122,10 @@ lamProMailIsHTML: false
# Allow alternate address
lamProMailAllowAlternateAddress: true
modules: posixGroup_gidGenerator: range
modules: posixGroup_sambaIDPoolDN:
modules: posixGroup_gidCheckSuffix:
modules: posixGroup_hidememberUid: false
modules: posixGroup_group_gidGenerator: range
modules: posixGroup_group_sambaIDPoolDN:
modules: posixGroup_group_gidCheckSuffix:
modules: posixGroup_group_hidememberUid: false
modules: sambaSamAccount_timeZone: 0
modules: sambaSamAccount_lmHash: yes
modules: sambaSamAccount_hideHomeDrive: false
@ -136,16 +136,16 @@ modules: sambaSamAccount_hideSambaPwdLastSet: false
modules: sambaSamAccount_hideWorkstations: false
modules: sambaSamAccount_hideLogonHours: false
modules: sambaSamAccount_hideTerminalServer: false
modules: posixAccount_uidGeneratorUsers: range
modules: posixAccount_sambaIDPoolDNUsers:
modules: posixAccount_uidCheckSuffixUser:
modules: posixAccount_uidGeneratorHosts: range
modules: posixAccount_sambaIDPoolDNHosts:
modules: posixAccount_uidCheckSuffixHost:
modules: posixAccount_user_uidGeneratorUsers: range
modules: posixAccount_user_sambaIDPoolDNUsers:
modules: posixAccount_user_uidCheckSuffixUser:
modules: posixAccount_host_uidGeneratorHosts: range
modules: posixAccount_host_sambaIDPoolDNHosts:
modules: posixAccount_host_uidCheckSuffixHost:
modules: posixAccount_shells: /bin/bash+::+/bin/csh+::+/bin/dash+::+/bin/false+::+/bin/ksh+::+/bin/sh
modules: posixAccount_hidegecos: false
modules: posixAccount_user_hidegecos: false
modules: posixAccount_primaryGroupAsSecondary: false
modules: posixAccount_userNameSuggestion: @givenname@%sn%
modules: posixAccount_user_userNameSuggestion: @givenname@%sn%
modules: inetOrgPerson_hideDescription: false
modules: inetOrgPerson_hideStreet: false
modules: inetOrgPerson_hidePostOfficeBox: false
@ -208,37 +208,37 @@ modules: inetOrgPerson_readOnly_telephoneNumber: false
modules: inetOrgPerson_readOnly_departmentNumber: false
modules: inetOrgPerson_readOnly_manager: false
modules: inetOrgPerson_readOnly_givenName: false
modules: inetOrgPerson_jpegPhoto_maxWidth:
modules: inetOrgPerson_jpegPhoto_maxHeight:
modules: inetOrgPerson_jpegPhoto_maxSize:
types: filter_user:
types: customLabel_user:
types: filter_group:
types: customLabel_group:
types: hidden_user:
types: hideNewButton_user:
types: hideDeleteButton_user:
types: readOnly_user:
types: hidden_group:
types: hideNewButton_group:
types: hideDeleteButton_group:
types: readOnly_group:
types: hidden_host:
types: hideNewButton_host:
types: hideDeleteButton_host:
types: readOnly_host:
modules: inetOrgPerson_jpegPhoto_maxWidth:
modules: inetOrgPerson_jpegPhoto_maxHeight:
modules: inetOrgPerson_jpegPhoto_maxSize:
types: filter_user:
types: customLabel_user:
types: filter_group:
types: customLabel_group:
types: hidden_user:
types: hideNewButton_user:
types: hideDeleteButton_user:
types: readOnly_user:
types: hidden_group:
types: hideNewButton_group:
types: hideDeleteButton_group:
types: readOnly_group:
types: hidden_host:
types: hideNewButton_host:
types: hideDeleteButton_host:
types: readOnly_host:
types: suffix_host: ou=machines,dc=my-domain,dc=com
types: attr_host: #cn;#description;#uidNumber;#gidNumber
types: filter_host:
types: customLabel_host:
types: hidden_smbDomain:
types: hideNewButton_smbDomain:
types: hideDeleteButton_smbDomain:
types: readOnly_smbDomain:
types: filter_host:
types: customLabel_host:
types: hidden_smbDomain:
types: hideNewButton_smbDomain:
types: hideDeleteButton_smbDomain:
types: readOnly_smbDomain:
types: suffix_smbDomain: dc=my-domain,dc=com
types: attr_smbDomain: #sambaDomainName;#sambaSID
types: filter_smbDomain:
types: customLabel_smbDomain:
types: filter_smbDomain:
types: customLabel_smbDomain:
types: modules_host: account,posixAccount,sambaSamAccount
types: modules_smbDomain: sambaDomain
tools: tool_hide_toolServerInformation: false

1
lam/config/selfService/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
d_*

1
lam/config/templates/pdf/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/default.publicationType.xml

View File

@ -0,0 +1,4 @@
<pdf type="bind" filename="printLogo.jpg" headline="Custom entry" foldingmarks="no">
<section name="_main_dn">
</section>
</pdf>

View File

@ -0,0 +1,8 @@
<pdf type="kopanoAddressListType" filename="printLogo.jpg" headline="LDAP Account Manager">
<section name="_kopanoAddressList_cn">
<entry name="kopanoAddressList_kopanoBase" />
<entry name="kopanoAddressList_kopanoFilter" />
<entry name="kopanoAddressList_kopanoAccount" />
<entry name="kopanoAddressList_kopanoHidden" />
</section>
</pdf>

View File

@ -0,0 +1,10 @@
<pdf type="kopanoDynamicGroupType" filename="printLogo.jpg" headline="LDAP Account Manager">
<section name="_kopanoDynamicGroup_cn">
<entry name="kopanoDynamicGroup_mail" />
<entry name="kopanoDynamicGroup_kopanoAliases" />
<entry name="kopanoDynamicGroup_kopanoBase" />
<entry name="kopanoDynamicGroup_kopanoFilter" />
<entry name="kopanoDynamicGroup_kopanoAccount" />
<entry name="kopanoDynamicGroup_kopanoHidden" />
</section>
</pdf>

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

View File

@ -5,28 +5,28 @@
###################################################################################################
# server address (e.g. ldap://localhost:389 or ldaps://localhost:636)
serverURL: ldap://localhost:389
ServerURL: ldap://localhost:389
# list of users who are allowed to use LDAP Account Manager
# names have to be seperated by semicolons
# e.g. admins: cn=admin,dc=yourdomain,dc=org;cn=root,dc=yourdomain,dc=org
admins: cn=Manager,dc=my-domain,dc=com
Admins: cn=Manager,dc=my-domain,dc=com
# password to change these preferences via webfrontend (default: lam)
passwd: {SSHA}RjBruJcTxZEdcBjPQdRBkDaSQeY= iueleA==
Passwd: lam
# suffix of tree view
# e.g. dc=yourdomain,dc=org
treesuffix: dc=yourdomain,dc=org
# default language (a line from config/language)
defaultLanguage: en_GB.utf8:UTF-8:English (Great Britain)
defaultLanguage: en_GB.utf8
# Path to external Script
scriptPath:
scriptPath:
# Server of external Script
scriptServer:
scriptServer:
# Access rights for home directories
scriptRights: 750
@ -39,12 +39,12 @@ searchLimit: 0
# Module settings
modules: posixAccount_minUID: 10000
modules: posixAccount_maxUID: 30000
modules: posixAccount_minMachine: 50000
modules: posixAccount_maxMachine: 60000
modules: posixGroup_minGID: 10000
modules: posixGroup_maxGID: 20000
modules: posixAccount_user_minUID: 10000
modules: posixAccount_user_maxUID: 30000
modules: posixAccount_host_minMachine: 50000
modules: posixAccount_host_maxMachine: 60000
modules: posixGroup_group_minGID: 10000
modules: posixGroup_group_maxGID: 20000
modules: posixGroup_pwdHash: SSHA
modules: posixAccount_pwdHash: SSHA

View File

@ -13,7 +13,7 @@ ServerURL: ldap://pdc.my-domain.com
Admins: cn=Administrator,cn=users,dc=my-domain,dc=com
# password to change these preferences via webfrontend (default: lam)
Passwd: {SSHA}D05GxzVwo3vmuNLSNmkPiJ8x5u8= JgqZFQ==
Passwd: lam
# suffix of tree view
# e.g. dc=yourdomain,dc=org
@ -23,10 +23,10 @@ treesuffix: dc=my-domain,dc=com
defaultLanguage: en_GB.utf8
# Path to external Script
scriptPath:
scriptPath:
# Server of external Script
scriptServer:
scriptServer:
# Access rights for home directories
scriptRights: 750
@ -39,12 +39,12 @@ searchLimit: 0
# Module settings
modules: posixAccount_minUID: 10000
modules: posixAccount_maxUID: 30000
modules: posixAccount_minMachine: 50000
modules: posixAccount_maxMachine: 60000
modules: posixGroup_minGID: 10000
modules: posixGroup_maxGID: 20000
modules: posixAccount_user_minUID: 10000
modules: posixAccount_user_maxUID: 30000
modules: posixAccount_host_minMachine: 50000
modules: posixAccount_host_maxMachine: 60000
modules: posixGroup_group_minGID: 10000
modules: posixGroup_group_maxGID: 20000
modules: posixGroup_pwdHash: SSHA
modules: posixAccount_pwdHash: SSHA
@ -97,11 +97,11 @@ loginSearchFilter: uid=%USER%
# Bind DN for login search.
loginSearchDN:
loginSearchDN:
# Bind password for login search.
loginSearchPassword:
loginSearchPassword:
# HTTP authentication for LAM login.
@ -109,22 +109,22 @@ httpAuthentication: false
# Password mail from
lamProMailFrom:
lamProMailFrom:
# Password mail reply-to
lamProMailReplyTo:
lamProMailReplyTo:
# Password mail is HTML
lamProMailIsHTML: false
types: filter_user:
types: filter_group:
types: filter_host:
types: filter_smbDomain:
types: hidden_group:
types: hidden_host:
types: hidden_smbDomain:
types: filter_user:
types: filter_group:
types: filter_host:
types: filter_smbDomain:
types: hidden_group:
types: hidden_host:
types: hidden_smbDomain:
tools: tool_hide_toolServerInformation: false
tools: tool_hide_toolFileUpload: false
tools: tool_hide_toolPDFEditor: false
@ -133,7 +133,7 @@ tools: tool_hide_toolProfileEditor: false
tools: tool_hide_toolTests: false
tools: tool_hide_toolSchemaBrowser: false
modules: windowsGroup_hidemail: false
types: hidden_user:
types: hidden_user:
modules: customScripts_scripts: user postModify echo $INFO.userPasswordClearText$
modules: customScripts_containsHTML: false
modules: customScripts_hideCommand: false
@ -154,39 +154,39 @@ modules: zarafaUser_hideAliases: false
modules: zarafaUser_sendAsAttribute: dn
modules: zarafaGroup_hideSendAsPrivilege: false
modules: zarafaServer_hideProxyURL: false
types: hidden_zarafaAddressListType:
types: hidden_zarafaAddressListType:
types: suffix_zarafaAddressListType: OU=zarafa,DC=samba4,DC=test
types: filter_zarafaAddressListType:
types: filter_zarafaAddressListType:
types: attr_zarafaAddressListType: #cn;#zarafaBase;#zarafaFilter
types: modules_zarafaAddressListType: zarafaAddressList
types: hidden_zarafaDynamicGroupType:
types: hidden_zarafaDynamicGroupType:
types: suffix_zarafaDynamicGroupType: OU=zarafa,DC=samba4,DC=test
types: filter_zarafaDynamicGroupType:
types: filter_zarafaDynamicGroupType:
types: attr_zarafaDynamicGroupType: #cn;#mail;#zarafaaliases;#zarafaBase;#zarafaFilter
types: modules_zarafaDynamicGroupType: zarafaDynamicGroup
modules: windowsGroup_hideotherMailbox: false
types: hideNewButton_user:
types: hideDeleteButton_user:
types: hideNewButton_group:
types: hideDeleteButton_group:
types: hideNewButton_host:
types: hideDeleteButton_host:
types: hideNewButton_zarafaDynamicGroupType:
types: hideDeleteButton_zarafaDynamicGroupType:
types: hideNewButton_zarafaAddressListType:
types: hideDeleteButton_zarafaAddressListType:
types: hideNewButton_user:
types: hideDeleteButton_user:
types: hideNewButton_group:
types: hideDeleteButton_group:
types: hideNewButton_host:
types: hideDeleteButton_host:
types: hideNewButton_zarafaDynamicGroupType:
types: hideDeleteButton_zarafaDynamicGroupType:
types: hideNewButton_zarafaAddressListType:
types: hideDeleteButton_zarafaAddressListType:
modules: windowsGroup_hidemanagedBy: true
modules: passwordSelfReset_questions: Bla1?+::+Bla2?
modules: posixGroup_gidGenerator: range
modules: posixGroup_sambaIDPoolDN:
modules: posixGroup_gidCheckSuffix:
modules: posixAccount_uidGeneratorUsers: range
modules: posixAccount_sambaIDPoolDNUsers:
modules: posixAccount_uidCheckSuffixUser:
modules: posixGroup_group_gidGenerator: range
modules: posixGroup_group_sambaIDPoolDN:
modules: posixGroup_group_gidCheckSuffix:
modules: posixAccount_user_uidGeneratorUsers: range
modules: posixAccount_user_sambaIDPoolDNUsers:
modules: posixAccount_user_uidCheckSuffixUser:
modules: posixAccount_shells: /bin/bash+::+/bin/csh+::+/bin/dash+::+/bin/false+::+/bin/ksh+::+/bin/sh
modules: posixAccount_hidegecos: false
modules: posixAccount_user_hidegecos: false
modules: posixAccount_primaryGroupAsSecondary: false
modules: posixAccount_userNameSuggestion: @givenname@%sn%
modules: posixAccount_user_userNameSuggestion: @givenname@%sn%
modules: windowsUser_domains: my-domain.com
modules: windowsUser_hidesAMAccountName: false
tools: tool_hide_toolMultiEdit: false
@ -206,12 +206,12 @@ modules: windowsGroup_hidemsSFU30Name: true
modules: windowsGroup_hidemsSFU30NisDomain: true
modules: windowsUser_hidemsSFU30Name: true
modules: windowsUser_hidemsSFU30NisDomain: true
types: customLabel_user:
types: customLabel_group:
types: customLabel_host:
types: customLabel_zarafaDynamicGroupType:
types: customLabel_zarafaAddressListType:
types: readOnly_user:
types: readOnly_group:
types: readOnly_host:
types: readOnly_zarafaAddressListType:
types: customLabel_user:
types: customLabel_group:
types: customLabel_host:
types: customLabel_zarafaDynamicGroupType:
types: customLabel_zarafaAddressListType:
types: readOnly_user:
types: readOnly_group:
types: readOnly_host:
types: readOnly_zarafaAddressListType:

File diff suppressed because it is too large Load Diff

5
lam/docs/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
/manual
/manual-pdf
/manual-onePage
/manual.tar.gz
/phpdoc/

1
lam/docs/devel/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/phpdoc/

View File

@ -21,11 +21,11 @@ The main script for the account pages is located in <span
a very simple content. If the page is loaded for the first time it
creates a new <span style="font-weight: bold;">accountContainer</span>
inside the session and tells it to load/create an LDAP account. Then it
calles the <span style="font-weight: bold;">continue_main()</span>
calls the <span style="font-weight: bold;">continue_main()</span>
function of the <span style="font-weight: bold;">accountContainer</span>
object which prints all HTML output.<br>
<br>
Managing of user input etc. is completly made by the <span
Managing of user input etc. is completely made by the <span
style="font-weight: bold;">accountContainer</span>.<br>
<br>
</body>

View File

@ -54,7 +54,7 @@ to make it easier for the user to modify the values. The dynamic
options provided by the modules do not include a comment.<br>
<br>
<h2>Master configuration file</h2>
LAM stores the default configuartion profile and a master password in <span
LAM stores the default configuration profile and a master password in <span
style="font-style: italic;">config/config.cfg</span>.<br>
The master password is verified when the user wants to create/delete
configuration profiles.<br>

View File

@ -39,7 +39,7 @@ attribute. Therefore we will save these two values.<br>
&nbsp;&nbsp;&nbsp; * This function loads all needed attributes into the
object.<br>
&nbsp;&nbsp;&nbsp; *<br>
&nbsp;&nbsp;&nbsp; * @param array $attr an array as it is retured from
&nbsp;&nbsp;&nbsp; * @param array $attr an array as it is returned from
ldap_get_attributes<br>
&nbsp;&nbsp;&nbsp; */<br>
&nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">function</span> <span style="color: rgb(255, 0, 0);">load_attributes</span>($attr) {<br>

View File

@ -58,7 +58,7 @@ class</span> <span style="color: rgb(255, 0, 0);">ieee802Device</span>
</table>
<br>
<h2>4. Meta data</h2>
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 <span style="font-weight: bold;">meta data</span>
for them and the <span style="font-weight: bold;">baseModule</span>

View File

@ -137,7 +137,7 @@ the <span style="font-style: italic;">baseModule</span> will use the <span style
check. This function already contains regular expressions for the most
common cases.<br>
To check if the minimum GID is smaller than the maximum GID we define a
check for the nonexistant option "cmpGID" and define it as optional.
check for the nonexistent option "cmpGID" and define it as optional.
This will do the comparison check.<br>
<br>
<br>

View File

@ -122,7 +122,7 @@ get_metaData() {<br>
<br>
<br>
<h2>4. Dependencies</h2>
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.<br>
<br>
@ -198,7 +198,7 @@ is set dynamically<br>
You can tell LAM what object classes are managed by your module.<br>
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.<br>
smbldap-tools) also create accounts and the spelling is different.<br>
<br>
<span style="font-weight: bold; text-decoration: underline;">Example:</span><br>
<br>

View File

@ -21,7 +21,7 @@ They are configured on tab "Jobs" in LAM server profile.<br>
<div style="text-align: left;">See ppolicyUser module for an example.<br>
<br>
<h2>Adding the job class</h2>
The module defines the list of suuported jobs with function
The module defines the list of supported jobs with function
getSupportedJobs().<br>
<table style="width: 100%; text-align: left;" class="mod-code" border="0" cellpadding="2" cellspacing="2">
<tbody>
@ -77,7 +77,7 @@ If your job requires any configuration options then use get/checkConfigOptions()
<br>
<h2>Database</h2>
Jobs can access a database to read and store data about job runs. Use
this e.g. if you need to save any status information accross job runs.<br>
this e.g. if you need to save any status information across job runs.<br>
Database access is specified with needsDatabaseAccess().<br>
<br>
There is a built-in database upgrade mechanism. Your job must return

View File

@ -31,11 +31,10 @@ file, saves it to the <span style="font-style: italic;">tmp</span>
folder and returns the file name.<br>
<br>
<br>
The <span style="font-weight: bold;">lamPDF</span> class extends the <span
style="font-style: italic;">UFPDF</span> class and adds the LAM
The <span style="font-weight: bold;">LAMTCPDF</span> class extends the <span
style="font-style: italic;">TCPDF</span> class and adds the LAM
specific header and footer.<br>
It also defines the used font. Currently only Bitstream-Vera is
supported.<br>
It also defines the used font.<br>
<br>
</body>
</html>

View File

@ -18,7 +18,7 @@ designed to be editable by hand. They do not allow to add comments and
have a simpler format.<br>
<br>
<h2>Format</h2>
There is one option per line which is formated: &lt;identifier&gt;:
There is one option per line which is formatted: &lt;identifier&gt;:
&lt;value&gt;<br>
<br>
Identifier is the option's name, value is the rest of the line after

View File

@ -88,10 +88,10 @@ class <span style="font-weight: bold;">toolProfileEditor</span> implements <span
&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; /**<br>
&nbsp;&nbsp;&nbsp; &nbsp;* Returns the prefered position of this tool on the tools page.<br>
&nbsp;&nbsp;&nbsp; &nbsp;* Returns the preferred position of this tool on the tools page.<br>
&nbsp;&nbsp;&nbsp; &nbsp;* The position may be between 0 and 1000. 0 is the top position.<br>
&nbsp;&nbsp;&nbsp; &nbsp;*<br>
&nbsp;&nbsp;&nbsp; &nbsp;* @return int prefered position<br>
&nbsp;&nbsp;&nbsp; &nbsp;* @return int preferred position<br>
&nbsp;&nbsp;&nbsp; &nbsp;*/<br>
&nbsp;&nbsp;&nbsp; function <span style="font-weight: bold;">getPosition</span>() {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return 100;<br>

View File

@ -91,10 +91,10 @@ Example:<br>
<pre>&nbsp;&nbsp;&nbsp; }</pre>
<pre>&nbsp;&nbsp;&nbsp; </pre>
<pre>&nbsp;&nbsp;&nbsp; /**</pre>
<pre>&nbsp;&nbsp;&nbsp; &nbsp;* Returns the prefered position of this tool on the tools page.</pre>
<pre>&nbsp;&nbsp;&nbsp; &nbsp;* Returns the preferred position of this tool on the tools page.</pre>
<pre>&nbsp;&nbsp;&nbsp; &nbsp;* The position may be between 0 and 1000. 0 is the top position.</pre>
<pre>&nbsp;&nbsp;&nbsp; &nbsp;*</pre>
<pre>&nbsp;&nbsp;&nbsp; &nbsp;* @return int prefered position</pre>
<pre>&nbsp;&nbsp;&nbsp; &nbsp;* @return int preferred position</pre>
<pre>&nbsp;&nbsp;&nbsp; &nbsp;*/</pre>
<pre>&nbsp;&nbsp;&nbsp; function getPosition() {</pre>
<pre>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return 600;</pre>

View File

@ -115,7 +115,7 @@ If you want to change more than just the labels, take a look at <span
style="font-weight: bold;">lib/types/user.inc</span>. When a list is
displayed then the <span style="font-weight: bold;">showPage()</span>
function is called. You can overwrite this function to display a
completly new list or just one of the other functions.<br>
completely new list or just one of the other functions.<br>
<br>
<table style="width: 100%; text-align: left;" class="mod-code"
border="0" cellpadding="2" cellspacing="2">

View File

@ -27,15 +27,31 @@
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15"><title>Upgrade notes</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15"><title>Upgrade notes</title>
<link rel="stylesheet" type="text/css" href="style/layout.css">
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"></head><body>
<h1>Upgrade notes</h1>
@ -44,7 +60,107 @@ This is a list of API changes for all LAM releases.
<br>
<h2>5.0 -&gt; 5.1</h2>Module interface<br>
<h2>6.7 -&gt; 6.8</h2>
<ul>
<li>Module API
<ul>
<li>display_html_attributes(): use responsive HTML elements instead of tables</li>
</ul>
</li>
</ul>
<h2>6.3 -&gt; 6.4</h2>
<ul>
<li>Module API
<ul>
<li>get_profileOptions(): should no longer return a htmlTable but a htmlResponsiveRow</li>
</ul>
</li>
</ul>
<h2>6.2 -&gt; 6.3</h2>
<ul>
<li>Module API
<ul>
<li>get_configOptions(): $allScopes contains type ids instead of account types</li>
<li>check_configOptions(): first parameter contains type ids instead of account types</li>
</ul>
</li>
</ul>
<h2>6.1 -&gt; 6.2</h2>
<ul>
<li>No major API changes</li>
</ul>
<h2>6.0 -&gt; 6.1</h2>
<ul>
<li>module API</li>
<ul>
<li>doUploadPreActions has new parameter $type</li>
<li>doUploadPostActions has new parameter $type</li>
</ul>
</ul>
<h2>5.7 -&gt; 6.0</h2>
<ul>
<li>All account types allow multiple configurations by default.</li>
<li>the following&nbsp; methods in baseModule have a new parameter $typeId:</li>
<ul>
<li>check_profileOptions()</li>
<li>get_profileOptions()</li>
<li>get_pdfEntries()</li>
<li>get_pdfFields()</li>
<li>getManagedObjectClasses()</li>
<li>getManagedAttributes()</li>
<li>getLDAPAliases() <br>
</li>
<li>get_uploadColumns()</li>
<li>build_uploadAccounts()</li>
<li>get_RDNAttributes()<br>
</li>
</ul>
<li>baseType-&gt;doUploadPostActions(): new parameter $selectedModules<br>
</li>
<li>Removed global functions:</li>
<ul>
<li>getListClassName() -&gt; use ConfiguredType-&gt;getBaseType()-&gt;getListClassName() </li>
<li>getTypeAlias() -&gt; use ConfiguredType-&gt;getBaseType()-&gt;getAlias()</li>
<li>getDefaultListAttributes() -&gt; use ConfiguredType-&gt;getBaseType()-&gt;getDefaultListAttributes()</li>
<li>getListAttributeDescriptions() -&gt; use ConfiguredType-&gt;getBaseType()-&gt;getListAttributeDescriptions()</li>
</ul>
<li>baseType and subclasses have a new constructor argument - ConfiguredType<br>
</li>
</ul>
<br>
<h2>5.6 -&gt; 5.7</h2>
<ul>
<li>module interface: get_pdfEntries() must return an array key =&gt;
PDFEntry (no action required if you did not build the XML yourself)<span style="color: rgb(34, 31, 30); font-family: Sans,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: rgb(214, 210, 208); display: inline ! important; float: none;"></span></li>
</ul>
<br>
<h2>5.5 -&gt; 5.6</h2>
<ul>
<li>
Functions in lib/types.inc got namespace LAM/TYPES (e.g. getTypeAlias()).</li>
<li>
New API to access configured account types: LAM\TYPES\TypeManager.</li>
<li>class baseType: new function getSuffixFilter()</li>
<li>moved getSuffixList() from baseType to ConfiguredType<br>
</li>
</ul>
<h2>5.4 -&gt; 5.5</h2>Functions Ldap::encrypt/decrypt in ldap.inc moved to lamEncrypt/lamDecrypt in security.inc.<br>
<br>
<h2>5.0 -&gt; 5.1</h2>
Module interface<br>
<ul>
<li><span style="font-weight: bold;">getPDFEntries(): </span>It is no
longer supported that modules generate PDF XML on their own. You must
@ -529,4 +645,4 @@ The class variable "triggered_messages" in baseModule was removed.<br>
<br>
</body></html>
</body></html>

View File

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<appendix id="clustering">
<title>Clustering LAM</title>
<para>LAM is a web application based on PHP. Therefore, clustering is not
directly a part of the application.</para>
<para>But here are some hints to run LAM in a clustered
environment.</para>
<para><emphasis role="bold">Application parts:</emphasis></para>
<para>LAM can be divided into three parts</para>
<itemizedlist>
<listitem>
<para>Software</para>
</listitem>
<listitem>
<para>Configuration files</para>
</listitem>
<listitem>
<para>Session files and temporary data</para>
</listitem>
</itemizedlist>
<para><emphasis role="bold">Software:</emphasis></para>
<para>This is the simplest part. Just install LAM on each cluster node.
Please note that if you run LAM Pro you will need either one license for
each active cluster node or a company license.</para>
<para><emphasis role="bold">Configuration files:</emphasis></para>
<para>These files include the LAM server profiles, account profiles, PDF
structures, ... Usually, they do not change frequently and can be put on a
shared file system (e.g. NFS, AFS, ...).</para>
<para>Please link "config" or "/var/lib/ldap-account-manager/config" to a
directory on your shared file system.</para>
<para><emphasis role="bold">Session data and temporary
files:</emphasis></para>
<para>These are critical because the files may change on every page load.
There are basically two options:</para>
<itemizedlist>
<listitem>
<para>load balancer with session stickiness: In this case your load
balancer will forward all requests of a user to the same cluster node.
In this case you can keep the files locally on your cluster nodes. If
you already have a load balancer then this is the simplest solution
and performs best. The disadvantage is that if a node fails then all
users connected to this node will loose their session and need to
relogin.</para>
</listitem>
<listitem>
<para>shared file system: This should only be used if your load
balancer does not support session stickiness or you use a different
system to distribute request across the cluster. A shared file system
will decrease performance for all page loads.</para>
</listitem>
</itemizedlist>
<para>Session data and temporary files are located in "tmp" + "sess" or
"/var/lib/ldap-account-manager/tmp" +
"/var/lib/ldap-account-manager/sess".</para>
</appendix>

View File

@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<appendix>
<title>Adapt LAM to your corporate design</title>
<para>There are cases where you might want to change LAM's default
look'n'feel to better integrate it in your company network. Changes can be
done like this:</para>
<para><emphasis role="bold">Change colors, fonts and other parts with
custom CSS</emphasis></para>
<para>You can integrate custom CSS files in LAM. It is recommended to
write a separate CSS file instead of modifying LAM's default files.</para>
<para>The CSS files are located in</para>
<literallayout> DEB/RPM: /usr/share/ldap-account-manager/style
tar.bz2: style
</literallayout>
<para>LAM will automatically integrate all CSS files in alphabetical
order. E.g. you can create a file called "900_myCompany.css" which will be
added as last file.</para>
<para>Example:</para>
<para>This will change the background color of all pages to turquoise. See
500_layout.css for LAM's default settings.</para>
<programlisting>body {
background-color: #b6eeff;
}
</programlisting>
<para>You can use the same way to change fonts, sizes and more.</para>
<para>E.g. this will reduce the default font size to 80%:</para>
<programlisting>body {
font-size: 80%;
}
.ui-button-text-only {
font-size: 100%;
}
.ui-button-text-icon-primary {
font-size: 100%;
}
</programlisting>
<para><emphasis role="bold">Custom logo</emphasis><programlisting>/* image in login box */
td.loginLogo {
background-image: url(/logos/mylogo.png);
}
/* image (24x24) in header line */
a.lamLogo {
background-image: url(/logos/mylogo.png);
}</programlisting></para>
<para><emphasis role="bold">Other images</emphasis></para>
<para>All images are located in</para>
<literallayout> DEB/RPM: /usr/share/ldap-account-manager/graphics
tar.bz2: graphics</literallayout>
<para>Please note that if you replace images then you need to reapply your
changes every time you upgrade LAM.</para>
<para><emphasis role="bold">Special changes with custom
JavaScript</emphasis></para>
<para>In rare cases it might not be sufficient to write custom CSS or
replace some image files. E.g. you might want to add custom content to all
pages.</para>
<para>For these cases you can add a custom JavaScript file that contains
your code.</para>
<para>The JavaScript files are located in</para>
<literallayout> DEB/RPM: /usr/share/ldap-account-manager/templates/lib
tar.bz2: templates/lib</literallayout>
<para>LAM will automatically integrate all .js files in alphabetical
order. E.g. you can create a file called "900_myCompany.js" which will be
added as last file.</para>
<para><emphasis role="bold">Self service</emphasis></para>
<para>See <link linkend="selfServiceBasicSettings">here</link> for self
service customisations.</para>
</appendix>

View File

@ -0,0 +1,205 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<appendix id="a_lamdaemon">
<title>Setup for home directory and quota management</title>
<para>Lamdaemon.pl is used to modify quota and home directories on a
remote or local host via SSH (even if homedirs are located on
localhost).</para>
<para>If you want wo use it you have to set up the following things to get
it to work:</para>
<section>
<title>Installation</title>
<para>First of all, you need to install lamdaemon.pl on your remote
server where LAM should manage homedirs and/or quota. This is usually a
different server than the one where LAM is installed. But there is no
problem if it is the same.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/lamdaemonServers.png" />
</imageobject>
</mediaobject>
</screenshot>
<para></para>
<para><emphasis role="bold">Debian based (e.g. also
Ubuntu)</emphasis></para>
<para>Please install the lamdaemon DEB package on your quota/homedir
server.</para>
<para><emphasis role="bold">RPM based (Fedora, CentOS, Suse,
...)</emphasis></para>
<para>Please install the lamdaemon RPM package on your quota/homedir
server.</para>
<para><emphasis role="bold">Other</emphasis></para>
<para>Please copy lib/lamdaemon.pl from the LAM tar.bz2 package to your
quota/homedir server. The location may be anywhere (e.g. use
/opt/lamdaemon). Please make the lamdaemon.pl script executable.</para>
</section>
<section id="a_lamdaemonConf">
<title>LDAP Account Manager configuration</title>
<itemizedlist>
<listitem>
<para>Set the remote or local host in the configuration (e.g.
127.0.0.1)</para>
</listitem>
<listitem>
<para>Path to lamdaemon.pl, e.g.
/srv/www/htdocs/lam/lib/lamdaemon.pl If you installed a Debian or
RPM package then the script will be located at
/usr/share/ldap-account-manager/lib/lamdaemon.pl.</para>
</listitem>
<listitem>
<para>Your LAM admin user must be a valid Unix account. It needs to
have the object class "posixAccount" and an attribute "uid". This
account must be accepted by the SSH daemon of your home directory
server. Do not create a second local account but change your system
to accept LDAP users. You can use LAM to add the Unix account part
to your admin user or create a new account. Please do not forget to
setup LDAP write access (<ulink
url="http://www.openldap.org/doc/admin24/access-control.html">ACLs</ulink>)
if you create a new account.</para>
</listitem>
</itemizedlist>
<para></para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/lamdaemon.png" />
</imageobject>
</mediaobject>
</screenshot>
<para>Note that the builtin admin/manager entries do not work for
lamdaemon. You need to login with a Unix account.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/lamdaemon1.png" />
</imageobject>
</mediaobject>
</screenshot>
<para><emphasis role="bold">OpenLDAP ACL location:</emphasis></para>
<para>The access rights for OpenLDAP are configured in
/etc/ldap/slapd.conf or
/etc/ldap/slapd.d/cn=config/olcDatabase={1}bdb.ldif.</para>
</section>
<section>
<title>Setup sudo</title>
<para>The perl script has to run as root. Therefore we need a wrapper,
sudo. Edit /etc/sudoers on host where homedirs or quotas should be used
and add the following line:</para>
<para>$admin All= NOPASSWD: $path_to_lamdaemon *</para>
<para><emphasis condition="">$admin</emphasis> is the admin user from
LAM (must be a valid Unix account) and
<emphasis>$path_to_lamdaemon</emphasis> is the path to
lamdaemon.pl.</para>
<para><emphasis role="bold">Example:</emphasis></para>
<para>myAdmin ALL= NOPASSWD: /srv/www/htdocs/lam/lib/lamdaemon.pl
*</para>
<para>You might need to run the sudo command once manually to init sudo.
The command "sudo -l" will show all possible sudo commands of the
current user.</para>
<para><emphasis role="bold">Attention:</emphasis> Please do not use the
options "Defaults requiretty" and "Defaults env_reset" in /etc/sudoers.
Otherwise you might get errors like "you must have a tty to run sudo" or
"no tty present and no askpass program specified".</para>
</section>
<section>
<title>Setup Perl</title>
<para>We need an extra Perl module - Quota. To install it, run:</para>
<simplelist>
<member>perl -MCPAN -e shell</member>
<member>install Quota</member>
</simplelist>
<para>If your Perl executable is not located in /usr/bin/perl you will
have to edit the path in the first line of lamdaemon.pl. If you have
problems compiling the Perl modules try installing a newer release of
your GCC compiler and the "make" application.</para>
<para>Several Linux distributions already include a quota package for
Perl.</para>
</section>
<section>
<title>Set up SSH</title>
<para>Your SSH daemon must offer the password authentication method. To
activate it just use this configuration option in
/etc/ssh/sshd_config:</para>
<para>PasswordAuthentication yes</para>
</section>
<section>
<title>Troubleshooting</title>
<para>If you have problems managing quotas and home directories then
these points might help:</para>
<itemizedlist>
<listitem>
<para>There is a test page for lamdaemon: Login to LAM and open
Tools -&gt; Tests -&gt; Lamdaemon test</para>
</listitem>
<listitem>
<para>Check /var/log/auth.log or its equivalent on your system. This
file contains messages about all logins. If the ssh login failed
then you will find a description about the reason here.</para>
</listitem>
<listitem>
<para>Set sshd in debug mode. In /etc/ssh/sshd_conf add these
lines:</para>
<simplelist>
<member>SyslogFacility AUTH</member>
<member>LogLevel DEBUG3</member>
</simplelist>
<para>Now check /var/log/syslog for messages from sshd.</para>
</listitem>
</itemizedlist>
<para>Error message <emphasis role="bold">"Your LAM admin user (...)
must be a valid Unix account to work with lamdaemon!"</emphasis>: This
happens if you use the default LDAP admin/manager user to login to LAM.
Please see <link linkend="a_lamdaemonConf">here</link> and setup a Unix
account.</para>
</section>
</appendix>

View File

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<appendix>
<title>Typical OpenLDAP settings</title>
<para>Some basic hints to configure the OpenLDAP server:</para>
<para><emphasis id="size_limit_exceeded" role="bold">Size
limit:</emphasis></para>
<para>You will get a message like "LDAP sizelimit exceeded, not all
entries are shown." when you hit the LDAP search limit.</para>
<para>OpenLDAP allows by default 500 return values per search, if you have
more users/groups/hosts please change this:</para>
<para>slapd.conf:</para>
<para>e.g. "sizelimit 10000" or "sizelimit -1" for unlimited return
values</para>
<para>slapd.d:</para>
<para>e.g. "olcSizeLimit: 10000" or "olcSizeLimit: -1" for unlimited
return values in /etc/ldap/slapd.d/cn=config.ldif</para>
<literallayout>
</literallayout>
<para><emphasis id="a_openldap_unique" role="bold">Unique
attributes:</emphasis></para>
<para>There are cases where you do not want that same attribute values
exist multiple times in your database. A good example are UID/GID
numbers.</para>
<para>OpenLDAP provides the <ulink
url="http://www.openldap.org/doc/admin24/overlays.html">attribute
uniqueness overlay</ulink> for this task.</para>
<para>Example to force unique UID numbers:</para>
<para>In
<emphasis>/etc/ldap/slapd.d/cn=config/cn=module{0}.ldif</emphasis> add
"olcModuleLoad: {3}unique" (replace "3" with the highest existing number
plus one).</para>
<para>Now in /etc/ldap/slapd.d/cn=config/olcDatabase={1}bdb.ldif add e.g.
"olcUniqueURI: ldap:///?uidNumber?sub"</para>
<literallayout>
</literallayout>
<para id="indices"><emphasis role="bold">Indices:</emphasis></para>
<para>Indices will improve the performance when searching for entries in
the LDAP directory. The following indices are recommended:</para>
<simplelist>
<member>index objectClass eq</member>
<member>index default sub</member>
<member>index uidNumber eq</member>
<member>index gidNumber eq</member>
<member>index memberUid eq</member>
<member>index cn,sn,uid,displayName pres,sub,eq</member>
<member># Samba 3.x</member>
<member>index sambaSID eq</member>
<member>index sambaPrimaryGroupSID eq</member>
<member>index sambaDomainName eq</member>
</simplelist>
</appendix>

View File

@ -0,0 +1,755 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<appendix id="a_schema">
<title>LDAP schema files</title>
<para>Here is a list of needed LDAP schema files for the different LAM
modules. For OpenLDAP we also provide a source where you can get the
files.</para>
<table frame="none" lang="" role="" tabstyle="nogrid">
<title>LDAP schema files</title>
<tgroup cols="6">
<thead>
<row>
<entry/>
<entry>Account type</entry>
<entry>Object class(es)</entry>
<entry>Schema name</entry>
<entry>Source</entry>
<entry>Notes</entry>
</row>
</thead>
<tbody>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_unix.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Unix accounts</entry>
<entry>posixAccount, shadowAccount, hostObject, posixGroup</entry>
<entry>nis.schema, rfc2307bis.schema, ldapns.schema
(hostObject)</entry>
<entry>Part of OpenLDAP installation, part of libpam-ldap
(ldapns.schema)</entry>
<entry>The rfc2307bis.schema is only supported by LAM Pro. Use the
nis.schema if you do not want to upgrade to LAM Pro.</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_inetOrgPerson.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Address book entries</entry>
<entry>inetOrgPerson</entry>
<entry>inetorgperson.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_samba.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Samba 3 accounts</entry>
<entry>sambaSamAccount, sambaGroupMapping, sambaDomain</entry>
<entry>samba.schema</entry>
<entry>Part of Samba tarball (examples/LDAP/samba.schema)</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_samba.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Windows AD (Samba 4)</entry>
<entry>user, group, computer</entry>
<entry/>
<entry>Samba 4 built-in</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_samba.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>AD LDS</entry>
<entry>user, group</entry>
<entry/>
<entry>AD LDS built-in</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_kolab.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Kolab 2/3 users</entry>
<entry>kolabUser</entry>
<entry>kolab2/3.schema, rfc2739.schema</entry>
<entry>Part of Kolab 2/3 installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_asterisk.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Asterisk (extension)</entry>
<entry>AsteriskSIPUser, AsteriskExtension</entry>
<entry>asterisk.schema</entry>
<entry>Part of Asterisk installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_pykota.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>PyKota users, groups, printers and billing codes</entry>
<entry>pykotaObject, pykotaAccount, pykotaAccountBalance,
pykotaGroup, pykotaPrinter, pykotaBilling</entry>
<entry>pykota.schema</entry>
<entry>Part of PyKota installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_mailAlias.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Mail routing</entry>
<entry>inetLocalMailRecipient</entry>
<entry>misc.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_hostObject.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Hosts</entry>
<entry>hostObject, device</entry>
<entry>ldapns.schema</entry>
<entry>Part of libpam-ldap installation</entry>
<entry>The device object class is only available in LAM Pro.</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_authorizedServices.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Authorized services</entry>
<entry>authorizedServiceObject</entry>
<entry>ldapns.schema</entry>
<entry>Part of libpam-ldap installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_mailAlias.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Mail aliases</entry>
<entry>nisMailAlias</entry>
<entry>misc.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_mailAlias.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Qmail user</entry>
<entry>qmailUser</entry>
<entry>qmail.schema</entry>
<entry>Part of <ulink
url="http://www.nrg4u.com/">qmail_ldap</ulink></entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_mac.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>MAC addresses</entry>
<entry>ieee802device</entry>
<entry>nis.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_ipHost.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>IP addresses</entry>
<entry>ipHost</entry>
<entry>nis.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_puppet.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Puppet</entry>
<entry>puppetClient</entry>
<entry>puppet.schema</entry>
<entry><ulink
url="https://github.com/puppetlabs/puppet/blob/master/ext/ldap/puppet.schema">Puppet
on GitHub</ulink></entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_eduPerson.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>EDU person</entry>
<entry>eduPerson</entry>
<entry>eduperson.schema</entry>
<entry><ulink
url="http://middleware.internet2.edu/eduperson/">http://middleware.internet2.edu</ulink></entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_user.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Simple Accounts</entry>
<entry>account</entry>
<entry>cosine.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_ssh.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>SSH public keys</entry>
<entry>ldapPublicKey</entry>
<entry>openssh-lpk.schema</entry>
<entry>Included in patch from <ulink
url="http://code.google.com/p/openssh-lpk/">http://code.google.com/p/openssh-lpk/</ulink></entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_quota.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Filesystem quotas</entry>
<entry>systemQuotas</entry>
<entry>quota.schema</entry>
<entry><ulink
url="http://sourceforge.net/projects/linuxquota/">Linux
DiskQuota</ulink></entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_group.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Group of (unique) names</entry>
<entry>groupOfNames, groupOfUniqueNames, groupOfMembers</entry>
<entry>core.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_group.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Groups</entry>
<entry>organizationalRole</entry>
<entry>core.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_dhcp.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>DHCP</entry>
<entry>dhcpOptions, dhcpSubnet, dhcpServer</entry>
<entry>dhcp.schema</entry>
<entry>docs/schema/dhcp.schema</entry>
<entry>The LDAP suffix should be set to your dhcpServer
entry.</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_bind.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Bind DLZ DNS</entry>
<entry>dlzZone, dlzHost, dlzSOARecord, dlzNSRecord, dlzARecord,
dlzMXRecord, dlzCNameRecord, dlzPTRRecord</entry>
<entry>dlz.schema</entry>
<entry>part of <ulink url="http://bind-dlz.sourceforge.net/">Bind
DLZ patch</ulink></entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_alias.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Aliases</entry>
<entry>alias, uidObject</entry>
<entry>core.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_netgroup.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>NIS netgroups</entry>
<entry>nisNetgroup</entry>
<entry>nis.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_nisObject.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>NIS objects</entry>
<entry>nisObject</entry>
<entry>nis.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_nisObject.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Automount objects</entry>
<entry>automount</entry>
<entry>autofs.schema, rfc2307bis.schema</entry>
<entry>Autofs LDAP</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_oracle.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Oracle databases</entry>
<entry>orclNetService</entry>
<entry>oidbase.schema, oidnet.schema, oidrdbms.schema,
alias.schema</entry>
<entry>Preinstalled on Oracle directory server, OpenLDAP schemas can
be downloaded e.g. <ulink
url="http://www.idevelopment.info/data/Oracle/DBA_tips/LDAP/LDAP_8.shtml">here</ulink></entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_ppolicy.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Password policies</entry>
<entry>pwdPolicy, device</entry>
<entry>ppolicy.schema, core.schema</entry>
<entry>Part of OpenLDAP installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_freeRadius.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>FreeRadius users</entry>
<entry>radiusprofile</entry>
<entry>openldap.schema</entry>
<entry>Part of FreeRadius installation</entry>
<entry/>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_heimdal.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Heimdal Kerberos</entry>
<entry>krb5KDCEntry</entry>
<entry>hdb.schema</entry>
<entry>Part of Heimdal Kerberos installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_mitKerberos.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>MIT Kerberos</entry>
<entry>krbPrincipal, krbPrincipalAux, krbTicketPolicyAux</entry>
<entry>kerberos.schema</entry>
<entry>Part of MIT Kerberos installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_sudo.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Sudo roles</entry>
<entry>sudoRole</entry>
<entry>sudo.schema</entry>
<entry>Part of sudo-ldap installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_kopano.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Kopano</entry>
<entry>kopano-user, kopano-contact, kopano-group,
kopano-dynamicgroup, kopano-addresslist, kopano-server</entry>
<entry>kopano.ldif</entry>
<entry>Part of Kopano installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_zarafa.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>Zarafa</entry>
<entry>zarafa-user, zarafa-group, zarafa-server</entry>
<entry>zarafa.schema</entry>
<entry>Part of Zarafa installation</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_mailAlias.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>IMAP mailboxes</entry>
<entry>-</entry>
<entry>-</entry>
<entry>-</entry>
<entry>Does not require any schema.</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_nsview.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>LDAP views</entry>
<entry>nsview, organizationalunit</entry>
<entry>built-in</entry>
<entry>Part of LDAP server installation (e.g. 389 server)</entry>
<entry>LAM Pro only</entry>
</row>
<row>
<entry><inlinemediaobject>
<imageobject>
<imagedata fileref="images/schema_autoDelete.png"/>
</imageobject>
</inlinemediaobject></entry>
<entry>All</entry>
<entry>dynamicObject</entry>
<entry>built-in with DDS module</entry>
<entry>Part of LDAP server installation</entry>
<entry>LAM Pro only, requires DDS extension on LDAP server
side</entry>
</row>
</tbody>
</tgroup>
</table>
</appendix>

View File

@ -0,0 +1,495 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<appendix id="a_security">
<title>Security</title>
<section id="a_configPasswords">
<title>LAM configuration passwords</title>
<para>LAM supports a two level authorization system for its configuration.
Therefore, there are two types of configuration passwords:</para>
<itemizedlist>
<listitem>
<para><emphasis role="bold">master configuration password:</emphasis>
needed to change general settings, create/delete server profiles and
self service profiles</para>
</listitem>
<listitem>
<para><emphasis role="bold">server profile password:</emphasis> used
to change the settings of a server profile (e.g. LDAP server and
account types to manage)</para>
</listitem>
</itemizedlist>
<para>The master configuration password can be used to reset a server
profile password. Each server profile has its own profile password.</para>
<para>Both password types are stored as hash values in the configuration
files for enhanced security.</para>
</section>
<section>
<title>Use of SSL</title>
<para>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.</para>
</section>
<section>
<title>LDAP with SSL and TLS</title>
<para>SSL will be used if you use ldaps://servername in your configuration
profile. TLS can be activated with the "Activate TLS" option.</para>
<para>If your LDAP server uses a SSL certificate of a well-know
certificate authority (CA) then you probably need no changes. If you use a
custom CA in your company then there are two ways to setup the CA
certificates.</para>
<section>
<title>Setup SSL certificates in LAM general settings</title>
<para>This is much easier than system level setup and will only affect
LAM. There might be some cases where other web applications on the same
web server are influenced.</para>
<para>See <link linkend="conf_sslCert">here</link> for details.</para>
</section>
<section id="ssl_certSystem">
<title>Setup SSL certificates on system level</title>
<para>This will make the CA certificates available also to other
applications on your system (e.g. other web applications).</para>
<para>You will need to setup ldap.conf to trust your server certificate.
Some installations use /etc/ldap.conf and some use /etc/ldap/ldap.conf.
It is a good idea to symlink /etc/ldap.conf to /etc/ldap/ldap.conf.
Specify the server CA certificate with the following option:</para>
<programlisting>TLS_CACERT /etc/ldap/ca/myCA/cacert.pem</programlisting>
<para>This needs to be the public part of the signing certificate
authority. See "man ldap.conf" for additional options.</para>
<literallayout>
</literallayout>
<para>You may also need to specify the CA certificate in your Apache
configuration by using the option "LDAPTrustedGlobalCert":</para>
<programlisting>LDAPTrustedGlobalCert CA_BASE64 /etc/ldap/ca/myCA/cacert.pem</programlisting>
</section>
</section>
<section id="selinux">
<title>Selinux</title>
<para>In case your server has selinux installed you might need to extend
the selinux ruleset. E.g. your webserver might not be allowed to write in
/var/lib.</para>
<para><emphasis role="bold">Read selinux status</emphasis></para>
<para>The following command will tell you if selinux is running in
Enforcing or Permissive mode.</para>
<para>Enforcing: access that does not match rules is denied</para>
<para>Permissive: access that does not match rules is granted but logged
to audit.log</para>
<programlisting>getenforce</programlisting>
<para><emphasis role="bold">Set selinux to Permissive
mode</emphasis></para>
<para>This will just log any access violations. You will need this to get
a list of missing rights.</para>
<programlisting>setenforce Permissive</programlisting>
<para>Now do any actions inside LAM that you need for your daily work
(e.g. edit server profiles, manage LDAP entries, ...).</para>
<para><emphasis role="bold">Extend selinux rules</emphasis></para>
<para>Selinux now has logged any violations to audit.log. You can use this
now to extend your ruleset and enable enforcing later.</para>
<para>The following example is for httpd. You can also adapt it to e.g.
nginx.</para>
<programlisting># build additional selinux rules from audit.log
grep httpd /var/log/audit/audit.log | audit2allow -m httpdlocal -o httpdlocal.te
</programlisting>
<para>The httpdlocal.te might look like this:</para>
<programlisting>module httpdlocal 1.0;
require {
type httpd_t;
type var_lib_t;
class file { setattr write };
}
#============= httpd_t ==============
#!!!! WARNING 'httpd_t' is not allowed to write or create to var_lib_t. Change the label to httpd_var_lib_t.
#!!!! $ semanage fcontext -a -t httpd_var_lib_t /var/lib/ldap-account-manager/config/lam.conf
#!!!! $ restorecon -R -v /var/lib/ldap-account-manager/config/lam.conf
allow httpd_t var_lib_t:file { setattr write };
</programlisting>
<para>Now we can compile and install this rule:</para>
<programlisting># build module
checkmodule -M -m -o httpdlocal.mod httpdlocal.te
# package module
semodule_package -o httpdlocal.pp -m httpdlocal.mod
# install module
semodule -i httpdlocal.pp</programlisting>
<para>Now you can switch back to Enforcing mode:</para>
<programlisting>setenforce Enforcing</programlisting>
<para>LAM should now work as expected with active selinux.</para>
</section>
<section>
<title>Chrooted servers</title>
<para>If your server is chrooted and you have no access to /dev/random or
/dev/urandom this can be a security risk. LAM stores your LDAP password
encrypted in the session. LAM uses rand() to generate the key if
/dev/random and /dev/urandom are not accessible. Therefore the key can be
easily guessed. An attaker needs read access to the session file (e.g. by
another Apache instance) to exploit this.</para>
</section>
<section>
<title>Protection of your LDAP password and directory contents</title>
<para>You have to install the OpenSSL extension for PHP to enable
encryption.</para>
<para>Your LDAP password is stored encrypted in the session file. The key
and IV to decrypt it are stored in two cookies. We use OpenSSL/AES to
encrypt the password. All data that was read from LDAP and needs to be
stored in the session file is also encrypted.</para>
</section>
<section id="apache">
<title>Apache configuration</title>
<section>
<title>Sensitive directories</title>
<para>LAM includes several .htaccess files to protect your configuration
files and temporary data. Apache is often configured to not use
.htaccess files by default. Therefore, please check your Apache
configuration and change the override setting to:</para>
<para>AllowOverride All</para>
<para>If you are experienced in configuring Apache then you can also
copy the security settings from the .htaccess files to your main Apache
configuration.</para>
<para>If possible, you should not rely on .htaccess files but also move
the config and sess directory to a place outside of your WWW root. You
can put a symbolic link in the LAM directory so that LAM finds the
configuration/session files.</para>
<para>Security sensitive directories:</para>
<para><emphasis role="bold">config: </emphasis>Contains your LAM
configuration and account profiles</para>
<itemizedlist>
<listitem>
<para>LAM configuration passwords (SSHA hashed)</para>
</listitem>
<listitem>
<para>default values for new accounts</para>
</listitem>
<listitem>
<para>directory must be accessibly by Apache but needs not to be
accessible by the browser</para>
</listitem>
</itemizedlist>
<para><emphasis role="bold">sess:</emphasis> PHP session files</para>
<itemizedlist>
<listitem>
<para>LAM admin password in clear text or OpenSSL encrypted</para>
</listitem>
<listitem>
<para>cached LDAP entries in clear text or OpenSSL encrypted</para>
</listitem>
<listitem>
<para>directory must be accessibly by Apache but needs not to be
accessible by the browser</para>
</listitem>
</itemizedlist>
<para><emphasis role="bold">tmp:</emphasis> temporary files</para>
<itemizedlist>
<listitem>
<para>PDF documents which may also include passwords</para>
</listitem>
<listitem>
<para>images of your users</para>
</listitem>
<listitem>
<para>directory contents must be accessible by browser but directory
itself needs not to be browsable</para>
</listitem>
</itemizedlist>
</section>
<section id="apache_http_auth">
<title>Use LDAP HTTP authentication for LAM</title>
<para>With HTTP authentication Apache will be responsible to ask for the
user name and password. Both will then be forwarded to LAM which will
use it to access LDAP. This approach gives you more flexibility to
restrict the number of users that may access LAM (e.g. by requiring
group memberships).</para>
<para>First of all you need to load additional Apache modules. These are
"<ulink
url="http://httpd.apache.org/docs/2.2/mod/mod_ldap.html">mod_ldap</ulink>"
and "<ulink type=""
url="http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html">mod_authnz_ldap</ulink>".</para>
<para>Next you can add a file called "lam_auth_ldap" to
/etc/apache/conf.d. This simple example restricts access to all URLs
beginning with "lam" to LDAP authentication.</para>
<programlisting>&lt;location /lam&gt;
AuthType Basic
AuthBasicProvider ldap
AuthName "LAM"
AuthLDAPURL "ldap://localhost:389/ou=People,dc=company,dc=com?uid"
Require valid-user
&lt;/location&gt;</programlisting>
<para>You can also require that your users belong to a certain Unix
group in LDAP:</para>
<programlisting>&lt;location /lam&gt;
AuthType Basic
AuthBasicProvider ldap
AuthName "LAM"
AuthLDAPURL "ldap://localhost:389/ou=People,dc=company,dc=com?uid"
Require valid-user
# force membership of lam-admins
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
Require ldap-group cn=lam-admins,ou=group,dc=company,dc=com
&lt;/location&gt;</programlisting>
<para>Please see the <ulink
url="http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html">Apache
documentation</ulink> for more details.</para>
</section>
<section>
<title>Self Service behind proxy in DMZ (LAM Pro)</title>
<para>In some cases you might want to make the self service accessible
via the internet. Here is an Apache config to forward only the required
URLs via a proxy server (lamproxy.company.com) in your DMZ to the
internal LAM server (lam.company.com).</para>
<para><inlinemediaobject>
<imageobject>
<imagedata fileref="images/selfServiceProxy.png"/>
</imageobject>
</inlinemediaobject></para>
<para>This configuration allows your users to open
https://lamproxy.company.com which will then proxy the self service on
the internal server.</para>
<programlisting>&lt;VirtualHost lamproxy.company.com:443&gt;
ServerName lamproxy.company.com
ErrorLog /var/log/apache2/lam-proxy-error.log
CustomLog /var/log/apache2/lam-proxy-access.log combined
DocumentRoot /var/www/lam-proxy
&lt;Proxy *&gt;
Require all granted
&lt;/Proxy&gt;
SSLProxyEngine on
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem
ProxyPreserveHost On
ProxyRequests off
loglevel info
# redirect front page to self service login page
RewriteEngine on
RedirectMatch ^/$ /templates/selfService/selfServiceLogin.php?scope=user\&amp;name=lam
# proxy required URLs
ProxyPass /tmp https://lam.company.com/lam/tmp
ProxyPass /sess https://lam.company.com/lam/sess
ProxyPass /templates/lib https://lam.company.com/lam/templates/lib
ProxyPass /templates/selfService https://lam.company.com/lam/templates/selfService
ProxyPass /style https://lam.company.com/lam/style
ProxyPass /graphics https://lam.company.com/lam/graphics
ProxyPassReverse /tmp https://lam.company.com/lam/tmp
ProxyPassReverse /sess https://lam.company.com/lam/sess
ProxyPassReverse /templates/lib https://lam.company.com/lam/templates/lib
ProxyPassReverse /templates/selfService https://lam.company.com/lam/templates/selfService
ProxyPassReverse /style https://lam.company.com/lam/style
ProxyPassReverse /graphics https://lam.company.com/lam/graphics
&lt;/VirtualHost&gt;</programlisting>
</section>
</section>
<section id="nginx">
<title>Nginx configuration</title>
<para>There is no fully automatic setup of Nginx but LAM provides a
ready-to-use configuration file.</para>
<section>
<title>RPM based installations</title>
<para>The RPM package has dependencies on Apache. Therefore, Nginx is
not officially supported with this installation mode. Use tar.bz2 if you
are unsure.</para>
<para>However, the package also includes an Nginx configuration file.
Please include it in your server directive like this:</para>
<programlisting>server {
...
include /etc/ldap-account-manager/lam.nginx.conf;
...
}</programlisting>
<para>The included config file uses PHP 5. In case you run with PHP 7
please update the parameter "fastcgi_pass" to
"/var/run/php7-fpm.sock".</para>
</section>
<section>
<title>DEB based installations</title>
<para>The LAM installation package ships with an Nginx configuration
file. Please include it in your server directive like this:</para>
<programlisting>server {
...
include /etc/ldap-account-manager/nginx.conf;
...
}</programlisting>
<para>The included config file uses PHP 7.0. In case you run with PHP
7.1 or PHP 5 please update the parameter "fastcgi_pass" to
"/var/run/php/php7.1-fpm.sock".</para>
</section>
<section>
<title>tar.bz2 based installations</title>
<para>Please add the following configuration snippet to your server
directive.</para>
<para>You will need to change the alias location
("/usr/share/ldap-account-manager") and fastcgi_pass (e.g.
"/var/run/php5-fpm.sock" or "/var/run/php7-fpm.sock") to match your
installation.</para>
<programlisting>location /lam {
index index.html;
alias /usr/share/ldap-account-manager;
autoindex off;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
location ~ /lam/(tmp/internal|sess|config|lib|help|locale) {
deny all;
return 403;
}
}
</programlisting>
</section>
</section>
<section id="a_webauthn">
<title>Webauthn/FIDO2</title>
<para>LAM allows to secure logins via <ulink
url="https://en.wikipedia.org/wiki/WebAuthn">Webauthn/FIDO2</ulink>. This
means your users login with their LDAP password and an additional hardware
token (e.g. Yubico Security Key, Windows Hello and many more).</para>
<para>Webauthn/FIDO2 is a very strong 2-factor-authentication method as it
also checks the website domain. This prevents attacks via web
proxies.</para>
<para>To use this feature you need to activate the 2-factor authentication
in LAM.</para>
<para><emphasis role="bold">LAM admin interface</emphasis></para>
<para>Please activate Webauthn/FIDO2 in your <link
linkend="conf_serverprofile_2fa">LAM server profile</link>. Then users
will be asked to authenticate via Webauthn/FIDO2 on each login.</para>
<para>If no device is registered for a user then LAM will ask for this
during login. Afterwards, users can manage their devices with the <link
linkend="tool_webauthn">Webauthn tool</link>.</para>
<para><emphasis role="bold">LAM Self Service</emphasis></para>
<para>Please activate Webauthn/FIDO2 in your <link
linkend="selfservice_2fa">LAM self service profile</link>. Then users will
be asked to authenticate via Webauthn/FIDO2 on each login.</para>
<para>If no device is registered for a user then LAM will ask for this
during login. Afterwards, users can manage their devices with the <link
linkend="selfservice_fields">Webauthn field</link>.</para>
<para><emphasis role="bold">Global device management</emphasis></para>
<para>This is for cases where one of your users has no more access to his
device and cannot login anymore. In this case you can delete his device(s)
in the <link linkend="confmain_webauthn">LAM main
configuration</link>.</para>
<para>Note that devices can only be deleted. Registration of devices can
only be done by the user during login or on the management pages listed
above.</para>
</section>
</appendix>

View File

@ -0,0 +1,241 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<appendix id="a_passwordSelfResetSchema">
<title>Setup password self reset schema (LAM Pro)</title>
<section id="passwordSelfResetSchema_new">
<title>New installation</title>
<para>Please see <link
linkend="passwordSelfResetSchema_update">here</link> if you want to
upgrade an existing schema version.</para>
<para><emphasis role="bold">Schema installation</emphasis></para>
<para>Please install the schema that comes with LAM Pro. The schema files
are located in:</para>
<itemizedlist>
<listitem>
<para>tar.bz2: docs/schema</para>
</listitem>
<listitem>
<para>DEB: /usr/share/doc/ldap-account-manager/docs/schema</para>
</listitem>
<listitem>
<para>RPM: /usr/share/doc/ldap-account-manager-{VERSION}/schema</para>
</listitem>
</itemizedlist>
<literallayout>
</literallayout>
<para><emphasis role="bold">OpenLDAP with slapd.conf
configuration</emphasis></para>
<para>For a configuration with slapd.conf-file copy
passwordSelfReset.schema to /etc/ldap/schema/ and add this line to
slapd.conf:</para>
<literallayout> include /etc/ldap/schema/passwordSelfReset.schema
</literallayout>
<para><emphasis role="bold">OpenLDAP with slapd.d
configuration</emphasis></para>
<para>For slapd.d configurations you need to upload the schema file
passwordSelfReset.ldif via ldapadd command:</para>
<para>ldapadd -x -W -H ldap://<emphasis>localhost</emphasis> -D
"<emphasis>cn=admin,o=test,c=de</emphasis>" -f
passwordSelfReset.ldif</para>
<para>Please replace "<emphasis>localhost</emphasis>" with your LDAP
server and "<emphasis>cn=admin,o=test,c=de</emphasis>" with your LDAP
admin user (usually starts with cn=admin or cn=manager).</para>
<literallayout>
</literallayout>
<para><emphasis role="bold">389 server</emphasis></para>
<para>Please replace INSTANCE with installation ID, e.g.
slapd-389ds.</para>
<literallayout> cp passwordSelfReset-389server.ldif /etc/dirsrv/INSTANCE/schema/70pwdreset.ldif
systemctl restart dirsrv.target
</literallayout>
<para><emphasis role="bold">Samba 4</emphasis></para>
<para>The schema files are passwordSelfReset-Samba4-attributes.ldif and
passwordSelfReset-Samba4-objectClass.ldif.</para>
<para>First, you need to edit them and replace "DOMAIN_TOP_DN" with your
LDAP suffix (e.g. dc=samba4,dc=test).</para>
<para>Then install the attribute and afterwards the object class schema
file:</para>
<literallayout> ldbmodify -H /var/lib/samba/private/sam.ldb passwordSelfReset-Samba4-attributes.ldif --option="dsdb:schema update allowed"=true
ldbmodify -H /var/lib/samba/private/sam.ldb passwordSelfReset-Samba4-objectClass.ldif --option="dsdb:schema update allowed"=true
</literallayout>
<para><emphasis role="bold">Windows</emphasis></para>
<para>The schema file is passwordSelfReset-Windows.ldif.</para>
<para>First, you need to edit it and replace "DOMAIN_TOP_DN" with your
LDAP suffix (e.g. dc=windows,dc=test).</para>
<para>Then install the schema file as administrator on a command
line:</para>
<literallayout> ldifde -v -i -f passwordSelfReset-Windows.ldif
</literallayout>
<para>This allows to set a security question + answer for each
account.</para>
</section>
<section id="passwordSelfResetSchema_update">
<title>Schema update</title>
<para>The schema files are located in:</para>
<itemizedlist>
<listitem>
<para>tar.bz2: docs/schema/updates</para>
</listitem>
<listitem>
<para>DEB:
/usr/share/doc/ldap-account-manager/docs/schema/updates</para>
</listitem>
<listitem>
<para>RPM:
/usr/share/doc/ldap-account-manager-{VERSION}/schema/updates</para>
</listitem>
</itemizedlist>
<literallayout>
</literallayout>
<para>Schema versions:</para>
<orderedlist>
<listitem>
<para>Initial version (LAM Pro 3.6 - 4.4)</para>
</listitem>
<listitem>
<para>Added passwordSelfResetBackupMail (LAM Pro 4.5 - 5.5)</para>
</listitem>
<listitem>
<para>Multiple security questions (LAM Pro 5.6)</para>
</listitem>
</orderedlist>
<literallayout>
</literallayout>
<para><emphasis role="bold">OpenLDAP with slapd.conf
configuration</emphasis></para>
<para>Install the schema file like a <link
linkend="passwordSelfResetSchema_new">new install</link> (skip
modification of slapd.conf file).</para>
<literallayout>
</literallayout>
<para><emphasis role="bold">OpenLDAP with slapd.d
configuration</emphasis></para>
<para>The upgrade requires to stop the LDAP server.</para>
<para>Steps:</para>
<orderedlist>
<listitem>
<para>Stop OpenLDAP with e.g. "/etc/init.d/slapd stop"</para>
</listitem>
<listitem>
<para>Delete the old schema file. It is located in e.g.
"/etc/ldap/slapd.d/cn=config/cn=schema" and called
"cn={XX}passwordselfreset.ldif" (XX can be any number)</para>
</listitem>
<listitem>
<para>Start OpenLDAP with e.g. "/etc/init.d/slapd start"</para>
</listitem>
<listitem>
<para>Install the schema file like a <link
linkend="passwordSelfResetSchema_new">new install</link></para>
</listitem>
</orderedlist>
<literallayout>
</literallayout>
<para><emphasis role="bold">Samba 4</emphasis></para>
<para>Install the these update files by following the install instructions
in the file. In case you you upgrade with a version difference of 2 or
more you will need to apply all intermediate update scripts.</para>
<itemizedlist>
<listitem>
<para>samba4_version_1_to_2_attributes.ldif (upgrade from version 1
only)</para>
</listitem>
<listitem>
<para>samba4_version_1_to_2_objectClass.ldif (upgrade from version 1
only)</para>
</listitem>
<listitem>
<para>samba4_version_2_to_3_attributes.ldif (upgrade from version
2)</para>
</listitem>
<listitem>
<para>samba4_version_2_to_3_objectClass.ldif (upgrade from version
2)</para>
</listitem>
</itemizedlist>
<para>Please note that attributes file needs to be installed first.</para>
<literallayout>
</literallayout>
<para><emphasis role="bold">Windows</emphasis></para>
<para>Install the file(s) by following the install instructions in the
file. In case you you upgrade with a version difference of 2 or more you
will need to apply all intermediate update scripts.</para>
<itemizedlist>
<listitem>
<para>windows_version_1_to_2.ldif (upgrade from version 1 only)</para>
</listitem>
<listitem>
<para>windows_version_2_to_3.ldif (upgrade from version 2)</para>
</listitem>
</itemizedlist>
</section>
</appendix>

View File

@ -0,0 +1,263 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<appendix>
<title>Troubleshooting</title>
<section>
<title>Reset configuration password</title>
<para>The password for the server profiles can be reset using the master
configuration password. Open LAM configuration -&gt; Edit server
profiles -&gt;Manage server profiles for this.</para>
<para>In case you lost your master configuration password you need to
manually edit the main configuration file (config.cfg) on the file
system.</para>
<orderedlist>
<listitem>
<para>Locate config.cfg: On DEB/RPM installations it is in
/usr/share/ldap-account-manager/config and for tar.bz2 in config
folder.</para>
</listitem>
<listitem>
<para>Locate the "password" entry in the file</para>
</listitem>
<listitem>
<para>Replace the password hash after "password: " with your new
clear-text password (e.g. "secret")</para>
</listitem>
</orderedlist>
<para>After the change the line should look like this:</para>
<literallayout>password: secret</literallayout>
<para>You can now login using your new password. Set the password once
again via GUI in main configuration settings. This will then put again a
hash value in the config.cfg file.</para>
</section>
<section>
<title>Functional issues</title>
<para><emphasis role="bold">Size limit</emphasis></para>
<para>You will get a message like "LDAP sizelimit exceeded, not all
entries are shown." when you hit the LDAP search limit.</para>
<itemizedlist>
<listitem>
<para>OpenLDAP: See the <link linkend="size_limit_exceeded">OpenLDAP
settings</link> to fix this.</para>
</listitem>
<listitem>
<para>389 server: set nsslapd-sizelimit in cn=config (may also be
set per user)</para>
</listitem>
<listitem>
<para>other LDAP servers: please see your server
documentation</para>
</listitem>
</itemizedlist>
<literallayout>
</literallayout>
<para><emphasis role="bold">Invalid syntax errors:</emphasis></para>
<para>If you get any strange errors like "Invalid syntax" or "Invalid DN
syntax" please check if your LDAP schema matches LAM's
requirements.</para>
<literallayout>
</literallayout>
<para><emphasis role="bold">Schema test:</emphasis></para>
<para>This can be done by running "Tools" -&gt; "Tests" -&gt; "Schema
test" inside LAM.</para>
<para>If there are any object classes or attributes missing you will get
a notice. See <link linkend="a_schema">LDAP schema files</link> for a
list of used schemas. You may also want to deactivate unused modules in
your LAM server profile (tab "Modules").</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/schemaTest.png" />
</imageobject>
</mediaobject>
</screenshot>
<para><literallayout>
</literallayout><emphasis role="bold">LDAP Logging:</emphasis></para>
<para>If your schema is correct you can turn on LDAP logging to get more
detailed error messages from your LDAP server.</para>
<literallayout>
</literallayout>
<para><emphasis role="bold">OpenLDAP logging:</emphasis></para>
<itemizedlist>
<listitem>
<para>slapd.conf: In /etc/ldap/slapd.conf turn logging on with the
line "loglevel 256".</para>
</listitem>
<listitem>
<para>slapd.d: In /etc/ldap/slapd.d/cn=config.ldif please change the
attribute "olcLogLevel" to "Stats". Please add a line "olcLogLevel:
Stats" if the attribute is missing.</para>
</listitem>
</itemizedlist>
<para>After changing the configuration please restart OpenLDAP. It
usually uses /var/log/syslog for log output.</para>
<literallayout>
</literallayout>
<para><emphasis role="bold">PHP logging</emphasis></para>
<para>Sometimes it can help to enable PHP logging inside LAM. You can do
this in the <link linkend="conf_logging">logging area</link> of LAM's
main configuration. Set the logging option to "all" and check if there
are any messages printed in your browser window. Please note that not
every notice message is an error but it may help to find the
problem.</para>
</section>
<section>
<title>Performance issues</title>
<para>LAM is tested to work with 10000 users with acceptable
performance. If you have a larger directory or slow hardware then here
are some points to increase performance.</para>
<literallayout>
</literallayout>
<para>The first step is to check if performance problems are caused by
the LAM web server or the LDAP server. Please check which machine
suffers from high system load (CPU/memory consumption).</para>
<para>High network latency may also be a problem. For large
installations please make sure that LAM web server and LDAP server are
located in the same building/server room.</para>
<para>If you run LAM on multiple nodes (DNS load balancing/hardware load
balancer) then also check the <link linkend="clustering">clustering
section</link>.</para>
<section>
<title>LDAP server</title>
<para><emphasis role="bold">Use indices</emphasis></para>
<para>Depending on the queries it may help to add some more indices on
the LDAP server. Depending on your LDAP software it may already
suggest indices in its log files. See <link
linkend="indices">here</link> for typical OpenLDAP indices.</para>
<literallayout>
</literallayout>
<para><emphasis role="bold">Reduce query results by splitting LDAP
management into multiple server profiles</emphasis></para>
<para>If you manage a very large directory then it might already be
separated into multiple subtrees (e.g. by country, subsidiary, ...).
Do not use a single LAM server profile to manage your whole directory.
Use different server profiles for each separated LDAP subtree where
possible (e.g. one for German users and one for French ones).</para>
<literallayout>
</literallayout>
<para><emphasis role="bold">Limit query results</emphasis></para>
<para>LAM allows to set an <ulink url="general_settings">LDAP search
limit</ulink> for each server profile. This will limit the number of
entries returned by your LDAP server. Use with caution because it can
cause problems (e.g. with automatic UID generation) when LAM is not
able to read all entries.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/configProfiles4.png" />
</imageobject>
</mediaobject>
</screenshot>
</section>
<section>
<title>LAM web server</title>
<para><emphasis role="bold">Install a PHP
accelerator</emphasis></para>
<para>There are tools like <ulink
url="http://www.php.net/manual/en/book.apc.php">APC</ulink>/<ulink
url="http://php.net/manual/en/book.opcache.php">OpCache</ulink> (free)
or <ulink url="http://www.zend.com/en/products/server/">Zend
Server</ulink> (commercial) that provide caching of PHP pages to
improve performance. They will reduce the time for parsing the PHP
pages and IO load.</para>
<para>This is a simply way to enhance performance since APC/OpCache is
part of most Linux distributions.</para>
<para>If you use APC then make sure that it uses enough memory (e.g.
"apc.shm_size=128M"). You can check the memory usage with the file
apc.php that is shipped with APC.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/apc.png" />
</imageobject>
</mediaobject>
</screenshot>
<literallayout>
</literallayout>
<para>OpCache statistics can be shown with <ulink
url="https://github.com/rlerdorf/opcache-status">opcache-status</ulink>.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/opcache.png" />
</imageobject>
</mediaobject>
</screenshot>
<para><emphasis role="bold">Disable session
encryption</emphasis></para>
<para>LAM encrypts sensitive data in your session files. You can <link
linkend="sessionEncryption">disable</link> it to reduce CPU
load.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/configGeneral1.png" />
</imageobject>
</mediaobject>
</screenshot>
</section>
</section>
</appendix>

View File

@ -0,0 +1,184 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<chapter id="a_accessLevelPasswordReset">
<title>Access levels and password reset page (LAM Pro)</title>
<para>You can define different access levels for each profile to allow or
disallow write access. The password reset page helps your deskside support
staff to reset user passwords.</para>
<section>
<title id="s_accessLevel">Access levels</title>
<para>There are three access levels:</para>
<itemizedlist>
<listitem>
<para><emphasis role="bold">Write access (default)</emphasis></para>
<para>There are no restrictions. LAM admin users can manage account,
create profiles and set passwords.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Change passwords</emphasis></para>
<para>Similar to "Read only" except that the <link
linkend="s_pwdReset">password reset page</link> is available.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Read only</emphasis></para>
<para>No write access to the LDAP database is allowed. It is also
impossible to manage account and PDF profiles.</para>
<para>Accounts may be viewed but no changes can be saved.</para>
</listitem>
</itemizedlist>
<para>The access level can be set on the server configuration
page:</para>
<para><screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/accessLevel.png" />
</imageobject>
</mediaobject>
</screenshot></para>
</section>
<section id="s_pwdReset">
<title>Password reset page</title>
<para>This special page allows your deskside support staff to reset the
Unix and Samba passwords of your users. Account may also be (un)locked
If you set the <link linkend="s_accessLevel">access level</link> to
"Change passwords" then LAM will not allow any changes to the LDAP
database except password changes via this page. The account pages will
be still available in read-only mode.</para>
<para>You can open the password reset page by clicking on the key symbol
on each user account:</para>
<para><screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/passwordReset1.png" />
</imageobject>
</mediaobject>
</screenshot>There are three different options to set a new password.
You can further restrict these options in server profile
settings.</para>
<itemizedlist>
<listitem>
<para><emphasis role="bold">set random password and display it on
screen</emphasis></para>
<para>This will set the user's password to a random value. The
password will be 11 characters long with a random combination of
letters, digits and ".-_".</para>
<para>You may want to use this method to tell users their new
passwords via phone.</para>
</listitem>
<listitem>
<para><emphasis role="bold">set random password and mail it to
user</emphasis></para>
<para>If the user account has set the mail attribute then LAM can
send your user a mail with the new password. You can change the mail
template to fit your needs. Please configure your LAM server profile
to setup the sender address, subject and mail body. See <link linkend="mailSetup">here</link> for setting up your
SMTP server.</para>
<para>Using this method will prevent that your support staff knows
the new password.</para>
</listitem>
<listitem>
<para><emphasis role="bold">set specific password</emphasis></para>
<para>Here you can specify your own password.</para>
</listitem>
</itemizedlist>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/passwordReset2.png" />
</imageobject>
</mediaobject>
</screenshot>
<para>LAM will display contact information about the user like the
user's name, email address and telephone number. This will help your
deskside support to easily contact your users.</para>
<para><emphasis role="bold">Options:</emphasis></para>
<para>Depending on the account there may be additional options
available.</para>
<itemizedlist>
<listitem>
<para><emphasis role="bold">Sync Samba NT/LM password with Unix
password:</emphasis> If a user account has Samba passwords set then
LAM will offer to synchronize the passwords.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Unlock Samba account:</emphasis> Locked
Samba accounts can be unlocked with the password change.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Update Samba password
timestamps:</emphasis> This will set the timestamps when the
password was changed (sambaPwdLastSet). Only existing attributes are
updated. No new attributes are added.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Sync Kerberos password with Unix
password:</emphasis> This will also update the Heimdal Kerberos
password.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Sync Asterisk (voicemail) password with
Unix password:</emphasis> Changes also the Asterisk
passwords.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Force password change:</emphasis> This
will force the user to change his password at next login. This
option supports Shadow, Samba 3 and PPolicy (automatically
detected).</para>
</listitem>
</itemizedlist>
<literallayout>
</literallayout>
<para><emphasis role="bold">Account (un)locking:</emphasis></para>
<para>Depending if the account includes a Unix/Samba extension and
PPolicy is activated the page will show options to (un)lock the account.
E.g. if the account is fully unlocked then there will be no unlocking
options printed.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/passwordReset3.png" />
</imageobject>
</mediaobject>
</screenshot>
</section>
</chapter>

View File

@ -0,0 +1,312 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<chapter>
<title>Big picture</title>
<section>
<title>Overview</title>
<para>LAM has two major areas:</para>
<itemizedlist>
<listitem>
<para>Admin interface to manage all sorts of different LDAP entries
(e.g. users/groups/hosts)</para>
</listitem>
<listitem>
<para>Self service (LAM Pro) where end users can edit their own
data</para>
</listitem>
</itemizedlist>
<para></para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/bigPicture1.png" />
</imageobject>
</mediaobject>
</screenshot>
<para><emphasis role="bold">Admin interface</emphasis></para>
<para>This is the main part of the application. It allows to manage a
large list of LDAP entries (e.g. users, groups, DNS entries, ...). This
part is accessed by LDAP admins and support staff.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/bigPicture2.png" />
</imageobject>
</mediaobject>
</screenshot>
<para>Functional areas:</para>
<orderedlist>
<listitem>
<para>Account tabs: These tabs allow to switsch between different
account types</para>
</listitem>
<listitem>
<para>Tree view: Provides an LDAP browser to edit LDAP entries on
attribute level</para>
</listitem>
<listitem>
<para>Tools menu: Contains useful tools such as profile and PDF
editor</para>
</listitem>
<listitem>
<para>Help: Link to manual</para>
</listitem>
<listitem>
<para>Logout: Logout of the application</para>
</listitem>
<listitem>
<para>List view: Lists all entries of the selected account type
(e.g. users)</para>
</listitem>
<listitem>
<para>List configuration: Configuration settings for list view (e.g.
number of entries per page)</para>
</listitem>
<listitem>
<para>Filter: Filter boxes allow to enter simple filters like
"a*"</para>
</listitem>
</orderedlist>
<para><emphasis role="bold">Self Service</emphasis></para>
<para>The self service provides a simple interface for your users to
edit their own data (e.g. telephone number). It also supports user self
registration and password reset functionality.</para>
<para>You can fully customize the layout of the self service
page.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/bigPicture3.png" />
</imageobject>
</mediaobject>
</screenshot>
<para><emphasis role="bold">Configuration</emphasis></para>
<para>Configuration is done on multiple levels:</para>
<para><emphasis role="bold">Global</emphasis></para>
<para>Effective for all parts of LAM (e.g. logging and password
policy).</para>
<para>Configured via LAM admin login -&gt; LAM configuration -&gt; <link
linkend="generalSettings">Edit general settings</link>.</para>
<para><emphasis role="bold">Server profile</emphasis></para>
<para>All settings for an LDAP connection (e.g. server name, LDAP
suffixes, account types/modules to activate) in admin interface. There
may be multiple for one LDAP server (e.g. for multiple departments,
different user groups, ...).</para>
<para>Configured via LAM admin login -&gt; LAM configuration -&gt; <link
linkend="serverProfiles">Edit server profile</link>.</para>
<para><emphasis role="bold">Self service</emphasis></para>
<para>All settings for a self service interface (e.g. fields that can be
edited, password reset functionality, ...).</para>
<para>Configured via LAM admin login -&gt; LAM configuration -&gt; <link
linkend="a_selfService">Edit self service</link>.</para>
<para><emphasis role="bold">Profiles</emphasis></para>
<para><link linkend="a_accountProfile">Account profiles</link> store
default values for new LDAP entries.</para>
<para><emphasis role="bold">PDF structures</emphasis></para>
<para><link linkend="pdfEditor">PDF structures</link> define the layout
and list of data fields to include in PDF export.</para>
</section>
<section>
<title>Glossary</title>
<para>Here you can find a list of common terms used in LAM.</para>
<table>
<title>Glossary</title>
<tgroup cols="2">
<thead>
<row>
<entry align="center">Term</entry>
<entry align="center">Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>Account module</entry>
<entry>Plugin for a specific account type (e.g. Unix plugin for
user type)</entry>
</row>
<row>
<entry>Account type</entry>
<entry>Type of an LDAP entry (e.g. user/group/host)</entry>
</row>
<row>
<entry>Admin interface</entry>
<entry>LAM webpages for admin user (e.g. to create new
users)</entry>
</row>
<row>
<entry>Lamdaemon</entry>
<entry>Support script to manage user file system quotas and
create home directories</entry>
</row>
<row>
<entry>PDF editor</entry>
<entry>Manages PDF structures</entry>
</row>
<row>
<entry>PDF export</entry>
<entry>Exports an entry to PDF by using a PDF structure</entry>
</row>
<row>
<entry>PDF structure</entry>
<entry>Defines the layout and list of data fields to include in
PDF export</entry>
</row>
<row>
<entry>Profile</entry>
<entry>Template for creation of LDAP entries, contains default
values</entry>
</row>
<row>
<entry>Profile editor</entry>
<entry>Manages profiles for all account types</entry>
</row>
<row>
<entry>Self Service</entry>
<entry>LAM webpages for normal users where they can edit their
own data</entry>
</row>
<row>
<entry>Self service profile</entry>
<entry>Configuration for self service pages (multiple
configurations can exist)</entry>
</row>
<row>
<entry>Tree view</entry>
<entry>LDAP browser that allows to modify LDAP entries on
attribute/object class level</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section>
<title>Architecture</title>
<para>There are basically two groups of users for LAM:</para>
<itemizedlist>
<listitem>
<para><emphasis role="bold">LDAP administrators and support
staff:</emphasis></para>
<para>These people administer LDAP entries like user accounts,
groups, ...</para>
</listitem>
<listitem>
<para><emphasis role="bold">Users:</emphasis></para>
<para>This includes all people who need to manage their own data
inside the LDAP directory. E.g. these people edit their contact
information with LAM self service (LAM Pro).</para>
</listitem>
</itemizedlist>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/lam_architecture.png" />
</imageobject>
</mediaobject>
</screenshot>
<para>Therefore, LAM is split into two separate parts, LAM for admins
and for users. LAM for admins allows to manage various types of LDAP
entries (e.g. users, groups, hosts, ...). It also contains tools like
batch upload, account profiles, LDAP schema viewer and an LDAP browser.
LAM for users focuses on end users. It provides a self service for the
users to edit their personal data (e.g. contact information). The LAM
administrator is able to specify what data may be changed by the users.
The design is also adaptable to your corporate design.</para>
<para>LAM for admins/users is accessible via HTTP(S) by all major web
browsers (Firefox, IE, Opera, ...).</para>
<para><emphasis role="bold">LAM runtime environment:</emphasis></para>
<para>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.</para>
<para><emphasis role="bold">Home directory server:</emphasis></para>
<para>You can manage user home directories and their quotas inside LAM.
The home directories may reside on the server where LAM is installed or
any remote server. The commands for home directory management are
secured by SSH. LAM will use the user name and password of the logged in
LAM administrator for authentication.</para>
<para><emphasis role="bold">LDAP directory:</emphasis></para>
<para>LAM connects to your LDAP server via standard LDAP protocol. It
also supports encrypted connections with SSL and TLS.</para>
</section>
</chapter>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,486 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<chapter>
<title>Tools</title>
<para/>
<section id="a_accountProfile">
<title>Profile editor</title>
<para>The account profiles are templates for your accounts. Here you can
specify default values which can then be loaded when you create accounts.
You may also load a template for an existing account to reset it to
default values. When you create a new account then LAM will always load
the profile named <emphasis role="bold">"default"</emphasis>. This account
profile can include default values for all your accounts.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/profileEditor2.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para>You can enter the LDAP suffix, RDN identifier and various other
attributes depending on account type and activated modules.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/profileEditor.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para><emphasis role="bold">Import/export:</emphasis></para>
<para>Profiles can be exported to and imported from other server
profiles.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/profileEditor3.png"/>
</imageobject>
</mediaobject>
</screenshot>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/profileEditor4.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para>There is a special export target called "*Global templates". All
profiles exported here will be copied to all other server profiles (incl.
new ones). But existing profiles with the same name are not overwritten.
So a profile in global templates is treated as default profile for all
server profiles.</para>
<para>Use this if you would like to setup default profiles that are valid
for all server profiles.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/profileEditor5.png"/>
</imageobject>
</mediaobject>
</screenshot>
</section>
<section id="tool_upload">
<title>File upload</title>
<para>When you need to create lots of accounts then you can use LAM's file
upload to create them. In contrast to <link linkend="tool_upload">LDAP
import/export</link> this operates on account type level.</para>
<para>LAM will read a CSV formatted file and create the related LDAP
entries. Please check the data in you CSV file carefully. LAM will do less
checks for the file upload than for single account creation.</para>
<para>At the first page please select the account type and what extensions
should be activated.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/fileUpload1.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para>The next page shows all available options for the file upload. You
will also find a sample CSV file which can be used as template for your
CSV file. All red options are required columns in the file. You need to
specify a value for each account.</para>
<para>When you upload the CSV file then LAM first does some checks on this
file. This includes syntax checks and if all required data was entered. No
changes in the LDAP directory are done at this time.</para>
<para>If the checks were successful then LAM will ask again if you want to
create the accounts. You will also have the chance to check the upload by
viewing the changes in LDIF format.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/fileUpload2.png"/>
</imageobject>
</mediaobject>
</screenshot>
</section>
<section>
<title id="toolMultiEdit">Multi edit</title>
<para>This tool allows you to modify a large list of LDAP entries in batch
mode. You can add new attributes/object classes, remove attributes and set
attributes to a specific value.</para>
<para>At the beginning, you need to specify where the entries are stored
that should be changed. You can select an account suffix, the tree suffix
or enter your own DN by selecting "Other".</para>
<para>Next, enter an additional LDAP filter to limit the entries that
should be changed. E.g. use "(objectclass=inetOrgPerson)" to filter for
users. You may also enter e.g. "(!(objectClass=passwordSelfReset))" to
match all accounts that do not yet have the <link
linkend="passwordSelfResetUser">password self reset</link> feature.</para>
<literallayout>
</literallayout>
<para>Now, it is time to define the changes that should be done. The
following operations are possible:</para>
<itemizedlist>
<listitem>
<para>Add: Adds an attribute value if not yet existing. Please do not
use for single-value attributes that already have a value.</para>
</listitem>
<listitem>
<para>Modify: Sets an attribute to the given value. If the attribute
does not yet exist then it is added. If the attribute has multiple
values then all other values are removed.</para>
</listitem>
<listitem>
<para>Delete: Deletes the specified value from this attribute. If you
leave the value field blank then all attribute values are
removed.</para>
</listitem>
</itemizedlist>
<para>Please note that all actions are run as separate LDAP commands. You
cannot add an object class and a required attribute at the same
time.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/multiEdit1.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para><emphasis role="bold">Dry run</emphasis></para>
<para>You should always start with a dry run. It will not do any changes
to your LDAP directory but print out all modifications that will be done.
You will also be able to download the changes in LDIF format to use with
ldapmodify. This is useful if you want to adjust some actions
manually.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/multiEdit2.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para><emphasis role="bold">Apply changes</emphasis></para>
<para>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
occurred.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/multiEdit3.png"/>
</imageobject>
</mediaobject>
</screenshot>
</section>
<section id="tool_importexport">
<title>LDAP import/export</title>
<para>Here you can import and export plain LDAP data. In contrast to <link
linkend="tool_upload">file upload</link> this operates on plain LDAP
attribute level.</para>
<section>
<title>Import</title>
<para>The LDAP import supports input data in <ulink
url="https://en.wikipedia.org/wiki/LDAP_Data_Interchange_Format">LDIF</ulink>
format. You can provide plain text or upload an LDIF file.</para>
<para>The "Don't stop on errors" option will cause the import to
continue even if entries could not be created.</para>
<screenshot>
<graphic fileref="images/tool_import.png"/>
</screenshot>
</section>
<section>
<title>Export</title>
<para>Here you can export your plain LDAP data as LDIF or CSV
file.</para>
<screenshot>
<graphic fileref="images/tool_export.png"/>
</screenshot>
<para>Base DN: this is the starting point of the export. Enter a DN or
press the magnifying glass icon to open the DN selection dialog.</para>
<para>Search scope: You can export just the base DN, base DN + its
direct children or the whole subtree.</para>
<para>Search filter: this can be used to filter the entries by
specifying a standard LDAP filter. The preselected filter
"(objectclass=*)" matches all entries.</para>
<para>Attributes: the list of attributes that should be part of export.
"*" matches all standard attributes (excluding system
attributes).</para>
<para>Include system attributes: this will also include system
attributes like the entry creation time and creator's DN.</para>
<para>Save as file: will save to file instead of printing the data on
the web page.</para>
<para>Export format: you can select LDIF or CSV (e.g. for usage in
spreadsheet applications).</para>
<para>End of line: use the one appropriate for your operating
system.</para>
</section>
</section>
<section>
<title>OU editor</title>
<para>This is a simple editor to add/delete organisational units in your
LDAP tree. This way you can structure the accounts.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/ouEditor.png"/>
</imageobject>
</mediaobject>
</screenshot>
</section>
<section id="pdfEditor">
<title>PDF editor</title>
<para>All accounts in LAM may be exported as PDF files. You can specify
the page structure and displayed information by editing the PDF
profiles.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/pdfEditor2.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para>When you export accounts to PDF then each account will get its own
page inside the PDF. There is a headline on each page where you can show a
page title. You may also add a logo to each page. To add more logos please
use the logo management on the PDF editor main page.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/pdfEditor.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para>The main part is structured into sections of information. Each
section has a title. This can either be static text or the value of an
attribute. You may also insert a static text block as section. Sections
can be moved by using the arrows next to the section title.</para>
<para>Each section can contain multiple fields which usually represent
LDAP attributes. You can simply add new fields by selecting the field name
and its position. Then use the arrows to move the field inside the
section.</para>
<literallayout>
</literallayout>
<para><emphasis role="bold">Import/export:</emphasis></para>
<para>PDF structures can be exported to and imported from other server
profiles.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/pdfEditor3.png"/>
</imageobject>
</mediaobject>
</screenshot>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/pdfEditor4.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para>There is a special export target called "*Global templates". All PDF
structures exported here will be copied to all other server profiles
(incl. new ones). But existing PDF structures with the same name are not
overwritten. So a PDF structure in global templates is treated as default
structure for all server profiles.</para>
<para>Use this if you would like to setup default PDF structures that are
valid for all server profiles.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/pdfEditor5.png"/>
</imageobject>
</mediaobject>
</screenshot>
<para><emphasis role="bold">Logo management:</emphasis></para>
<para>You can upload image files to put a custom logo on the PDF files.
The image file name must end with .png or .jpg.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/pdfEditor6.png"/>
</imageobject>
</mediaobject>
</screenshot>
</section>
<section>
<title>Schema browser</title>
<para>Here you browse the schema of your LDAP server. You can view what
object classes, attributes, syntaxes and matching rules are available.
This is useful if you need to check if a certain object class is
available.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/schemaBrowser.png"/>
</imageobject>
</mediaobject>
</screenshot>
</section>
<section>
<title>Server information</title>
<para>This shows information and statistics about your LDAP server. This
includes the suffixes, used overlays, connection data and operation
statistics. You will need "cn=monitor" setup to see all details. Some data
may not be available depending on your LDAP server software.</para>
<para>Please see the following links how to setup "cn=monitor":</para>
<itemizedlist>
<listitem>
<para><ulink
url="http://www.openldap.org/doc/admin24/monitoringslapd.html">OpenLDAP</ulink></para>
</listitem>
<listitem>
<para><ulink type=""
url="http://directory.fedoraproject.org/wiki/Howto:CN%3DMonitor_LDAP_Monitoring">389
server</ulink></para>
</listitem>
</itemizedlist>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/serverInfo.png"/>
</imageobject>
</mediaobject>
</screenshot>
</section>
<section>
<title id="tool_webauthn">Webauthn devices</title>
<para>See the <link linkend="a_webauthn">Webauthn/FIDO2 appendix</link>
for an overview about Webauthn/FIDO2 in LAM.</para>
<para>Here you can manage your webauthn/FIDO2 devices.</para>
<para>You can register additional security devices and remove old ones. If
no more device is registered then LAM will ask you for registration on
next login.</para>
<screenshot>
<graphic fileref="images/tool_webauthn1.png"/>
</screenshot>
</section>
<section>
<title>Tests</title>
<para>This allows you to check if your LDAP schema is compatible with LAM
and to find possible problems.</para>
<section>
<title>Lamdaemon test</title>
<para>LAM provides an external script to manage home directories and
quotas. You can test here if everything is setup correctly.</para>
<para>If you get an error like "no tty present and no askpass program
specified" then the path to the lamdaemon.pl may be wrong. Please see
the <link linkend="a_lamdaemon">lamdaemon installation
instructions</link> for setup details.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/lamdaemonTest.png"/>
</imageobject>
</mediaobject>
</screenshot>
</section>
<section>
<title>Schema test</title>
<para>This will test if your LDAP schema supports all object classes and
attributes of the active LAM modules. If you get a message that
something is missing please check that you installed all <link
linkend="a_schema">required schemas</link>.</para>
<para>If you get error messages about object class violations then this
test can tell you what is missing.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="images/schemaTest.png"/>
</imageobject>
</mediaobject>
</screenshot>
</section>
</section>
</chapter>

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Some files were not shown because too many files have changed in this diff Show More