openldap,activedirectory密码验证支持

openldap,activedirectory密码验证支持,需要先完成用户同步
This commit is contained in:
MaxKey
2021-03-26 20:04:25 +08:00
parent 1b25e476ae
commit 237ec64787
8 changed files with 136 additions and 48 deletions

View File

@@ -208,7 +208,23 @@ maxkey.support.httpheader.headername=header-user
############################################################################
maxkey.support.basic.enable=false
############################################################################
# LDAP Login support configuration
############################################################################
maxkey.support.ldap.enable=false
maxkey.support.ldap.jit=false
#openldap,activedirectory,normal
maxkey.support.ldap.product=openldap
maxkey.support.ldap.ssl=false
maxkey.support.ldap.providerurl=ldap://localhost:389
maxkey.support.ldap.principal=cn=Manager,dc=maxcrc,dc=com
maxkey.support.ldap.credentials=secret
maxkey.support.ldap.basedn=dc=maxcrc,dc=com
maxkey.support.ldap.filter=(uid=%s)
maxkey.support.ldap.truststore=maxkey
maxkey.support.ldap.truststorepassword=maxkey
#activedirectory effective
maxkey.support.ldap.activedirectory.domain=MAXKEY.ORG
#############################################################################
# WsFederation Login support configuration
#identifier: the identifer for the ADFS server