Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
have samba installed on ubuntu linux. Everything is working fine from the server end. Have a shared folder on a Windows XP Professional PC, this has no passwords assigned and is viewable to all. Using Konqueror I can browse to the XP share and open the shared folder no problem, however, when I try to mount the shared folder from terminal using:
mount -t smbfs //<XP PC>/<share> /mnt/xpshare
I am prompted for a password and have to use my Win domain password to gain access. Any idea how to mount the file system manually without entering a password?
Also, is there anyway of mapping a drive permanently via Konqueror like you would in Windows?
Even in M$ land, users connecting pass credentials to shares with no passwords using their current logged in user and login password. The password option just forces one to be added to the connection transaction.
So, you need to do the same with the -o credentials=filename option.
mount -t smbfs -o credentials=/root/.ssh/cred.share //<XP PC>/<share> /mnt/xpshare
or in /etc/fstab
Thanks for that. I'll try it tomorrow. One thing I'm confused by, how come in Konqueror I can access the shared folder without being prompted for a username/password?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.