电子邮件如何在Sun Java System Messaging Server 6.3中将用户排除在“人”组之外?
我是Sun Java System Messaging Server 6.3的新手。我正在通过ldapbrowser 2.8.2版管理我的电子邮件用户和组
我想从人员组中排除特定用户
我在people组的配置中找到以下字符串:
memberURL: ldap:///o=domain.com,dc=domain,dc=com??sub?(&(Employeenumber=*)(InetUserStatus=active))
# 1 楼答案
“人民”群体的定义是:
因此,如果您想排除某个人,您需要和要匹配的属性,以及要排除并构造与此匹配的LDAP搜索筛选器的值,并更新筛选器
(&(Employeenumber=*)(InetUserStatus=active))
以对应于此因此,如果它们是
Employeenumber
55
,那么您不希望它们出现在列表中,因此该条件为!(Employeenumber=55)
,因此您需要将其插入选择条件,如下所示:如果还想筛选第二个用户(例如
Employeenumber
99
),那么它会变成:你可以看到这会很快变得非常复杂