• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

LDAP plugin bug in FOG 1.6 working branch

Scheduled Pinned Locked Moved Solved
Bug Reports
3
3
267
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    Fernando Gietz Developer
    last edited by Fernando Gietz Jan 15, 2019, 12:24 PM Jan 15, 2019, 6:23 PM

    Hi,

    I am testing the FOG 1.6 test version and I detect a bug in the LDAP plugin. When you try to add a new LDAP server, the WEBUI says to you that the server exists.

    I saw the code and the problem is in ldapmanagement.page.php line 660 :

    if ($ldap) {
                    throw new Exception(
                        _('An LDAP server already exists with this name!')
                    );
                }
    

    Change to

    if ($exists) {
                    throw new Exception(
                        _('An LDAP server already exists with this name!')
                    );
                }
    
    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jan 15, 2019, 8:08 PM

      @Fernando-Gietz Thanks for reporting. I’ll leave that to Tom as he knows that code a lot better than I do.

      @Tom-Elliott Please let us know if you don’t find the time. I might jump in then.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jan 15, 2019, 10:17 PM

        Fixed thanks for reporting.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post

        155

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project