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

    LDAP plugin on 1.3.0

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    16
    4.3k
    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.
    • george1421G
      george1421 Moderator
      last edited by george1421

      If I’m reading the code correctly, it appears that the php ldap module is not installed on your ubuntu box. The fog installer should do this by default.

      ref: https://www.howtoinstall.co/en/ubuntu/xenial/php-ldap

      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!

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

        Unless it is an update. Please try installing manuallt

        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
        • I
          iyoung @george1421
          last edited by

          php-ldap was not installed. I’ll restart and see what happens. I also looked in /opt/fog/.fogsettings and didn’t see php-ldap or a package that depends on it.

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @iyoung
            last edited by

            @iyoung FWIW: You only need to restart apache when you update php

            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!

            1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator
              last edited by

              You will probably have other issues since you did not supply a bind DN. AD does not allow blind binds via ldap.

              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!

              1 Reply Last reply Reply Quote 0
              • I
                iyoung
                last edited by

                Success! I was able to login with a domain user, after installing php-ldap, without issue.

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @iyoung
                  last edited by george1421

                  @iyoung Ok so now the question is why didn’t the installer install that for you?? (just an open question).

                  That’s great it worked for you, Tom spent quite a bit of time working out the details on that plugin to make it a bit more universal.

                  Marking issue as solved.

                  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!

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    iyoung @george1421
                    last edited by

                    @george1421 @tom-elliott I’ll spin up a host to see if it’s an issue on fresh installs of 1.3.0.

                    1 Reply Last reply Reply Quote 1
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      I had this working last week but it’s mysteriously stopped working now. I didn’t spend a lot of time looking into it, just giving this tidbit of info here.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • I
                        iyoung
                        last edited by

                        Just looking at FOG installing now, I can see php7.1-ldap in the “Packages to be installed.” The only things I changed before installing FOG were installing aptitude and ssh-server.

                        OS: Ubuntu 16.10 Server
                        FOG: 1.3.0 (SVN 6051)

                        Tom ElliottT I 2 Replies Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @iyoung
                          last edited by

                          @iyoung I think the difference was your “fresh” install knows to install ldap already. The upgrade, however, doesn’t.

                          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

                          I 1 Reply Last reply Reply Quote 0
                          • I
                            iyoung @Tom Elliott
                            last edited by

                            @Tom-Elliott I looked at the creation date of my main FOG server and it looks like it was created on 09/15/2016, and I know that I went right to trunk when I installed FOG. I skimmed this thread which is, for the most part, newer than that. Was php-ldap added more recently?

                            Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @iyoung
                              last edited by

                              @iyoung yes I think october ish timeframe

                              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
                              • george1421G
                                george1421 Moderator @iyoung
                                last edited by george1421

                                @iyoung That is most likely the case, the php-ldap module, before the thread, was a user responsibility to add it in and not provided by the fog installer (if I remember correctly). Once Tom updated the ldap plugin it was logical that if The FOG Project supplied the plugin that the installer should install all required modules.

                                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!

                                1 Reply Last reply Reply Quote 1
                                • I
                                  iyoung @iyoung
                                  last edited by

                                  @iyoung Test completed. LDAP plugin added and test login succeeded.

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

                                  188

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project