Forum Moderators: coopster

Message Too Old, No Replies

php ntlm authentication

How do you pass data to login/password to windows

         

Frediomar

2:14 am on Nov 26, 2003 (gmt 0)



Hi,
I have and application that is running on win2k, IIS using php and mysql. It works find if anonymous access is allowed, when only Integrated windows authentication is used the application stops running(I need to use NTLM authentification on production server). It seems to to fail when the application writes some session information to a text file on the sessiondata dir. I have given full rights to myself(locally and domain level) on the virtual dir.
I have read the documentation on how to authenticate 'www-authenticate', my question is why should I need to do this? If I am logged into the network, I have already been validated. If I need to use the authentication, how do I let windows know the user/password so that the application can write on the server. I am new to php but it does not seem to difficult.

Thank you for your assistance.

coopster

9:31 pm on Nov 29, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, Frediomar!

Can you offer more information regarding what you are trying to do and what is happening?

  1. What is the anonymous access you are referring to?
  2. What documentation on authentication are you referring to?

It sounds as if you are trying to use Session handling functions [php.net], is that correct?

dmorison

9:02 pm on Dec 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you confirmed that it is a permissions problem?

I don't know a great deal about permissions on NTFS but I presume that you can give global (absolutely anybody) permissions on a directory - have you tried that?