![]() |
| Le forum de référence en programmation et développement. Articles, cours et tutoriels du débutant au chef de projet et DBA confirmé. | |||||||
|
|||||||
| Solaris Forum d'entraide sur le système Solaris. |
![]() |
|
|
Outils de la discussion |
|
|
#1 (permalink) |
|
Invité régulier
![]() Date d'inscription: novembre 2002
Localisation: Ile-de-France
Messages: 18
|
Bonjour à tous,
Je tente de faire fonctionner LDAP + PAM + Solaris et je bloque à l'automount. Du côté du client LDAP (natif) sous SOLARIS, tout fonctionne mais pas l'automount. Quand un utilisateur tente de se logguer via ssh, j'ai le message d'erreur suivant : Code :
Could not chdir to home directory /users/hsmr: No such file or directory Code :
NS_LDAP_FILE_VERSION= 2.0 NS_LDAP_SERVERS= ldap.mon.site.fr NS_LDAP_SEARCH_BASEDN= ou=people,dc=mon,dc=site,dc=fr NS_LDAP_SEARCH_REF= TRUE NS_LDAP_SEARCH_SCOPE= sub NS_LDAP_SEARCH_TIME= 30 NS_LDAP_CACHETTL= 3600 NS_LDAP_SERVICE_SEARCH_DESC= passwd:ou=people,dc=mon,dc=site,dc=fr NS_LDAP_SERVICE_SEARCH_DESC= shadow:ou=people,dc=mon,dc=site,dc=fr NS_LDAP_SERVICE_AUTH_METHOD= pam_ldap:simple Code :
# PAM configuration # # Unless explicitly defined, all services use the modules # defined in the "other" section. # # Modules are defined with relative pathnames, i.e., they are # relative to /usr/lib/security/$ISA. Absolute path names, as # present in this file in previous releases are still acceptable. # # Authentication management # # login service (explicit because of pam_dial_auth) # login auth requisite pam_authtok_get.so.1 login auth sufficient pam_ldap.so.1 debug login auth required pam_dhkeys.so.1 login auth required pam_unix_cred.so.1 login auth required pam_unix_auth.so.1 login auth required pam_dial_auth.so.1 # # rlogin service (explicit because of pam_rhost_auth) # rlogin auth sufficient pam_rhosts_auth.so.1 rlogin auth requisite pam_authtok_get.so.1 rlogin auth sufficient pam_ldap.so.1 debug rlogin auth required pam_dhkeys.so.1 rlogin auth required pam_unix_cred.so.1 rlogin auth required pam_unix_auth.so.1 # # Kerberized rlogin service # krlogin auth required pam_unix_cred.so.1 krlogin auth required pam_krb5.so.1 # # rsh service (explicit because of pam_rhost_auth, # and pam_unix_auth for meaningful pam_setcred) # rsh auth sufficient pam_rhosts_auth.so.1 rsh auth required pam_unix_cred.so.1 # # Kerberized rsh service # krsh auth required pam_unix_cred.so.1 krsh auth required pam_krb5.so.1 # # Kerberized telnet service # ktelnet auth required pam_unix_cred.so.1 ktelnet auth required pam_krb5.so.1 # # PPP service (explicit because of pam_dial_auth) # ppp auth requisite pam_authtok_get.so.1 ppp auth required pam_dhkeys.so.1 ppp auth required pam_unix_cred.so.1 ppp auth required pam_unix_auth.so.1 ppp auth required pam_dial_auth.so.1 # # Default definitions for Authentication management # Used when service name is not explicitly mentioned for authentication # other auth requisite pam_authtok_get.so.1 other auth sufficient pam_ldap.so.1 debug other auth required pam_dhkeys.so.1 other auth required pam_unix_cred.so.1 other auth required pam_unix_auth.so.1 # # passwd command (explicit because of a different authentication module) # passwd auth required pam_passwd_auth.so.1 # # cron service (explicit because of non-usage of pam_roles.so.1) # cron account required pam_unix_account.so.1 # # Default definition for Account management # Used when service name is not explicitly mentioned for account management # other account requisite pam_roles.so.1 other account sufficient pam_ldap.so.1 debug other account required pam_unix_account.so.1 # # Default definition for Session management # Used when service name is not explicitly mentioned for session management # other session required pam_unix_session.so.1 other session sufficient pam_mkhomedir.so.1 skel=/etc/skel/ umask=0022 # # Default definition for Password management # Used when service name is not explicitly mentioned for password management # other password required pam_dhkeys.so.1 other password requisite pam_authtok_get.so.1 other password requisite pam_authtok_check.so.1 other password required pam_authtok_store.so.1 Code :
# Master map for automounter # +auto_master /net -hosts -nosuid,nobrowse /- auto_direct Code :
+auto_direct |
|
|
|
![]() |
![]() |
||
LDAP + PAM + Solaris : pb automount
|
||
| Outils de la discussion | |
|
|