From 787f33f555527fb2ac8d65220e893a899fb088c7 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Tue, 21 Nov 2023 12:09:02 +0800 Subject: [PATCH] fix --- initalize/ldap.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/initalize/ldap.go b/initalize/ldap.go index fcfb173a..ceab3b37 100644 --- a/initalize/ldap.go +++ b/initalize/ldap.go @@ -7,9 +7,6 @@ import ( func InitLdap(host, bindDN, password string) *ldap.Conn { // LDAP服务器配置 - /*host := "ldap://192.168.1.13:389" - bindDN := "cn=root,dc=fusen,dc=com" - password := "fusen!@#"*/ /*certFile := "/path/to/certificate.crt" keyFile := "/path/to/certificate.crt" // 加载证书文件