Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-24-2014, 03:41 AM   #1
Registered: May 2013
Posts: 30

Rep: Reputation: Disabled
SAMBA user share problem

Hi All,

I have configured SAMBA - Winbind on RHEL 6.3, 64bit. Where users were already created previously by me on RHEL part. I want to integrate the SAMBA with AD so that in future new users can be created only on AD and they automatically gets permission to login to Linux part and get their home directories which are shared on samba. User Home Directories are being created on a separate volume (/home1) on Linux. Now my problem is, I am unable to map these home directories on per user basis(every user should get read-write access to his home directory only, it is not even browsable by others also except root. For test configuration on samba, one directory I shared and successfully I could map it from a win client but how to map so many directories per user basis? shall I have to write separate entries for each users? It is nearly impossible as here it is around 700 users - please help.
Old 07-24-2014, 04:41 AM   #2
Registered: May 2014
Location: Bristol, United Kingdom
Distribution: RHEL 5 & 6
Posts: 169

Rep: Reputation: Disabled
Not sure I fully understand what you need, but I'm guessing that your users log into (windows) PC's and authenticate to an Active Directory Domain Controller, but you want the user home shares to be on a Red Hat Server and shared to the Windows boxes using SAMBA?!

Seems a bit of a miss mash of platforms if you ask me (maybe I'm understanding it wrong).

However, you will need your RHEL box to authenticate to AD also using LDAP and then you could use AutoFS to mount the home shares with the relevant permissions. Although there can be problems with AutoFS and CIFS - maybe someone else could elaborate on this, as I've used it mostly with NFS.
Old 07-24-2014, 04:51 AM   #3
Registered: May 2013
Posts: 30

Original Poster
Rep: Reputation: Disabled
Hi Jonnybinthemix,

Thank you for your reply. Yes my requirement is, users will authenticate by AD and they will get their home shares from SAMBA.If possible it will be automatically mounted to users' system(I don't know the process). But no one can browse others home shares.


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
Files on samba share getting nobody rather than forced user from samba config rjo98 Linux - Server 7 03-25-2014 03:17 AM
SAMBA - unix user created, added to samba, and valid users on share, still cannot... mitchell7man Linux - Server 12 03-17-2010 09:37 PM
Samba - all user share where? yogaboy Linux - Server 5 12-15-2006 08:33 PM
Samba - permission problem on multiple user share timmywo Linux - Software 1 08-06-2005 06:30 PM
samba user and share access? Moebius Linux - Software 3 08-30-2004 03:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:41 PM.

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