New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13092 (assigned defect)

Opened 6 years ago

Last modified 2 years ago

OpenSSH authentication broken on Leopard (PAM unable to create session)

Reported by: callahad@… Owned by: jwa@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: dan.callahan@…
Port: openssh

Description

OpenSSH's PAM module fails after authentication, preventing login.

Log from sshd -ddd:

debug3: PAM: opening session
PAM: pam_open_session(): Cannot make/remove an entry for the specified session
debug1: PAM: establishing credentials
debug1: permanently_set_uid: 501/20
debug2: set_newkeys: mode 0
debug2: set_newkeys: mode 1
debug1: Entering interactive session for SSH2.
debug2: fd 5 setting O_NONBLOCK
debug2: fd 6 setting O_NONBLOCK
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 16384
debug1: input_session_request
debug1: channel 0: new [server-session]
debug1: session_new: init
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open: confirm session
debug1: server_input_channel_req: channel 0 request pty-req reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req pty-req
debug1: Allocating pty.
debug3: mm_request_send entering: type 25
debug3: mm_pty_allocate: waiting for MONITOR_ANS_PTY
debug3: mm_request_receive_expect entering: type 26
debug3: mm_request_receive entering
debug3: monitor_read: checking request 25
debug3: mm_answer_pty entering
debug1: session_new: init
debug1: session_new: session 0
lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory
lastlog_openseek: /var/log/lastlog is not a file or directory!
lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory
lastlog_openseek: /var/log/lastlog is not a file or directory!
debug3: mm_request_send entering: type 26
debug1: session_pty_req: session 0 alloc /dev/ttys008
debug3: tty_parse_modes: SSH2 n_bytes 251
debug3: tty_parse_modes: ospeed 9600
debug3: tty_parse_modes: ispeed 9600
debug3: tty_parse_modes: 1 3
debug3: tty_parse_modes: 2 28
debug3: tty_parse_modes: 3 127
debug3: tty_parse_modes: 4 21
debug3: tty_parse_modes: 5 4
debug3: tty_parse_modes: 6 255
debug3: tty_parse_modes: 7 255
debug3: tty_parse_modes: 8 17
debug3: tty_parse_modes: 9 19
debug3: tty_parse_modes: 10 26
debug3: tty_parse_modes: 11 25
debug3: tty_parse_modes: 12 18
ttys008 ptyfd 4
debug3: mm_request_receive entering

Attachments

sshdpam.txt (5.5 KB) - added by callahad@… 6 years ago.
sshd's pam authentication failing to create a session

Change History

Changed 6 years ago by callahad@…

sshd's pam authentication failing to create a session

comment:1 Changed 6 years ago by nox@…

  • Milestone set to Port Bugs

comment:2 Changed 5 years ago by wsiegrist@…

  • Owner changed from macports-tickets@… to wsiegrist@…

comment:3 Changed 5 years ago by wsiegrist@…

  • Status changed from new to assigned

comment:4 Changed 5 years ago by dan.callahan@…

  • Cc dan.callahan@… added

Cc Me!

comment:5 Changed 5 years ago by wsiegrist@…

  • Owner changed from wsiegrist@… to macports-tickets@…
  • Status changed from assigned to new

Un-assigning ticket due to time constraints

comment:6 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:7 Changed 4 years ago by toby@…

  • Priority changed from High to Normal

comment:8 Changed 3 years ago by jmr@…

  • Owner changed from macports-tickets@… to jwa@…
  • Port set to openssh

comment:9 Changed 2 years ago by jwa@…

  • Status changed from new to assigned

Does this issue still exist? I don't have a Leopard system in use, so testing this would be impossible. If this bugs SL, too, then it would be nice to have steps to reproduce this behaviour in order to fix.

Note: See TracTickets for help on using tickets.