Ubuntu 13.04 client cannot connect to Raspbian samba share
Posted
by
envoyweb
on Ask Ubuntu
See other posts from Ask Ubuntu
or by envoyweb
Published on 2013-10-18T06:11:43Z
Indexed on
2013/10/20
16:10 UTC
Read the original article
Hit count: 297
samba
I have a client Ubuntu 13.04 machine trying to connect to a server running Raspbian with samba and samba-common-bin installed on the server
I can see my share and when I try to login I get this error: Unable to access location: Failed to write windows share Cannot allocate memory
.
I have installed ntfs-3g for the usb hard drive that already auto mounts on the server so I never had to create a directory or edit fstab.
Testparm on the server states the following:
[global]
workgroup = ENVOYWEB
server string = %h server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[BigDude]
comment = Sharing BigDude's Files
path = /media/BigDude/
valid users = @users
read only = No
create mask = 0755
testparm on the client which is running ubuntu is as follows
[global]
workgroup = ENVOYWEB
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
© Ask Ubuntu or respective owner