From 6daae1ba00474652f6c32abf42a249a78409b68b Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Fri, 28 Oct 2016 15:03:08 +0200 Subject: eldap: cosmetic doc fixes --- lib/eldap/doc/src/eldap.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib') diff --git a/lib/eldap/doc/src/eldap.xml b/lib/eldap/doc/src/eldap.xml index 43873e44e2..f2c7889e58 100644 --- a/lib/eldap/doc/src/eldap.xml +++ b/lib/eldap/doc/src/eldap.xml @@ -197,7 +197,7 @@

Add an entry. The entry must not exist.

-
+	
   add(Handle,
       "cn=Bill Valentine, ou=people, o=Example Org, dc=example, dc=com",
        [{"objectclass", ["person"]},
@@ -205,7 +205,7 @@
         {"sn", ["Valentine"]},
         {"telephoneNumber", ["545 555 00"]}]
      )
-	
+
@@ -216,9 +216,9 @@

Delete an entry.

-
+	
   delete(Handle, "cn=Bill Valentine, ou=people, o=Example Org, dc=example, dc=com")
-	
+
@@ -259,11 +259,11 @@

Modify an entry.

-
+	
   modify(Handle, "cn=Bill Valentine, ou=people, o=Example Org, dc=example, dc=com",
          [eldap:mod_replace("telephoneNumber", ["555 555 00"]),
 	  eldap:mod_add("description", ["LDAP Hacker"]) ])
-	
+
@@ -320,10 +320,10 @@ whether the current RDN should be removed from the attribute list after the after operation. NewSupDN is the new parent that the RDN shall be moved to. If the old parent should remain as parent, NewSupDN shall be "".

-
+	
   modify_dn(Handle, "cn=Bill Valentine, ou=people, o=Example Org, dc=example, dc=com ",
             "cn=Bill Jr Valentine", true, "")
-	
+
@@ -342,10 +342,10 @@ Default values: scope is wholeSubtree(), deref is derefAlways(), types_only is false and timeout is 0 (meaning infinity).

-
+	
   Filter = eldap:substrings("cn", [{any,"V"}]),
   search(Handle, [{base, "dc=example, dc=com"}, {filter, Filter}, {attributes, ["cn"]}]),
-	
+

The timeout option in the SearchOptions is for the ldap server, while the timeout in eldap:open/2 is used for each individual request in the search operation. @@ -454,7 +454,7 @@

Creates an extensible match filter. For example,

- eldap:extensibleMatch("Bar", [{type,"sn"}, {matchingRule,"caseExactMatch"}])) + eldap:extensibleMatch("Bar", [{type,"sn"}, {matchingRule,"caseExactMatch"}]))

creates a filter which performs a caseExactMatch on the attribute sn and matches with the value "Bar". The default value of dnAttributes is false.

-- cgit v1.2.3