When I try to login into ldap server using my email address and its password
to authenticate against the MSAD server. The authentication seems working
well, however after I log into I got following error messages:

Could anyone give some help? Thanks you.


E_WARNING: Invalid argument supplied for foreach() 
  
Backtrace 
  PHP Version 5.2.3-1ubuntu6 
  PLA Version $Name: RELEASE-1.1.0-alpha3 $ 
  PHP SAPI apache2handler 
  Web Server Apache/2.2.4 (Ubuntu) mod_jk/1.2.23 PHP/5.2.3-1ubuntu6
mod_perl/2.0.2 Perl/v5.8.8 
  
  File /home/liaok/public_html/phpldapadmin-1.1.0-alpha3/lib/HTMLTree.php
(291) 
Function pla_error_handler

Array
(
    [0] => 2
    [1] => Invalid argument supplied for foreach()
    [2] =>
/home/liaok/public_html/phpldapadmin-1.1.0-alpha3/lib/HTMLTree.php
    [3] => 291
    [4] => Array
        (
            [ldapserver] => LDAPserver Object
                (
                    [server_id] => 0
                    [name] => CCF ITD AD
                    [host] => CC-CLDC51.cc.ad.cchs.net
                    [port] => 389
                    [auth_type] => cookie
                    [login_dn] => 
                    [login_pass] => 
                    [_baseDN:private] => Array
                        (
                            [0] => CN=Configuration,DC=ad,DC=cchs,DC=net
                            [1] =>
CN=Schema,CN=Configuration,DC=ad,DC=cchs,DC=net
                            [2] => DC=cc,DC=ad,DC=cchs,DC=net
                            [3] => DC=ForestDnsZones,DC=ad,DC=cchs,DC=net
                            [4] =>
DC=DomainDnsZones,DC=cc,DC=ad,DC=cchs,DC=net
                        )

                    [_schemaDN:private] => 
                    [_schema_entries:private] => 
                    [connection:private] => Array
                        (
                            [user] => Array
                                (
                                    [login_dn] => cc\liaok
                                    [login_pass] => delicia1
                                    [sasl_auth] => 
                                    [resource] => Resource id #27
                                )

                        )

                    [lastop:private] => read
                    [hostwr] => 
                    [portwr] => 389
                    [tls] => 
                    [low_bandwidth] => 
                    [read_only] => 
                    [branch_rename] => 
                    [schema_oclass_default] => 
                    [sasl_auth] => 
                    [sasl_mech] => PLAIN
                    [sasl_realm] => 
                    [sasl_authz_id] => 
                    [sasl_authz_id_regex] => 
                    [sasl_authz_id_replacement] => 
                    [sasl_props] => 
                    [login_attr] => dn
                    [login_fallback_dn] => 
                    [login_string] => 
                    [session_timeout] => 179
                    [default_hash] => md5
                    [show_create] => 1
                    [visible] => 1
                )

            [logged_in_dn] => cc\liaok
            [logged_in_branch] => cc\liaok
            [logged_in_dn_array] => 
            [bases] => 
            [rdn] => cc\liaok
        )

)

 
  File /home/liaok/public_html/phpldapadmin-1.1.0-alpha3/lib/HTMLTree.php
(36) 
Function draw_logged_in_dn

Array
(
)

 
  File /home/liaok/public_html/phpldapadmin-1.1.0-alpha3/lib/page.php (209) 
Function draw

Array
(
)

 
  File /home/liaok/public_html/phpldapadmin-1.1.0-alpha3/lib/page.php (348) 
Function tree

Array
(
)

 
  File /home/liaok/public_html/phpldapadmin-1.1.0-alpha3/htdocs/cmd.php (44) 
Function display

Array
(
)

 
  File /home/liaok/public_html/phpldapadmin-1.1.0-alpha3/htdocs/index.php
(97) 
Function include

Array
(
    [0] => /home/liaok/public_html/phpldapadmin-1.1.0-alpha3/htdocs/cmd.php
)

 
 

-- 
View this message in context: 
http://www.nabble.com/Invalid-argument-supplied-for-foreach%28%29-error-tf4799851.html#a13732235
Sent from the phpldapadmin-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to