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

LDAP Plugin - ID Must Be Set To Edit Error

Scheduled Pinned Locked Moved Unsolved
FOG Problems
5
15
3.1k
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.
  • N
    noelpd
    last edited by Aug 9, 2017, 9:32 PM

    Server
    • FOG Version: 1.4.4
    • OS: Windows 10
    Client
    • Service Version: N/A
    • OS: N/A
    Description

    I was messing around with Open LDAP plugin. When I go to save my settings, I get the error message of “ID Must Be Set To Edit”. Any idea why it is giving me that error message? Thank you.

    J 1 Reply Last reply Aug 9, 2017, 10:19 PM Reply Quote 0
    • G
      george1421 Moderator
      last edited by Aug 9, 2017, 9:38 PM

      would you mind posting a screen shot of the actual error so we can see what values are in the fields? That error is understandable and not at the same time.

      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
      • N
        noelpd
        last edited by Aug 9, 2017, 9:42 PM

        1_1502314943993_Capture.JPG 0_1502314943991_Capture2.JPG

        G 1 Reply Last reply Aug 9, 2017, 9:45 PM Reply Quote 0
        • G
          george1421 Moderator @noelpd
          last edited by Aug 9, 2017, 9:45 PM

          @noelpd sure enough its exactly as you said. Let me check

          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!

          G 1 Reply Last reply Aug 9, 2017, 9:51 PM Reply Quote 0
          • G
            george1421 Moderator @george1421
            last edited by Aug 9, 2017, 9:51 PM

            Just for clarity you need to adjust your fields a bit.

            search base == the base where to start searching for users
            group search dn == the base where the plugin will start searching for groups (you need this, can be the same as search base).

            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!

            G 1 Reply Last reply Aug 9, 2017, 9:55 PM Reply Quote 0
            • G
              george1421 Moderator @george1421
              last edited by george1421 Aug 9, 2017, 4:12 PM Aug 9, 2017, 9:55 PM

              @george1421 @Developers could you look at this code. I did enter the correct fields and I’m getting the same error. Its almost like the page isn’t in the right mode, like view instead of edit/insert.

              I can confirm that I get the same error on my dev box running 1.4.4. Removing and adding back the plugin doesn’t help either.

              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
              • J
                Jason Shoemake @noelpd
                last edited by Aug 9, 2017, 10:19 PM

                @noelpd @george1421 not sure if this helps, but we had a similar issue with the location plugin and the fix was in this thread from Tom. This also solved an issue with the Wol Broadcast… Needed to remove and add the plugins back after running the fix…

                https://forums.fogproject.org/topic/10364/issues-after-upgrading-from-1-4-3-to-1-4-4

                G N 2 Replies Last reply Aug 9, 2017, 10:26 PM Reply Quote 1
                • G
                  george1421 Moderator @Jason Shoemake
                  last edited by george1421 Aug 9, 2017, 4:34 PM Aug 9, 2017, 10:26 PM

                  @jason-shoemake I just tried the fix and that didn’t solve the issue. So close though. Thank you for bringing that to my attention. (whoops I didn’t remove and add back).

                  Update: Confirm that the fix referenced by Jason does work

                  1. Open a linux command prompt on your FOG server.
                  2. Key in the following command:
                    sudo wget -O /var/www/fog/lib/fog/plugin.class.php https://raw.githubusercontent.com/FOGProject/fogproject/6717f382177e714c1bd22eb11627133cfd4e0ebe/packages/web/lib/fog/plugin.class.php
                  3. Remove the ldap plugin
                  4. Reinstall the ldap plugin
                  5. Add in your ldap settings and save

                  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 2
                  • N
                    noelpd @Jason Shoemake
                    last edited by Aug 9, 2017, 10:30 PM

                    @jason-shoemake This fix let me successfully add our LDAP. Moving forward, how do I make sure that people can log in with it? Will a reboot be required? Anything else that needs to be configured or installed?

                    G J 2 Replies Last reply Aug 9, 2017, 10:33 PM Reply Quote 0
                    • G
                      george1421 Moderator @noelpd
                      last edited by Aug 9, 2017, 10:33 PM

                      @noelpd The change will be automatic, once installed.

                      For people to be able to login using ldap they must be listed on the group identified by admin group field.

                      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!

                      N 1 Reply Last reply Aug 9, 2017, 10:45 PM Reply Quote 1
                      • J
                        Jason Shoemake @noelpd
                        last edited by Aug 9, 2017, 10:36 PM

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • N
                          noelpd @george1421
                          last edited by Aug 9, 2017, 10:45 PM

                          @george1421 said in LDAP Plugin - ID Must Be Set To Edit Error:

                          For people to be able to login using ldap they must be listed on the group identified by admin group field.

                          They are, but the login is still not working.

                          G 1 Reply Last reply Aug 9, 2017, 11:42 PM Reply Quote 0
                          • G
                            george1421 Moderator @noelpd
                            last edited by Aug 9, 2017, 11:42 PM

                            @noelpd OK have someone login and then tail the apache error log we print debugging info there .

                            rhel/centos: /var/log/httpd/error_log
                            debian/ubuntu: /var/log/apache2/error.log

                            From there we can understand what is going wrong. We have tested the ldap plugin against openldap, but we have had more success (of course) with MS AD.

                            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
                            • S
                              Sebastian Roth Moderator
                              last edited by Sep 11, 2017, 8:36 PM

                              @noelpd Please follow George’s instructions and report back.

                              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
                              • S
                                sofu
                                last edited by Oct 30, 2017, 9:50 AM

                                I had the same issue, updating the plugin.class.php file did the trick.

                                Thank you.

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

                                176

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project