home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ldapsdk.zip / libraries / libldap / ldapfilter.conf < prev    next >
Text File  |  2000-06-14  |  3KB  |  110 lines

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