2010-12-13, 12:10
I am pretty much a linux noob and can't seem to set up Samba in such a way that I can access it from windows 7 using credentials.
Most of my progress can be found here: http://forum.xbmc.org/showthread.php?tid=77222&page=2
I can set up samba, but it seems it is either wide open to anyone, and when I use credentials I lose any access. I tried some stuff on windows 7 side as well and have reverted to disabling Samba and using FTP for the time being. However now transferring files is less convenient and I can't use any tools in Windows such as Ember.
I don't care if the access from windows uses the same credentials als the xbmc logon which I used to install xbmc with, as long as it is not wide open.
I'd appreciate it if someone has some time to help me get this fixed. In return, when it is working, I'll write up a single thread covering all steps to help out others. This is usually easier for others to follow then a long thread with many steps that might not turn out to be necessary in the end. I did the same with NFS access here: http://forum.xbmc.org/showpost.php?p=597...stcount=15
EDIT: this is in the end all I did to get it working summarized in one place
Note: I installed xbmc live with default logon xbmc and a personal password. For the guest account and all steps here I always used exactly the same combination of username and password!
I followed the excellent guide here: http://forum.xbmc.org/showpost.php?p=568466&postcount=1 to set up samba, and I only made one change I changed "guest ok" to no.
Before trying to access from Windows I then ran the suggestion here where "xbmc is my username". I think it prompts for a password twice and I used the same as my xbmc live install.
I then proceeded in guide above to acces the pc first (I went to network locations which i found easier, clicked on the pc name, saw the samba mapping which is also xbmc and on clicking it was asked the username and password. It works!
Most of my progress can be found here: http://forum.xbmc.org/showthread.php?tid=77222&page=2
I can set up samba, but it seems it is either wide open to anyone, and when I use credentials I lose any access. I tried some stuff on windows 7 side as well and have reverted to disabling Samba and using FTP for the time being. However now transferring files is less convenient and I can't use any tools in Windows such as Ember.
I don't care if the access from windows uses the same credentials als the xbmc logon which I used to install xbmc with, as long as it is not wide open.
I'd appreciate it if someone has some time to help me get this fixed. In return, when it is working, I'll write up a single thread covering all steps to help out others. This is usually easier for others to follow then a long thread with many steps that might not turn out to be necessary in the end. I did the same with NFS access here: http://forum.xbmc.org/showpost.php?p=597...stcount=15
EDIT: this is in the end all I did to get it working summarized in one place
Note: I installed xbmc live with default logon xbmc and a personal password. For the guest account and all steps here I always used exactly the same combination of username and password!
I followed the excellent guide here: http://forum.xbmc.org/showpost.php?p=568466&postcount=1 to set up samba, and I only made one change I changed "guest ok" to no.
Code:
guest ok = no
Before trying to access from Windows I then ran the suggestion here where "xbmc is my username". I think it prompts for a password twice and I used the same as my xbmc live install.
Code:
sudo smbpasswd -a xbmc
I then proceeded in guide above to acces the pc first (I went to network locations which i found easier, clicked on the pc name, saw the samba mapping which is also xbmc and on clicking it was asked the username and password. It works!