From 432f880b906b906ffc3f19beb5f57fe4f2826066 Mon Sep 17 00:00:00 2001 From: Nyan404 Date: Mon, 7 Oct 2024 11:41:16 +0300 Subject: [PATCH] =?UTF-8?q?added=20"=D0=A8=D0=BF=D0=B0=D1=80=D0=B3=D0=B0?= =?UTF-8?q?=D0=BB=D0=BA=D0=B0"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openldap/Шпаргалка.txt | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 openldap/Шпаргалка.txt diff --git a/openldap/Шпаргалка.txt b/openldap/Шпаргалка.txt new file mode 100644 index 0000000..7a9e752 --- /dev/null +++ b/openldap/Шпаргалка.txt @@ -0,0 +1,37 @@ +visudo -> %Linux\ Users ALL=(ALL:ALL) ALL + + + +# /etc/nslcd.conf +# nslcd configuration file. See nslcd.conf(5) +# for details. + +# The user and group nslcd should run as. +uid nslcd +gid nslcd + +# The location at which the LDAP server(s) should be reachable. +uri ldap://server.ldap.home + +# The search base that will be used for all queries. +base dc=ldap,dc=server,dc=home +binddn cn=readonly,dc=ldap,dc=server,dc=home +bindpw qaz55qwe +# The LDAP protocol version to use. +ldap_version 3 +#sudoers_base cn=sudoers,ou=Linux Users,dc=ldap,dc=server,dc=home +#sudoers_debug 0 +# The DN to bind with for normal lookups. +#binddn cn=annonymous,dc=example,dc=net +#bindpw secret + +# The DN used for password modifications by root. +#rootpwmoddn cn=admin,dc=example,dc=com + +# SSL options +#ssl off +#tls_reqcert never +tls_cacertfile /etc/ssl/certs/ca-certificates.crt + +# The search scope. +#scope sub \ No newline at end of file