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

    Problem with FOG Service …

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    5
    14
    433
    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.
    • L
      Laurent @sideone
      last edited by

      @sideone

      the only error message I see is:


      --------------------------------HostnameChanger-------------------------------

      24/10/2024 13:09:05 Client-Info Client Version: 0.13.0
      24/10/2024 13:09:05 Client-Info Client OS: Windows
      24/10/2024 13:09:05 Client-Info Server Version: 1.5.10.1622
      24/10/2024 13:09:05 Middleware::Response Success
      24/10/2024 13:09:05 HostnameChanger Checking Hostname
      24/10/2024 13:09:05 HostnameChanger Hostname is correct
      24/10/2024 13:09:05 HostnameChanger ERROR: Required domain information is missing

      however, I have correctly entered the Domain name, Domain username and encrypted password (with fogcrypt) in the Domain Password Legacy area.

      I use an encrypted password because I don’t want other fog users to see my password in plain text

      Thanks,
      Laurent

      Tom ElliottT JJ FullmerJ 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Laurent
        last edited by

        @Laurent Password legacy is no longer used in 0.13.0 I don’t believe. Please enter your domain password in the non-legacy item. 0.13.0 was NOT ever using the legacy fields. It was because of these versions of the FOG client, that the “legacy” items were even created.

        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
        • JJ FullmerJ
          JJ Fullmer Testers @Laurent
          last edited by

          @Laurent said in Problem with FOG Service …:

          I use an encrypted password because I don’t want other fog users to see my password in plain text

          I would recommend using a separate domain admin account rather than any 1 user’s domain account. Partly because of the issue you describe (though that’s not something that can be seen in the web gui) but also so that it’s a password that won’t expire with a user leaving and it’s a password that can be rotated without affecting other services.

          Just my 2 cents.

          Have you tried the FogApi powershell module? It's pretty cool IMHO
          https://github.com/darksidemilk/FogApi
          https://fogapi.readthedocs.io/en/latest/
          https://www.powershellgallery.com/packages/FogApi
          https://forums.fogproject.org/topic/12026/powershell-api-module

          S L I 3 Replies Last reply Reply Quote 2
          • S
            sideone @JJ Fullmer
            last edited by

            @Laurent we’re on FOG 1.6, but I think its the same as 1.5.10. FOG doesn’t let you see the AD password once input, but I’d echo @JJ-Fullmer’s point of using a specific account

            0cc2591b-e35b-49a1-b0b3-bfc145d92609-image.png

            L 1 Reply Last reply Reply Quote 1
            • L
              Laurent @JJ Fullmer
              last edited by

              @JJ-Fullmer

              thanks Tom Elliott for your answer. The fog service I used until now (for fog versions 1.5.7 and 1.5.9) used encrypted passwords, and everything worked perfectly.

              the problem is that if I don’t encrypt my password, other fog users will be able to see it, and it’s an administrator account of my domain (Active Directory) !

              Is there a way to get around this problem?

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • L
                Laurent @sideone
                last edited by

                @sideone
                you are absolutely right, we can’t see the password anymore !!! you just have to leave the host and come back in, and the password is hidden!!

                For me, it was still visible because I hadn’t left the host…

                Are you on version 1.6? where can I download it to test? any feedback on this version?

                JJ FullmerJ 1 Reply Last reply Reply Quote 0
                • JJ FullmerJ
                  JJ Fullmer Testers @Laurent
                  last edited by

                  @Laurent https://docs.fogproject.org/en/latest/installation/server/install-fog-server/#choosing-a-fog-version

                  Essentially, instead of checking out the stable branch and doing a git pull and running the installer, you check-out the working-1.6 branch, do a git pull and run the installer.

                  It’s still in “beta” but I believe we’re very close to releasing it as the new stable version.

                  It’s a whole new ui it’s pretty great. Lots of feature and security enhancement in the backend, faster search results in a universal search tool, cool stuff like that.

                  Have you tried the FogApi powershell module? It's pretty cool IMHO
                  https://github.com/darksidemilk/FogApi
                  https://fogapi.readthedocs.io/en/latest/
                  https://www.powershellgallery.com/packages/FogApi
                  https://forums.fogproject.org/topic/12026/powershell-api-module

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

                    @Laurent The information is stored encrypted in the db + the transfer of information is encrypted between the client and the machine.

                    The only time the password is clear to any user is when you initially enter it in the 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! 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 1
                    • L
                      Laurent @JJ Fullmer
                      last edited by

                      @JJ-Fullmer

                      Top, that’s great news! Congrates !

                      1 Reply Last reply Reply Quote 0
                      • I
                        iljared98 @JJ Fullmer
                        last edited by

                        @JJ-Fullmer
                        In our environment we just use a service account that has delegated rights to create / delete computer objects and domain join, it doesn’t have access to anything else. No need for domain admin in that case.

                        S JJ FullmerJ 2 Replies Last reply Reply Quote 1
                        • S
                          sideone @iljared98
                          last edited by

                          @iljared98 this is what we do too.

                          1 Reply Last reply Reply Quote 0
                          • JJ FullmerJ
                            JJ Fullmer Testers @iljared98
                            last edited by

                            @iljared98 I don’t suppose you’d be willing to share more on this config? What specific rights you gave the service account, did you have to do this whole thing https://support.microsoft.com/en-us/topic/kb5008383-active-directory-permissions-updates-cve-2021-42291-536d5555-ffba-4248-a60e-d6cbc849cde1 related to this whole thing https://support.microsoft.com/en-us/topic/kb5020276-netjoin-domain-join-hardening-changes-2b65a0f3-1f4c-42ef-ac0f-1caaf421baf8 ?

                            I’ve previously attempted to create a standard user with such permissions, but I hadn’t tried a service account, that’s a grand idea. I would love to document the creation of a least privilege service account for fog domain operations.

                            Have you tried the FogApi powershell module? It's pretty cool IMHO
                            https://github.com/darksidemilk/FogApi
                            https://fogapi.readthedocs.io/en/latest/
                            https://www.powershellgallery.com/packages/FogApi
                            https://forums.fogproject.org/topic/12026/powershell-api-module

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

                            231

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project