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 10-20-2010, 10:21 PM   #1
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Rep: Reputation: 16
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.
 
Old 10-21-2010, 08:12 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi vockleya, Welcome to LQ. Could be afpd.conf?

http://netatalk.sourceforge.net/2.0/...pd.conf.5.html

Good luck. ;-)
 
Old 10-21-2010, 09:57 PM   #3
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
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
 
Old 10-21-2010, 10:00 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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
 
Old 10-21-2010, 10:38 PM   #5
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
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.
 
Old 10-22-2010, 07:54 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
What are the permissions on the shares?

Good luck. ;-)
 
Old 10-22-2010, 09:30 PM   #7
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
currently, everyone has rwx permissions
 
Old 10-22-2010, 09:46 PM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Please post the output from the following:

Code:
$ ls -l /media
$ ls -l /media/Media
$ ls -l /media/Media/Backups
Good luck. ;-)
 
Old 10-25-2010, 01:54 PM   #9
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
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
 
Old 10-25-2010, 04:23 PM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Is the fileshare user in the aaron group?

Good luck. ;-)
 
Old 10-26-2010, 04:00 PM   #11
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
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.
 
Old 10-26-2010, 04:38 PM   #12
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Did you restart the services or reboot after you made the changes?

Good luck. ;-)
 
Old 10-27-2010, 11:08 PM   #13
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
I've restarted the computer multiple times since then, and it still doesn't work.
 
Old 10-28-2010, 07:53 PM   #14
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Is the aaron user able to access everything? Is it only the fileshare user with the problem?

Good luck. ;-)
 
Old 10-29-2010, 10:07 AM   #15
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
that is correct. only fireshare is having problems.
 
  


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
Accessing Netatalk shares sharonenoch Linux - Networking 1 02-08-2006 12:33 AM
samba not showing all shares haora Linux - Software 5 05-25-2005 01:48 PM
Samba shares not showing up eroica Linux - Software 3 03-19-2004 06:48 AM
netatalk shares always show up empty lukebeales Linux - Networking 4 01-09-2004 10:33 PM
Admin user with Netatalk chrisk5527 Linux - Software 0 10-08-2003 12:26 PM

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

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