ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Port - Linux login script from AD netlogon share

    Scheduled Pinned Locked Moved IT Discussion
    13 Posts 5 Posters 1.3k Views
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Why do you want the Linux machines to pull from the Windows Netlogon location? That's a specifically Windows location. Why not put a Linux script in a more Linux-friendly location? You are trying to brute force a Windows tool onto Linux, but I don't see any "why".

      1 Reply Last reply Reply Quote 2
      • mlnewsM
        mlnews
        last edited by

        Pinging for follow up.

        DustinB3403D 1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403 @mlnews
          last edited by

          @mlnews It looks as though he was able to find a solution on SW.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Oh, I missed that you were cross posting 🙂

            DanpD 1 Reply Last reply Reply Quote 0
            • T
              TCSTaylor
              last edited by

              I ended up making my own solution. In case anyone is interested here is a link to the SW forum page.

              https://community.spiceworks.com/topic/1976560-linux-login-script-from-ad-netlogon-share?page=1

              @scottalanmiller - as for the "why", I wanted a lightweight, flexible, single point of management login script that was independent of OS.
              The single point of management is really the main reason.
              Also, keep in mind, I'm running Samba4. So the Netlogon share is actually on a linux box.

              Anywho, check out the link, it's actually a very simple setup and works very well 🙂

              TCS Taylor

              scottalanmillerS 1 Reply Last reply Reply Quote 2
              • scottalanmillerS
                scottalanmiller @TCSTaylor
                last edited by

                @TCSTaylor said in Port - Linux login script from AD netlogon share:

                The single point of management is really the main reason.
                Also, keep in mind, I'm running Samba4. So the Netlogon share is actually on a linux box.

                Works the same. So why use a very Windows-centric mechanism rather than a generic one? I want the same kinds of things for management, but that's why I used a neutral management system like Ansible or Salt for this rather than a Windows-only tool.

                Although for things that are unique to each OS, a single management tool is only so useful when things only apply to one thing or the other. When they are neutral there are tools meant specifically for that. Just not the netlogon scripts 🙂

                T 1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  I guess my real question is... once you are detecting which OS is which, is it really a single point of management any longer? It might be all in one file, but it is just two different commands put into one text file. You still have to maintain both and verify functionality separate and so forth.

                  1 Reply Last reply Reply Quote 1
                  • T
                    TCSTaylor @scottalanmiller
                    last edited by

                    @scottalanmiller - Because the windows side works so simply, and I wanted to keep a single point of management. This is a very simple solution that works well for me, bully for you if you want to use a more complicated solution like Ansible.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @TCSTaylor
                      last edited by

                      @TCSTaylor said in Port - Linux login script from AD netlogon share:

                      ... bully for you if you want to use a more complicated solution like Ansible.

                      Complicated? I'm using Salt so can't speak to Ansible. But I can tell you...complicated is the opposite of what it is. SO simple and easy. It's basically what you are trying to do here, but already done in a maintained way with broad support for lots of things you might want to do in the future.

                      Avoiding the complications is exactly what I'm trying to do. I find it easier even only for Windows than things like Logon scripts most of the time. Getting cross-platform is just a bonus.

                      1 Reply Last reply Reply Quote 0
                      • DanpD
                        Danp @scottalanmiller
                        last edited by

                        @scottalanmiller said in Port - Linux login script from AD netlogon share:

                        Oh, I missed that you were cross posting 🙂

                        Me too. I was about to congratulate @DustinB3403 on the new job. 🙂

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