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

    samba domain integration

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    8
    102
    74.2k
    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.
    • ch3iC
      ch3i Moderator @plegrand
      last edited by

      @plegrand said:

      @Tom-Elliott said:

      I don’t know, never tried to be honest.

      Hmm just a question does rename and integration are launched Indifferently after capture or deploy or only after deploy?

      Indifferently

      1 Reply Last reply Reply Quote 0
      • Joseph HalesJ
        Joseph Hales Testers
        last edited by

        If you can write a script to join samba then you could get the same functionality with a snapin.

        RTFM

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

          @Joseph-Hales said:

          If you can write a script to join samba then you could get the same functionality with a snapin.

          It’s a good idea, i already use a script after symantec ghost clonage.
          But it would be nicer if fog could do that "natively.
          But i keep the idea

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

            Have you Tried doing it “natively”?

            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
            • S
              Sebastian Roth Moderator
              last edited by

              We use samba without AD (but LDAP!) and domain joining is done via FOG client (Win7/10) without trouble! As Tom said: Domain does not have to be Active Directory…

              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 said:

                Have you Tried doing it “natively”?

                I made a test without success but i’ll try again on monday

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

                  @Uncle-Frank said:

                  We use samba without AD (but LDAP!) and domain joining is done via FOG client (Win7/10) without trouble! As Tom said: Domain does not have to be Active Directory…

                  I’m using samba also with ldap and i’m very interesting . Could you explain me the way you use ?
                  Does samba integration is made automaticcaly without snapin ?
                  Thanks for your answer

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @plegrand said:

                    Does samba integration is made automaticcaly without snapin ?

                    Yes! I guess you’ve setup samba kind of like this using smbldap-tools and all the rest: http://www.unixmen.com/setup-samba-domain-controller-with-openldap-backend-in-ubuntu-13-04/

                    Pay attention to the last couple of screenshots. Windows clients join that domain exactly as if they would join an AD! So from the clients’ point of view there is no difference. Use the FOG clients’ AD settings (edit host and then click ‘Active Directory’ on the left menu).

                    Prerequisites: FOG client installed and working and domain join for that client should work (try by hand at first).

                    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 @Sebastian Roth
                      last edited by plegrand

                      @Uncle-Frank said:

                      @plegrand said:

                      Does samba integration is made automaticcaly without snapin ?

                      Yes! I guess you’ve setup samba kind of like this using smbldap-tools and all the rest
                      Hello,
                      i’m using samba with ldap without smbldap-tools but i think it’s not a problem.
                      I can integrate the windows client manually without problem
                      Can you explain me what fields you use in the “Active directory” configuration?

                      Domain name
                      Organizational Unit
                      Domain Username
                      Domain Password
                      Domain Password Legacy

                      Thanks for your help

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

                        @Uncle-Frank
                        i made some tests this morning without success and i’ve got that in the fog.log file :
                        HostnameChanger Checking Hostname
                        HostnameChanger Hostname is correct
                        HostnameChanger Registering host with active directory
                        HostnameChanger Logon failure: unknown username or bad password, code = 1326
                        HostnameChanger Activing host with product key

                        But i can integrate manually the windows 7 client
                        Could you help me ?
                        What client version are you using?
                        Thanks

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

                          @plegrand I think the better question to be asked is what fog version are you use? Particularly the client version. Are you using the legacy client or the new client?

                          Have you ensured your passwords (FOG Crypted in the ADPassLegacy vield) and (Plaintext in the ADPass field as it will auto encrypt for you) are correct?

                          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 6 Replies Last reply Reply Quote 0
                          • P
                            plegrand @Tom Elliott
                            last edited by

                            @Tom-Elliott May be the problem is because i’ve got some specials caracters into the password ?

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

                              @Tom-Elliott sorry i made some tests with the legacy client and some with the new one.
                              Actually i try with the new client

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

                                @Tom-Elliott
                                To summarize i use a trunk version of fog : In th e litle cloud at the top of the page : 4700
                                I use the “new client”
                                I’m sure of my user wich is able to join windows client into samba domain.
                                I can join my windows machine test manually and with powershell script
                                On the “Active Directory” Host configuration i dont use the “Domain Password Legacy” field only the “Domain Password”.
                                Here is how i do :
                                Join Domain after image task “checked”
                                Domain name “samba_domain”
                                Organizational Unit “blanck”
                                Domain Username administrateur
                                Domain Password : contain this " ’ "
                                i’ve got this error message :
                                HostnameChanger Logon failure: unknown username or bad password, code = 1326

                                I didnt configure anything else on fog server

                                Thanks for your help

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

                                  @Tom-Elliott Is it possible that the problem comes from an apostrophe in the password of the Samba domain administrator?

                                  ch3iC 1 Reply Last reply Reply Quote 0
                                  • ch3iC
                                    ch3i Moderator @plegrand
                                    last edited by

                                    @plegrand said:

                                    @Tom-Elliott Is it possible that the problem comes from an apostrophe in the password of the Samba domain administrator?

                                    Can you try with an account test with a simple password ?

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

                                      @ch3i YESSSS it works with a password without apostrophe
                                      May be it could be possible to correct the client to make possible the utilization of specials characters in the password ?

                                      Thanks for your help

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

                                        @Tom-Elliott As i said just before it seems that the problem come from an apostrophe into the domain administrator password, it works if i use an other domain admin test without apostrophe .
                                        Is it a bug ?

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

                                          @Tom-Elliott Hello, Is it planned to correct the problem concerning specials characters in the domain administrator password ? Or do i have to use a password without special characters ?

                                          I’ve got another little problem, on the host page : i’ve got “No response” with an exclamation point in a red circle as fog didnt see the host .
                                          Nevertheless i can see the host add snapins etc…
                                          Thanks for your help

                                          For informations, for each tests i make on fog (installation, download, upload, samba domain, snapins…), i write a little (french) procedure, are you interested by that ?
                                          Thanks again

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

                                            New problem with the last svn version to join samba domain i’ve got this error message in fog.log file :
                                            The specified domain either does not exist or could not be contacted , code = 1355

                                            And this in the apache error log :
                                            PHP Warning: strpos(): needle is not a string or an integer in /var/www/fog/lib/client/HostnameChanger.class.php on line 12

                                            I use an admin password without special characters, and it works manually

                                            Thanks for your help

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

                                            317

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project