Connecting to Samba with OS X machine [SOLVED]

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Connecting to Samba with OS X machine [SOLVED]

Postby davephotos » Tue Dec 06, 2011 9:23 pm

Hello,
I have been lurking around this forum for the past week or so and have been inspired to try and run a server from my PogoPlug EO2. The packaged PogoPlug service has become less and less functional for me with every "upgrade" they perform.
Having little experience in linux this is a bit overwhelming but the guides here seem to be well written and the forums very helpful.
At this point I would be really happy to have a simple (and stable) local NAS file-server setup for me to back up my files to. (Once I get that working I will want remote access as well)

I have successfully installed archlinux Arm onto my PogoPlug along with Samba. After a bit of trial and error (swapped USB Key solved the reboot problem) the system seems to be stable. I closely followed these guides:
http://archlinuxarm.org/platforms/armv5 ... 2-pinkgray
http://archlinuxarm.org/support/guides/ ... irst-steps
(updated using pacman, set a static IP address tested and confirmed working, have NOT made a swapfile)
ran pacman -S udev-automount
then installed Samba using this guide:
http://archlinuxarm.org/support/guides/ ... ions/samba
I also have been all over the forums and used this post for some troubleshooting:
viewtopic.php?f=18&t=1475&start=10

I am running mac OS X 10.7.2 on a hackintosh machine, it is stable and I am not aware of any networking issues (I am able to fileshare without issues with other "real" macs in my home all running Lion 10.7.2)
I am using an HFS formated disk(s) to connect to my PogoPlug, I have disabled journaling. My research informs me the current version of archlinux supports this format.

Here is my smb.conf file:
$this->bbcode_second_pass_code('', '[global]
workgroup = WORKGROUP
server string = shed

## OS X Mods
unix extensions = no

disable netbios = yes
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE
[Lightroom BU]
path = /media/Lightroom_BU/
read only = no
browsable = yes
writable = yes
force user = root
')

I have played around with these settings quite a bit. I am able to mount and read the Lightroom BU share from OS X. When I try to write to it (create a folder or copy a file), I get a finder dialogue:
Finder wants to make changes. Type your password to allow this.
if I enter my Name and Password for the account I get:
The operation can't be completed because you don't have the necessary permissions
I don't understand why this dialogue is popping up at all, I am logged into the share using my name and password I set up adding my account to samba with smbpasswd -a davehome (then entered password)

I have tried using the info from this post http://tacticalvim.wordpress.com/2009/12/15/getting-os-x-and-samba-server-to-play-nicely-with-permissions/ and have tried to add these settings to my smb.conf file
$this->bbcode_second_pass_code('', '

create mask = 0664
force create mode = 0664
security mask = 0000
force security mode = 0664

directory mask = 0775
force directory mode = 0775
directory security mask = 0000
force directory security mode = 0775


delete veto files = yes
veto files = /Icon?/:2eDS_Store/

[Lightroom_BU]

browseable = no
writable = yes
create mask = 0644
directory mask = 0755
force create mode = 0644
force directory mode = 0755
')
this did not make any noticable difference.

Also need to note that I have Disabled NetBIOS name resolution as per the Samba guide. The only effect that seems to have is the share does not automatically show in finder network I have to connect to server from finders Go/Connect to Server menu.

I feel I have exhausted my abilities to diagnose the problem and hoping I am just missing something obvious.

Sorry for the long post but if you have read this much maybe you can help!?

Thanks,
Dave
Last edited by davephotos on Wed Dec 07, 2011 7:39 pm, edited 1 time in total.
davephotos
 
Posts: 4
Joined: Tue Dec 06, 2011 7:30 pm

Re: Connecting to Samba with OS X machine

Postby davephotos » Tue Dec 06, 2011 10:23 pm

Is Netatalk a better option for me? Im searching for a tutorial on setting this up (not particularly interested in using time machine) Seems more complicated than Samba. If anyone can point me in the right direction I would be ever so grateful!
davephotos
 
Posts: 4
Joined: Tue Dec 06, 2011 7:30 pm

Re: Connecting to Samba with OS X machine [SOLVED]

Postby davephotos » Wed Dec 07, 2011 7:44 pm

Ended up doing fresh install using the same method as above but used netatalk following the directions for setting up time machine: http://archlinuxarm.org/support/guides/ ... me-machine
made the necessary adjustments and I now have a functional server!
in hindsight I think my issue was to chmod 777 the mounts on the server from ssh.
davephotos
 
Posts: 4
Joined: Tue Dec 06, 2011 7:30 pm

Re: Connecting to Samba with OS X machine [SOLVED]

Postby WarheadsSE » Wed Dec 07, 2011 8:14 pm

hrrk ... chmod 777...
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Connecting to Samba with OS X machine [SOLVED]

Postby davephotos » Wed Dec 07, 2011 8:20 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'h')rrk ... chmod 777...
?
davephotos
 
Posts: 4
Joined: Tue Dec 06, 2011 7:30 pm

Re: Connecting to Samba with OS X machine [SOLVED]

Postby pepedog » Wed Dec 07, 2011 8:53 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'h')rrk ... chmod 777...

That was your 777th post too.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Connecting to Samba with OS X machine [SOLVED]

Postby WarheadsSE » Wed Dec 07, 2011 9:59 pm

$this->bbcode_second_pass_quote('pepedog', '')$this->bbcode_second_pass_quote('WarheadsSE', 'h')rrk ... chmod 777...

That was your 777th post too.

lmao.. hrrk ...
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm
Top


Return to Marvell Kirkwood

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron