Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 ApacheDS 作为 LDAP 服务器。当您定义属性时,有不同的类型。例如,字符串或布尔值。有没有办法指定一个列表。那么手机列表?
如果没有,怎么能做到这一点。我知道有一个名为 groupOfUnquieNames 的 ObjectClass。但问题是我有多个列表。例如,手机列表和地址列表。
如何才能做到这一点?
没有列表类型,但属性默认为多值 -mobile例如是多值的:
mobile
dn: uid=user,dc=example,dc=com objectClass: top objectClass: inetOrgPerson ... mobile: 000-000-0000 mobile: 111-111-1111
换句话说,用户user有两个手机号码。两者都将在搜索请求中返回。
user
我在将空值传递给存储过程时遇到问题,例如,如果未在下拉列表中选择一个选项,如何将其作为空值通过 sqdatasource 传递到数据库。
我目前在我的页面上有许多下拉控件,它们保存参数值以传递给存储过程。
当我从这些控件中选择一些值时,gridvie