LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-19-2011, 05:04 AM   #1
sonjoyraha
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Rep: Reputation: 0
Active Directory User integration with Samba fileserver in CentOS 5


Dear,...
My all production PC r running under ADC windows2008 server. Recently I implement a file server in CentOS 5. Now I want to integrate Samba (File sharing) using Active Directory so that all access permission to file server comes from AD's permission.

please HELF................

Thanks in advanced.
 
Old 05-20-2011, 12:26 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Have a look at this Samba Wiki page found with Google in under a second. That will get you up and running in no-time. Have fun with Linux.

Kind regards,

Eric
 
Old 05-25-2011, 06:25 AM   #3
nerak99
Member
 
Registered: Feb 2006
Distribution: FC 15
Posts: 42

Rep: Reputation: 2
AD integration

The Samba man pages are good on Samba client integration (especially the wiki with AD.). I found that the most difficult things to get right were associated with Home directory mounts and dependencies. SElinux can be a pain, as can iptables.

To try and contribute I walked though the example I use here and posted it. I have tested with about 20 machines now and they seem to be stable.

Here is a worked example which certainly works with Fedora and should work with Centos. If you find any errors, then please let me know and I will fix them.

Likewise and Centrix are two examples of middleware that does the same job and I think user versions are free. I am not fond of fire and forget software as it can break when you least expect it and you don't know what it did to make the system work. Most of the work they do is associated with the pam stack.

As for file permissions, the linux programmes will translate the file permissions in 'nix terms and the AD serve in terms of NTFS permissions. If you AD server has permissions set so that Joe Bloggs has read access except for the second Tuesday in the month when they can write the second paragraph in every document (say!). I am not sure that you will be able to necessarily get that working under samba. However, in that respect IANAE.

Last edited by nerak99; 05-25-2011 at 06:32 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Directory integration cccc Debian 2 03-19-2011 08:29 AM
SLES11, Samba, Kerberos, LDAP integration with Active Directory jstalewski SUSE / openSUSE 1 08-02-2010 01:10 PM
Active Directory Integration haverer Linux - Software 4 09-17-2009 06:31 AM
Active Directory integration on Samba shares Ziggie Linux - Enterprise 7 10-22-2007 07:58 AM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration