• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.4k
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.
  • T
    Tom Elliott
    last edited by Jun 27, 2014, 5:32 PM

    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 Jun 28, 2014, 3:51 PM

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

      1 Reply Last reply Reply Quote 0
      • A
        andjjru
        last edited by Jul 9, 2014, 2:14 PM

        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
        • T
          Tom Elliott
          last edited by Jul 9, 2014, 2:15 PM

          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 Jul 9, 2014, 2:27 PM

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

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jul 9, 2014, 2:40 PM

              [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 Jul 9, 2014, 3:09 PM

                Thanks, that made my day a lot easier.

                1 Reply Last reply Reply Quote 0
                • A
                  andjjru
                  last edited by Jul 14, 2014, 7:33 PM

                  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
                  • T
                    Tom Elliott
                    last edited by Jul 14, 2014, 7:59 PM

                    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 Jul 14, 2014, 8:07 PM

                      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

                      225

                      Online

                      12.2k

                      Users

                      17.3k

                      Topics

                      155.5k

                      Posts
                      Copyright © 2012-2024 FOG Project