User authentication example (CRAM-MD5)
User authentication example (CRAM-MD5)
- Subject: User authentication example (CRAM-MD5)
- From: "email@hidden" <email@hidden>
- Date: Tue, 25 Mar 2008 11:56:51 +0000
Hello List
My app requires to authenticate network clients.
To this end I have integrated the C based Apple example code from
NetworkAuthentication into a wrapper class
which links against the DirectoryService framework (no Cocoa for you
in there I'm afraid).
Now, clear text authentication works just fine.
But CRAM-MD5 authentication always fails with eDSAuthFailed.
Going back to the unmodified NetworkAuthentication sample code I find
that CRAM-MD5 authentication fails for it too.
I am compiling for Leopard and have not been able to check the sample
on earlier versions of OS X.
I can only presume that the sample did previously work.
I know that under Leopard the directory infrastructure has changed -
with NetInfo departing.
Has anyone else encountered this problem?
So I can only imagine that the DirectoryService data structure
parameters need some TLC.
I know that this is not strictly a Cocoa query but I thought it might
jog a few memories.
If I get no reply I will try the Carbon and Macnetworkprog lists.
Regards
Jonathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden