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.
Metadata
Release files for webkpasswd 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| webkpasswd-0.5.1.tar.gz | 890.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| webkpasswd-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.8 MB
Release files / webkpasswd-0.5.1.tar.gz
| Download URL | webkpasswd-0.5.1.tar.gz |
|---|---|
| Size | 890.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3176415fc330fe58ef7f0a29f42be8aec5d431d9e6e0a4c089285ee7e1f663eb
|
|
BLAKE2b-256 checksum How to use checksums |
0281661adf496ccbde055118f8700adc6cf3ba6c7939524835051d43226247d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
|
Release files / webkpasswd-0.5.1-py3-none-any.whl
| Download URL | webkpasswd-0.5.1-py3-none-any.whl |
|---|---|
| Size | 893.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f92b54e80ece7081307ea2a6336d59ad6c53961bf52940e4ea03d11d6dcd232
|
|
BLAKE2b-256 checksum How to use checksums |
62c06de3091eac1132c4318abbd452c99b0c9315bf2e6239b7dcab4fe9647022
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
|