新人求教
ldap吧
全部回复
仅看楼主
level 1
txb813 楼主
今天进了一个新项目组,发现了一个bug,就是NamingEnumeration<SearchResult> em = LDAPcontext.search("", filter,property),
filter = "(objectClass = user)(name = userinfo)",就是用姓名去查询出其他信息,property中设置了返回的结果列表等等信息,大概是这样。
问题是:输入名字王鹏,每次都是查询出一条数据,但是有多个王鹏的,第一次接触,请问哪里配的不对。
2015年10月23日 10点10分 1
level 1
txb813 楼主
有人知道吗?
2015年10月23日 10点10分 2
level 1
txb813 楼主
[泪]
2015年10月23日 11点10分 3
level 1
txb813 楼主
?
2015年10月23日 11点10分 4
level 1
txb813 楼主
快来人啊
2015年10月23日 11点10分 5
level 1
txb813 楼主
快来人啊
2015年10月24日 03点10分 6
level 3
楼主求教LDAP问题
2015年11月07日 00点11分 7
level 3
或者QQ我1461591079
2015年11月07日 00点11分 9
level 1
这因为返回结果是枚举吧
2015年11月20日 09点11分 10
level 1
说的好啊!我在bbs打滚这么多年,所谓阅人无数,就算没有见过猪走路,也总明白猪肉是啥味道的。
2016年06月18日 08点06分 11
level 1
条件不对吧, (objectClass = user)(name = userinfo)
2016年07月11日 06点07分 12
1