LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-07-2009, 06:16 PM   #1
martino87r
LQ Newbie
 
Registered: Jun 2009
Posts: 6

Rep: Reputation: 0
SAMBA - Administrator access home directories (all of them)


I'm trying to setup a samba server and allow an administrative account to access (not need to browse) the users home directories. I've done this previously using mapping files and it was working perfectly. Suddenly due to an update the things stopped to work, and whenever i try to access the userfolders i get NT_ACCESS_DENIED. Very strange...
BTW here is my smb.conf (very simple)


Code:
[global]
        admin users = root, smbadmin
#       logon drive = P:
        username map = /etc/samba/user.map
        logon home = \\%L\%U\.9xprofile
        wins support = true
        netbios name = SERVER
        netbios aliases = Server
        server string = Server - SMB Suse
        usershare max shares = 208
        workgroup = LISCARA
        os level = 65
#       add user script = /usr/sbin/useradd -m %u
        security = user
#       add machine script = /usr/sbin/useradd  -c Machine -d
#/var/lib/nobody -s /bin/false %m$

[homes]
        comment = Home Dirs
        valid users = %S
        read only = No
        browseable = No
        admin users = root, smbadmin
Any idea?
 
Old 06-08-2009, 11:23 AM   #2
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
In [homes]
Quote:
valid users = %S
need
Quote:
path = /path/to/homes/%S
 
Old 06-08-2009, 02:08 PM   #3
martino87r
LQ Newbie
 
Registered: Jun 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Well, the user home directories are working perfectly... Because here i have a very complex infrastructure (i don't need a DC at all), the user home directories are in different locations (using a SAN) and mounted with NFS not only in /home/...

So the parameter %S is working perfectly...

I'm looking just a way to let an user access all the user homes by a path written by hand:

ex. user joeblogg, his home dir will be //server/joeblogg. Because I'm using the user security, other users will see only their own homes.

If i login as the root, I'm getting the "root" home directory, but when trying to access //server/joeblogg get the "NT_ACCESS_DENIED" message...
 
  


Reply

Tags
access, directories, home, root, samba, 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
Samba Home Directories for AD users joel112 Linux - Server 1 05-03-2009 10:56 PM
Samba =sharing home directories memba4life Linux - Networking 2 02-17-2006 03:10 PM
How can I access both /home directories on separate HHDS? estatik Mandriva 1 12-08-2003 12:23 PM
Samba and Home Directories dlucas10 Linux - Networking 5 10-28-2003 12:51 PM
mounting home directories from samba? tommyj27 Linux - Networking 2 08-27-2003 04:49 PM


All times are GMT -5. The time now is 09:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration