"Шпаргалка Update"
All checks were successful
Verify Docker Compose Files / lint-docker-compose (push) Successful in 12s
All checks were successful
Verify Docker Compose Files / lint-docker-compose (push) Successful in 12s
This commit is contained in:
parent
432f880b90
commit
ac96b0966e
@ -35,3 +35,30 @@ tls_cacertfile /etc/ssl/certs/ca-certificates.crt
|
|||||||
|
|
||||||
# The search scope.
|
# The search scope.
|
||||||
#scope sub
|
#scope sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#/etc/nsswitch.conf
|
||||||
|
passwd: files ldap
|
||||||
|
group: files ldap
|
||||||
|
shadow: files ldap
|
||||||
|
|
||||||
|
|
||||||
|
#/etc/pam.d/common-auth
|
||||||
|
auth [success=1 default=ignore] pam_unix.so nullok_secure
|
||||||
|
auth requisite pam_deny.so
|
||||||
|
auth required pam_permit.so
|
||||||
|
auth optional pam_ldap.so
|
||||||
|
|
||||||
|
#/etc/pam.d/common-account
|
||||||
|
account [success=1 new_authtok_reqd=done default=ignore] pam_unix.so
|
||||||
|
account required pam_ldap.so
|
||||||
|
|
||||||
|
#/etc/pam.d/common-session
|
||||||
|
session required pam_unix.so
|
||||||
|
session optional pam_ldap.so
|
||||||
|
session required pam_mkhomedir.so skel=/etc/skel/ umask=077
|
||||||
|
|
||||||
|
commands:
|
||||||
|
sudo systemctl restart nslcd
|
||||||
|
getent passwd
|
Loading…
Reference in New Issue
Block a user