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
  Search this Thread
Old 08-22-2003, 12:57 PM   #1
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Rep: Reputation: 30
smbmount not working


Hi,
I have an Win XP machine and I want to access a shared from Linux 9 server. I have configured samba and able to get access from XP but unable to get from Linux to Win. I am using the following command,

smbmount //xpmachine/TEMP /home/sikandar
it asks for password which I don't know that which one it is asking for. I am entering XP admin but it gives an error message 4045 session setup failed and SMB connection failed.

Your help will be really appreciated.

Sikandar Hayat
Pakistan
 
Old 08-22-2003, 01:32 PM   #2
_kossak_
Member
 
Registered: Apr 2003
Location: Minde. Portugal
Distribution: DEBIAN
Posts: 87

Rep: Reputation: 15
Make sure you installed smbfs.
Try entering a blank password.

Just guessing!
 
Old 08-22-2003, 01:35 PM   #3
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
I am new to Linux but I tried with no password and it say anonymous access with error 4101 tree connect failed access denied
 
Old 08-22-2003, 01:41 PM   #4
_kossak_
Member
 
Registered: Apr 2003
Location: Minde. Portugal
Distribution: DEBIAN
Posts: 87

Rep: Reputation: 15
Try this
smbmount -o username=<XPuser>,password=<pwd> //xpmachine/TEMP /home/sikandar

No linebreaks
 
Old 08-22-2003, 01:48 PM   #5
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
It gave me message like wrong syntax so I modified it,

mount -t smbfs -o username=admin,password=thanks //xpmachine/TEMP /home/sikandar/hello

it worked and now I am able to access the shared location.

Thanks for your time.
 
  


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
smbmount in script not working adriaanbw Linux - Newbie 6 12-15-2004 07:47 PM
smbmount stopped working (operation already in progress) jeffbarish Linux - Networking 2 10-22-2004 05:46 AM
smbmount? mbtoys Linux - Networking 0 08-29-2003 09:10 AM
Smbclient is working fine but smbmount is not.. sandy Linux - Networking 1 07-31-2003 06:58 PM
smbmount etc GrayLOK Linux - Networking 5 07-21-2002 03:37 AM


All times are GMT -5. The time now is 10:57 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