| Line 23: |
Line 23: |
| | shadow: ldap compat | | shadow: ldap compat |
| | | | |
| − | # edit: nano /etc/pam.d/common-auth
| + | edit: /etc/pam.d/common-auth |
| | # commment: auth optional | | # commment: auth optional |
| | # add: | | # add: |
| Line 32: |
Line 32: |
| | auth sufficient pam_unix.so nullok_secure | | auth sufficient pam_unix.so nullok_secure |
| | | | |
| − | # edit: nano /etc/pam.d/common-account
| + | edit: /etc/pam.d/common-account |
| | # add: | | # add: |
| | account required pam_ldap.so | | account required pam_ldap.so |
| Line 39: |
Line 39: |
| | account sufficient pam_unix.so | | account sufficient pam_unix.so |
| | | | |
| − | # edit: nano /etc/pam.d/common-session
| + | edit: /etc/pam.d/common-session |
| | # add (if home directory does not exist create it) : | | # add (if home directory does not exist create it) : |
| | session required pam_mkhomedir.so skel=/etc/skel/ umask=0022 | | session required pam_mkhomedir.so skel=/etc/skel/ umask=0022 |
| | | | |
| − | # edit: nano /etc/pam.d/common-password
| + | edit: /etc/pam.d/common-password |
| | # add: | | # add: |
| | password required pam_ldap.so | | password required pam_ldap.so |