LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   smbmount not working (https://www.linuxquestions.org/questions/linux-software-2/smbmount-not-working-84565/)

sikandar 08-22-2003 11:57 AM

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

_kossak_ 08-22-2003 12:32 PM

Make sure you installed smbfs.
Try entering a blank password.

Just guessing!

sikandar 08-22-2003 12:35 PM

I am new to Linux but I tried with no password and it say anonymous access with error 4101 tree connect failed access denied

_kossak_ 08-22-2003 12:41 PM

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

No linebreaks

sikandar 08-22-2003 12:48 PM

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.


All times are GMT -5. The time now is 11:33 PM.