From: Arran Cudbard-Bell Date: Mon, 21 Oct 2019 14:13:40 +0000 (-0400) Subject: Document 'No such object' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04a54f9718de40fed032795bb1ca41aae66658bf;p=thirdparty%2Ffreeradius-server.git Document 'No such object' --- diff --git a/doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/docker.adoc b/doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/docker.adoc index acc461e8b82..4a6369285f8 100644 --- a/doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/docker.adoc +++ b/doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/docker.adoc @@ -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 diff --git a/doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/packages.adoc b/doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/packages.adoc index c3bb4837819..435ed929096 100644 --- a/doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/packages.adoc +++ b/doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/packages.adoc @@ -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 diff --git a/doc/antora/modules/howto/pages/modules/ldap/ldapsearch/connection_parameters.adoc b/doc/antora/modules/howto/pages/modules/ldap/ldapsearch/connection_parameters.adoc index 85242d14459..757f4908022 100644 --- a/doc/antora/modules/howto/pages/modules/ldap/ldapsearch/connection_parameters.adoc +++ b/doc/antora/modules/howto/pages/modules/ldap/ldapsearch/connection_parameters.adoc @@ -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 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 + <>). The anonymous user may not have access to content + in the LDAP directory. + == Failure - Bind required ```