Description
With the advent of Mac OS X 10.3, it is no longer possible to authenticate a user (that is, check the validity of their password) using crypt. This sample shows how to authenticate a user using Open Directory (Directory Services).
Document Revision History
| Date |
Notes |
| 2008-03-17 | Corrected a bug with Open Directory-based authentication that was uncovered by Mac OS X 10.5. Also, Open Directory authentication now works correctly when built 64-bit. |
| 2005-07-26 | This sample code has been updated to include an Xcode 2.1 project to produce universal binaries. There were no code changes required for it to run correctly on the Developer Transition Systems. However, I did modify the code slightly to eliminate some new warnings produced by GCC 4.0. See the checkin comments in "CryptNoMore.c" for details. |
| 2004-11-05 | Shows how to authenticate a user using Open Directory (Directory Services). |
|