LinuxQuestions.org
Review your favorite Linux distribution.
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 03-09-2004, 06:44 AM   #1
Aneb
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
Problem mounting Win XP partition with samba


Hi
So I am really new at linux.. had it installed for 3 days
I installed samba and configured the smb.conf file so it works in windows.. I can access my linux hd from my win XP computers..

I am having great troubles with mounting my windows Xp shares in Linux, because the smbmount command won't work:
bash: smbmount: command not found

I used dselect for my installation and chosed all the components that where required, as I understood it...

I also tried the command "locate smbclient" after advise from a friend and got this:
/usr/share/doc/samba-doc/examples/examples/libsmbclient
/usr/share/doc/samba-doc/examples/examples/libsmbclient/testsmbc.c.gz
/usr/share/doc/samba-doc/examples/examples/libsmbclient/tree.c.gz
/usr/share/doc/samba-doc/htmldocs/smbclient.1.html

I am running Debian with 2.2 something like that kernel
 
Old 03-09-2004, 08:23 AM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
you don't HAVE to use smbmount to access shares, you can use the standard mount command and specify the share as type smbfs.

Create a directory as the mount point for your samba share on the XP machine, for example /win.

Then do something along the lines of:

mount -t smbfs //xpcomputername/shared /win

obviously substituting xpcomputername with your actual XP computer name and 'shared' with the actual name of the shared folder (you could try using just //xpcomputername/ if you want to try getting all the shared folders on that machine).

You may need to add your linux user as a user on the XP machine.
 
Old 03-09-2004, 08:25 AM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Or, thinking about it, it could just be that smbclient is not in your path (my old RedHat install didn't have /usr/local/bin in the path...) so try: whereis smbclient and see if it finds anything...if so try using the complete path to load it, for example:

/usr/local/bin/smbclient <program options etc...>
 
  


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
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
mounting Win XP ntfs partition on linux need help crittman Linux - Software 6 12-04-2003 10:56 PM
Win->Samba works, Samba->Win does'nt work outburst Linux - Networking 2 10-30-2003 08:31 AM
mounting secondary win partition? Gweilo Linux - Newbie 9 10-12-2003 09:46 AM
problem in mounting HD & boot to win xp pimo Linux - Newbie 7 03-17-2002 09:11 PM


All times are GMT -5. The time now is 04:41 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration