[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

pam_cifs problems | debug info not sufficient



hi folks,

maybe some of u could help. simply put, user auth is against kerberos, user info comes from ldap. the only thing i cant get to work is pam_cifs mount correctly.

check out my sample sshd:
_____________________________________________________________________
auth       requisite   pam_nologin.so
auth       required  pam_unix2.so call_modules=krb5,ldap
auth       required  pam_cifs.so debug

account    requisite     pam_unix2.so
account    sufficient    pam_localuser.so
account    required  pam_ldap.so use_first_pass

session    required pam_mkhomedir.so umask=077
session required pam_cifs.so debug prefix=/u source=$server windomain=MATH mount_home
session    sufficient pam_unix2.so

password         sufficient  pam_krb5.so use_authtok
password   required    pam_unix2.so use_authtok
______________________________________________________________________

i can login, after login im in the right directory /u/$username but only with the stuff from /etc/skel... my home is not mounted! it should be mounted from

://$server/$username to /u/$username locally...

syslog gives me:
______________________________________________________________________
Aug 11 13:50:46 sshd[9776]: Rhosts authentication refused for sourani: no home directory /u/sourani Aug 11 13:50:46 sshd[9776]: Rhosts authentication refused for sourani: no home directory /u/sourani Aug 11 13:50:56 sshd[9778]: pam_krb5[9778]: authentication succeeds for 'sourani' (sourani $myserver)
Aug 11 13:50:56  sshd[9778]: pam_cifs:
Aug 11 13:50:56  sshd[9778]: pam_cifs: /Home
Aug 11 13:50:56  sshd[9778]: pam_cifs:
Aug 11 13:50:56  sshd[9778]: pam_cifs:
Aug 11 13:50:56  sshd[9778]: pam_cifs:
Aug 11 13:50:56  sshd[9778]: pam_cifs: undefined
Aug 11 13:50:56  sshd[9778]: pam_cifs:
Aug 11 13:50:56  sshd[9778]: pam_cifs: 1000
Aug 11 13:50:56  sshd[9778]: pam_cifs: 65000
Aug 11 13:50:56  sshd[9778]: pam_cifs: 0
Aug 11 13:50:56  sshd[9778]: pam_cifs: 0
Aug 11 13:50:56  sshd[9778]: pam_cifs: 1
Aug 11 13:50:56  sshd[9778]: pam_cifs:
Aug 11 13:50:56 sshd[9776]: Accepted keyboard-interactive/pam for sourani from 128.176.181.85 port 47787 ssh2
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs: /u
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs: iluvatar
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs: domain=MATH,
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs: 1000
Aug 11 13:50:56  sshd[9779]: pam_cifs: 65000
Aug 11 13:50:56  sshd[9779]: pam_cifs: 0
Aug 11 13:50:56  sshd[9779]: pam_cifs: 1
Aug 11 13:50:56  sshd[9779]: pam_cifs: 1
Aug 11 13:50:56  sshd[9779]: pam_cifs:
Aug 11 13:50:56  sshd[9779]: pam_cifs: 158986
Aug 11 13:50:56  sshd[9779]: pam_cifs: 11
Aug 11 13:50:56  sshd[9779]: pam_cifs:
__________________________________________________________________________________

what is this? even with the debug switch no useful debug info...
any clues?

*nail


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]