[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get back "NTLM authentication required" from http_getauth()?



Hi Thomas,

I don't understand why you want the peNTLM parameter to be "unofficial"? Why not make it a part of the base HTTPAPI distribution so that it will always be there and available to everyone who wants to use NTLM authentication?

-SK


On 10/23/2012 2:34 PM, Thomas Raddatz wrote:
Hi Scott,

For now users of the NTLM patch either have to know that the server requires NTLM authentication or they have to assume it, in case http_getAuth() returns "0" and "false" for "peBasic" and "peDigest".

Since that is somewhat ugly I need a good idea how to extend the official HTTP API to get that information.

Of course I could add an unofficial parameter "peNTLM" to http_getAuth() but I am concerned about that you might also add a parameter (conflicting with peNTLM) some time.

Adding a new procedure to the export list is not a good idea as well, because it would conflict with every extension that you add in the future.

Do you have a good idea how to solve the problem?

Regards,

Thomas.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------