• 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

      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 Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        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

          1_1502314943993_Capture.JPG 0_1502314943991_Capture2.JPG

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

            @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!

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

              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!

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

                @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

                  @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

                  george1421G N 2 Replies Last reply Reply Quote 1
                  • george1421G
                    george1421 Moderator @Jason Shoemake
                    last edited by george1421

                    @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

                      @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?

                      george1421G J 2 Replies Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @noelpd
                        last edited by

                        @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 Reply Quote 1
                        • J
                          Jason Shoemake @noelpd
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • N
                            noelpd @george1421
                            last edited by

                            @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.

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

                              @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

                                @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

                                  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

                                  188

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project