| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
What more or less is the roadmap authentication? I thought netinfo was
dying, being replaced with OpenDirectory. Security frameworks were
essentially what ALL applications regardless of mac/unix side were
supposed to reference this framework so we didnt have a "moving" target to
hit for developers at either level,IE:
Correct me if I am wrong or missing something but this is this what you
were eluding to about PAM support and why it wasnt made a security
framework plug-in off the bat, thus maybe we can outline pitfalls,
The second being, the LoginWindow isn't directly using Security
Frameworks, and it is still using direct ties to NetInfo which then looks
up in Security Frameworks for authentification.
--
On Wed, 27 Nov 2002, Jordan Hubbard wrote:
Short answer: You don't. LoginWindow doesn't use PAM, only the "Unix
side" of the house does, e.g. ssh and a console login or other form of
remote login. For LoginWindow, you need to write a security frameworks
plug-in. Once you do that, PAM will use it since the default PAM
authentication path includes a pam_securityframework plugin which jumps
over to the security frameworks mechanism rather quickly.
As to the why, it's pretty simple. Mac OS X was set up to use security
frameworks, which also provides a chain of plug-ins based
authentication scheme, well before PAM was introduced. Rather than
have parallel mechanisms or a reference-counted, loop-detecting scheme
which allowed security frameworks to chain to PAM and vice-versa
without causing authentication loops, it was deemed simpler to have one
be the default and just chain the mechanisms in a "Y" configuration.
If that causes a lot of confusion going forward, I guess we could
always write a security frameworks module which links to PAM at the
very end of the chain, adding some extra hair to do the loop detection,
but it's probably more work than it's worth unless people prove highly
adverse to writing security frameworks plug-ins.
- Jordan
On Wednesday, November 27, 2002, at 07:56 AM, Sean wrote:
So How the heck do you get the login window to use PAM to authenicate--
and
authorize for the Jaguar login window? I mean the more I read the less
Jordan K. Hubbard
Engineering Manager, BSD technology group
Apple Computer
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.