mount command in Linux
Hi all,
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? ... |
Hello pan64,
- 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. |
So probably that is the reason. Either your linux box should join (as I assume your other windows was joined) or you need to use user/pass.
|
Hello,
But Windows shares folder for Everyone, I think non-joined domain Linux can access to it without problem. Can you explain to me a little bit? |
I think - but without knowing the full setup it is only a guess - Windows allows access only to trusted boxes, and your linux box is not trusted.
|
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?
|
All times are GMT -5. The time now is 06:24 PM. |