tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PAM problem with netatalk package



Attempting to use PAM to authenticate in the netatalk package fails 
currently (5.0_STABLE/i386) with this message logged:

Apr 30 16:51:37 turakirae afpd[10115]: DHX2 login: cliffe
Apr 30 16:51:37 turakirae afpd[10115]: DHX2: logincont2 alive!
Apr 30 16:51:37 turakirae afpd[10115]: in openpam_load_module(): no 
pam_nologin.so found
Apr 30 16:51:37 turakirae afpd[10115]: DHX2: PAM_Error: system error


PAM works fine for everything else.

A ktrace of the process gives:

                [...]
 10115      1 afpd     CALL  open(0xbb8092e0,0,0x1b6)
 10115      1 afpd     NAMI  "/etc/pam.d/other"
 10115      1 afpd     RET   open 8
 10115      1 afpd     CALL  __fstat30(8,0xbfbfe508)
 10115      1 afpd     RET   __fstat30 0
 10115      1 afpd     CALL  read(8,0xbb83d000,0x4000)
 10115      1 afpd     GIO   fd 8 read 297 bytes
       "# $NetBSD: other,v 1.4 2005/02/27 03:40:14 thorpej Exp $\n#\n# PAM 
con\
        figuration for the \"other\" service\n#\n\n# auth\nauth         
requir\
        ed      pam_nologin.so          no_warn\nauth           include \
                system\n\n# account\naccount            include         
system\
        \n\n# session\nsession          required        pam_permit.so\n\n# 
pas\
        sword\npassword required        pam_permit.so\n"
 10115      1 afpd     RET   read 297/0x129
 10115      1 afpd     CALL  open(0xbb8102e0,0,0)
 10115      1 afpd     NAMI  "/usr/lib/security/pam_nologin.so.1"
 10115      1 afpd     RET   open 9
 10115      1 afpd     CALL  __fstat30(9,0xbfbfe2e8)
 10115      1 afpd     RET   __fstat30 0
 10115      1 afpd     CALL  mmap(0,0x1000,1,1,9,0,0,0)
 10115      1 afpd     RET   mmap -1148186624/0xbb901000
 10115      1 afpd     CALL  munmap(0xbb901000,0x1000)
 10115      1 afpd     RET   munmap 0
 10115      1 afpd     CALL  mmap(0,0x2000,5,2,9,0,0,0)
 10115      1 afpd     RET   mmap -1148190720/0xbb900000
 10115      1 afpd     CALL  mmap(0xbb901000,0x1000,3,0x12,9,0,0,0)
 10115      1 afpd     RET   mmap -1148186624/0xbb901000
 10115      1 afpd     CALL  mmap(0xbb902000,0,3,0x1012,0xffffffff,0,0,0)
 10115      1 afpd     RET   mmap -1148182528/0xbb902000
 10115      1 afpd     CALL  close(9)
 10115      1 afpd     RET   close 0
 10115      1 afpd     CALL  munmap(0xbb900000,0x2000)
 10115      1 afpd     RET   munmap 0
 10115      1 afpd     CALL  open(0xbb8102e0,0,0xbfbfe2e8)
 10115      1 afpd     NAMI  "/usr/lib/security/pam_nologin.so"
 10115      1 afpd     RET   open -1 errno 2 No such file or directory
 10115      1 afpd     CALL  gettimeofday(0xbfbfd878,0)
 10115      1 afpd     RET   gettimeofday 0
 10115      1 afpd     CALL  getpid
 10115      1 afpd     RET   getpid 10115/0x2783, 19561/0x4c69
 10115      1 afpd     CALL  fcntl(3,3,0)
 10115      1 afpd     RET   fcntl 2
 10115      1 afpd     CALL  sendto(3,0xbfbfd928,0x52,0,0,0)
 10115      1 afpd     MISC  msghdr: 28, 
0000000000000000e44c4dd0010000000000000
00600000000000000
 10115      1 afpd     GIO   fd 3 wrote 82 bytes
       "<27>Apr 30 16:51:37 afpd[10115]: in openpam_load_module(): no 
pam_nolo\
        gin.so found"


Having looked at openpam_load_module(), I can't see why its trying to open 
pam_nologin.so.  Can anyone else see whats going on here?

cheers
mark


Home | Main Index | Thread Index | Old Index