Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for instruction on how to configure my Ubuntu 10.04 box to allow samba shares access through Active Directory users and groups. I have joined the Ubuntu machine to my AD domain using Likewise-open, however when I enable 'security = ads' in my smb.conf I am getting access denied errors when trying to view shares in windows explorer. Any sugestions?

share|improve this question

Try following the official guide:

I'm guessing you haven't linked the password files, as it says Samba and likewise use separate databases.

Best of luck.

share|improve this answer

Here is a good guide, step by step.

  • First step. install andconfigure kerberos:

  • Next install required packages: winbind samba

  • And if you wish to mount samba folders: smbfs smbclient

  • Then Join the AD domain by editing the /etc/samba/smb.conf file ( follow the guide )

share|improve this answer

This isn't an answer per se, but I think it's informative (I never tried it).. I have been browsing the canonical partner repository (for ubuntu 10.10 maverick) and I noticed a package named "centrifydc". The description follows:

Description: Centrify Express
 Free Active Directory Integration and single sign-on for Ubuntu - Centrify
 Express is the No. 1 choice of IT professionals for Active Directory-based
 authentication and single sign-on to cross-platform systems.
 Centrify Express is not only the quickest and easiest solution to use and
 deploy for integrating Ubuntu systems with Active Directory, but delivers more
 functionality and more to upgrade to than alternative offerings.  And best of
 all - it is free! For more free tools, information and community support check

An informative website of what you have to do:

share|improve this answer

See this it may help you

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Fabby Mar 28 '15 at 9:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.