我正在使用 let notRecomended = ["food1", "food3", "food4", "food2", "food6","food2"]
let food = ["food1", "food2"]
let filteredResult = notRecomended.filter { !food.contains($0) }) }
尝试使用此命令连接到Active Directory LDAP服务器(在Ubuntu Linux上运行):
ldapsearch
但是,我得到了:
ldapsearch -H ldap://SRV001 -D acme\SVC_LDAP_A -w mySecretPassword
答案 0 :(得分:0)
问题是您需要引用用户名,因此请将命令更改为:
ldap_bind: Invalid credentials (49)
additional info: 80090308: LdapErr: DSID-0C0903D9, comment: AcceptSecurityContext error, data 52e, v2580