76 Commits

Author SHA1 Message Date
808934ebfe Change we now store logged in user details in session, instead of cookies.
This is so when the session expires, the logged in user details are expired as well, which wasnt happening with cookies.
2025-04-27 14:12:24 +10:00
3196b10aed Add OID description for searchguide attributes 2025-04-07 14:34:56 +10:00
bcea6de791 Validation of inputs for a DN with language tags - work for #16
Some checks failed
Create Docker Image / Build Docker Image (arm64) (push) Has been cancelled
Create Docker Image / Build Docker Image (x86_64) (push) Has been cancelled
Create Docker Image / Final Docker Image Manifest (push) Has been cancelled
Create Docker Image / Test Application (x86_64) (push) Has been cancelled
2025-04-06 13:54:32 +10:00
696d87d190 Improve entry validation to only require the first item of multi value attributes 2025-03-19 08:36:01 +11:00
732f777c75 Rename our configuration keys to ldap/ldaps/startls, they are not openldap specific 2025-03-07 08:33:08 +11:00
32aed0f458 Remove old 1.2 code no longer in use, and same laravel framework items not used 2025-03-02 10:30:36 +11:00
f08fdb1bcd Update Request validation, so that it also knows about required schema attributes 2025-03-01 19:32:40 +11:00
0684424328 Force PLA to not allow guests viewing the site, and thus requiring a login.
This should close #288
2025-02-26 17:28:54 +11:00
03c2eba9e3 Add a STARTTLS example to the configuration file 2025-02-23 22:30:39 +11:00
1cc8681b5a Add example ldaps configuration, set TLS_REQCERT to never so php_ldap does validate ldap server SSL certs
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 29s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 4m35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2025-02-21 21:42:02 +11:00
3a4b0bfe05 Remove hardcoded use of default LDAP server, added example for opendj 2025-02-04 08:56:12 +11:00
d1b4334870 Move PLA configurable items to config/pla.php
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 36s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m22s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 3m30s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2025-01-18 21:54:21 +11:00
08e838d40a Foundation for Check Password and password functions - only Clear is currently implemented 2025-01-18 16:43:49 +11:00
81014b9509 Update laravel framework, to laravel 11 2025-01-12 18:26:26 +11:00
c1ba6df90d DN updates some array values can be NULL (to delete the value), so validation show allow for that 2024-01-20 16:07:44 +11:00
74bd996f7a Enable login by any attribute - defaults to uid.
Implements #253
2024-01-08 15:09:17 +11:00
ef355e8193 Implement LdapRule to limit user logins by objectclass.
Now logins are allowed by any objectclass unless LDAP_LOGIN_OBJECTCLASS is defined, we should be an array of allowed objectClass (any match).
Improvement for #245
2024-01-08 15:08:26 +11:00
652cdee034 Enabled adding new attributes to a DN 2023-09-02 23:24:18 +10:00
eafae02c7b Enabled form validation 2023-04-13 10:40:01 +10:00
f90706d140 Merge BRANCH-2.0 with master 2023-03-03 16:32:49 +11:00
a99770951d Implemented more attribute classes 2023-03-02 19:07:45 +11:00
e0fb057c84 Implemented attribute sorting with configuration to determine sort order 2023-03-02 10:17:15 +11:00
Deon George
491f04cd5d Updated server info 2023-02-19 20:25:32 +11:00
Deon George
8ec1d2b1fe Ported the schema browser 2023-02-18 23:46:41 +11:00
Deon George
651fb9f3bf Show version in the footer 2023-02-18 00:16:25 +11:00
Deon George
413f1ec065 Implemented caching of our base_dn 2023-01-31 10:44:35 +11:00
Deon George
daeea9a1f6 Update laravel to 9.x 2023-01-31 10:44:35 +11:00
Deon George
58e171aea1 PLA now starts at the root of the HTML request, favicon setup 2023-01-31 10:44:35 +11:00
Deon George
dabca67fc8 Updated directorytree/ldaprecord-laravel to v2 2021-12-11 00:24:00 +11:00
Deon George
2ccc1d3b83 Framework update and updates from other projects,remove leenooks/laravel
Framework updates, and hack to get CI testing working
2021-12-11 00:24:00 +11:00
Deon George
4ef074fac4 More unit testing, setup for localisation 2021-12-10 23:51:48 +11:00
Deon George
b043e3bc93 OID update, fix sidebar icon rendering 2021-12-10 23:51:48 +11:00
Deon George
d20a17d3fe Added server info 2021-12-10 23:51:48 +11:00
Deon George
15ff508429 Swap out adldap2/adldap2 for directorytree/ldaprecord-laravel 2021-12-10 23:51:48 +11:00
Deon George
de4fa04d3b Start of tree being rendered by API/AJAX calls 2021-12-10 23:51:48 +11:00
Deon George
f3282bed38 Framework upgrade to Laravel 7 2021-12-10 23:51:47 +11:00
Deon George
f8717480fd CSS/JS updates, initial page rendering 2021-12-10 23:51:47 +11:00
Deon George
4c90ce11f2 Initial login working 2021-12-10 23:51:47 +11:00
Deon George
ed7087c802 Initial Laravel Base 2021-12-10 23:51:47 +11:00
JamesCordell
0b65747110
Changes required so the sudoRole objectClass will present a link so members can be modified by default. (#101) 2020-02-20 09:17:37 +11:00
sshambar
0a57b2f80e
Added appearance option show_authz (#94)
Enabling displays the authorization ID rather than the authentication ID,
similar to using ldapwhoami.  Requires PHP 7.2+
2020-02-20 09:14:18 +11:00
sshambar
0fe1758572
Add SASL PLAIN authentication support (#92)
Adds a new sasl mech 'plain' which converts all simple authentication
methods to SASL PLAIN.  NOTE: doesn't use auth_type 'sasl' as
credentials may come from login form, stored in cookies etc...
2020-02-20 09:12:39 +11:00
Noone404
4eb3737d31
Added option to use template string for bind DN (#90)
* Language update from launchpad

* Added login option 'bind_dn_template'
2020-02-20 09:11:17 +11:00
Genaro Contreras Gutierrez
cbdc0dacd6
Auth Form wiht Google reCAPTCHA (#87)
* reCaptcha config

* config reCaptcha

* check reCAPTCHA

* add reCAPTCHA to form login

* config attributes for reCAPTCHA

* Function to verify request with reCAPTCHA

* doc reCaptcha
2020-02-20 09:04:20 +11:00
Devon Hubner
19114385fc Changed password_hash to pla_password_hash in a few places where it was still password_hash. 2014-10-07 14:25:32 -04:00
Roland Gruber
d8ab7fc2f0 SF Patch #3391547 - Option for minmal mode 2011-10-06 12:31:12 +11:00
Roland Gruber
56830f1fa4 SF Patch #3391389 - Option to initially open the tree 2011-10-06 12:22:55 +11:00
Deon George
5d4245f93a SF Bug #3395004 - config.php.example refers to lang/en.php 2011-09-08 22:51:02 +10:00
Deon George
80d027d569 SF Bug #3373466 - Unable to define force_may attributes 2011-09-08 22:30:35 +10:00
Deon George
446faf78fb FIX SASL configuration example 2011-06-21 13:45:19 +10:00