Jump to content

fcaserio

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by fcaserio

  1. I'm trying to use LDAP to connect into an AD 2000 directory. I can only login if I enter name instead of username. Is there any way to configure PHP to choose which field on the AD should be used to login? tks for any help
  2. I have an application that logs the users against AD 2000 using ldap. For some reason, when the user logs with username/password the login is denied. When the user logs with name/password the login is accepted. Is there any way to force the login against the username instead of the complete name? []s
  3. tks for the tip I've been trying to use it, and it seems easy to implement. I am authenticating users witl success with the class. However, I still can't run any searches. The AD admin says it has AD 2000 version installed, and this version doesn't accept search parameters. Any suggestion?
  4. I have large experience with PHP but zero contact to LDAP so far. I'm dealing with a new application that has to list all users on an Active Directory (AD 2000). I can connect and bind to the AD server, but I don't understand how to search the AD users. Any help is appreciated tks
  5. I have an application which runs PHP and SQL Server There is a Linux Server running redhat and PHP 5.1.6 and a Windows Server for SQL 2005. On the last weeks the application started to return eventually mssql_connect erros, saying server is unavailable. There is no network instability that we could map. We've tried to replace mssql_connect with mssql_pconnect, but then the erros returned eventually were on mssql_select_db instead of mssql_connect. I've discovered that PHP 5.1 added a new parameter [, bool $new_link ] on both mssql_connect and mssql_pconnect. Documantation for new_link says: What is the best technique recommended to connect to SQL Server for a production server? mssql_connect or mssql_pconnect? new_link = true or new_link = false? tks for any help
  6. On my application I have some automatic tasks where PHP is executed from DOS prompt. When I run my scripts from Apache PHP connects to the MSSQL server with no problems. But when I run it from DOS PHP is not connecting: C:\PHP\php.exe c:\htdocs\script.php Warning: mssql_connect(): Unable to connect to server: Any ideas why it's happening? MSSQL Server version: SQL2005 PHP version: 5.2.6
  7. After copying ntwdblib.dll to C:\Windows\System32 the connection start to work, but now I'm receiving the following error: Warning: mssql_connect() [function.mssql-connect]: message: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. (severity 14) in C:\htdocs\teste.php on line 17 Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 10.17.4.4 in C:\htdocs\teste.php on line 17 The strange thing is: If I execute the same script on prompt, it works: c:\Progra~1\php\php.exe c:\htdocs\teste.php Any ideas?
  8. I'm migrating an application PHP + SQL Server 2005 that is actually installed on servers (Linux + Win2003) to (Win2003 + Win2003). The database server is the same, only the PHP server is being replaced. When I try to connect to MSSQL from the new Win2003 server I receive the following error message: Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 10.17.4.4 in C:\htdocs\teste.php on line 16 On the same PHP server I can connect to the MSSQL server 10.17.4.4 with the same credentials using SQL Server Management Studio. Which means I can check that there is conectivity, but PHP doesnot connect. I dont know if I'm missing some configuration detail. This are PHP configurations for MSSQL: mssql MSSQL Support enabled Active Persistent Links 0 Active Links 0 Library version 7.0 Directive Local Value Master Value mssql.allow_persistent On On mssql.batchsize 0 0 mssql.compatability_mode Off Off mssql.connect_timeout 5 5 mssql.datetimeconvert On On mssql.max_links Unlimited Unlimited mssql.max_persistent Unlimited Unlimited mssql.max_procs Unlimited Unlimited mssql.min_error_severity 10 10 mssql.min_message_severity 10 10 mssql.secure_connection On On mssql.textlimit Server default Server default mssql.textsize Server default Server default mssql.timeout 60 60 tks for any help Report this post
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.