23 Commits

Author SHA1 Message Date
Brian Lycett
624cd497e1 Bugfixes for compatibility with older osixia/openldap versions. Change SIMPLE_INTERFACE to SHOW_POSIX_ATTRIBUTES. 2022-04-12 15:39:40 +01:00
Brian Lycett
529303f22c Functionality to upload binary files and display them in the form it's a JPEG. Added a new page to download existing binary content. 2022-04-11 15:40:15 +01:00
Brian Lycett
e46e590c79 Update entries with any missing additional objectclasses when updating entries. Update README to describe changes. Initial work to allow file uploads for attributes. 2022-04-05 14:42:14 +01:00
Brian Lycett
9092a3a39b Add attribute fields for groups and allow user-defined attributes to be displayed. Move alert banner JS to a function. 2022-04-04 13:55:56 +01:00
Brian Lycett
4c7fbbc542 Fix issues #124 and #126 2022-03-10 14:41:27 +00:00
Brian Lycett
4de7877b19 Update LDAP filter method as suggested by @xgaia 2022-03-09 15:59:15 +00:00
Brian Lycett
9bbe0db8d5 Change username regex variables 2022-03-09 15:23:49 +00:00
Brian Lycett
b3b372d189 Merge master 2022-03-09 15:15:31 +00:00
Brian Lycett
05d04448a1 Merge branch 'master' of github.com:wheelybird/ldap-user-manager 2021-10-05 15:03:30 +01:00
Brian Lycett
4420a78b31 Revert to old cookie code. 2021-10-05 15:03:24 +01:00
huzvar
08a37ee961
Add dynamic Group Attribute. (#119)
* Add dynamic Group Attribute.

* Update ldap_functions.inc.php

* Update show_group.php

* Update run_checks.php
2021-10-05 14:55:22 +01:00
Brian Lycett
86c82a402e
Next release (#107)
* Custom email body (#51)

* get email body from ENV

* read subject from env

* html mail

* replace special string with username and password

* missing ;

* more str_replace

* utf8 in mail

* typo

* docs

* fix var

* count accounts

* fix print

* Add the ability to set the server path.  Get directed to the appropriate module when you log in.

* Fixes to allow overriding attribute labels properly

* Fix server_path in various places, update to cookies use 'samesite', include boostrap and queryjs files so LUM can run without internet access.

Co-authored-by: Monsieur X <xgaia@gmx.com>
2021-07-22 09:12:55 +01:00
Brian Lycett
15f99a49ef Fixes to allow overriding attribute labels properly 2021-05-21 09:15:59 +01:00
Brian Lycett
d8eb7ae81d Customisable email text, define base path for the URL when behind a reverse proxy, upgrade to PHP 8, no more empty member entries in groups, various tweaks and enhancements. 2021-05-19 08:55:07 +01:00
Brian Lycett
769ff0f1b0 Add the ability to set the server path. Get directed to the appropriate module when you log in. 2021-04-15 15:43:53 +01:00
Brian Lycett
5acc835be9
Use other attributes (#77)
* Changes to allow using different account attributes, additional objectclasses, protection against accidentally removing all admin acccess, remove Helm files, username sanity updates

* Fixed LDAP user searches using the base DN

* Don't render the menu if there are fatal errors

* FIx tag parsing.  No TLS warning for local LDAP connections.

* Fix bug retrieving account attributes

* Multi-arch support and tidied-up README
2021-03-13 14:11:38 +00:00
Brian Lycett
3b8e94ce66
Christmas jingles (#55)
* Add account requests, email user on password update, RFC2307BIS autodetection and various bug fixes.

* Remove test.php
2020-12-24 18:24:41 +00:00
Brian Lycett
8dacee9c4e Add send email, show full DN, fix TLS check at setup and add verbose LDAP debugging 2020-11-28 18:00:01 +00:00
Brian Lycett
73b3797b30 Changes to allow this to work with both NIS and BIS schemas. 2020-05-06 17:19:20 +01:00
Brian Lycett
495d31521a Code tidy, encode URLs and add no-https option 2020-01-10 12:01:31 +00:00
Gea-Suan Lin
b82d0c24b9 Fix all include_once() call with __DIR__-based paths. 2019-07-31 14:22:37 +08:00
Brian Lycett
49f69e8eee Fix broken JS booleans 2018-06-04 17:04:14 +01:00
Brian Lycett
5ec202185c Add Docker components and setup instructions. Warn on insecure LDAP connections 2018-06-04 15:20:53 +01:00