Unable to read Samba shared files on Pogoplug from Android

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

Unable to read Samba shared files on Pogoplug from Android

Postby zmin2001 » Fri Mar 22, 2013 4:49 am

Hi,

I installed Archliunx with samba 4 and automount using udevil on my Pogoplug E-02. There is no problem with accessing the Samba shares on Windows 7 desktop. However, on my Android devices (Sony tablet and LG smart phone), I'm not able to read any files from the Samba shares on Pogoplug, although I can:
1. connect to the server and browse the directories (just can't open any file), and
2. open any files shared from my Windows 7 desktop,

I suspected it's an issue with my Samba setup but I don't know what the issue is. Can anyone in this forum help?

Here is my smb.conf that is very much copied from: http://obihoernchen.net/wordpress/877/s … rch-linux/

[global]
workgroup = WORKGROUP
server string = POGOPLUG
netbios name = POGOPLUG
hosts allow = 192.168.1.
printcap name = /dev/null
load printers = no
disable spoolss = yes
printing = bsd
log file = /var/log/samba/log.%m
max log size = 50
security = user

# For public share without login
map to guest = Bad User

dns proxy = no

# Some Tuning (See Optimize Performance)
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
write cache size = 2097152
use sendfile = yes
getwd cache = yes

# Global security
public = yes

#============================ Share Definitions ==============================

# Public, writeable
[POGOPLUG]
comment = POGOPLUG
read only = no
writeable = yes
path = /media/
zmin2001
 
Posts: 2
Joined: Fri Mar 22, 2013 4:46 am

Re: Unable to read Samba shared files on Pogoplug from Andro

Postby yazyazoo » Fri Mar 22, 2013 5:03 am

I am having the same issue. I use BS.Player to stream media. With my Windows 7 server it would work for my movies. Using the Pogo with Samba I keep getting error connecting to share.
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: Unable to read Samba shared files on Pogoplug from Andro

Postby Obihoernchen » Fri Mar 22, 2013 8:26 pm

Add
$this->bbcode_second_pass_code('', 'unix extensions = false')
to your smb.conf global section an the problem is fixed :)

It's a samba4 bug: https://bugzilla.samba.org/show_bug.cgi?id=9706
Fix should be in next samba4 release so with 4.0.4 you could remove this line again :D

Added it to my guide thank you for this tip. I have not been using samba with Android since samba4 xD
Visit my Blog for Pogoplug guides
Obihoernchen
 
Posts: 17
Joined: Thu Jan 31, 2013 3:17 am
Location: Germany

Re: Unable to read Samba shared files on Pogoplug from Andro

Postby zmin2001 » Fri Mar 22, 2013 11:19 pm

Problem solved. Thank you Obihoernchen for your help (and the great guide in your blog :D )
zmin2001
 
Posts: 2
Joined: Fri Mar 22, 2013 4:46 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 13 guests