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

    LDAP Plugin

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    11
    793
    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.
    • A
      astrugatch
      last edited by

      FOG Version: Dev Branch 1.5.7.104

      I don’t know who developed the LDAP plugin so I will just post this here. When you go to set up a new LDAP connection the dropdown for the port number has 389 and 686. This should be 636. It is correct on the page where you edit existing connections. This means you need to create it with 389 and then update that to 636 after creation

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @Fernando-Gietz You might be arguing with us here.

        @astrugatch Actually I had 636 as LDAPS port in mind as well but searching the web I find a lot of information in 686 too - e.g.

        • https://books.google.de/books?id=0SIdBAAAQBAJ&pg=PA735&lpg=PA735&dq=ldaps+port+"686"&source=bl&ots=xmLPjz7f6g&sig=ACfU3U01fReDjcN7378sXzxx-cVNMI59TQ&hl=en&sa=X&ved=2ahUKEwiJ8Jacq7vnAhUSzaQKHXWPCCIQ6AEwEnoECAkQAQ#v=onepage&q=ldaps port "686"&f=false
        • http://www.hasslinger.com/microsoft/sites/server/dotnet/grund/active_directory_ports.html

        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

        A 1 Reply Last reply Reply Quote 0
        • A
          astrugatch @Sebastian Roth
          last edited by

          @Sebastian-Roth

          I’ve only ever used 636 and running into this is the first time i’ve ever seen 686. It more sparked my interest considering its different on the pane to create the LDAP connection than it is to edit the ldap making me think it was a typo on one or the other.

          1 Reply Last reply Reply Quote 1
          • F
            Fernando Gietz Developer
            last edited by

            Hi @astrugatch!

            Which version of LDAP plugin are you using? You can see it in Plugins -> Installed Plugins. The last one is 1.5.5_1

            If you have a previous versions, the error will appear. Is a typo error.
            In the last version the error is fixed, in this version you can setup the ports (by default only appears 389 and 636) from FOG settings page.

            A 1 Reply Last reply Reply Quote 0
            • A
              astrugatch @Fernando Gietz
              last edited by

              @Fernando-Gietz

              Screen Shot 2020-02-06 at 12.09.45 PM.png

              Version: 1.5.5_1

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @Fernando-Gietz said in LDAP Plugin:

                The last one is 1.5.5_1

                Well I suppose we have the latest version in the github repo https://github.com/FOGProject/fogproject/blob/dev-branch/packages/web/lib/plugins/ldap/config/plugin.config.php#L28

                As @astrugatch is using Dev Branch 1.5.7.104 this should be the latest.

                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
                • F
                  Fernando Gietz Developer
                  last edited by

                  Umm … strange. The dropbox entries are dynamic, these values are config in the FOG Settings -> Plugin: LDAP -> ports

                  When you install the plugin, the install process does an insert query to setup the ports:

                  https://github.com/FOGProject/fogproject/blob/dev-branch/packages/web/lib/plugins/ldap/class/ldapmanager.class.php#L147

                              . " ('LDAP_PORTS','Insert the different ports comma separated.', '389,636','Plugin: LDAP')",
                  

                  @astrugatch do you make a fresh install of FOG or an update?

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @astrugatch @Fernando-Gietz Now is port 636… Seems like Tom just pushed a fix the other night: https://github.com/FOGProject/fogproject/commit/97b57acea9ae742569ef31ae7792b1237d423cd8

                    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
                    • A
                      astrugatch
                      last edited by astrugatch

                      @Fernando-Gietz

                      It was a fresh install but I migrated my DB from my old install before enabling ldap which originated at 1.5.0 RCX upgrading up to current.

                      1 Reply Last reply Reply Quote 0
                      • F
                        Fernando Gietz Developer
                        last edited by

                        The LDAP ports are saved in the DB, globalSettings table. If you migrated the database is possible that the old ports were migrated too.

                        1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          For 1.5.X LDAP ports were being applied within the database, but not used in all areas. I have since fixed this so it will use the ports list defined by the user instead of predetermined ports.

                          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
                          • First post
                            Last post

                          156

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project