bugzilla-daemon at mindrot.org
2004-Jan-26 00:53 UTC
[Bug 796] sshd should restore previous authdb setting
http://bugzilla.mindrot.org/show_bug.cgi?id=796
Summary: sshd should restore previous authdb setting
Product: Portable OpenSSH
Version: -current
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: dtucker at zip.com.au
Currently on AIX, sshd does something like this:
setauthdb([whatever]);
aix_auth_functions();
[ much other stuff ]
setpcred();
In some cases, (eg if the password registry is NIS) the setpcred call fails.
(This is possibly a bug in the AIX NIS module, this behaviour has been reported
on AIX 5.1 ML4 and AIX 5.2 ML2.)
sshd should probably restore the previous authdb setting after calling the AIX
auth functions.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Jan-26 00:53 UTC
[Bug 796] sshd should restore previous authdb setting
http://bugzilla.mindrot.org/show_bug.cgi?id=796
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |793
nThis| |
Status|NEW |ASSIGNED
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Jan-28 00:20 UTC
[Bug 796] sshd should restore previous authdb setting
http://bugzilla.mindrot.org/show_bug.cgi?id=796 ------- Additional Comments From dtucker at zip.com.au 2004-01-27 17:20 ------- Also reported as not working: AIX 5.1 ML5 with NIS and AFS password registries. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Jan-28 01:35 UTC
[Bug 796] sshd should restore previous authdb setting
http://bugzilla.mindrot.org/show_bug.cgi?id=796 ------- Additional Comments From dtucker at zip.com.au 2004-01-27 18:35 ------- Created an attachment (id=536) --> (http://bugzilla.mindrot.org/attachment.cgi?id=536&action=view) Restore old authdb setting after aix auth calls. Note: the patch will probably only apply to a recent snapshot: ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/snapshot/ ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Feb-06 05:19 UTC
[Bug 796] sshd should restore previous authdb setting
http://bugzilla.mindrot.org/show_bug.cgi?id=796
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From dtucker at zip.com.au 2004-02-06 16:19 -------
The patch has been applied, closing.
- (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Bug #796:
Restore previous authdb setting after auth calls. Fixes problems with
setpcred failing on accounts that use AFS or NIS password registries.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.