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

    Join domain active directory -- Error

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    7
    1.9k
    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.
    • S
      Satheesh
      last edited by Satheesh

      Server
      • FOG Version: 1.4.0
      • OS: Ubuntu 16.04
      Client
      • Service Version: 0.11.12
      • OS: Windows 7
      Description

      Not able to join domain…when i look into “FOG System Settings” – Active Directory Defaults

      **On FOG_AD_DEFAULT_USER if we enter “domain\username” (double slash)
      is coming (e.g.domain\\username ) if give again save changes "domain\\\\username " (four slash)is coming, IF again give save changes “domain\\\\\\\\username” (eight slash) is coming

      Please check0_1495713814891_fog-ad-error.JPG

      AvaryanA 1 Reply Last reply Reply Quote 0
      • AvaryanA
        Avaryan @Satheesh
        last edited by Avaryan

        @Satheesh So, I just checked my 1.4.0 test server and had the same thing. My only thought is that maybe they don’t want you putting DOMAIN\ into that field. There is the FOG_AD_DEFAULT_DOMAINNAME above it. Probably goes there.

        So…
        FOG_AD_DEFAULT_DOMAINNAME = DOMAIN
        FOG_AD_DEFAULT_USER = USER

        edit: Just checked my live server and I do not have the domain name in the user field. For domainname field I have domain.com

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

          The correct method is to do the non-domain setting though FOG does support this capability.

          The problem is how php deals with escape characters, however. The \ is the default escape character in PHP. Because of this, to display a single \ you must actually display \\. This is great for non-input fields, but in text fields it shows the raw data. Unfortunately there’s not a pretty way to handle this :(.

          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
          • Tom ElliottT
            Tom Elliott
            last edited by

            So I found the thing adding the slashes erroneously. It should be fixed in the working branch if you’d like to install it to give it a shot.

            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
            • S
              Satheesh
              last edited by

              @Avaryan : Yes I have tried by removing domain in FOG_AD_DEFAULT_USER it’s worked. Tom Elliott will find the solution for this.

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

                @Satheesh Not will, already did 🙂

                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
                • S
                  Satheesh
                  last edited by

                  @Tom-Elliott super g8

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

                  226

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project