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

    SVN 5370 Domain Username Bug

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    21
    5.0k
    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.
    • ch3iC
      ch3i Moderator @shird
      last edited by ch3i

      @shird Not sure but I think the 2202 error is an authentication problem.

      Edit : https://msdn.microsoft.com/en-us/library/windows/desktop/aa370674(v=vs.85).aspx

      shirdS 1 Reply Last reply Reply Quote 0
      • shirdS
        shird @ch3i
        last edited by

        @ch3i Looks like you’re right.

        I’ve checked the NetSetup.log file on the client and the reason it is failing authentication is due to the Account name containing lots of erroneous backslashes, as mentioned in my first post. Currently the account name in NetSetup.log looks like this: Account: domain\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

        In the FOG.log I get the following:

        ------------------------------------------------------------------------------
        --------------------------------HostnameChanger-------------------------------
        ------------------------------------------------------------------------------
         20/11/2015 13:15 Client-Info Version: 0.9.7
         20/11/2015 13:15 HostnameChanger Running...
         20/11/2015 13:15 Middleware::Communication URL: http://192.168.1.156/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=xx:xx:xx:xx:xx:xx||00:00:00:00:00:00:00:E0&newService=1
         20/11/2015 13:15 Middleware::Communication Response: Success
         20/11/2015 13:15 Middleware::Communication URL: http://192.168.1.156/fog/service/hostname.php?moduleid=hostnamechanger&mac=xx:xx:xx:xx:xx:xx||00:00:00:00:00:00:00:E0&newService=1
         20/11/2015 13:15 Middleware::Communication Response: Success
         20/11/2015 13:15 HostnameChanger Checking Hostname
         20/11/2015 13:15 HostnameChanger Hostname is correct
         20/11/2015 13:15 HostnameChanger Activing host with product key
        ------------------------------------------------------------------------------
        

        And nothing appears to happen beyond it.

        I’ve tried using a different account and restarting the FOG service, however no joy and I get the same as above.

        ch3iC 1 Reply Last reply Reply Quote 0
        • ch3iC
          ch3i Moderator @shird
          last edited by

          @shird Could you try to edit the user in the database instead the web UI ?

          FOG_AD_DEFAULT_USER entry in the globalSettings table

          shirdS 1 Reply Last reply Reply Quote 0
          • shirdS
            shird @ch3i
            last edited by

            @ch3i I’ll give it a bash (no pun intended 😉 )

            shirdS 1 Reply Last reply Reply Quote 1
            • shirdS
              shird @shird
              last edited by

              Nope, no difference at all 😞 Same output as above

              1 Reply Last reply Reply Quote 0
              • shirdS
                shird
                last edited by

                Interestingly it there appears to be no attempts on logging onto the domain in the NetSetup.log file since I fixed the cert issue. Could it be getting stuck on the Product Key or something else?

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

                  I am still not understanding the problem.

                  The ad information presented is displayed as it’s stored on the host.

                  So why not just update the host?

                  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

                  shirdS 1 Reply Last reply Reply Quote 0
                  • shirdS
                    shird @Tom Elliott
                    last edited by

                    @Tom-Elliott I’m not sure I understand. What exactly are you asking for me to update?

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

                      Update the values as present on the HOST, not the Global settings.

                      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

                      shirdS 1 Reply Last reply Reply Quote 1
                      • shirdS
                        shird @Tom Elliott
                        last edited by

                        @Tom-Elliott Gotcha. Will try now.

                        1 Reply Last reply Reply Quote 0
                        • shirdS
                          shird
                          last edited by

                          Brilliant. That appears to have worked!

                          is there then an issue with the global setting AD values? Entering each host information is fine for one or two hosts but it will be problematic for several or more?

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

                            @shird If you updated the global, then whatever entries are in that are populated to the host by checking the “Join Domain”.

                            After the initial save, the value is individualized on the host level.

                            One or two hosts is simple, but when you have 100’s or 1000’s of hosts, doing this one by one is very very tedious. This is where the Group page shines.

                            From the List/Search of Host page, you can check the boxes for the host or hosts you want to join to a new or existing group. Once they’re in the group, go to the Group and edit that new group. You can then update all hosts in the group at once, by following (more or less) the same exact steps as you would on an individual host.

                            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
                            • shirdS
                              shird
                              last edited by

                              The global settings appear to be working now that the sloppy domain pre-fix has been removed and the cert issue was cleared up. It still appears to be a bug that the extra erroneous slashes are added, but if the expected input is wrong then that is fair enough really!

                              Thanks for the help, much appreciated.

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

                              218

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project