42 Commits

Author SHA1 Message Date
wheelybird
7d1897b171
Add ability to define which LDAP attribute is used to log in. (#212) 2023-07-20 16:23:52 +01:00
Alexander Borgardt
ce400b3287
README.md: add missing backslash (#198) 2023-04-25 14:38:03 +01:00
Brian Lycett
bc2570da4c Version bump in README. 2022-11-24 14:24:05 +00:00
Brian Lycett
6b9290340c Updated README 2022-11-24 14:00:56 +00:00
dr-waterstorm
28b2d9673a
Feature/support modern password hashes (#182)
* Added ARGON2 password hashing

* added missing ldap tag

Co-authored-by: Jens Rauch <jens.rauch@codenic.de>
2022-11-24 13:58:13 +00:00
Brian Lycett
274fe69bb5 Bump version no in README. 2022-10-10 13:56:41 +01:00
Brian Lycett
318091fc35 Bugfixes including SHOW_POSIX_ATTRIBUTES not working for new accounts. 2022-10-10 13:55:14 +01:00
Brian Lycett
57af7c4e9c
Next release (#151)
* 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.

* Add support for consuming docker / kubernetes secrets passed as _FILE environment variables (#136)

* mod: condense Dockerfile

* add: _FILE feature
add: list of sensitive env_vars

* mod: sorted env_var list

* add: complete current env_var list

* fix: formatting

* mod: revert Dockerfile to prev. version

* mod: updated comment to be more descriptive
mod: rename variables to be more descriptive

* rem: list of env_var; no longer needed.
mod: env_file_replace function
^ search for all <env_var>_FILE variables and replace
^ <env_var> if the file exists and is not empty
mod: env_file_replace comment

Co-authored-by: pyunramura <jeremy.cummings@live.com>

* Update the README with information on using _FILE

* Change username regex variables

* Named server certs, as suggested by @huzvar

* Update LDAP filter method as suggested by @xgaia

* Feature/http header username (#120)

* Implement Remote Headers Auth

* Hide Logout on Remote Sessions

* Add Explanation for REMOTRE_HTTP_HEADERS_LOGIN settiing

Co-authored-by: Damian Galli <damian.galli@galli.site>

* Updated Readme, fixed random number generation for ARM systems, fixed JS to generate the username

* Fix issues #124 and #126

* Change badges to buttons for list counts

* Don't secretly set displayName

* Add Group Additional (#113)

* Add doku Group additional.

* Read Group additional configuration.

* New group add Additional objectclasses

* Allow for attributes that take multiple values.

* Updated README

* Formatting fixes, fix parsing params from account requests, initial code for the simple interface flag.

* Add attribute fields for groups and allow user-defined attributes to be displayed.  Move alert banner JS to a function.

* Update entries with any missing additional objectclasses when updating entries.  Update README to describe changes. Initial work to allow file uploads for attributes.

* Functionality to upload binary files and display them in the form it's a JPEG.  Added a new page to download existing binary content.

* Bugfixes for compatibility with older osixia/openldap versions.  Change SIMPLE_INTERFACE to SHOW_POSIX_ATTRIBUTES.

* Update version number in README.

Co-authored-by: Monsieur X <xgaia@gmx.com>
Co-authored-by: pyunramura <35285259+pyunramura@users.noreply.github.com>
Co-authored-by: pyunramura <jeremy.cummings@live.com>
Co-authored-by: Damian Galli <da.ga@live.de>
Co-authored-by: Damian Galli <damian.galli@galli.site>
Co-authored-by: huzvar <89766648+huzvar@users.noreply.github.com>
2022-04-12 15:43:21 +01:00
Brian Lycett
1ae87b6582 Merge branch 'master' of github.com:wheelybird/ldap-user-manager 2022-03-09 14:29:23 +00:00
Gabriel A. Devenyi
71add491b2
Fix typo (#144) 2022-03-09 14:25:03 +00:00
santos-lucas
7af47448a9
Update README.md (#139)
Just some missing word correction.
2022-01-24 13:59:02 +00:00
Brian Lycett
4420a78b31 Revert to old cookie code. 2021-10-05 15:03:24 +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
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
8a147d5687
Update README.md 2020-12-27 11:28:54 +00:00
Brian Lycett
46ab80ca05
README fixes 2020-12-27 11:27:58 +00:00
Brian Lycett
6bbba38c5b Added missing settings section header in README 2020-12-24 18:32:33 +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
ff17c6e288 Update release version in README 2020-11-30 17:46:09 +00:00
Brian Lycett
07cfb50e16 Fix SMTP authentication and mail body. Notify if there was a problem sending the email. 2020-11-30 16:14:53 +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
4c5e337ce6
Better passwords (#35)
* Add support for stronger hashes (#34)

* Add generate_salt function

* Add suport for clear text passwords

If someone wants to shoot themselves in the foot, they are free to do it

* Add support for blowfish

* Add support for extended DES

* Add support for md5crypt

* Fix salt generation call

* Add support for sha256crypt

* Add support for sha512crypt

* Update previous functions

* Add a default cause

* Fix some shenanigans and log cleanup

* Couple minor fixes

* Let password hash checking be done in the password function

* Update the README with new passwords

* Change the default fallback to SSHA

* Put crypt algos in an array ordered by preference so we can fail to the most secure algo available

* Remove superfluous count++

* Updated password hashing code

Co-authored-by: Angelin01 <angeloborsoiross@hotmail.com>
2020-08-03 17:35:13 +01:00
Brian Lycett
eb061e3586 Update container version in README example 2020-05-22 11:05:01 +01:00
Brian Lycett
33c6aaa55e
Hashing (#22)
* Added ALLOW_WEAK_PASSWORDS and PASSWORD_HASH options, some bug and log format fixes

* Fixed incorrect variable name in check for password hash setting.
2020-05-22 11:03:23 +01:00
Brian Lycett
9e5d3bd32b Fix README formatting bug 2020-05-15 09:14:05 +01:00
Brian Lycett
57a6785c9d Fix README links 2020-05-07 09:17:54 +01:00
Brian Lycett
25753bda36 Fix README links 2020-05-07 09:16:40 +01:00
Brian Lycett
c35df86300 Update README for new release 2020-05-07 09:14:11 +01: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
26d971080c Add debugging for user sessions and authentication. 2020-05-04 10:48:46 +01:00
Brian Lycett
f103611e9c Added an LDAP debugging option 2020-05-01 17:14:04 +01:00
Brian Lycett
495d31521a Code tidy, encode URLs and add no-https option 2020-01-10 12:01:31 +00:00
Brian Lycett
79ac66c96f
Update README.md 2019-07-05 15:17:06 +01:00
Brian Lycett
834e52d620
Add self-service password change screenshot 2019-06-12 11:53:20 +01:00
Brian Lycett
9ee5a0c707
Update README with screenshots 2019-06-12 11:51:54 +01:00
Brian Lycett
127511b65d Added the ability to add/update the email address along with javascript to automatically generate it. 2019-02-08 11:28:11 +00:00
Brian Lycett
13aea6e6c7 Add option to use a CA certificate 2019-01-16 15:05:55 +00:00
Brian Lycett
50960490ef Fix typo in README 2018-11-07 12:23:04 +00:00
Brian Lycett
8ad5e4acea Update readme with build command 2018-11-01 13:49:09 +00:00
Brian Lycett
f982e4df1f Updated README 2018-06-04 16:53:58 +01:00
Brian Lycett
5ec202185c Add Docker components and setup instructions. Warn on insecure LDAP connections 2018-06-04 15:20:53 +01:00
Brian Lycett
797ba68bc1 Initial functioning version, pre-docker. 2018-06-01 17:10:45 +01:00