增加添加部门接口
This commit is contained in:
@@ -8,18 +8,16 @@ import (
|
||||
)
|
||||
|
||||
type Ldap struct {
|
||||
baseDN string
|
||||
rootDN string
|
||||
peopleGroupOu string
|
||||
conn *ldap.Conn
|
||||
baseDN string
|
||||
rootDN string
|
||||
conn *ldap.Conn
|
||||
}
|
||||
|
||||
func NewLdap(conn *ldap.Conn, baseDN, rootDN, peopleGroupOu string) *Ldap {
|
||||
func NewLdap(conn *ldap.Conn, baseDN, rootDN string) *Ldap {
|
||||
return &Ldap{
|
||||
baseDN: baseDN,
|
||||
rootDN: rootDN,
|
||||
peopleGroupOu: peopleGroupOu,
|
||||
conn: conn,
|
||||
baseDN: baseDN,
|
||||
rootDN: rootDN,
|
||||
conn: conn,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user