Feedback

type to search

By: [ Editor ] Asked from Germany

How to mount a windows shared without a password

Hi Everyone,
In my organization we have a windows shared folder that people can drop files too.
I want to access it from my Debian.
The Internet is full with guides that show how to do it, but with <USERNAME> and <PASSWORD>.
In our organization they don’t require a user and pass to access this folder, and the GUI tool of gnome, expects me to type in a user name and pass, but there simply isn’t !

Can someone offer a solution ?


2

lehel [ Editor ]

I think it is not a complete Debian question, `cause may depend on the windows machine also – allowing the guest user to acces shared folders! [< basic safety – hint: Run > control userpasswords2 ];

Anyway if you mount it in your /etc/fstab you have to type it at once the user/password, like this:
//win-pc/Sharew  /path/to/mount  smbfs  defaults,user,noauto,username=[],password=[]  0  0

—and this way you mount in the shell console:
mount -t smbfs -o username=[],password=[] //win-pc/Share /path/to/mount

or Cancel
You need to join Debian to complete this action, click here to do so.