Kodi Community Forum

Full Version: Is there something wrong with samba on xbmcbuntu?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For the life of me this just will not work! i;m on the 5th reinstall and running out of ideas

I can't seem to copy files/folders from windows 8 to samba on xbmcbuntu

I keep getting Network Error (Only when copying, I can view samba's shares fine)

Here is the log from my windows user on samba

Code:
[2013/09/23 01:31:58.481365,  0] smbd/close.c:305(close_remove_share_mode)
  close_remove_share_mode: Could not get share mode lock for file Videos/Animated Movies/Grave of the Fireflies (1988)/Grave of the Fireflies.mkv
[2013/09/23 01:31:58.481540,  0] smbd/close.c:305(close_remove_share_mode)
  close_remove_share_mode: Could not get share mode lock for file Videos/Thumbs.db
[2013/09/23 01:31:58.481633,  0] smbd/close.c:305(close_remove_share_mode)
  close_remove_share_mode: Could not get share mode lock for file Videos/desktop.ini
[2013/09/23 01:31:58.481721,  0] smbd/close.c:983(close_directory)
  close_directory: Could not get share mode lock for .


And this is the config for samba

Code:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, XBMC)
netbios name = XBMCbuntu
dns proxy = no
name resolve order = hosts wins bcast
guest account = xbmc
load printers = no
show add printer wizard = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user

[Movies]
path = /home/xbmc/Movies
comment = Video's and Movies Folder
writeable = yes
browseable = yes
guest ok = yes

[Music]
path = /home/xbmc/Music
comment = Music Folder
writeable = yes
browseable = yes
guest ok = yes

[TV Shows]
path = /home/xbmc/TV Shows
comment = TV Shows Folder
writeable = yes
browseable = yes
guest ok = yes

[Downloads]
path = /home/xbmc/Downloads
comment = Downloads Folder
writeable = yes
browseable = yes
guest ok = yes

[Pictures]
path = /home/xbmc/Pictures
comment = Pictures
writeable = yes
browseable = yes
guest ok = yes

[System]
path = /home/xbmc/.xbmc
comment = XBMC System Share
writeable = yes
browseable = yes
guest ok = yes

[Media]
path = /mnt/Media
comment = XBMC Media Share
writeable = yes
browseable = yes
guest ok = yes

Has anyone any ideas? as this is really starting to P*** me off.

Cheers
Windows 8 has pretty strict DNS handling that didn't play entirely well with samba when windows 8 first came out.
I am not entirely sure this has been fixed in the mean time.

Edit: More information in this post: http://www.admin-magazine.com/Articles/L...-Windows-8
It is possible you will need to edit some registry settings in Windows 8.
Yeah, I had disconnected the hard drive from the MX2 and plugged it back into my PC. At this point I'm just trying to figure out why smb username and password isn't taking when I navigate to my hard drive on the device. This is ate up!