Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-07-2009, 06:16 PM   #1
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)

        admin users = root, smbadmin
#       logon drive = P:
        username map = /etc/samba/
        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$

        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
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 51
In [homes]
valid users = %S
path = /path/to/homes/%S
Old 06-08-2009, 02:08 PM   #3
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...


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 =sharing home directories memba4life Linux - Networking 3 05-06-2017 09:18 AM
Samba Home Directories for AD users joel112 Linux - Server 1 05-03-2009 10:56 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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:48 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