From: Arran Cudbard-Bell Date: Mon, 21 Oct 2019 14:17:43 +0000 (-0400) Subject: Sync examples with previous setup doc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=170e2f5265a0b810874de1c65bcae6df2b60e445;p=thirdparty%2Ffreeradius-server.git Sync examples with previous setup doc --- 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 757f4908022..c9fe2f8bac1 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 @@ -34,8 +34,8 @@ you will need to provide the following arguments: [source,shell] ---- ldapsearch -z 1 -x \ - -H ldap://ldap.example.com:389 \ - -b "cn=freeradius,dc=example,dc=com" + -H ldap://localhost:389 \ + -b "cn=readonly,dc=example,dc=com" ---- ==== @@ -100,9 +100,9 @@ server: [source,shell] ---- ldapsearch -z 1 -x \ - -H ldap://ldap.example.com:389 \ - -D "cn=freeradius,dc=example,dc=com" \ - -w mypassword \ + -H ldap://localhost:389 \ + -D "cn=readonly,dc=example,dc=com" \ + -w readonly \ -b "dc=example,dc=com" ---- ==== @@ -164,9 +164,9 @@ to ---- LDAPTLS_CACERT=cert_bundle.pem LDAPTLS_REQCERT=hard \ ldapsearch -z 1 -x \ - -H ldaps://ldap.example.com:636 \ - -D "cn=freeradius,dc=example,dc=com" \ - -w mypassword \ + -H ldaps://localhost:636 \ + -D "cn=readonly,dc=example,dc=com" \ + -w readonly \ -b "dc=example,dc=com" ---- ==== @@ -185,9 +185,9 @@ and fail if we can't. ---- LDAPTLS_CACERT=cert_bundle.pem LDAPTLS_REQCERT=hard \ ldapsearch -z 1 -x \ - -H ldap://ldap.example.com:389 \ - -D "cn=freeradius,dc=example,dc=com" \ - -w mypassword \ + -H ldap://localhost:389 \ + -D "cn=readonly,dc=example,dc=com" \ + -w readonly \ -b "dc=example,dc=com" \ -ZZ ----