LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba issue (https://www.linuxquestions.org/questions/linux-software-2/samba-issue-581344/)

maldojr88 08-31-2007 06:56 PM

Samba issue
 
hello guys....just have a little question...i got my samba to work... and im able to conect from my linux box to my windows pc....
using the smbmount command....

I want to be able to do it backwards... in other words go from my windows pc to my linux box....so i went to the /etc/samba/smb.conf file
and put in the following text....

[maldo]
comment=Music
path=/home/maldojr88


so when im on the windows pc i go to start->run
then at the prompt i write

\\192.168.1.3\maldo

and then i get asked for a username and password....

i tried my original login username and password and it doesnt go thro
and also the root login and password just incase

is there anything i have to do extra in order to be able to do this?



thanks in advance

jschiwal 08-31-2007 07:24 PM

A) Check that the smbd and nmbd services are running.
B) Check your filewall settings. Are Samba Server & client ports open. 137-139 & 445. The last one you might want to check if your windows machine is a XP or Windows 2000 machine. Otherwise 137-139 are sufficient. Port 445 is what would be used if you disabled netbios over IP support in your windows configuration. Ports 137 & 138 are used to listen to netbios broadcast messages.
C) Is the username and password the same on the Linux Box as on the Windows box. Be sure to run "smbpasswd" to add the username & password to samba's smbpasswd file.
Code:

sudo /usr/bin/smbpasswd -a <your_username>
<your_password>

Also, check if you have the Samba 3 by Example book ( in /usr/share/doc/samba-<version>/ or /usr/share/doc/packages/samba/) which may be supplied either by the samba or a samba-doc package. It may be in HTML, PostScript or PDF form.


All times are GMT -5. The time now is 05:50 AM.