Web interface to change ActiveDirectory password with kpasswd or smbpasswd protocols
Project description
Webkpasswd
This is a web interface to the kpasswd or smbpasswd protocols to change your password in an Active Directory or Samba AD environment.
Installation
pip install webkpasswd[krb]
or
pip install webkpasswd[smb]
Running
gunicorn webkpasswd:app
Configuration
You can specify the configuration file path with the FLASK_CONFIG variable.
Example configuration file:
RECAPTCHA_PRIVATE_KEY = '<recaptcha or hcaptcha private key>'
RECAPTCHA_PUBLIC_KEY = '<recap or hcaptcha public key>'
RECAPTCHA_SCRIPT = 'https://hcaptcha.com/1/api.js'
RECAPTCHA_VERIFY_SERVER = 'https://hcaptcha.com/siteverify'
RECAPTCHA_DIV_CLASS = 'h-captcha'
SECRET_KEY = 'SomeRandomString'
CONTACT_EMAIL = 'support@example.com'
LOGO = '<Base64 encoded png logo>'
CHPASSWD = 'kpasswd' or 'smbpasswd'
MIN_PWD_LEN = 12
SMB_SERVER = 'dc1.example.com'
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file webkpasswd-0.5.0.tar.gz.
File metadata
- Download URL: webkpasswd-0.5.0.tar.gz
- Upload date:
- Size: 889.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07a2dd2eb5c7af592b509639b3f1eca2750cfceffcad6ba66b17af1da762f229
|
|
| MD5 |
3dac920e225760e830f69258c5514368
|
|
| BLAKE2b-256 |
81d0a640a7bd38ef497a1fa30e8ee4e5b8f792a50e00e2f74a6159eafbbc6899
|
File details
Details for the file webkpasswd-0.5.0-py3-none-any.whl.
File metadata
- Download URL: webkpasswd-0.5.0-py3-none-any.whl
- Upload date:
- Size: 893.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88e05a0e82b2e83ecf3dcadb3ee25f90cfaf909097d7dc0f68ef58674ac7331f
|
|
| MD5 |
d81233b05eb4e7cbb3ace83bd656586f
|
|
| BLAKE2b-256 |
85ed3dcb52539a433205c6e89e3c2f0145cc5748dc73f507965232b3ba52698a
|