Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have 1 problem with mount command. I would like to mount windows share folder (smb) to Linux server.
With this command, I can mount the folder successfully
mount -t cifs -o username=user,password=pass //server/web /smb_test
But as I notice, //server/web is shared full for Everyone to access, so, I think it does not need credentials.
I try this, but not success,
mount -t cifs //server/web /smb_test
Do I miss any parameters? I tried many method but cannot.
would be nice to give more information:
if ad (active dir) is in use, if windows domain in use, and if linux box joined to that domain. If another windows can mount it? ...
- Yes, active directory is in use. But if I do not specify the domain in command, just user and password of domain, it still works properly.
- Linux is not joined domain.
- Yes, other Windows can map/mount it.
something behind is very hard to understand. I can see 1 linux can mount easily cifs without password. Maybe in this case, the cifs server is also a linux box and acts as smb server, therefore it can authorize other linux box.
I just got new info, that shared folder is not on Windows machine, it is a shared folder from EMC storage. So, in EMC or in other storage generally, do they have special authorization method like export command in nfs, that allow us to mount cifs without username and 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.