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