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

    Can't add AD OU in 1.1.2

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    12
    4.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.
    • D
      dislikeusernames
      last edited by

      Fresh install of Fog v 1.1.2. After I create a host, I go into the Active Directory section to define how it should join the domain. “Organizational Unit” now appears to be a drop-down menu instead of an editable text field. Putting in the domain admin credentials doesn’t populate the drop-down, and I can’t enter anything in it. Is there somewhere else I should be entering the OU info?[ATTACH=full]1086[/ATTACH]

      [url=“/_imported_xf_attachments/1/1086_AD SS.png?:”]AD SS.png[/url]

      1 Reply Last reply Reply Quote 0
      • F
        Fhajad
        last edited by

        The editable text field is over in Fog Configuration > Fog Settings > Active Directory Defaults. You can put the default OU there and it’ll be selectable in the dropdown.

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

          This field has been changed to make life easier, just documentation hasn’t been built for it yet and for that I’m sorry.

          The basic way this field works.

          You can add a listing of OU’s so you can select per host/per group.

          You use the delimiter of the | (pipe) character to build the selectable fields

          Example:
          [code]OU=MYDOMAINBLAHBLABH|OU=MYDOMAIN2BLANBLABH[/code]

          With it set as such, your “dropdown” becomes:
          OU=MYDOMAINBLAHBLABH
          OU=MYDOMAIN2BLANBLABH

          To select which OU you want defaulted you end the domain you want as default with a ; (semicolon) character so:
          Example:
          [code]OU=MYDOMAINBLAHBLABH;|OU=MYDOMAIN2BLANBLABH[/code]

          Would build a menu item as above, but automatically select OU=MYDOMAINBLAHBLABH

          If you wanted “blank” ou as default you can just do:
          [code];|OU=MYDOMAINBLAHBLABH|OU=MYDOMAIN2BLANBLABH[/code]

          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
          • D
            dislikeusernames
            last edited by

            No need to apologize. Thanks so much for all of your work.

            1 Reply Last reply Reply Quote 0
            • A
              andjjru
              last edited by

              While this is much friendlier for those adverse to typing, I’ve got a couple hundred OUs to pipe into that one line now. Would it be possible to at least make the settings edit-able on a host and group level?

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

                In SVN I’ve fixed it so if the OU field is blank or only has one entry, the host and group settings adou are text fields.

                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
                • A
                  andjjru
                  last edited by

                  OK. What file is that in so that I can just pull that?

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

                    [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/lib/pages/HostManagementPage.class.php[/url]
                    [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/lib/pages/GroupManagementPage.class.php[/url]

                    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
                    • A
                      andjjru
                      last edited by

                      Thanks, that made my day a lot easier.

                      1 Reply Last reply Reply Quote 0
                      • A
                        andjjru
                        last edited by

                        Tom, seems that the fancy new features on the new group page are really slowing things down for me. Could you make a new version of the “orig” file with the AD settings fixed the same way?

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

                          SVN 1855 is before I added the “select” box, but that said, how is it slowing things down?

                          The files I’ve provided for you mean, if you only have one or no elements in the FOG_AD_DEFAULT_OU the fields on the groups and host become text boxes. If you want to go back to svn 1855 that’s fine.

                          [url]https://sourceforge.net/p/freeghost/code/1855/tree/trunk/packages/web/lib/pages/HostManagementPage.class.php[/url]
                          [url]https://sourceforge.net/p/freeghost/code/1855/tree/trunk/packages/web/lib/pages/GroupManagementPage.class.php[/url]

                          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
                          • A
                            andjjru
                            last edited by

                            Thanks, that’ll work well enough for now.

                            With the newest version of GroupManagementPage.class.php, clicking on a group from search results takes several minutes to load, as do most changes to the group once it finally loads. During these times, apache is pegging a CPU core or two.

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

                            155

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project