fix
This commit is contained in:
parent
ceefccb3b2
commit
787f33f555
|
@ -7,9 +7,6 @@ import (
|
||||||
|
|
||||||
func InitLdap(host, bindDN, password string) *ldap.Conn {
|
func InitLdap(host, bindDN, password string) *ldap.Conn {
|
||||||
// LDAP服务器配置
|
// LDAP服务器配置
|
||||||
/*host := "ldap://192.168.1.13:389"
|
|
||||||
bindDN := "cn=root,dc=fusen,dc=com"
|
|
||||||
password := "fusen!@#"*/
|
|
||||||
/*certFile := "/path/to/certificate.crt"
|
/*certFile := "/path/to/certificate.crt"
|
||||||
keyFile := "/path/to/certificate.crt"
|
keyFile := "/path/to/certificate.crt"
|
||||||
// 加载证书文件
|
// 加载证书文件
|
||||||
|
|
Loading…
Reference in New Issue
Block a user