Results 1 to 6 of 6

Thread: Ubuntu file server using AD Authentication

  1. #1
    Join Date
    Oct 2004
    Location
    Hamilton, NJ, USA
    Beans
    70
    Distro
    Ubuntu 14.04 Trusty Tahr

    Ubuntu file server using AD Authentication

    Hello all,

    I am doing a project for work trying to minimize the number of Windows servers we need to license- I wish to use Ubuntu Server for our file server (which does little else than host Windows file shares) - would it be possible to have SAMBA use the Active Directory server (running on Win Server 2012) to authenticate users for the SAMBA shares?

    I thank everyone in advance for their insight.

    Best regards,

    Arbiter
    ---------------
    The race for quality has no finish line, so technically its more like a death march.

  2. #2
    Join Date
    Mar 2010
    Location
    Metro-ATL; PM free zone.
    Beans
    Hidden!
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Ubuntu file server using AD Authentication

    Yes, this should work. Samba4 should do this out of the box, at least that is my understanding.
    I've deployed Alfresco and connected users and authentication to LDAP (not AD) but there were lots of examples for AD specifically.

    There are other AD-connect tools as well. I can't think of the name, but a few have been discussed on these forums in the last 30 days.

    File and Print is the easy starting point to integrate Linux into a mostly Microsoft company. You should be successful at this.

  3. #3
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    9,195
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Ubuntu file server using AD Authentication

    I've used the hoary pam_smb module for this task, though we were authenticating against a 2003 AD server. I don't know whether it would still work in more modern implementations. At the time the client was still using the Linux mail server I built, so we used pam_smb as the authentication method for IMAP by adding the pam_smb module and creating the appropriate configuration file in /etc/pam.d/.
    Last edited by SeijiSensei; May 14th, 2013 at 12:12 AM.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Oct 2004
    Location
    Hamilton, NJ, USA
    Beans
    70
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu file server using AD Authentication

    Quote Originally Posted by TheFu View Post
    Yes, this should work. Samba4 should do this out of the box, at least that is my understanding.
    I've deployed Alfresco and connected users and authentication to LDAP (not AD) but there were lots of examples for AD specifically.

    There are other AD-connect tools as well. I can't think of the name, but a few have been discussed on these forums in the last 30 days.

    File and Print is the easy starting point to integrate Linux into a mostly Microsoft company. You should be successful at this.
    Hi TheFu,

    Thanks for your reply- are the tools you mentioned GUI or command line tools?

    Regards,

    Arbiter
    ---------------
    The race for quality has no finish line, so technically its more like a death march.

  5. #5
    Join Date
    Mar 2010
    Location
    Metro-ATL; PM free zone.
    Beans
    Hidden!
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Ubuntu file server using AD Authentication

    Quote Originally Posted by Arbiter View Post
    Thanks for your reply- are the tools you mentioned GUI or command line tools?
    This runs on a Linux server. "We don't need no stinkin GUI."

  6. #6
    Join Date
    Oct 2004
    Location
    Hamilton, NJ, USA
    Beans
    70
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu file server using AD Authentication

    Quote Originally Posted by TheFu View Post
    This runs on a Linux server. "We don't need no stinkin GUI."
    lol Don't get that GUI stuff on you- it never comes out
    ---------------
    The race for quality has no finish line, so technically its more like a death march.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •