]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Sync examples with previous setup doc
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 21 Oct 2019 14:17:43 +0000 (10:17 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 21 Oct 2019 14:17:43 +0000 (10:17 -0400)
doc/antora/modules/howto/pages/modules/ldap/ldapsearch/connection_parameters.adoc

index 757f49080225fe777dfd9e8d5b630baa64a457a8..c9fe2f8bac13472739960bb5ccb53dc73bf0b65f 100644 (file)
@@ -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
 ----