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

    samba domain integration

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    8
    102
    74.3k
    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.
    • P
      plegrand
      last edited by

      Hello,
      it doesnt works.
      For the moment i try just made a try with “normal” password and it doesn’t works.
      On the client :
      The specified domain either does not exist or could not be contacted , code = 1355
      In the error.log :
      PHP Warning: _() expects exactly 1 parameter, 2 given in /var/www/fog/lib/fog/FOGController.class.php on line 123

      And i can join the client manually
      Do i have to test passwor with apostrophe ?

      THanks

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

        @plegrand I fixed the line 123 error thrown, but this is not the issue you’re running into. The fact that it’s directly stating that the domain does not or exist or could not be reached is the issue now. At least as far as I can tell. Using it with, or without apostrophe should not matter now. You need to fix the 1355 issue first. This isn’t something FOG is failing to do any more. At least not for right now.

        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

        P 1 Reply Last reply Reply Quote 0
        • P
          plegrand @Tom Elliott
          last edited by

          @Tom-Elliott it worked before with same client same admin same password. I can join manually my client to the samba domain.
          The the 1355 issue is only (i think) with fog client.

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

            @plegrand 1355 is the error to look into. This error is not coming from the client, it’s coming from the method being used to join the domain which is erroring out with that exit code. The exact error code is from Windows attempt at joining. This is the issue. Meaning, double check the domain being connected. These are saved on a per host basis. For example, if the domain to be joined is example.com and the user joining the domain is set as example\administrator try removing the example out of the username spot.

            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

            P 1 Reply Last reply Reply Quote 0
            • P
              plegrand @Tom Elliott
              last edited by plegrand

              @Tom-Elliott
              Here is the configuration i use on the fog server wich doesn’t works. error 1355
              Join Domain after image task
              Domain name samba_domain
              Domain Username samba_admin
              Domain Password samba_password
              I use the same informations to join manually the windows machine and it works fine without error.
              It works also with netdom command with same informations
              And as i said, with an older svn version it worked with same configuration

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

                Is this the same information specified for this host?

                I don’t care if it worked 1 million times in a row, right now the error is telling you EXACTLY what is wrong.

                Where did you get this information? Did you get it from the “default” settings or directly off the host?

                I’m not lying to you right now. The error you are seeing is not coming from FOG in anyway shape or form, at least not directly.

                The messages you’re seeing is coming from Windows’ own attempt to join. This is where it it failing.

                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

                P 1 Reply Last reply Reply Quote 0
                • P
                  plegrand
                  last edited by

                  @Tom-Elliott said:

                  Where did you get this information? Did you get it from the “default” settings or directly off the host?
                  I configure in default “fog configuration, active directory”, then when i click on “Join Domain after image task” for the host all fields are filled automatically.

                  The messages you’re seeing is coming from Windows’ own attempt to join. This is where it it failing.
                  I understand that. What i don’t understand is why it works manually :
                  When i join the windows computer “classically” (Computer property, computer name, modify…), it works fine without any error.
                  When i join the windows computer with the netdom command , it works fine without any error.
                  When the client fog try, i can see in the “fog.log” this error message : “The specified domain either does not exist or could not be contacted , code = 1355”

                  And even you don’t care if it worked before 😉 😉
                  It worked with an older svn version
                  I say that because it’s an additional information .

                  May be I’m not clear in my explanations, or may be (cause of my poor English) i don’t understand all your explanations

                  Anyway thanks for your help
                  May be do you need more explanations about my problem

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

                    @Tom-Elliott

                    @Tom-Elliott said:

                    Is this the same information specified for this host?

                    For this time i make test with only one computer always the same with same informations.

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

                      @plegrand What I need to know is what information is on the host that is having this issue. What I also need to know is if this is EVERY system or just this particular one. I need to know these pieces of information because, as of right now, the error messages you’re seeing is NOT coming from FOG. They are coming from Windows and it’s attempt to join the domain.

                      My guess is your domain is not setup correctly.

                      One way you can get a little bit of information, as I’m certain it’s not the password for right now, is to go to the browser. Go to the url: http://IP.OF.FOG/fog/service/hostname.php?mac=MACOFRELEVANTHOST

                      Get me the output in the browser. This will let me know a little more about what exactly is happening.

                      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

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        plegrand @Tom Elliott
                        last edited by

                        @Tom-Elliott
                        http://192.168.39.243/fog/service/hostname.php?mac=00:21:85:71:bd:8e
                        #!ok=gim-127-13 #AD=1 #ADDom=samba_domain #ADOU= #ADUser=samba_domain\admin_samba #ADPass=

                        You can see my config here :
                        http://plegrand1.free.fr/fog1.png
                        http://plegrand1.free.fr/fog2.png
                        http://plegrand1.free.fr/fog3.png
                        as you can see i dont write ADUser=samba_domain\admin_samba but only admin_samba
                        Thanks

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

                          Can you try setting this particular hosts’ user to IP.OF.Samba.Domain\admin_samba and see if that works better for you? You could even try: \admin_samba. It’s just a guess that it doesn’t know how to assign the domain part of it because it simply isn’t joined.

                          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

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            plegrand @Tom Elliott
                            last edited by

                            @Tom-Elliott you mean only for the domain user configuration ?
                            I don’t touch to domain name ?

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

                              @plegrand Correct, the username. Make the AD Username either \admin_samba, or IP.Of.Samba.Domain\admin_samba (of course ensure the proper username).

                              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

                              P 2 Replies Last reply Reply Quote 0
                              • P
                                plegrand @Tom Elliott
                                last edited by

                                @Tom-Elliott
                                Join Domain after image task : checked
                                Domain name : samba_domain
                                Domain Username : 192.168.39.237\admin_samba
                                Domain Password : password
                                No success
                                on the same computer here is the result with netdom command wich works :
                                C:\Documents and Settings\Administrateur>netdom.exe JOIN %ComputerName% /Domain:samba_domain /UserD:admin_samba /PasswordD:“password” /REBoot:60
                                The command completed successfully.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  plegrand @Tom Elliott
                                  last edited by

                                  @Tom-Elliott
                                  is there a way to downgrade to the svn version wich worked before ? Just to test ?

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

                                    @plegrand Yes, but have you tried joining domain with the username set as \admin_samba?

                                    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

                                    P 2 Replies Last reply Reply Quote 0
                                    • P
                                      plegrand @Tom Elliott
                                      last edited by plegrand

                                      @Tom-Elliott oups no .
                                      I test now
                                      Join Domain after image task : checked
                                      Domain name : samba_domain
                                      Domain Username : \admin_samba
                                      Domain Password : password

                                      http://192.168.39.243/fog/service/hostname.php?mac=00:21:85:71:bd:8e
                                      #!ok=gim-127-13 #AD=1 #ADDom=samba_domain #ADOU= #ADUser=samba_domain\\admin_samba #ADPass=
                                      No more success
                                      In fog.log :
                                      The parameter is incorrect, code = 87

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        plegrand @Tom Elliott
                                        last edited by

                                        @Tom-Elliott is it possible to downgrade to a svn version for example 4058 then test all svn version to 4065 to see which version worked ?

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

                                          Yes.

                                          Use the command svn up -r REVYOUWANTTOTRY while in the trunk root directory

                                          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

                                          P E 2 Replies Last reply Reply Quote 0
                                          • P
                                            plegrand @Tom Elliott
                                            last edited by

                                            @Tom-Elliott and then
                                            cd bin
                                            ./installfog.sh

                                            ?
                                            i test that thanks

                                            ch3iC 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 3 / 6
                                            • First post
                                              Last post

                                            252

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project