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

    Hostname Changer Access Denied, Code = 5

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    19
    4.2k
    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.
    • RobTitian16R
      RobTitian16 @Wayne Workman
      last edited by

      @wayne-workman I get the following:

      [Thu Jan 18 15:08:27.427489 2018] [php7:error] [pid 8958] [client 10.1.2.88:49534] PHP Fatal error: Uncaught Error: Call to a member function isValid() on null in /var/www/html/fog/lib/fog/host.class.php:778\nStack trace:\n#0 /var/www/html/fog/lib/fog/host.class.php(792): Host->_setAlo()\n#1 /var/www/html/fog/lib/client/autologout.class.php(43): Host->getAlo()\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3094): Autologout->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fogbase.class.php(481): ReflectionClass->newInstanceArgs(Array)\n#11 /var/www/html/fog/manageme in /var/www/html/fog/lib/fog/host.class.php on line 778
      [Thu Jan 18 15:06:26.192618 2018] [php7:error] [pid 10510] [client 10.1.2.88:49532] PHP Fatal error: Uncaught Error: Call to a member function isValid() on null in /var/www/html/fog/lib/fog/host.class.php:778\nStack trace:\n#0 /var/www/html/fog/lib/fog/host.class.php(792): Host->_setAlo()\n#1 /var/www/html/fog/lib/client/autologout.class.php(43): Host->getAlo()\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3094): Autologout->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fogbase.class.php(481): ReflectionClass->newInstanceArgs(Array)\n#11 /var/www/html/fog/manageme in /var/www/html/fog/lib/fog/host.class.php on line 778
      

      Strangely, the first group I made (well over a year ago) is perfectly fine; it’s all the groups I created the other day that are having the issue.

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

        @robtitian16 said in Hostname Changer Access Denied, Code = 5:

        it’s all the groups I created the other day

        To clarify, are you trying to set the OU on individual hosts, or via 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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        RobTitian16R 1 Reply Last reply Reply Quote 0
        • RobTitian16R
          RobTitian16 @Wayne Workman
          last edited by

          @wayne-workman Groups, not hosts.

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

            At this point, it’s very likely this is a bug, so moved this to bug reports.

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

              Is the password typed into (Domain Password (will auto-encrypt plaintext)) actually plaintext for the “real” password of the AD Username?

              I say this because the access denied REALLY seems to indicate a problem with the password.

              The error logs have nothing to do with Active Directory and should pose little issue.

              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

              RobTitian16R 1 Reply Last reply Reply Quote 1
              • RobTitian16R
                RobTitian16 @Tom Elliott
                last edited by

                @tom-elliott That part is actually resolved now. This was raised as a bug because not all of the groups are updating with the correct AD details. It’s only worked for one, which was the very first group I created. Now whenever I save the AD details and reload the page, it’s as if it never saved in the first place.
                Let me know if you need anymore details/logs.

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

                  @Tom-Elliott the OU field isn’t saving via groups. He’s on 1.5.0-RC-10

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

                    @robtitian16 I’m very confused. What error, exactly, is this thread focusing on?

                    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

                    RobTitian16R 1 Reply Last reply Reply Quote 0
                    • RobTitian16R
                      RobTitian16 @Tom Elliott
                      last edited by

                      @tom-elliott From the post above: “However, now when updating the different groups with the AD details and what snapins they should include, upon pressing ‘Update’ on the page it says it’s updated, but when I go back to check the details the fields are blank.”

                      I also posted the error messages from the Apache error log further down the page.
                      I’ve tried updating the group with snapins, and this hasn’t saved either, so it seems to be a general issue of saving groups, rather than a specific one of setting the Active Directory defaults in the group.

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

                        @RobTitian16 Maybe do some datebase cleanup: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL#Database_Maintenance_Commands

                        I’ll mark this solved as the AD joining issue is actually solved. Please open a new thread if you still have the group assignment issue after the DB maintenance.

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

                        120

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project