|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-11-20 09:26 UTC] tony2001@php.net
[2006-11-21 20:09 UTC] kurt dot loebbecke at achterliek dot de
[2006-11-21 20:31 UTC] tony2001@php.net
[2006-11-22 20:05 UTC] kurt dot loebbecke at achterliek dot de
[2006-11-22 21:41 UTC] tony2001@php.net
[2006-11-30 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 23:00:01 2025 UTC |
Description: ------------ I would like to change from PHP 4.3.0 to PHP 5.2, but using my active directory class causes an error. ADSI COM Object OpenDsObject crashes with Uncaught exception 'com_exception' if using this COM Object call. Reproduce code: --------------- function connect( $object ) { $this->_ADSI = new COM("LDAP:"); $this->_DsObj = $this->_ADSI->OpenDsObject("LDAP://".$this->_server."/".$object, $this->_adUser, $this->_adPassword, 0); } Expected result: ---------------- Com Object to ADSI Actual result: -------------- Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> Active Directory<br/><b>Description:</b> Der ?bermittelte Verzeichnispfad ist ung?ltig. ' in C:\inetpub\wwwroot\classes\adAccess.class.php:34 Stack trace: #0 C:\inetpub\wwwroot\classes\adAccess.class.php(34): com->OpenDsObject('LDAP://dc....', 'Domain\User', 'Password', 0) #1 C:\inetpub\wwwroot\classes\adAccess.class.php(52): adAccess->connect(NULL) #2 C:\inetpub\wwwroot\ftpform.php(37): adAccess->getAttribute(NULL, 'eeaUserType') #3 {main} thrown in