|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #43120 PDO: domain Authenticated Machines no Username/password (make them optional)
Submitted: 2007-10-28 14:18 UTC Modified: 2013-05-31 05:29 UTC
From: tshipclark at gmail dot com Assigned:
Status: Wont fix Package: PDO related
PHP Version: 5.2.4 OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-10-28 14:18 UTC] tshipclark at gmail dot com
We currently use mssql_pconnect to connect to our server and we don't supply  a username/password because the machine iis is running on is domain authenticated.

My problem is Pdo will not allow me to not enter a username and password.  And even if I put in blanks for username/password i still get permission denied.

If you could make username/password optional that would be great!


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-30 11:02 UTC]
it's a feature/change request, keep it there.
 [2011-02-21 20:57 UTC]
-Package: Feature/Change Request +Package: PDO related
 [2013-05-31 05:29 UTC]
-Status: Open +Status: Wont fix
 [2013-05-31 05:29 UTC]
From FreeTDS Documentation:
"Windows NT Authentication", often called "integrated security", relies on 
Microsoft's trusted connections and is not supported by FreeTDS. In it, user's 
network security attributes are established at network login time. When 
connecting to the database server, SQL Server uses Windows NT facilities to 
determine the validated network username. SQL Server then permits or denies 
login access based on that network username alone, without requiring a separate 
login name and password.

You can use the username of DOMAIN\USER with their NTLM password. Not optimal, 
but that's as good as it gets.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 08:01:31 2024 UTC