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

    Multiple Domains?

    Scheduled Pinned Locked Moved Unsolved
    Feature Request
    3
    5
    2.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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      This will sound crazy… but… it’s how it is here…

      In each building, we have an academic domain. The building techs take care of those (I’m one of those techs).

      We also have an administrative domain, and admin computers in all buildings are connected to this.

      This issue just arose today, but I’m imaging an admin PC and I have to bind it to the admin domain manually because I don’t wanna rip out my buildings domain credentials from FOG.

      So… this might not even be feasible but,
      Is there any way that FOG can support multiple domains / credentials for joining to those domains?

      Sorry to be a pain in your @**, and if it’s too hard, don’t worry about it.

      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
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        I realize I can individually edit the host properties for the alternative domain… was just wanting a default field that auto-populates. Like a drop down menu or something in the hosts/groups page. And be able to have multiple domains/credentials in the FOG Configuration -> Active Directory section.

        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
          last edited by

          I may make a similar methodology as I do for giving the OU dropdowns a shot.

          For those of you just tuning in, FOG, since 1.2.0 at least, has a pretty sweet option.

          From FOG Configuration->FOG Settings->Active Directory Defaults you update your AD information which get’s pulled on a host when you click the checkbox or say yes during registration. This is pretty well known about. However, With the release of 1.2.0 (Maybe earlier even?) we added the ability to make the OU a dropdown box. Mostly this is for ease as having to type an OU is pretty confusing, especially if you have to do so on a per-host setup.

          The way the OU currently can operate:

          1. Text
            – This is simple text as FOG is already Known About
          2. Select Box (Drop Down Selector)
            – This is how you can associate multiple OU’s for selection to other hosts.

          We all know the original Text field, and this is still the case on the FOG Configuration Page. To make a dropdown:

          1. Go to where FOG_AD_DEFAULT_OU is set.
          2. Make a list of your OU’s you want to allow association with.
          3. Create the Associations in the FOG_AD_DEFAULT_OU field.
          4. Choose either host or group and set the desired OU based on the Drop down.

          To create the dropdown, the OU field accepts two delimeters.

          First delimeter is the | (Pipe) symbol. This is how you separate each OU. For example
          test|test2||test3|test4

          The above example would give a drop down that looks like:
          upload-5b358994-0edf-4101-941e-e81dfe4a4ad5

          The second delimeter is the ; (Semicolon) symbol. This is how you distinguish the default selected item. If I make the ou field set to:
          test|test2|;|test3|test4
          THe above example would give a dropdown that looks like:
          upload-385e6965-9678-4769-a2ef-d82cb9db681d

          It’s important to note that the ; and | goes after the field. You can place blank spots, and you, technically, can place multiple semicolons. However, the multiple semicolons may confuse things down the road.

          A similar approach to this field could be adapted to domain, user, password fields as well.

          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

          ch3iC 1 Reply Last reply Reply Quote 2
          • ch3iC
            ch3i Moderator @Tom Elliott
            last edited by ch3i

            @Tom-Elliott

            Hi Tom,

            Thank’s for that usefull option ! Where is that tips in the Wikipedia ? 😛

            Idea :
            Is that possible to only display in the dropdown menu the first OU indicate in the text.

            |OU=my_first_ou,OU=Computers,DC=sub_domain,DC=domain,DC=com,DC|OU=my_second_ou,OU=Computers,DC=sub_domain,DC=domain,DC=com,DC|OU=my_third_ou,OU=Computers,DC=sub_domain,DC=domain,DC=com,DC|
            

            In the drop down :

            my_first_ou
            my_second_ou
            my_third_ou
            

            Regards,
            Ch3i.

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

              Bumping this thread… Running into the multiple domain thing again at work…

              Just read through Tom’s reply… seems sorta confusing but I’ll give it a shot but I don’t think it will work.

              Two or more domains in one environment also means two or more users / passwords for domain joining in an environment…

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

              156

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project