ID:               31795
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sa at ruraltel dot net
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         MSSQL related
 Operating System: Windows 2003
 PHP Version:      5.0.3
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2005-02-28 20:53:33] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



------------------------------------------------------------------------

[2005-02-01 17:11:05] sa at ruraltel dot net

Description:
------------
This issue is pertains to Windows 2003 and ntwdblib.dll 7.00.839 which
has been the packaged dll in the previous 3 releases.

Issue: Only an account on the MSSQL Server machine can have access to
pass queries to the MSSQL i.e an account that has admin privileges on
web server box (Windows 2003) and has privliges on the MSSQL box will
allow the credentials to pass thus allowing the SQL login creditials to
pass and the query to execute. 

While using Ethereal I noticed that the protocol used on Win 2k3 boxes
accessing MSSQL was SMB and that it was performing NTLM authentication
for the iusr_servname account against the MSSQL server. Where by the XP
and 2000 box was using TDS with the same DLL. Once a changed the dll to
the current version (ntwdblib.dll ver 8.00.194) running on the MSSQL
box the apps worked normally on Win 2k3 boxes.



Reproduce code:
---------------
$test = mssql_connect('dbserver',"uname","pword");
if(!$test)
{
        $return = 'Test Failed: '.mssql_get_last_message()."\n";
}
else
{
        $return = 'Test succeeded';
}

Expected result:
----------------
Test Succeeded

Actual result:
--------------
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to
server: 24.225.0.5 in D:\clients\admin.ruraltel.net\tmp\test_mssql.php
on line 11



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31795&edit=1

Reply via email to