]> git.sur5r.net Git - openldap/blob - libraries/libldap/ldapfilter.conf
Set ciphers from slapd.conf.
[openldap] / libraries / libldap / ldapfilter.conf
1 # ldap filter file
2 #
3 # lines like this that start with # or empty lines are ignored
4
5 # syntax:
6 #
7 # <tag>
8 #   <pattern1>  <delimiters>    <filter1-1>     <desc1-1>       [<scope>]
9 #                               <filter1-2>     <desc1-2>       [<scope>]
10 #
11 #   <pattern2>  <delimiters>    <filter2-1>     <desc2-1>       [<scope>] ...
12 #
13 # The "desc" should describe the filter and it should correctly complete
14 # both of the following phrases:
15 #
16 #       One <desc> match was found for...
17 #       Three <desc> matches were found for...
18 #
19 # The scope is optional, and should be one of:
20 #       "base"
21 #       "onelevel"
22 #       "subtree"
23 # if it is included.
24 #
25
26 "finger and ud and go500 and go500gw subtree and web500gw subtree and rp500 and rcpt500 and ufn last"
27     "^$"    ""  "(objectclass=*)"   "default filter"
28     "="         " "     "%v"                            "arbitrary filter"
29
30     "^[0-9][0-9\-]*$"   " "     "(telephoneNumber=*%v)"         "phone number"
31
32     "@"         " "     "(mail=%v)"                     "email address"
33                         "(mail=%v*)"                    "start of email address"
34
35     "^.[\. _].*"        ". _"   "(cn=%v1* %v2-)"                "first initial"
36
37     ".*[. _].$" ". _"   "(cn=%v1-*)"                    "last initial"
38
39     "[. _]"     ". _"   "(|(sn=%v1-)(cn=%v1-))"         "exact"
40                         "(|(sn~=%v1-)(cn~=%v1-))"       "approximate"
41
42     ".*"        ". "    "(|(cn=%v1)(sn=%v1)(ou=%v1))"   "exact"
43                         "(|(cn~=%v1)(sn~=%v1)(ou~=%v1))"        "approximate"
44
45 "go500gw onelevel and web500gw onelevel and ufn first and ufn intermediate"
46     "^$"    ""  "(!(objectclass=dSA))"   "default filter"
47     "="         " "     "%v"                            "arbitrary filter"
48
49     "^..$"      " "     "(|(o=%v)(c=%v)(l=%v)(co=%v))"          "exact2"
50                         "(|(o~=%v)(c~=%v)(l~=%v)(co~=%v))"      "approximate2"
51
52     " "         " "     "(|(o=%v)(l=%v)(co=%v)(ou=%v))"         "exact"
53                         "(|(o~=%v)(l~=%v)(co~=%v)(ou~=%v))"     "approximate"
54
55     "\."        " "     "(associatedDomain=%v)"         "exact"
56
57     ".*"        " "     "(|(o=%v)(l=%v)(co=%v)(ou=%v))"         "exact"
58                         "(|(o~=%v)(l~=%v)(co~=%v)(ou~=%v))"     "approximate"
59
60
61 #
62 # xax500
63 #
64
65 "xax500"
66     "="                 " "     "(%v)"                  "arbitrary filter"
67
68     "^[0-9][0-9-]*$"    " "     "(telephoneNumber=*%v)" "phone number"
69
70     "@"                 " "     "(mail=%v)"             "email address"
71                                 "(mail=%v*)"            "start of email address"
72
73     "^.[. _].*"         ". _"   "(cn=%v1* %v2-)"        "first initial"
74
75     ".*[. _].$"         ". _"   "(cn=%v1-*)"            "last initial"
76
77     "[. _]"             ". _"   "(|(sn=%v1-)(cn=%v1-))"         "exact"
78                                 "(|(sn~=%v1-)(cn~=%v1-))"       "approximate"
79
80     ".*"                ". "    "(|(cn=%v1)(sn=%v1)(uid=%v1))"  "exact"
81                         "(|(cn=%v1)(sn~=%v1))"                  "approximate"
82
83
84 "xax500-auth"
85     "="                 " "     "(%v)"                  "arbitrary filter"
86
87     "^[0-9][0-9-]*$"    " "     "(telephoneNumber=*%v)" "phone number"
88
89     "@"                 " "     "(mail=%v)"             "email address"
90                                 "(mail=%v*)"            "start of email address"
91
92     "^.[. _].*"         ". _"   "(cn=%v1* %v2-)"        "first initial"
93
94     ".*[. _].$"         ". _"   "(cn=%v1-*)"            "last initial"
95
96     "[. _]"             ". _"   "(|(sn=%v1-)(cn=%v1-))" "exact"
97                         "(|(sn~=%v1-)(cn~=%v1-))"       "approximate"
98
99     ".*"                ". "    "(|(cn=%v1)(sn=%v1)(uid=%v1))"  "exact"
100                         "(|(cn=%v1)(sn~=%v1))"                  "approximate"
101
102 "list500"
103     "[. _]"     ". _"   "(|(sn=%v1-)(cn=%v1-))"         "exact"
104                         "(|(sn~=%v1-)(cn~=%v1-))"       "approximate"
105
106     ".*"        ". "    "(|(cn=%v1)(sn=%v1)(uid=%v1))"  "exact"
107                         "(|(cn~=%v1)(sn~=%v1))"         "approximate"