Hallo,
ich habe auf einem Server openldap, nss_ldap, pam_ldap installiert.
Das Problem ich komme über das LDAP-Passwort auf den Server, nur das lokale Passwort /etc/passwd und /etc/shadow wird als incorrect ausgegeben, obwohl dies als erstes geprüft wird.
Der Inhalt der /etc/pam.d/sshd
#%PAM-1.0M-1.0 M-1.0M-1.0
auth required pam_securetty.so
auth required pam_nologin.so
auth sufficient pam_unix.so
auth required pam_ldap.so nullok try_first_pass
account sufficient pam_unix.so
account required pam_ldap.so
password required pam_pwcheck.so nullok
password sufficient pam_unix.so
password required pam_ldap.so use_first_pass use_authok
session required pam_unix.so none # debug or trace
auth sufficient pam_unix.so
auth required pam_ldap.so use_first_pass
account sufficient pam_unix.so
account required pam_ldap.so
password sufficient pam_unix.so
password required pam_ldap.so use_first_pass
Gruß
Daniel
ich habe auf einem Server openldap, nss_ldap, pam_ldap installiert.
Das Problem ich komme über das LDAP-Passwort auf den Server, nur das lokale Passwort /etc/passwd und /etc/shadow wird als incorrect ausgegeben, obwohl dies als erstes geprüft wird.
Der Inhalt der /etc/pam.d/sshd
#%PAM-1.0M-1.0 M-1.0M-1.0
auth required pam_securetty.so
auth required pam_nologin.so
auth sufficient pam_unix.so
auth required pam_ldap.so nullok try_first_pass
account sufficient pam_unix.so
account required pam_ldap.so
password required pam_pwcheck.so nullok
password sufficient pam_unix.so
password required pam_ldap.so use_first_pass use_authok
session required pam_unix.so none # debug or trace
auth sufficient pam_unix.so
auth required pam_ldap.so use_first_pass
account sufficient pam_unix.so
account required pam_ldap.so
password sufficient pam_unix.so
password required pam_ldap.so use_first_pass
Gruß
Daniel