LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 07-24-2006, 06:34 AM   #1
mikeotieno
Member
 
Registered: Jun 2006
Location: Kenya
Distribution: SUSE OSS 10.1, Fedora 9 x86-64
Posts: 71

Rep: Reputation: 15
Cool samba - accessing windows share in linux


hi everyone,
i have already configured my samba and its running pretty well though i cant access the files i have shared from a windows xp box. i have tried disabling the inbuilt windows xp firewall but still cant access it. please help me out.
 
Old 07-24-2006, 07:09 AM   #2
iamwilliam
Member
 
Registered: Apr 2006
Location: Nairobi
Distribution: CentOS
Posts: 78

Rep: Reputation: 21
Try this

go to your toolbar tools-->map network drives-->connect_as_different_user

here enter your samba username and samba password.

What error message are you getting?
 
Old 07-24-2006, 07:43 AM   #3
mikeotieno
Member
 
Registered: Jun 2006
Location: Kenya
Distribution: SUSE OSS 10.1, Fedora 9 x86-64
Posts: 71

Original Poster
Rep: Reputation: 15
i mean i cant mount the windows shared docs to my linux system. I have used $smbmount //winxp/documents /mnt/ntwkfs -o U username=mike and $mount -t smbfs. but still no response. thanx
 
Old 07-24-2006, 09:42 AM   #4
wezcd
LQ Newbie
 
Registered: Mar 2006
Distribution: Slack9, Suse9.1
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by mikeotieno
i mean i cant mount the windows shared docs to my linux system. I have used $smbmount //winxp/documents /mnt/ntwkfs -o U username=mike and $mount -t smbfs. but still no response. thanx

What error message do you get when you do the mount?
Are you logged in as root?
 
Old 07-24-2006, 05:06 PM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Is your command syntax similar to this:

Code:
mount -t smbfs -o workgroup=workgroup,username=whatever,password=whatever //<ip address of windows box>/<share_name> /<mount point>
-twantrd
 
Old 07-27-2006, 07:23 AM   #6
mikeotieno
Member
 
Registered: Jun 2006
Location: Kenya
Distribution: SUSE OSS 10.1, Fedora 9 x86-64
Posts: 71

Original Poster
Rep: Reputation: 15
thanx guys, my mount command is the same as the one u showed me, when i execute the command it requests for
password since i dint put the password option, then it takes long before bringing the error saying it cannot connect to the windows host.
 
Old 07-27-2006, 09:58 PM   #7
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Can you access the shares from another windows box?

-twantrd
 
Old 07-28-2006, 06:12 AM   #8
mikeotieno
Member
 
Registered: Jun 2006
Location: Kenya
Distribution: SUSE OSS 10.1, Fedora 9 x86-64
Posts: 71

Original Poster
Rep: Reputation: 15
thanx,
yes i can access the samba share from another windows machine. But still i can't mount that windows windows share to my linux it gives me error. here is the error

[root@linuxserver /]# mount -t smbfs -o workgroup=mikehome,username=mike,password=ekim-memphis //10.0.0.34/share /mnt/shr
INFO: Debug class all level = 2 (pid 896 from pid 896)
added interface ip=10.0.0.33 bcast=10.0.0.63 nmask=255.255.255.224
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
896: session request to 10.0.0.34 failed (Called name not present)
896: session request to 10 failed (Called name not present)
896: session setup failed: ERRDOS - 2215
SMB connection failed
[root@linuxserver /]#
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
windows system hangs while accessing SAMBA share emailssent Linux - Software 0 09-14-2004 07:53 AM
Accessing Windows share from Red Hat 9 through Samba basu_arani Linux - Software 1 09-13-2003 05:33 AM
Accessing windows share from linux ? McAnic Linux - Networking 5 04-07-2003 12:16 PM
accessing windows share from linux zuessh Linux - Networking 2 06-22-2002 05:04 AM


All times are GMT -5. The time now is 02:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration