Server Fault is a question and answer site for system and network administrators. 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'm wanting to link Samba to Active Directory so that I can apply permissions to a share respective to the OU that windows user belongs to.

Im not entirely sure of where to start, I've currently just got a "default" share:

    comment = Bacc Admin Access
    path = /baccdata
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0755

Any starting points would be appreciated, Im shooting in the dark at the moment!

Thanks :)

share|improve this question
up vote 1 down vote accepted

I just did this for a client project a couple weeks ago. Not my forte, but it turned out to work quite well. CentOS 5.something and SMB with a bunch of storage doing domain authentication for all of the services/users on the Windows servers.

This isn't my favorite way to answer a question, but in this case -- due to how much is covered -- I'm going to offer up a link that was incredibly helpful to me:

To make it "feel" more like Windows shares (specifically around ownership of created folders and such) I added the following lines to my smb.conf:

inherit owner = YES
inherit acls = YES
inherit permissions = YES
share|improve this answer

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.