php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
35 - 5 = ?
Subscribe to this entry?

 
 [2007-10-28 14:18 UTC] tshipclark at gmail dot com
Description:
------------
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!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-30 11:02 UTC] jani@php.net
it's a feature/change request, keep it there.
 [2011-02-21 20:57 UTC] jani@php.net
-Package: Feature/Change Request +Package: PDO related
 [2013-05-31 05:29 UTC] ssufficool@php.net
-Status: Open +Status: Wont fix
 [2013-05-31 05:29 UTC] ssufficool@php.net
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: Thu May 09 02:01:33 2024 UTC