LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2007, 06:56 PM   #1
maldojr88
LQ Newbie
 
Registered: Aug 2007
Posts: 18

Rep: Reputation: 0
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
 
Old 08-31-2007, 07:24 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 09-03-2007 at 07:18 AM. Reason: fixed typo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Issue Harlin Linux - Networking 3 07-10-2006 04:22 PM
Samba 3 Issue bLaDe Linux - Networking 6 06-07-2004 12:54 PM
samba issue jfranks214 Linux - Newbie 2 04-20-2004 05:48 PM
Another Samba issue cmoloney Linux - Networking 1 06-07-2003 06:17 PM
Samba Issue skootr Linux - Software 9 05-14-2003 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration