Opened 17 years ago

Closed 11 years ago

#13092 closed defect (wontfix)

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

Reported by: callahad@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: lack-of-interest 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 (1)

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

Download all attachments as: .zip

Change History (11)

Changed 17 years ago by callahad@…

Attachment: sshdpam.txt added

sshd's pam authentication failing to create a session

comment:1 Changed 17 years ago by nox@…

Milestone: Port Bugs

comment:2 Changed 17 years ago by wsiegrist@…

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

comment:3 Changed 17 years ago by wsiegrist@…

Status: newassigned

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

Cc: dan.callahan@… added

Cc Me!

comment:5 Changed 16 years ago by wsiegrist@…

Owner: changed from wsiegrist@… to macports-tickets@…
Status: assignednew

Un-assigning ticket due to time constraints

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jwa@…
Port: openssh added

comment:9 Changed 14 years ago by jyrkiwahlstedt

Status: newassigned

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.

comment:10 Changed 11 years ago by neverpanic (Clemens Lang)

Keywords: lack-of-interest added
Resolution: wontfix
Status: assignedclosed

Please, if anybody is still interested in this, provide a patch.

Note: See TracTickets for help on using tickets.