summaryrefslogtreecommitdiffstats
path: root/ldap/clients/dsgw/config/ja/dsgwfilter.conf
blob: 2f2a74087394c93d48b398503a41f9defd724182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# BEGIN COPYRIGHT BLOCK
# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
# Copyright (C) 2005 Red Hat, Inc.
# All rights reserved.
# END COPYRIGHT BLOCK
# 
# ldap filter file
#
# lines like this that start with # or empty lines are ignored
# 
# syntax:
#
# <tag>
#   <pattern1>	<delimiters>	<filter1-1>	<desc1-1>	[<scope>]
# 		   		<filter1-2>	<desc1-2>	[<scope>]
#
#   <pattern2>	<delimiters>	<filter2-1>	<desc2-1>	[<scope>] ...
#
# The <desc> should describe the filter.  It should correctly complete
# the phrases (in the resource database) DBT_Found0EntriesWhere_,
# DBT_Found1EntryWhere_ and DBT_FoundEntriesWhere_; for example:
#
#	Found 1 entry where the  <desc> '%v'.
#	Found no entries where the  <desc> '%v'.
#	Found 3 entries where the  <desc> '%v'.
#
# The <desc> should begin with the article ("the" in English) for
# languages that require agreement between article and noun (e.g
# genders in Spanish or French).
#
# The scope is optional, and should be one of:
#	"base"
#	"onelevel"
#	"subtree"
# if it is included.

#
# Directory Server gateway
#

"dsgw-people"
    "="			" "	"(%v))"			"LDAPフィルタ: "

    "^[+]*[0-9][ 0-9-]*$"	" "	"(telephoneNumber=*%v))"	"電話番号の末尾に一致する"

    "@"			" "	"(mail=%v))"		"電子メール アドレスに一致する"
				"(mail=%v*))"		"電子メール アドレスの先頭文字に一致する"

    "^.[. _].*"		". _"	"(cn=%v1* %v2-))"	"名の頭文字と名前に一致する"

    ".*[. _].$"		". _"	"(cn=%v1-*))"		"名前と姓の頭文字に一致する"

    "[. _]"	". _"	"(|(sn=%v1-)(cn=%v1-)))"	"名前に一致する"
			"(|(cn=*%v1-*)(sn=*%v1-*)(cn~=%v1-)(sn~=%v1-)))"	"類似しているか、含まれる"

    "^\*$"	"  "	"(|(cn=*)(sn=*)(uid=*)))"	"名前またはユーザIDに一致する"

    ".*"	". "	"(|(cn=%v1)(sn=%v1)(uid=%v1)))"	"名前またはユーザIDに一致する"
			"(|(cn=*%v1*)(sn=*%v1*)(cn~=%v1)(sn~=%v1)))"	"類似しているか、含まれる"


"dsgw-groups"
    "="			" "	"(%v))"			"LDAPフィルタ: "

    "^\*$"	"  "	"(cn=*))"			"名前に一致する"

    ".*"	". _"	"(cn=%v1-))"			"名前に一致する"
			"(cn=*%v1-*))"			"含まれる"
			"(cn~=%v1-))"			"類似した"

"dsgw-ntgroups"
    "="                 " "     "(%v))"                 "LDAPフィルタ: "

    "^\*$"	"  "	"(cn=*))"			"名前に一致する"

    ".*"        ". _"   "(cn=%v1-))"                    "名前に一致する"
                        "(cn=*%v1-*))"                  "含まれる"
                        "(cn~=%v1-))"                   "類似した"
                        "(ntgroupdomainid=%v:*))"       "NTドメイン名に一致する"
                        "(ntgroupdomainid=*:%v))"       "NTグループに一致する"

"dsgw-organizations"
    "="		" "	"(%v))"				"LDAPフィルタ: "

    "\."	" "	"(associatedDomain=%v))"	"関連ドメインに一致する"

    "^\*$"	"  "	"(o=*))"			"名前に一致する"

    ".*"	" "	"(o=%v))"			"名前に一致する"
			"(o=*%v*))"			"含まれる"
    			"(o~=%v))"			"類似した"

"dsgw-orgunits"
    "="		" "	"(%v))"				"LDAPフィルタ: "

    "\."	" "	"(associatedDomain=%v))"	"関連ドメインに一致する"

    "^\*$"	"  "	"(ou=*))"			"名前に一致する"

    ".*"	" "	"(ou=%v))"			"名前に一致する"
			"(ou=*%v*))"			"含まれる"
    			"(ou~=%v))"			"類似した"

"dsgw-anything"
    "="			" "	"(%v)"			"LDAPフィルタ: "

    "[. _]"	". _"	"(|(sn=%v1-)(cn=%v1-)(o=%v1-)(ou=%v1-))"   "名前に一致する"
			"(|(sn~=%v1-)(cn~=%v1-)(o=%v1-)(ou=%v1-))" "類似した"

    "^\*$"	"  "	"(|(cn=*)(sn=*)(o=*)(ou=*))"		"名前に一致する"

    ".*"	". "	"(|(cn=%v1)(sn=%v1)(o=%v1)(ou=%v1))"	"名前に一致する"
			"(|(cn=*%v1*)(sn=*%v1*)(cn~=%v1)(sn~=%v1)(o=%v1)(ou=%v1))"  "類似しているか、含まれる"


"dsgw-ntpeople"
    "="			" "	"(%v))"			"LDAPフィルタ: "

    "^[+]*[0-9][ 0-9-]*$"	" "	"(telephoneNumber=*%v))"	"電話番号の末尾に一致する"

    "@"			" "	"(mail=%v))"		"電子メール アドレスに一致する"
				"(mail=%v*))"		"電子メール アドレスの先頭文字に一致する"

    "^.[. _].*"		". _"	"(cn=%v1* %v2-))"	"名の頭文字と名前に一致する"

    ".*[. _].$"		". _"	"(cn=%v1-*))"		"名前と姓の頭文字に一致する"

    "[. _]"	". _"	"(|(sn=%v1-)(cn=%v1-)))"	"名前に一致する"
			"(|(cn=*%v1-*)(sn=*%v1-*)(cn~=%v1-)(sn~=%v1-)))"	"類似しているか、含まれる"

    "^\*$"	"  "	"(|(cn=*)(sn=*)))"		"名前に一致する"

    ".*"	". "	"(|(cn=%v1)(sn=%v1)))"		"名前に一致する"
                        "(ntuserlogonserver=%v))"	"NT ログオンサーバに一致する"
                        "(ntuserdomainid=%v:*))"	"NTドメイン名に一致する"
                        "(ntuserdomainid=*:%v))"	"NTユーザ名に一致する"
			"(|(cn=*%v1*)(sn=*%v1*)(cn~=%v1)(sn~=%v1)))"	"類似しているか、含まれる"

# Do not remove this line, or place any directives after it.