简体   繁体   English

OpenLDAP加密存储架构

[英]OpenLDAP encryption storage Schema

I am using OpenLDAP 2.4.38 windows version. 我正在使用Windows的OpenLDAP 2.4.38版本。 Apache DS for ldap explorer. 用于ldap资源管理器的Apache DS。 Configured password encryption mechanism SSHA in slapd.conf of OpenLDAP. 在OpenLDAP的slapd.conf中配置了密码加密机制SSHA。 password-hash {SSHA} Now when I change password using JNDI and check in Apache DS it shows password as plaintext. password-hash {SSHA}现在,当我使用JNDI更改密码并签入Apache DS时,它将密码显示为纯文本。 Is this Apache DS's problem or OpenLDAP is really storing in plaintext even if I configured encryption mechanism as SSHA in OpenLDAP? 即使我在OpenLDAP中将加密机制配置为SSHA,这是Apache DS的问题还是OpenLDAP确实以明文形式存储?

I got it worked ultimately. 我最终获得了成功。 Just updating here in case someone trying in windows version need this. 只是在这里更新,以防有人尝试使用Windows版本。
Need to add the following line in slapd.conf file. 需要在slapd.conf文件中添加以下行。
include actual-location/ppolicy.schema 包括实际位置/ppolicy.schema
#this is optional for SSHA but mandatory for SHA256 or SHA512 etc. #对于SSHA是可选的,但对于SHA256或SHA512等则是必需的。
password-hash {SSHA} 密码哈希{SSHA}
overlay ppolicy 覆盖政策
ppolicy_hash_cleartext ppolicy_hash_cleartext

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM