fakeldap 0.0.1 → 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +7 -1
  3. data/lib/fakeldap.rb +133 -10
  4. data/lib/fakeldap/version.rb +1 -1
  5. metadata +50 -191
  6. data/vendor/ruby-ldapserver/COPYING +0 -27
  7. data/vendor/ruby-ldapserver/ChangeLog +0 -83
  8. data/vendor/ruby-ldapserver/Manifest.txt +0 -32
  9. data/vendor/ruby-ldapserver/README +0 -222
  10. data/vendor/ruby-ldapserver/Rakefile +0 -22
  11. data/vendor/ruby-ldapserver/doc/LDAP.html +0 -104
  12. data/vendor/ruby-ldapserver/doc/LDAP/Abandon.html +0 -112
  13. data/vendor/ruby-ldapserver/doc/LDAP/Error.html +0 -115
  14. data/vendor/ruby-ldapserver/doc/LDAP/ResultError.html +0 -241
  15. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AdminLimitExceeded.html +0 -158
  16. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AffectsMultipleDSAs.html +0 -158
  17. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AliasDereferencingProblem.html +0 -158
  18. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AliasProblem.html +0 -158
  19. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AttributeOrValueExists.html +0 -158
  20. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AuthMethodNotSupported.html +0 -158
  21. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Busy.html +0 -158
  22. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/CompareFalse.html +0 -158
  23. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/CompareTrue.html +0 -158
  24. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ConfidentialityRequired.html +0 -158
  25. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ConstraintViolation.html +0 -158
  26. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/EntryAlreadyExists.html +0 -158
  27. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InappropriateAuthentication.html +0 -158
  28. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InappropriateMatching.html +0 -158
  29. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InsufficientAccessRights.html +0 -158
  30. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidAttributeSyntax.html +0 -158
  31. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidCredentials.html +0 -158
  32. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidDNSyntax.html +0 -158
  33. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/IsLeaf.html +0 -158
  34. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/LoopDetect.html +0 -158
  35. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NamingViolation.html +0 -158
  36. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NoSuchAttribute.html +0 -158
  37. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NoSuchObject.html +0 -158
  38. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NotAllowedOnNonLeaf.html +0 -158
  39. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NotAllowedOnRDN.html +0 -158
  40. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ObjectClassModsProhibited.html +0 -158
  41. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ObjectClassViolation.html +0 -158
  42. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/OperationsError.html +0 -158
  43. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Other.html +0 -158
  44. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ProtocolError.html +0 -158
  45. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Referral.html +0 -158
  46. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/SaslBindInProgress.html +0 -158
  47. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/SizeLimitExceeded.html +0 -158
  48. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/StrongAuthRequired.html +0 -158
  49. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Success.html +0 -158
  50. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/TimeLimitExceeded.html +0 -158
  51. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Unavailable.html +0 -158
  52. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UnavailableCriticalExtension.html +0 -158
  53. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UndefinedAttributeType.html +0 -158
  54. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UnwillingToPerform.html +0 -158
  55. data/vendor/ruby-ldapserver/doc/LDAP/Server.html +0 -1056
  56. data/vendor/ruby-ldapserver/doc/LDAP/Server/Connection.html +0 -1353
  57. data/vendor/ruby-ldapserver/doc/LDAP/Server/Filter.html +0 -634
  58. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule.html +0 -1132
  59. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/DefaultMatchingClass.html +0 -219
  60. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Equality.html +0 -170
  61. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/IA5Downcase.html +0 -143
  62. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/IA5Trim.html +0 -155
  63. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Integer.html +0 -143
  64. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Ordering.html +0 -212
  65. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/StringDowncase.html +0 -143
  66. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/StringTrim.html +0 -154
  67. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Substrings.html +0 -177
  68. data/vendor/ruby-ldapserver/doc/LDAP/Server/Operation.html +0 -2994
  69. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema.html +0 -2024
  70. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema/AttributeType.html +0 -1462
  71. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema/ObjectClass.html +0 -1097
  72. data/vendor/ruby-ldapserver/doc/LDAP/Server/Syntax.html +0 -1254
  73. data/vendor/ruby-ldapserver/doc/LDAP/Server/VERSION.html +0 -134
  74. data/vendor/ruby-ldapserver/doc/_index.html +0 -662
  75. data/vendor/ruby-ldapserver/doc/class_list.html +0 -36
  76. data/vendor/ruby-ldapserver/doc/css/common.css +0 -1
  77. data/vendor/ruby-ldapserver/doc/css/full_list.css +0 -50
  78. data/vendor/ruby-ldapserver/doc/css/style.css +0 -303
  79. data/vendor/ruby-ldapserver/doc/file.README.html +0 -399
  80. data/vendor/ruby-ldapserver/doc/file_list.html +0 -38
  81. data/vendor/ruby-ldapserver/doc/frames.html +0 -13
  82. data/vendor/ruby-ldapserver/doc/index.html +0 -399
  83. data/vendor/ruby-ldapserver/doc/js/app.js +0 -204
  84. data/vendor/ruby-ldapserver/doc/js/full_list.js +0 -112
  85. data/vendor/ruby-ldapserver/doc/js/jquery.js +0 -154
  86. data/vendor/ruby-ldapserver/doc/method_list.html +0 -1571
  87. data/vendor/ruby-ldapserver/doc/top-level-namespace.html +0 -88
  88. data/vendor/ruby-ldapserver/examples/README +0 -89
  89. data/vendor/ruby-ldapserver/examples/mkcert.rb +0 -31
  90. data/vendor/ruby-ldapserver/examples/rbslapd1.rb +0 -111
  91. data/vendor/ruby-ldapserver/examples/rbslapd2.rb +0 -161
  92. data/vendor/ruby-ldapserver/examples/rbslapd3.rb +0 -172
  93. data/vendor/ruby-ldapserver/examples/speedtest.rb +0 -37
  94. data/vendor/ruby-ldapserver/lib/ldap/server.rb +0 -4
  95. data/vendor/ruby-ldapserver/lib/ldap/server/connection.rb +0 -276
  96. data/vendor/ruby-ldapserver/lib/ldap/server/filter.rb +0 -223
  97. data/vendor/ruby-ldapserver/lib/ldap/server/match.rb +0 -283
  98. data/vendor/ruby-ldapserver/lib/ldap/server/operation.rb +0 -487
  99. data/vendor/ruby-ldapserver/lib/ldap/server/preforkserver.rb +0 -93
  100. data/vendor/ruby-ldapserver/lib/ldap/server/result.rb +0 -71
  101. data/vendor/ruby-ldapserver/lib/ldap/server/schema.rb +0 -592
  102. data/vendor/ruby-ldapserver/lib/ldap/server/server.rb +0 -89
  103. data/vendor/ruby-ldapserver/lib/ldap/server/syntax.rb +0 -235
  104. data/vendor/ruby-ldapserver/lib/ldap/server/tcpserver.rb +0 -91
  105. data/vendor/ruby-ldapserver/lib/ldap/server/util.rb +0 -88
  106. data/vendor/ruby-ldapserver/lib/ldap/server/version.rb +0 -11
  107. data/vendor/ruby-ldapserver/test/core.schema +0 -582
  108. data/vendor/ruby-ldapserver/test/encoding_test.rb +0 -279
  109. data/vendor/ruby-ldapserver/test/filter_test.rb +0 -107
  110. data/vendor/ruby-ldapserver/test/match_test.rb +0 -59
  111. data/vendor/ruby-ldapserver/test/schema_test.rb +0 -113
  112. data/vendor/ruby-ldapserver/test/syntax_test.rb +0 -40
  113. data/vendor/ruby-ldapserver/test/test_helper.rb +0 -2
  114. data/vendor/ruby-ldapserver/test/util_test.rb +0 -51
@@ -1,36 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html>
4
- <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
8
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
9
- <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
10
- <base id="base_target" target="_parent" />
11
- </head>
12
- <body>
13
- <script type="text/javascript" charset="utf-8">
14
- if (window.top.frames.main) {
15
- document.getElementById('base_target').target = 'main';
16
- document.body.className = 'frames';
17
- }
18
- </script>
19
- <div id="content">
20
- <h1 id="full_list_header">Class List</h1>
21
- <div id="nav">
22
- <a target="_self" href="class_list.html">Classes</a> |
23
- <a target="_self" href="method_list.html">Methods</a> |
24
- <a target="_self" href="file_list.html">Files</a>
25
- </div>
26
- <div id="search">Search: <input type="text" /></div>
27
-
28
- <ul id="full_list" class="class">
29
- <li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
30
- <li><a class='toggle'></a> <span class='object_link'><a href="LDAP.html" title="LDAP (module)">LDAP</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="LDAP/Abandon.html" title="LDAP::Abandon (class)">Abandon</a></span> &lt; Interrupt<small class='search_info'>LDAP</small></li><li><span class='object_link'><a href="LDAP/Error.html" title="LDAP::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>LDAP</small></li><li><a class='toggle'></a> <span class='object_link'><a href="LDAP/ResultError.html" title="LDAP::ResultError (class)">ResultError</a></span> &lt; Error<small class='search_info'>LDAP</small></li><ul><li><span class='object_link'><a href="LDAP/ResultError/AdminLimitExceeded.html" title="LDAP::ResultError::AdminLimitExceeded (class)">AdminLimitExceeded</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/AffectsMultipleDSAs.html" title="LDAP::ResultError::AffectsMultipleDSAs (class)">AffectsMultipleDSAs</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/AliasDereferencingProblem.html" title="LDAP::ResultError::AliasDereferencingProblem (class)">AliasDereferencingProblem</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/AliasProblem.html" title="LDAP::ResultError::AliasProblem (class)">AliasProblem</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/AttributeOrValueExists.html" title="LDAP::ResultError::AttributeOrValueExists (class)">AttributeOrValueExists</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/AuthMethodNotSupported.html" title="LDAP::ResultError::AuthMethodNotSupported (class)">AuthMethodNotSupported</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/Busy.html" title="LDAP::ResultError::Busy (class)">Busy</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/CompareFalse.html" title="LDAP::ResultError::CompareFalse (class)">CompareFalse</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/CompareTrue.html" title="LDAP::ResultError::CompareTrue (class)">CompareTrue</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/ConfidentialityRequired.html" title="LDAP::ResultError::ConfidentialityRequired (class)">ConfidentialityRequired</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/ConstraintViolation.html" title="LDAP::ResultError::ConstraintViolation (class)">ConstraintViolation</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/EntryAlreadyExists.html" title="LDAP::ResultError::EntryAlreadyExists (class)">EntryAlreadyExists</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/InappropriateAuthentication.html" title="LDAP::ResultError::InappropriateAuthentication (class)">InappropriateAuthentication</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/InappropriateMatching.html" title="LDAP::ResultError::InappropriateMatching (class)">InappropriateMatching</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/InsufficientAccessRights.html" title="LDAP::ResultError::InsufficientAccessRights (class)">InsufficientAccessRights</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/InvalidAttributeSyntax.html" title="LDAP::ResultError::InvalidAttributeSyntax (class)">InvalidAttributeSyntax</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/InvalidCredentials.html" title="LDAP::ResultError::InvalidCredentials (class)">InvalidCredentials</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/InvalidDNSyntax.html" title="LDAP::ResultError::InvalidDNSyntax (class)">InvalidDNSyntax</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/IsLeaf.html" title="LDAP::ResultError::IsLeaf (class)">IsLeaf</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/LoopDetect.html" title="LDAP::ResultError::LoopDetect (class)">LoopDetect</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/NamingViolation.html" title="LDAP::ResultError::NamingViolation (class)">NamingViolation</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/NoSuchAttribute.html" title="LDAP::ResultError::NoSuchAttribute (class)">NoSuchAttribute</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/NoSuchObject.html" title="LDAP::ResultError::NoSuchObject (class)">NoSuchObject</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/NotAllowedOnNonLeaf.html" title="LDAP::ResultError::NotAllowedOnNonLeaf (class)">NotAllowedOnNonLeaf</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/NotAllowedOnRDN.html" title="LDAP::ResultError::NotAllowedOnRDN (class)">NotAllowedOnRDN</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/ObjectClassModsProhibited.html" title="LDAP::ResultError::ObjectClassModsProhibited (class)">ObjectClassModsProhibited</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/ObjectClassViolation.html" title="LDAP::ResultError::ObjectClassViolation (class)">ObjectClassViolation</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/OperationsError.html" title="LDAP::ResultError::OperationsError (class)">OperationsError</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/Other.html" title="LDAP::ResultError::Other (class)">Other</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/ProtocolError.html" title="LDAP::ResultError::ProtocolError (class)">ProtocolError</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/Referral.html" title="LDAP::ResultError::Referral (class)">Referral</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/SaslBindInProgress.html" title="LDAP::ResultError::SaslBindInProgress (class)">SaslBindInProgress</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/SizeLimitExceeded.html" title="LDAP::ResultError::SizeLimitExceeded (class)">SizeLimitExceeded</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/StrongAuthRequired.html" title="LDAP::ResultError::StrongAuthRequired (class)">StrongAuthRequired</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/Success.html" title="LDAP::ResultError::Success (class)">Success</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/TimeLimitExceeded.html" title="LDAP::ResultError::TimeLimitExceeded (class)">TimeLimitExceeded</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/Unavailable.html" title="LDAP::ResultError::Unavailable (class)">Unavailable</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/UnavailableCriticalExtension.html" title="LDAP::ResultError::UnavailableCriticalExtension (class)">UnavailableCriticalExtension</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/UndefinedAttributeType.html" title="LDAP::ResultError::UndefinedAttributeType (class)">UndefinedAttributeType</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li><li><span class='object_link'><a href="LDAP/ResultError/UnwillingToPerform.html" title="LDAP::ResultError::UnwillingToPerform (class)">UnwillingToPerform</a></span> &lt; Object<small class='search_info'>LDAP::ResultError</small></li></ul><li><a class='toggle'></a> <span class='object_link'><a href="LDAP/Server.html" title="LDAP::Server (class)">Server</a></span> &lt; Object<small class='search_info'>LDAP</small></li><ul><li><span class='object_link'><a href="LDAP/Server/Connection.html" title="LDAP::Server::Connection (class)">Connection</a></span> &lt; Object<small class='search_info'>LDAP::Server</small></li><li><span class='object_link'><a href="LDAP/Server/Filter.html" title="LDAP::Server::Filter (class)">Filter</a></span> &lt; Object<small class='search_info'>LDAP::Server</small></li><li><a class='toggle'></a> <span class='object_link'><a href="LDAP/Server/MatchingRule.html" title="LDAP::Server::MatchingRule (class)">MatchingRule</a></span> &lt; Object<small class='search_info'>LDAP::Server</small></li><ul><li><span class='object_link'><a href="LDAP/Server/MatchingRule/DefaultMatchingClass.html" title="LDAP::Server::MatchingRule::DefaultMatchingClass (class)">DefaultMatchingClass</a></span> &lt; Object<small class='search_info'>LDAP::Server::MatchingRule</small></li><li><span class='object_link'><a href="LDAP/Server/MatchingRule/Equality.html" title="LDAP::Server::MatchingRule::Equality (module)">Equality</a></span><small class='search_info'>LDAP::Server::MatchingRule</small></li><li><span class='object_link'><a href="LDAP/Server/MatchingRule/IA5Downcase.html" title="LDAP::Server::MatchingRule::IA5Downcase (module)">IA5Downcase</a></span><small class='search_info'>LDAP::Server::MatchingRule</small></li><li><span class='object_link'><a href="LDAP/Server/MatchingRule/IA5Trim.html" title="LDAP::Server::MatchingRule::IA5Trim (module)">IA5Trim</a></span><small class='search_info'>LDAP::Server::MatchingRule</small></li><li><span class='object_link'><a href="LDAP/Server/MatchingRule/Integer.html" title="LDAP::Server::MatchingRule::Integer (module)">Integer</a></span><small class='search_info'>LDAP::Server::MatchingRule</small></li><li><span class='object_link'><a href="LDAP/Server/MatchingRule/Ordering.html" title="LDAP::Server::MatchingRule::Ordering (module)">Ordering</a></span><small class='search_info'>LDAP::Server::MatchingRule</small></li><li><span class='object_link'><a href="LDAP/Server/MatchingRule/StringDowncase.html" title="LDAP::Server::MatchingRule::StringDowncase (module)">StringDowncase</a></span><small class='search_info'>LDAP::Server::MatchingRule</small></li><li><span class='object_link'><a href="LDAP/Server/MatchingRule/StringTrim.html" title="LDAP::Server::MatchingRule::StringTrim (module)">StringTrim</a></span><small class='search_info'>LDAP::Server::MatchingRule</small></li><li><span class='object_link'><a href="LDAP/Server/MatchingRule/Substrings.html" title="LDAP::Server::MatchingRule::Substrings (module)">Substrings</a></span><small class='search_info'>LDAP::Server::MatchingRule</small></li></ul><li><span class='object_link'><a href="LDAP/Server/Operation.html" title="LDAP::Server::Operation (class)">Operation</a></span> &lt; Object<small class='search_info'>LDAP::Server</small></li><li><a class='toggle'></a> <span class='object_link'><a href="LDAP/Server/Schema.html" title="LDAP::Server::Schema (class)">Schema</a></span> &lt; Object<small class='search_info'>LDAP::Server</small></li><ul><li><span class='object_link'><a href="LDAP/Server/Schema/AttributeType.html" title="LDAP::Server::Schema::AttributeType (class)">AttributeType</a></span> &lt; Object<small class='search_info'>LDAP::Server::Schema</small></li><li><span class='object_link'><a href="LDAP/Server/Schema/ObjectClass.html" title="LDAP::Server::Schema::ObjectClass (class)">ObjectClass</a></span> &lt; Object<small class='search_info'>LDAP::Server::Schema</small></li></ul><li><span class='object_link'><a href="LDAP/Server/Syntax.html" title="LDAP::Server::Syntax (class)">Syntax</a></span> &lt; Object<small class='search_info'>LDAP::Server</small></li><li><span class='object_link'><a href="LDAP/Server/VERSION.html" title="LDAP::Server::VERSION (class)">VERSION</a></span> &lt; Object<small class='search_info'>LDAP::Server</small></li></ul></ul>
31
-
32
- </ul>
33
- </div>
34
- </body>
35
- </html>
36
-
@@ -1 +0,0 @@
1
- /* Override this file with custom rules */
@@ -1,50 +0,0 @@
1
- body {
2
- margin: 0;
3
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
- font-size: 13px;
5
- height: 101%;
6
- overflow-x: hidden;
7
- }
8
-
9
- h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
10
- .clear { clear: both; }
11
- #search { position: absolute; right: 5px; top: 9px; }
12
- #full_list { padding: 0; list-style: none; margin-left: 0; }
13
- #full_list ul { padding: 0; }
14
- #full_list li { padding: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; }
15
- #noresults { display: none; padding: 7px 12px; }
16
- ul.collapsed ul, ul.collapsed li { display: none; }
17
- li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
18
- li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
19
- li { color: #888; cursor: pointer; }
20
- li.deprecated { text-decoration: line-through; font-style: italic; }
21
- li.r1 { background: #f0f0f0; }
22
- li.r2 { background: #fafafa; }
23
- li:hover { background: #ddd; }
24
- li small:before { content: "("; }
25
- li small:after { content: ")"; }
26
- li small.search_info { display: none; }
27
- a:link, a:visited { text-decoration: none; color: #05a; }
28
- li.clicked { background: #05a; color: #ccc; }
29
- li.clicked a:link, li.clicked a:visited { color: #eee; }
30
- li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
31
- li.collapsed.clicked a.toggle { background-position: top right; }
32
- #search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
33
- #nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
34
- #nav a:link, #nav a:visited { color: #358; }
35
- #nav a:hover { background: transparent; color: #5af; }
36
-
37
- .frames #content h1 { margin-top: 0; }
38
- .frames li { white-space: nowrap; cursor: normal; }
39
- .frames li small { display: block; font-size: 0.8em; }
40
- .frames li small:before { content: ""; }
41
- .frames li small:after { content: ""; }
42
- .frames li small.search_info { display: none; }
43
- .frames #search { position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; }
44
- .frames #search input { width: 110px; }
45
- .frames #nav { display: block; }
46
-
47
- #full_list.insearch li { display: none; }
48
- #full_list.insearch li.found { display: list-item; padding-left: 10px; }
49
- #full_list.insearch li a.toggle { display: none; }
50
- #full_list.insearch li small.search_info { display: block; }
@@ -1,303 +0,0 @@
1
- body {
2
- padding: 0 20px;
3
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
- font-size: 13px;
5
- }
6
- body.frames { padding: 0 5px; }
7
- h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
8
- h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
9
- h1.title { margin-bottom: 10px; }
10
- h1.alphaindex { margin-top: 0; font-size: 22px; }
11
- h2 {
12
- padding: 0;
13
- padding-bottom: 3px;
14
- border-bottom: 1px #aaa solid;
15
- font-size: 1.4em;
16
- margin: 1.8em 0 0.5em;
17
- }
18
- h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right; }
19
- .clear { clear: both; }
20
- .inline { display: inline; }
21
- .inline p:first-child { display: inline; }
22
- .docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
23
- .docstring h1 { font-size: 1.2em; }
24
- .docstring h2 { font-size: 1.1em; }
25
- .docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
26
- .docstring .object_link { font-family: monospace; }
27
-
28
- .note {
29
- color: #222;
30
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
31
- background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
32
- display: block;
33
- }
34
- .note.todo { background: #ffffc5; border-color: #ececaa; }
35
- .note.returns_void { background: #efefef; }
36
- .note.deprecated { background: #ffe5e5; border-color: #e9dada; }
37
- .note.private { background: #ffffc5; border-color: #ececaa; }
38
- .note.title { text-transform: lowercase; padding: 1px 5px; margin-left: 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
39
- h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
40
- .note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
41
- .note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
42
- .note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
43
- .note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
44
-
45
- h3.inherited {
46
- font-style: italic;
47
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
48
- font-weight: normal;
49
- padding: 0;
50
- margin: 0;
51
- margin-top: 12px;
52
- margin-bottom: 3px;
53
- font-size: 13px;
54
- }
55
- p.inherited {
56
- padding: 0;
57
- margin: 0;
58
- margin-left: 25px;
59
- }
60
-
61
- dl.box {
62
- width: 520px;
63
- font-size: 1em;
64
- }
65
- dl.box dt {
66
- float: left;
67
- display: block;
68
- width: 100px;
69
- margin: 0;
70
- text-align: right;
71
- font-weight: bold;
72
- border: 1px solid #aaa;
73
- border-width: 1px 0px 0px 1px;
74
- padding: 6px 0;
75
- padding-right: 10px;
76
- }
77
- dl.box dd {
78
- float: left;
79
- display: block;
80
- width: 380px;
81
- margin: 0;
82
- padding: 6px 0;
83
- padding-right: 20px;
84
- border: 1px solid #aaa;
85
- border-width: 1px 1px 0 0;
86
- }
87
- dl.box .last {
88
- border-bottom: 1px solid #aaa;
89
- }
90
- dl.box .r1 { background: #eee; }
91
-
92
- ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
93
- #files { padding-left: 15px; font-size: 1.1em; }
94
-
95
- #files { padding: 0; }
96
- #files li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
97
-
98
- dl.constants { margin-left: 40px; }
99
- dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
100
- dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
101
-
102
- .summary_desc { margin-left: 32px; display: block; font-family: sans-serif; }
103
- .summary_desc tt { font-size: 0.9em; }
104
- dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
105
- dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
106
- dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
107
- dl.constants .discussion *:first-child { margin-top: 0; }
108
- dl.constants .discussion *:last-child { margin-bottom: 0; }
109
-
110
- .method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
111
- .method_details.first { border: 0; }
112
- p.signature {
113
- font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
114
- padding: 6px 10px; margin-top: 18px;
115
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
116
- }
117
- p.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
118
- p.signature .overload { display: block; }
119
- p.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
120
- p.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
121
- p.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
122
-
123
- .tags h3 { font-size: 1em; margin-bottom: 0; }
124
- .tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
125
- .tags ul li { margin-bottom: 3px; }
126
- .tags ul .name { font-family: monospace; font-weight: bold; }
127
- .tags ul .note { padding: 3px 6px; }
128
- .tags { margin-bottom: 12px; }
129
-
130
- .tags .examples h3 { margin-bottom: 10px; }
131
- .tags .examples h4 { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
132
-
133
- .tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
134
- .tags .overload .overload_item .signature {
135
- padding: 2px 8px;
136
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
137
- }
138
- .tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
139
- .tags .overload .docstring { margin-top: 15px; }
140
-
141
- .defines { display: none; }
142
-
143
- #method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
144
-
145
- .showSource { font-size: 0.9em; }
146
- .showSource a:link, .showSource a:visited { text-decoration: none; color: #666; }
147
-
148
- #content a:link, #content a:visited { text-decoration: none; color: #05a; }
149
- #content a:hover { background: #ffffa5; }
150
- .docstring { margin-right: 6em; }
151
-
152
- ul.summary {
153
- list-style: none;
154
- font-family: monospace;
155
- font-size: 1em;
156
- line-height: 1.5em;
157
- }
158
- ul.summary a:link, ul.summary a:visited {
159
- text-decoration: none; font-size: 1.1em;
160
- }
161
- ul.summary li { margin-bottom: 5px; }
162
- .summary .summary_signature {
163
- padding: 1px 10px;
164
- background: #eaeaff; border: 1px solid #dfdfe5;
165
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
166
- }
167
- .summary_signature:hover { background: #eeeeff; cursor: pointer; }
168
- ul.summary.compact li { display: inline; margin-right: 5px; line-height: 2.6em;}
169
- ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
170
- #content .summary_signature:hover a:link,
171
- #content .summary_signature:hover a:visited {
172
- background: transparent;
173
- color: #48f;
174
- }
175
-
176
- p.inherited a { font-family: monospace; font-size: 0.9em; }
177
- p.inherited { word-spacing: 5px; font-size: 1.2em; }
178
-
179
- p.children { font-size: 1.2em; }
180
- p.children a { font-size: 0.9em; }
181
- p.children strong { font-size: 0.8em; }
182
- p.children strong.modules { padding-left: 5px; }
183
-
184
- ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
185
- ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
186
- ul.fullTree li { text-align: center; }
187
- ul.fullTree li.next:before { font-size: 1.2em; content: '\2B06'; color: #bbb; display: block; margin-top: 3px; }
188
-
189
- #search { position: absolute; right: 14px; top: 0px; }
190
- #search a:link, #search a:visited {
191
- display: block; float: left; margin-right: 4px;
192
- padding: 8px 10px; text-decoration: none; color: #05a;
193
- border: 1px solid #d8d8e5;
194
- -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
195
- -webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px;
196
- background: #eaf0ff;
197
- -webkit-box-shadow: -1px 1px 3px #ddd;
198
- }
199
- #search a:hover { background: #f5faff; color: #06b; }
200
- #search a.active {
201
- background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
202
- -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
203
- -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
204
- }
205
- #search a.inactive { color: #999; }
206
- .frames #search { display: none; }
207
- .inheritanceTree, .toggleDefines { float: right; }
208
-
209
- #menu { font-size: 1.3em; color: #bbb; top: -5px; position: relative; }
210
- #menu .title, #menu a { font-size: 0.7em; }
211
- #menu .title a { font-size: 1em; }
212
- #menu .title { color: #555; }
213
- #menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
214
- #menu a:hover { color: #05a; }
215
- #menu .noframes { display: none; }
216
- .frames #menu .noframes { display: inline; float: right; }
217
-
218
- #footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
219
- #footer a:link, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
220
- #footer a:hover { color: #05a; }
221
-
222
- #listing ul.alpha { font-size: 1.1em; }
223
- #listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
224
- #listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
225
- #listing ul.alpha ul { margin: 0; padding-left: 15px; }
226
- #listing ul small { color: #666; font-size: 0.7em; }
227
-
228
- li.r1 { background: #f0f0f0; }
229
- li.r2 { background: #fafafa; }
230
-
231
- #search_frame {
232
- background: #fff;
233
- display: none;
234
- position: absolute;
235
- top: 36px;
236
- right: 18px;
237
- width: 500px;
238
- height: 80%;
239
- overflow-y: scroll;
240
- border: 1px solid #999;
241
- border-collapse: collapse;
242
- -webkit-box-shadow: -7px 5px 25px #aaa;
243
- -moz-box-shadow: -7px 5px 25px #aaa;
244
- -moz-border-radius: 2px;
245
- -webkit-border-radius: 2px;
246
- }
247
-
248
- #content ul.summary li.deprecated a:link,
249
- #content ul.summary li.deprecated a:visited { text-decoration: line-through; font-style: italic; }
250
-
251
- #toc {
252
- padding: 20px; padding-right: 30px; border: 1px solid #ddd; float: right; background: #fff; margin-left: 20px; margin-bottom: 20px;
253
- max-width: 300px;
254
- -webkit-box-shadow: -2px 2px 6px #bbb;
255
- -moz-box-shadow: -2px 2px 6px #bbb;
256
- z-index: 9999;
257
- position: relative;
258
- }
259
- #toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
260
- #toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
261
- #toc .title { margin: 0; }
262
- #toc ol { padding-left: 1.8em; }
263
- #toc li { font-size: 1.1em; line-height: 1.7em; }
264
- #toc > ol > li { font-size: 1.1em; font-weight: bold; }
265
- #toc ol > ol { font-size: 0.9em; }
266
- #toc ol ol > ol { padding-left: 2.3em; }
267
- #toc ol + li { margin-top: 0.3em; }
268
- #toc.hidden { padding: 10px; background: #f6f6f6; -webkit-box-shadow: none; -moz-box-shadow: none; }
269
- #filecontents h1 + #toc.nofloat { margin-top: 0; }
270
-
271
- /* syntax highlighting */
272
- .source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
273
- #filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
274
- #filecontents pre.code, .docstring pre.code { display: block; }
275
- .source_code .lines { padding-right: 12px; color: #555; text-align: right; }
276
- #filecontents pre.code, .docstring pre.code,
277
- .tags .example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
278
- pre.code { color: #000; }
279
- pre.code .info.file { color: #555; }
280
- pre.code .val { color: #036A07; }
281
- pre.code .tstring_content,
282
- pre.code .heredoc_beg, pre.code .heredoc_end,
283
- pre.code .qwords_beg, pre.code .qwords_end,
284
- pre.code .tstring, pre.code .dstring { color: #036A07; }
285
- pre.code .fid, pre.code .id.new, pre.code .id.to_s,
286
- pre.code .id.to_sym, pre.code .id.to_f,
287
- pre.code .dot + pre.code .id,
288
- pre.code .id.to_i pre.code .id.each { color: #0085FF; }
289
- pre.code .comment { color: #0066FF; }
290
- pre.code .const, pre.code .constant { color: #585CF6; }
291
- pre.code .symbol { color: #C5060B; }
292
- pre.code .kw,
293
- pre.code .label,
294
- pre.code .id.require,
295
- pre.code .id.extend,
296
- pre.code .id.include { color: #0000FF; }
297
- pre.code .ivar { color: #318495; }
298
- pre.code .gvar,
299
- pre.code .id.backref,
300
- pre.code .id.nth_ref { color: #6D79DE; }
301
- pre.code .regexp, .dregexp { color: #036A07; }
302
- pre.code a { border-bottom: 1px dotted #bbf; }
303
-
@@ -1,399 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <title>Documentation by YARD 0.6.0</title>
7
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
8
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
-
10
- <script type="text/javascript" charset="utf-8">
11
- relpath = '';
12
- if (relpath != '') relpath += '/';
13
- </script>
14
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
15
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
16
-
17
- </head>
18
- <body>
19
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
- <a href="_index.html" title="Index">Index</a> &raquo;
27
- <span class="title">File: README</span>
28
-
29
-
30
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
31
- </div>
32
-
33
- <div id="search">
34
- <a id="class_list_link" href="#">Class List</a>
35
- <a id="method_list_link" href="#">Method List</a>
36
- <a id ="file_list_link" href="#">File List</a>
37
- </div>
38
-
39
- <div class="clear"></div>
40
- </div>
41
-
42
- <iframe id="search_frame"></iframe>
43
-
44
- <div id="content"><div id='filecontents'><p>
45
- CHANGES FROM VERSION 0.2 TO VERSION 0.3
46
- </p>
47
- <hr style="height: 10px"></hr><p>
48
- There have been substantial changes to ruby-ldapserver between version 0.2
49
- and version 0.3. If you have not been using 0.2, you can skip this section.
50
- </p>
51
- <p>
52
- Major API changes:
53
- </p>
54
- <ul>
55
- <li><p>
56
- I have renamed module LDAPServer to module LDAP::Server, This means e.g.
57
- </p>
58
- </li>
59
- </ul>
60
- <p>
61
- require &#8216;ldapserver/connection&#8217; becomes require
62
- &#8216;ldap/server/connection&#8217;
63
- </p>
64
- <ul>
65
- <li><p>
66
- I have moved the result exceptions to be subclasses of LDAP::ResultError,
67
- </p>
68
- </li>
69
- </ul>
70
- <p>
71
- for consistency with ruby-ldap, and named under LDAP::ResultError::<name>
72
- to group them together. Everything else remains under LDAP::Server.
73
- </p>
74
- <ul>
75
- <li><p>
76
- The format of the parsed &#8216;filter&#8217; parameter to Operation#search
77
- has
78
- </p>
79
- </li>
80
- </ul>
81
- <p>
82
- changed. See filter.rb. In particular, the format of a :substrings filter
83
- has been changed (simplified).
84
- </p>
85
- <ul>
86
- <li><p>
87
- The format of the &#8216;modinfo&#8217; parameter to Operation#modify has
88
- changed. See
89
- </p>
90
- </li>
91
- </ul>
92
- <p>
93
- the comment above &#8216;def modify&#8217; in operation.rb
94
- </p>
95
- <ul>
96
- <li><p>
97
- Attribute names are no longer automatically downcased. If you are running
98
- </p>
99
- </li>
100
- </ul>
101
- <p>
102
- with a schema, however, then they will be converted into their preferred
103
- forms. That is, &#8220;OBJECTCLASS&#8221; will become
104
- &#8220;objectClass&#8221;, &#8220;CommonName&#8221; will become
105
- &#8220;cn&#8221;, and so on.
106
- </p>
107
- <p>
108
- Improvements include:
109
- </p>
110
- <ul>
111
- <li><p>
112
- There is now an explicit object representing a server instance:
113
- </p>
114
- </li>
115
- </ul>
116
- <p>
117
- &#8220;LDAP::Server&#8221;. This bundles together the root DSE, the schema
118
- (if used), the subclass of Operation which you wish to use, and various
119
- other parameters such as ssl certificate data. It has methods run_tcpserver
120
- and run_prefork, making it straightforward to start a server. Both support
121
- SSL on connect. You can do require &#8216;ldap/server&#8217; to get all the
122
- essential libraries for a server.
123
- </p>
124
- <ul>
125
- <li><p>
126
- LDAP::Server :user and :group settings let you drop privileges after
127
- </p>
128
- </li>
129
- </ul>
130
- <p>
131
- binding to port 389.
132
- </p>
133
- <ul>
134
- <li><p>
135
- Schema support. Can load schemas in OpenLDAP format, publish them via
136
- </p>
137
- </li>
138
- </ul>
139
- <p>
140
- LDAP, validate add/modify operations, use them to map attribute names to
141
- their &#8216;standard&#8217; versions (e.g. &#8220;commonname&#8221;
142
- becomes &#8220;cn&#8221;), and perform case-insensitive comparisons where
143
- the schema mandates this. See classes LDAP::Server::Schema,
144
- LDAP::Server::ObjectClass, LDAP::Server::AttributeType,
145
- LDAP::Server::Syntax, LDAP::Server::MatchingRule, and examples/rbslapd3.rb.
146
- </p>
147
- <p>
148
- What is it?
149
- </p>
150
- <hr style="height: 9px"></hr><p>
151
- ruby-ldapserver is a lightweight, pure Ruby skeleton for implementing LDAP
152
- server applications. It is intended primarily for when you wish to build a
153
- gateway from LDAP queries into some other protocol or database; it does not
154
- attempt to be a full implementation of the standard LDAP data model itself
155
- (although you could build one using this as a frontend)
156
- </p>
157
- <p>
158
- The Connection class handles incoming connections, decodes ASN1-formatted
159
- LDAP requests, and creates an Operation object for each request. The
160
- Operation object further parses the ASN1 request and invokes methods which
161
- you override to perform useful work. Responses and exceptions are converted
162
- back into ASN1 and returned to the client. Optionally, a collection of
163
- objects can be used to implement a Schema (e.g. normalize attribute names,
164
- validate add and modify operations, perform appropriate matching
165
- operations)
166
- </p>
167
- <p>
168
- Since it&#8217;s written entirely in Ruby, it benefits from Ruby&#8217;s
169
- threading engine.
170
- </p>
171
- <p>
172
- Target audience
173
- </p>
174
- <hr style="height: 10px"></hr><p>
175
- Technically-savvy Ruby applications developers; the sort of people who are
176
- happy to read RFCs and read code to work out what it does :-)
177
- </p>
178
- <p>
179
- The examples/ directory contains a few minimal LDAP servers which you can
180
- use as a starting point.
181
- </p>
182
- <p>
183
- Status
184
- </p>
185
- <hr style="height: 4px"></hr><p>
186
- This is an early release. It works for me as an LDAP protocol convertor;
187
- the Schema stuff has not been heavily tested by me.
188
- </p>
189
- <p>
190
- Libraries
191
- </p>
192
- <hr style="height: 7px"></hr><p>
193
- ASN1 encoding and decoding is done using the &#8216;openssl&#8217;
194
- extension, which is standard in the Ruby 1.8.2 base distribution. To check
195
- you have it, you should be able to run `ruby -ropenssl -e puts` with no
196
- error.
197
- </p>
198
- <p>
199
- However, I&#8217;ve found in the past that Linux machines don&#8217;t
200
- always build the openssl extension when compiling Ruby from source. With
201
- Red Hat 9, the solution for me was, when building Ruby itself:
202
- </p>
203
- <pre class="code">
204
- <span class='comment'># export CPPFLAGS=&quot;-I/usr/kerberos/include&quot;
205
- </span> <span class='comment'># export LDFLAGS=&quot;-L/usr/kerberos/lib&quot;
206
- </span> <span class='comment'># ./configure ...etc
207
- </span></pre>
208
- <p>
209
- If you want to run the test suite then you&#8217;ll need to install the
210
- ruby-ldap client library, and if you want to run examples/rbslapd3.rb then
211
- you&#8217;ll need the prefork library. Both are available from <<a
212
- href="http://raa.ruby-lang.org">raa.ruby-lang.org</a>/>.
213
- </p>
214
- <p>
215
- Protocol implementation
216
- </p>
217
- <hr style="height: 10px"></hr><p>
218
- ruby-ldapserver tries to be a reasonably complete implementation of the
219
- message decoding and encoding components of LDAP. However, it does not
220
- synthesise or directly enforce the LDAP data model. It will advertise a
221
- schema in the root DSE if you configure one, and it provides helper
222
- functions which allow you to validate add and modify operations against a
223
- schema; but it&#8217;s up to you to use them, if you wish. If you&#8217;re
224
- just using LDAP as a convenient query interface into some other database,
225
- you probably don&#8217;t care about schemas.
226
- </p>
227
- <p>
228
- If your clients permit it, you can violate the LDAP specification further,
229
- eliminating some of the gross design flaws of LDAP. For example, you can
230
- ditch the LDAP idea that a Distinguished Name must consist of
231
- attr=val,attr=val,attr=val&#8230; and use whatever is convenient as a
232
- primary key (e.g. &#8220;val1,val2,val3&#8221; or
233
- &#8220;id,table_name&#8221;). The &#8216;add&#8217; operation could
234
- allocate DNs automatically from a sequence. There&#8217;s no need for the
235
- data duplication where an LDAP entry must contain the same attr=val pair
236
- which is also the entry&#8217;s RDN. Violations of the LDAP spec in this
237
- way are at your own risk.
238
- </p>
239
- <p>
240
- Threading issues
241
- </p>
242
- <hr style="height: 10px"></hr><p>
243
- The core of this library is the LDAP::Server::Connection object which
244
- handles communication with a single client, and the LDAP::Server::Operation
245
- object which handles a single request. Because the LDAP protocol allows a
246
- client to send multiple overlapping requests down the same TCP connection,
247
- I start a new Ruby thread for each Operation.
248
- </p>
249
- <p>
250
- If your Operation object deals with any global shared data, then it needs
251
- to do so in a thread-safe way. If this is new to you then see <<a
252
- href="http://www.rubycentral.com/book/tut_threads.html">www.rubycentral.com/book/tut_threads.html</a>>
253
- <<a
254
- href="http://www.rubygarden.org/ruby?MultiThreading">www.rubygarden.org/ruby?MultiThreading</a>>
255
- </p>
256
- <p>
257
- For incoming client connections, I have supplied a simple tcpserver method
258
- which starts a new Ruby thread for each client. This works fine, but in a
259
- multi-CPU system, all LDAP server operations will be processed on one CPU;
260
- also with a very large number of concurrent client connections, you may
261
- find you hit the a max-filedescriptors-per-process limit.
262
- </p>
263
- <p>
264
- I have also provided a preforking server; see examples/rbslapd3.rb. In this
265
- case, your connections are handled in separate processes so they cannot
266
- share data directly in RAM.
267
- </p>
268
- <p>
269
- If you are using the default threading tcpserver, then beware that a number
270
- of Ruby extension libraries block the threading interpreter. In particular,
271
- the client library &#8220;ruby-ldap&#8221; blocks when waiting for a
272
- response from a remote server, since it&#8217;s a wrapper around a C
273
- library which is unaware of Ruby&#8217;s threading engine. This can cause
274
- your application to &#8216;freeze&#8217; periodically. Either choose client
275
- libraries which play well with threading, or make sure each client is
276
- handled in a different process.
277
- </p>
278
- <p>
279
- For example, when talking to a MySQL database, you might want to choose
280
- &#8220;ruby-mysql&#8221; (which is a pure Ruby implementation of the MySQL
281
- protocol) rather than &#8220;mysql-ruby&#8221; (which is a wrapper around
282
- the C API, and blocks while waiting for responses from the server)
283
- </p>
284
- <p>
285
- Even with something like ruby-mysql, beware DNS lookups: resolver libraries
286
- can block too. There is a pure Ruby resolver replacement in the standard
287
- library: if you do
288
- </p>
289
- <pre class="code">
290
- <span class='id require'>require</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>resolv-replace</span><span class='tstring_end'>'</span></span>
291
- </pre>
292
- <p>
293
- this changes TCPSocket and friends to use it instead of the default C
294
- resolver. Or you could just hard-code IP addresses, or put entries in
295
- /etc/hosts for the machines you want to contact.
296
- </p>
297
- <p>
298
- Another threading issue to think about is abandoned and timed-out LDAP
299
- operations. The Connection object handles these by raising an
300
- LDAP::Server::Abandon or LDAP::Server::TimeLimitExceeded exception in the
301
- Operation thread, which you can either ignore or rescue. However, if in
302
- rescuing it you end up putting (say) a SQL connection back into a pool, you
303
- should beware that the SQL connection may still be mid-query, so it&#8217;s
304
- probably better to discard it and use a fresh one next time.
305
- </p>
306
- <p>
307
- Performance
308
- </p>
309
- <hr style="height: 9px"></hr><p>
310
- examples/speedtest.rb is a simple client which forks N processes, and in
311
- each process opens an LDAP connection, binds, and sends M search requests
312
- down it.
313
- </p>
314
- <p>
315
- Using speedtest.rb and rbslapd1.rb, running on the <b>same</b> machine
316
- (single-processor AMD Athlon 2500+) I achieve around 800 searches per
317
- second with N=1,M=1000 and 300-400 searches per second with N=10,M=100.
318
- </p>
319
- <p>
320
- To-do list
321
- </p>
322
- <hr style="height: 8px"></hr><ul>
323
- <li><p>
324
- handle and test generation of LDAP referrals properly
325
- </p>
326
- </li>
327
- <li><p>
328
- more cases in test suite: abandon, concurrency, performance tests, error
329
- handling
330
- </p>
331
- </li>
332
- <li><p>
333
- extensible match filters
334
- </p>
335
- </li>
336
- <li><p>
337
- extended operations RFC 2830 - Start TLS RFC 3062 - password modify RFC
338
- 2839 - whoami RFC 3909 - cancel
339
- </p>
340
- </li>
341
- </ul>
342
- <p>
343
- References
344
- </p>
345
- <hr style="height: 8px"></hr><ul>
346
- <li><p>
347
- <a
348
- href="ftp://ftp.isi.edu/in-notes/rfc2251.txt">ftp.isi.edu/in-notes/rfc2251.txt</a>
349
- (base protocol)
350
- </p>
351
- </li>
352
- <li><p>
353
- <a
354
- href="ftp://ftp.isi.edu/in-notes/rfc2252.txt">ftp.isi.edu/in-notes/rfc2252.txt</a>
355
- (schema)
356
- </p>
357
- </li>
358
- <li><p>
359
- <a
360
- href="ftp://ftp.isi.edu/in-notes/rfc2253.txt">ftp.isi.edu/in-notes/rfc2253.txt</a>
361
- (DN encoding)
362
- </p>
363
- </li>
364
- <li><p>
365
- <a
366
- href="http://www.itu.int/ITU-T/studygroups/com17/languages/X.680-0207.pdf">www.itu.int/ITU-T/studygroups/com17/languages/X.680-0207.pdf</a>
367
- </p>
368
- </li>
369
- <li><p>
370
- <a
371
- href="http://www.itu.int/ITU-T/studygroups/com10/languages/X.690_1297.pdf">www.itu.int/ITU-T/studygroups/com10/languages/X.690_1297.pdf</a>
372
- </p>
373
- </li>
374
- </ul>
375
- <p>
376
- Contact
377
- </p>
378
- <hr style="height: 5px"></hr><p>
379
- You are very welcome to E-mail me with bug reports, patches, comments and
380
- suggestions for this software. However, please DON&#8217;T send me any
381
- general questions about LDAP, how LDAP works, how to apply LDAP in your
382
- particular situation, or questions about any other LDAP software. The
383
- `ldap@umich.edu` mailing list is probably the correct place to ask such
384
- questions. See: <<a
385
- href="http://listserver.itd.umich.edu/cgi-bin/lyris.pl?enter=ldap">listserver.itd.umich.edu/cgi-bin/lyris.pl?enter=ldap</a>>
386
- </p>
387
- <p>
388
- Brian Candler <B.Candler@pobox.com>
389
- </p>
390
- </div></div>
391
-
392
- <div id="footer">
393
- Generated on Mon Sep 13 13:27:15 2010 by
394
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
395
- 0.6.0 (ruby-1.9.2).
396
- </div>
397
-
398
- </body>
399
- </html>