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

    No ldap request from LDAP Management plugin

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    20
    3.8k
    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

      @st.mu said in No ldap request froma LDAP Management plugin:

      “Search failedInternal Server Error” from LDAP Management when try to search people.

      In the login page?

      The permissions are OK 🙂

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

        @st.mu said in No ldap request froma LDAP Management plugin:

        LDAPAssociation

        Can you please run:

        grep -rl 'LDAPAssociation' /var/www/
        

        This class doesn’t exist nor has it ever. @Fernando-Gietz realized this and fixed it. FOG version 1.4.2 had this fix, so I don’t know how you can be on 1.4.2 and have this problem. I suspect you have two potential installations running with conflicting data.

        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

        st.muS 1 Reply Last reply Reply Quote 0
        • st.muS
          st.mu @Tom Elliott
          last edited by

          @Tom-Elliott said in No ldap request froma LDAP Management plugin:

          grep -rl ‘LDAPAssociation’ /var/www/

          Hi Tom,

          root@:~# grep -rl 'LDAPAssociation' /var/www/
          root@:~#
          

          You right, FOG is installed on a test server and there are 2 folders fog_1.4.3 and fog_1.4.2… how to check conflicting data ?

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

            @st-mu Thanks for reporting this. Can replicate the issue. Moved to bug reports.

            @Tom-Elliott This piece of code is causing it… Sorry don’t have the time to look into this in detail.

            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
            • st.muS
              st.mu
              last edited by

              Backup my test serveur from scratch, installed fog 1.4.2 and…same error.
              So as Sebastian said a piece of code is causing it, I think i have to wait…

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

                I don’t think that’s the piece of code causing the problem. I run with the ldap plugin installed and have never seen this issue occur at all.

                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
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  If you’d like, please install the git working branch:

                  git clone https://github.com/fogproject/fogproject.git /opt/fogprojectworking
                  cd /opt/fogprojectworking
                  git pull
                  git checkout working
                  git pull
                  

                  I’m seeing if simply preventing autoload from occurring will fix this issue, though I still cannot replicate.

                  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

                  st.muS 1 Reply Last reply Reply Quote 0
                  • st.muS
                    st.mu @Tom Elliott
                    last edited by

                    @Tom-Elliott
                    I installed the git working branch:
                    You are currently running version: 885132
                    Latest stable version is 1.4.3
                    Latest svn version is 6075
                    Latest git version is 1.4.2

                    No more errors in apach log (thanks) but I tryed many settings and ldap requests do not give an answer.

                    How to configure ldap plugin in order to do request (anonymous) like
                    uid=login,ou=people,$baseDN
                    cn=groupname,ou=groups,$baseDN
                    member=uid=login,ou=people,$baseDN

                    Sorry, i’m almost rookie in LDAP and linux (…also english ^^'…)

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @st.mu
                      last edited by

                      @st.mu Maybe this can help?
                      https://forums.fogproject.org/topic/10063/ldap-plugin-on-fog-1-3-3/5?page=1#

                      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
                      • st.muS
                        st.mu
                        last edited by

                        I’ve already seen this post.
                        my settings look like:
                        ldap settings

                        I choose OpenLDAP template.

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @st.mu
                          last edited by

                          @st.mu Is your Domain on an “Open LDAP” ldap tree?

                          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

                          st.muS 1 Reply Last reply Reply Quote 0
                          • st.muS
                            st.mu @Tom Elliott
                            last edited by

                            @Tom-Elliott
                            yes

                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @st.mu
                              last edited by

                              @st.mu If that’s the case, shouldn’t your “group attribute” value be ‘member’ instead of ‘groups’

                              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
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                Your user attribute should be cn not ‘uid’

                                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

                                st.muS 1 Reply Last reply Reply Quote 0
                                • st.muS
                                  st.mu @Tom Elliott
                                  last edited by

                                  @Tom-Elliott
                                  I’ve also tried that and it doesn’t work.
                                  I tried generic LDAP with uid as User Name Attribute and groups as Group Member Attribute (who knows…), but same “O results found” answer…

                                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott @st.mu
                                    last edited by

                                    @st.mu You don’t search users in ldap management.

                                    All ldap plugin does is enable you to login with LDAP user accounts, there’s no searching users. I don’t know where you got the idea that you could find users using this plugin.

                                    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

                                    st.muS 1 Reply Last reply Reply Quote 0
                                    • st.muS
                                      st.mu @Tom Elliott
                                      last edited by

                                      @Tom-Elliott
                                      I am confused,
                                      I have misunderstood how works the plugin. I thought searching users by lhe LDAP Management section enable to check ldap conf is ok.
                                      I will test in the right way.

                                      Thanks Tom

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

                                      209

                                      Online

                                      12.1k

                                      Users

                                      17.3k

                                      Topics

                                      155.3k

                                      Posts
                                      Copyright © 2012-2024 FOG Project