Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
10-20-2010, 10:21 PM
|
#1
|
Member
Registered: Aug 2009
Posts: 87
Rep:
|
Netatalk shares only showing up for one user
I have a netatalk AFP server set up on my computer. When I log in over the network from my user (from a mac), all the shares display fine. When I log in from the fileshare guest user (from a Mac), I get an error message saying that there are no shares available. Do I have to add the second fileshare user to a config file somewhere?
Last edited by vockleya; 10-20-2010 at 11:28 PM.
|
|
|
10-21-2010, 08:12 PM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Hi vockleya, Welcome to LQ. Could be afpd.conf?
http://netatalk.sourceforge.net/2.0/...pd.conf.5.html
Good luck. ;-)
|
|
|
10-21-2010, 09:57 PM
|
#3
|
Member
Registered: Aug 2009
Posts: 87
Original Poster
Rep:
|
I am using the default server afpd.conf
Code:
- -transall -uamlist uams_dhx.so,uams_dhx2.so
I don't see any options to allow or disallow certain users.
My AppleVolumes.default allows both users to access the shares
Code:
# The line below sets some DEFAULT, starting with Netatalk 2.1.
:DEFAULT: options:upriv,usedots
# By default all users have access to their home directories.
#~/ "Home Directory"
/media/Media/ "Media" allow:aaron
/media/Media/Backups/Laptop "Backup" allow:aaron
/media/Media/Video "Video" allow:aaron,fileshare
/media/Media/Music "Music" allow:fileshare,aaron
|
|
|
10-21-2010, 10:00 PM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
From the link I provided:
Quote:
-uamlist [uams list]
Comma separated list of UAMs. (The default is uams_dhx.so,uams_dhx2.so).
The most commonly used UAMs are:
uams_guest.so
allows guest logins
|
|
|
|
10-21-2010, 10:38 PM
|
#5
|
Member
Registered: Aug 2009
Posts: 87
Original Poster
Rep:
|
This isn't really a guest account. It has an account on the computer that can log in to a regular desktop environment. It is just a standard user account that I distribute the password to. Also, the "guest" account can log in, but an error shows up that says there are no shares available.
|
|
|
10-22-2010, 07:54 PM
|
#6
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
What are the permissions on the shares?
Good luck. ;-)
|
|
|
10-22-2010, 09:30 PM
|
#7
|
Member
Registered: Aug 2009
Posts: 87
Original Poster
Rep:
|
currently, everyone has rwx permissions
|
|
|
10-22-2010, 09:46 PM
|
#8
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Please post the output from the following:
Code:
$ ls -l /media
$ ls -l /media/Media
$ ls -l /media/Media/Backups
Good luck. ;-)
|
|
|
10-25-2010, 01:54 PM
|
#9
|
Member
Registered: Aug 2009
Posts: 87
Original Poster
Rep:
|
Code:
ls-aaron-desktop:~ aaron$ ls -l /media
total 20
drwx------ 15 aaron aaron 20480 2010-10-22 19:44 Media
aaron-desktop:~ aaron$ ls -l /media/Media/
total 92
-rw------- 1 aaron aaron 6148 2010-10-05 11:18 :2eDS_Store
drwxrwxrwx 6 aaron aaron 4096 2010-10-15 14:42 Backups
drwxrwxrwx 7 aaron aaron 4096 2010-10-05 11:18 Downloads
drwx------ 2 root root 16384 2010-09-15 13:30 lost+found
drwxrwxrwx 1065 aaron aaron 40960 2010-10-23 00:38 Music
drwx------ 3 aaron aaron 4096 2010-10-15 14:42 Network Trash Folder
drwx------ 3 aaron aaron 4096 2010-10-15 14:42 Temporary Items
drwxrwxrwx 9 aaron sambashare 4096 2010-10-23 00:39 Video
drwxr-xr-x 2 root root 4096 2010-10-20 23:50 Videos
aaron-desktop:~ aaron$ ls -l /media/Media/Backups/
total 12
drwxrwxrwx 4 aaron aaron 4096 2010-10-15 16:47 Desktop
drwxr-xr-x 9 aaron aaron 4096 2010-10-25 14:09 Laptop
drwxrwxrwx 4 aaron aaron 4096 2010-10-15 16:47 Radio Station Computer
|
|
|
10-25-2010, 04:23 PM
|
#10
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Is the fileshare user in the aaron group?
Good luck. ;-)
|
|
|
10-26-2010, 04:00 PM
|
#11
|
Member
Registered: Aug 2009
Posts: 87
Original Poster
Rep:
|
I added the fileshare user to the aaron group, but I still get an error message that says no shares are available for the fileshare user.
|
|
|
10-26-2010, 04:38 PM
|
#12
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Did you restart the services or reboot after you made the changes?
Good luck. ;-)
|
|
|
10-27-2010, 11:08 PM
|
#13
|
Member
Registered: Aug 2009
Posts: 87
Original Poster
Rep:
|
I've restarted the computer multiple times since then, and it still doesn't work.
|
|
|
10-28-2010, 07:53 PM
|
#14
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Is the aaron user able to access everything? Is it only the fileshare user with the problem?
Good luck. ;-)
|
|
|
10-29-2010, 10:07 AM
|
#15
|
Member
Registered: Aug 2009
Posts: 87
Original Poster
Rep:
|
that is correct. only fireshare is having problems.
|
|
|
All times are GMT -5. The time now is 05:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|