]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Document 'No such object'
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 21 Oct 2019 14:13:40 +0000 (10:13 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 21 Oct 2019 14:13:40 +0000 (10:13 -0400)
doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/docker.adoc
doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/packages.adoc
doc/antora/modules/howto/pages/modules/ldap/ldapsearch/connection_parameters.adoc

index acc461e8b82c029c02624eb346159a2097799bcc..4a6369285f895134b65d2333bc1dbaab396980d0 100644 (file)
@@ -102,7 +102,7 @@ ldapsearch -LLL -H ldap://localhost -x -D cn=readonly,dc=example,dc=com -w reado
 ----
 
 .Expected output
-[source,ldiff]
+[source,ldif]
 ----
 dn: radiusClientIdentifier=2.2.2.2,ou=clients,dc=example,dc=com
 objectClass: radiusClient
index c3bb4837819a3ed34325600ce8927aaf5d93f0ae..435ed92909660e92fe0e6f4ab2a3b5b628a1ba14 100644 (file)
@@ -237,7 +237,7 @@ ldapsearch -LLL -H ldap://localhost -x -D cn=readonly,dc=example,dc=com -w reado
 ----
 
 .Expected output
-[source,ldiff]
+[source,ldif]
 ----
 dn: radiusClientIdentifier=2.2.2.2,ou=clients,dc=example,dc=com
 objectClass: radiusClient
index 85242d14459140606a78b295cb1fd4e1cdcdee76..757f49080225fe777dfd9e8d5b630baa64a457a8 100644 (file)
@@ -54,6 +54,28 @@ continue indefinitely) when there is _no_ firewall blocking.
 ** `netcat -vz -w3 ldap.example.com 636` will return `succeeded` when there is no
 firewall blocking access.
 
+== Failed - No such object
+
+[source,ldif]
+----
+# extended LDIF
+#
+# LDAPv3
+# base <dc=example,dc=com> with scope subtree
+# filter: (objectclass=*)
+# requesting: ALL
+#
+
+# search result
+search: 2
+result: 32 No such object
+----
+
+* Verify that the base DN (`-b`) is correct.
+** If correct, and binding as an anonymous user, bind as a privileged user (see
+   <<Failure - Bind required>>).  The anonymous user may not have access to content
+   in the LDAP directory.
+
 == Failure - Bind required
 
 ```