I have php5 installed on an ubuntu 10.10 server from which I am trying to connect via mssql_connect() to a SQL Server 2005 database running on a Windows 2003 Server. I am getting an error which I believe is because the SQL Server 2005 instance is using the 'Windows Authentication' login method. The error is:
Warning: mssql_connect(): message: Login failed for user 'lv_admin'. (severity 14) in /var/www/AOI/collectserials.php on line 17
The error log in the SQL Server database shows the following:
Login failed for user 'lv_admin'. [CLIENT: (ip of my php server)]
Error: 18456, Severity: 14, State: 5.
Where lv_admin is the username logged into the Windows 2003 server so I'm not sure what the problem is...
PHP:
$con = mssql_connect("128.251.xxx.xx", 'lv_admin', '[mypass]');
mssql_select_db("itf", $con);
I need some help solving this issue..