Menu

#320 Problem AD LDAP configuration

1.1
closed
nobody
1
2016-02-02
2015-05-26
No

Hi,

AD authentication is working fine, but, if I try to add a new Active Directory user, I get this error in the search panel:

Catchable fatal error: Argument 1 passed to adLDAP\classes\adLDAPUsers::__construct() must be an instance of adLDAP\adLDAP, instance of adLDAP given, called in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/adLDAP.php on line 256 and defined in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/classes/adLDAPUsers.php on line 52

The entries from Apache log, is pretty much the same message like above:

[Tue May 26 10:12:11.152416 2015] [:error] [pid 22871] [client 172.16.193.61:51840] PHP Catchable fatal error:  Argument 1 passed to adLDAP\\classes\\adLDAPUsers::__construct() must be an instance of adLDAP\\adLDAP, instance of adLDAP given, called in /srv/www/vhosts/phpipam/p
hpipam/functions/adLDAP/src/adLDAP.php on line 256 and defined in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/classes/adLDAPUsers.php on line 52, referer: https://ipam.trivadis.com/phpipam/?page=administration&section=users
[Tue May 26 10:12:25.601072 2015] [:error] [pid 22871] [client 172.16.193.61:51840] PHP Catchable fatal error:  Argument 1 passed to adLDAP\\classes\\adLDAPUsers::__construct() must be an instance of adLDAP\\adLDAP, instance of adLDAP given, called in /srv/www/vhosts/phpipam/p
hpipam/functions/adLDAP/src/adLDAP.php on line 256 and defined in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/classes/adLDAPUsers.php on line 52, referer: https://ipam.trivadis.com/phpipam/?page=administration&section=users

I'm using the latest SVN version (phpIPAM IP address management [v1.15] rev009)

Daniel

Related

Bugs: #320

Discussion

  • Anonymous

    Anonymous - 2015-08-06

    Got the same problem. Tried a few things but couldn't fix it by myself :-(

     
  • dcec

    dcec - 2015-08-27
    Try to change the funtion on adLDAPUsers.php to:
    
    public function __construct($adldap) {
        $this->adldap = $adldap;
    }
    
     
  • Miha Petkovsek

    Miha Petkovsek - 2015-09-04

    Hi Daniel, can you sync repo and try again please ?

     
    • Daniel Steiner

      Daniel Steiner - 2015-09-05

      Hi Myha,

      Yes, I will do that, but at the moment, I'm in vacation and not able to do it. In two weeks, I will do it and give you feedback afterwards. Thank you very much,

      Daniel

      Von meinem iPad gesendet

      Am 04 Sep 2015 um 16:52 schrieb Miha Petkovsek myha@users.sf.net:

      Hi Daniel, can you sync repo and try again please ?

      [bugs:#320] Problem AD LDAP configuration

      Status: open
      Group: 1.1
      Labels: ad ldap search
      Created: Tue May 26, 2015 08:19 AM UTC by Daniel Steiner
      Last Updated: Thu Aug 27, 2015 08:18 AM UTC
      Owner: nobody

      Hi,

      AD authentication is working fine, but, if I try to add a new Active Directory user, I get this error in the search panel:

      Catchable fatal error: Argument 1 passed to adLDAP\classes\adLDAPUsers::__construct() must be an instance of adLDAP\adLDAP, instance of adLDAP given, called in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/adLDAP.php on line 256 and defined in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/classes/adLDAPUsers.php on line 52

      The entries from Apache log, is pretty much the same message like above:

      [Tue May 26 10:12:11.152416 2015] [:error] [pid 22871] [client 172.16.193.61:51840] PHP Catchable fatal error: Argument 1 passed to adLDAP\classes\adLDAPUsers::__construct() must be an instance of adLDAP\adLDAP, instance of adLDAP given, called in /srv/www/vhosts/phpipam/p hpipam/functions/adLDAP/src/adLDAP.php on line 256 and defined in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/classes/adLDAPUsers.php on line 52, referer: https://ipam.trivadis.com/phpipam/?page=administration&section=users [Tue May 26 10:12:25.601072 2015] [:error] [pid 22871] [client 172.16.193.61:51840] PHP Catchable fatal error: Argument 1 passed to adLDAP\classes\adLDAPUsers::__construct() must be an instance of adLDAP\adLDAP, instance of adLDAP given, called in /srv/www/vhosts/phpipam/p hpipam/functions/adLDAP/src/adLDAP.php on line 256 and defined in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/classes/adLDAPUsers.php on line 52, referer: https://ipam.trivadis.com/phpipam/?page=administration&section=users

      I'm using the latest SVN version (phpIPAM IP address management [v1.15] rev009)

      Daniel

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/phpipam/bugs/320/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #320

      • Daniel Steiner

        Daniel Steiner - 2015-09-22

        Hi,

        I tested it, and it works now. But I had to delete the old AD authentication configuration first, this was probably the source of the problem. I didn’t it last time!

        Thank you

        Daniel

        --

        Daniel Steiner
           Linux Consultant
           Gerlisberg 3
           8833 Samstagern

        Tel: +41 43 810 2647
        Mob: +41 79 571 3618
        mailto:elpito@bluewin.ch
        or
        mailto:daniel-steiner@bluewin.ch


        On 5 Sep 2015 at 14:45:32, Daniel Steiner (elpito1@users.sf.net) wrote:

        [bugs:#320] Problem AD LDAP configuration

        Status: open
        Group: 1.1
        Labels: ad ldap search
        Created: Tue May 26, 2015 08:19 AM UTC by Daniel Steiner
        Last Updated: Fri Sep 04, 2015 02:52 PM UTC
        Owner: nobody

        Hi,

        AD authentication is working fine, but, if I try to add a new Active Directory user, I get this error in the search panel:

        Catchable fatal error: Argument 1 passed to adLDAP\classes\adLDAPUsers::__construct() must be an instance of adLDAP\adLDAP, instance of adLDAP given, called in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/adLDAP.php on line 256 and defined in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/classes/adLDAPUsers.php on line 52

        The entries from Apache log, is pretty much the same message like above:

        [Tue May 26 10:12:11.152416 2015] [:error] [pid 22871] [client 172.16.193.61:51840] PHP Catchable fatal error: Argument 1 passed to adLDAP\classes\adLDAPUsers::__construct() must be an instance of adLDAP\adLDAP, instance of adLDAP given, called in /srv/www/vhosts/phpipam/p hpipam/functions/adLDAP/src/adLDAP.php on line 256 and defined in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/classes/adLDAPUsers.php on line 52, referer:https://ipam.trivadis.com/phpipam/?page=administration&section=users [Tue May 26 10:12:25.601072 2015] [:error] [pid 22871] [client 172.16.193.61:51840] PHP Catchable fatal error: Argument 1 passed to adLDAP\classes\adLDAPUsers::__construct() must be an instance of adLDAP\adLDAP, instance of adLDAP given, called in /srv/www/vhosts/phpipam/p hpipam/functions/adLDAP/src/adLDAP.php on line 256 and defined in /srv/www/vhosts/phpipam/phpipam/functions/adLDAP/src/classes/adLDAPUsers.php on line 52, referer:https://ipam.trivadis.com/phpipam/?page=administration&section=users

        I'm using the latest SVN version (phpIPAM IP address management [v1.15] rev009)

        Daniel

        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/phpipam/bugs/320/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

         

        Related

        Bugs: #320

  • Daniel Steiner

    Daniel Steiner - 2015-09-22

    Hi,

    I tested it, and it works now. But I had to delete the old AD authentication configuration first, this was probably the source of the problem. I didn’t it last time!

    Thank you

    Daniel

     
  • Miha Petkovsek

    Miha Petkovsek - 2016-02-02
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





Monday.com Logo