Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
0ff54ddf
Commit
0ff54ddf
authored
Apr 07, 2020
by
Ryan Tandy
Committed by
Quanah Gibson-Mount
Apr 21, 2020
Browse files
ITS#9203 slapd-argon2 -> pw-argon2
Based on initial patch by Peter Marschall.
parent
997ff449
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/passwd/argon2/README
View file @
0ff54ddf
Argon2 OpenLDAP support
----------------------
slapd
-argon2.c provides support for ARGON2 hashed passwords in OpenLDAP. For
pw
-argon2.c provides support for ARGON2 hashed passwords in OpenLDAP. For
instance, one could have the LDAP attribute:
userPassword: {ARGON2}$argon2i$v=19$m=4096,t=3,p=1$c2FsdHNhbHQ$DKlexoEJUoZTmkAAC3SaMWk30El9/RvVhlqGo6afIng
...
...
@@ -22,13 +22,13 @@ For initial testing you might also want to edit DEFS to define
SLAPD_ARGON2_DEBUG, which enables logging to stderr (don't leave this on
in production, as it prints passwords in cleartext).
2) Run 'make' to produce
slapd
-argon2.so
2) Run 'make' to produce
pw
-argon2.so
3) Copy
slapd
-argon2.so somewhere permanent.
3) Copy
pw
-argon2.so somewhere permanent.
4) Edit your slapd.conf (eg. /etc/ldap/slapd.conf), and add:
moduleload ...path/to/
slapd
-argon2.so
moduleload ...path/to/
pw
-argon2.so
5) Restart slapd.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment