https://github.com/anton-johansson/ldap-password-reset-service
Provides a simple web service for resetting LDAP user passwords.
https://github.com/anton-johansson/ldap-password-reset-service
Last synced: 16 days ago
JSON representation
Provides a simple web service for resetting LDAP user passwords.
- Host: GitHub
- URL: https://github.com/anton-johansson/ldap-password-reset-service
- Owner: anton-johansson
- License: apache-2.0
- Created: 2016-06-09T14:31:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T05:13:25.000Z (about 8 years ago)
- Last Synced: 2024-12-26T23:43:49.254Z (5 months ago)
- Language: Java
- Homepage:
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LDAP Password Reset Service
[](https://travis-ci.org/anton-johansson/ldap-password-reset-service)
[](https://raw.githubusercontent.com/anton-johansson/ldap-password-reset-service/master/LICENSE)Provides a simple web service for resetting LDAP user passwords.
## Installing
#### Repository
```shell
echo 'deb [arch=all] http://apt.anton-johansson.com/ stable main' > /etc/apt/sources.list.d/anton-johansson.list
curl -fsSL http://apt.anton-johansson.com/signing-key.pub | sudo apt-key add -
sudo apt update
sudo apt install ldap-password-reset-service
```#### Manual
```shell
wget https://github.com/anton-johansson/ldap-password-reset-service/releases/download/v1.0.0/ldap-password-reset-service_1.0.0_all.deb
dpkg --install ldap-password-reset-service_1.0.0_all.deb
```## Development
#### Running in development mode
```mvn jetty:run -DconfigurationFile=/home/user/ldap-password-reset-service.conf```#### Building a package
```mvn clean install package```#### Running the package
```java -DconfigurationFile=/home/user/ldap-password-reset-service.conf -cp "target/ldap-password-reset-service-1.0.0-SNAPSHOT.jar:target/lib/*" com.antonjohansson.lprs.Application```## Configuration
```
# LDAP settings
provider-url = ldaps://hostname:636
domain = domain.local
username = user
password = password# Web service settings
#port = 8080# How to send access tokens?
token-sender = EmailTokenSender
token-sender.host = hostname-to-smpt-server
token-sender.from = [email protected]# Spam protection
#spam.request-count = 2
#spam.expire-time = 30# reCAPTCHA protection
recaptcha.enabled = true
recaptcha.secret-key = my-secret-recaptcha-key
recaptcha.site-key = my-public-recaptcha-key
```## License
Apache License © [Anton Johansson](https://github.com/anton-johansson)