LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Help connecting to windows servers from Slackware 14. (http://www.linuxquestions.org/questions/slackware-14/help-connecting-to-windows-servers-from-slackware-14-a-4175431186/)

Ook 10-08-2012 03:06 PM

Help connecting to windows servers from Slackware 14.
 
I'm in an environment where I have access to several windows servers. My login is something like <domain>/userid, with password required, and I typically want to mount <server>/directory to some place under /mnt.

I cannot mount these shares. No matter what I do I get access denied. I've looked at the docs for mount, and I just can't figure this out. Can some kind soul share with me the syntax to mounting a share on a windows server?

I dual boot the machine between Windows 7 and Slackware 14, so I can the exact login credentials I need on the windows servers. I just can't figure out how to use these credentials with mount.

wallison 10-08-2012 06:34 PM

I saw your earlier post regarding the suitability of Slackware as a mission critical server and just want mention that my environment (home user) is much different than yours. Anyway, I mount Windows shares with 'mount -t cifs //server/share /mount/point' but do not need a username or password. You should look at 'man mount.cifs', it mentions 'comma-separated list of key=value pairs' that might prove useful.

php 10-08-2012 09:42 PM

Have you tried something like

#mount -t cifs //server-name/share-name /mnt/point -o username=shareuser,password=sharepassword,domain=nixcraft

Ook 10-09-2012 11:53 AM

Quote:

Originally Posted by php (Post 4800815)
Have you tried something like

#mount -t cifs //server-name/share-name /mnt/point -o username=shareuser,password=sharepassword,domain=nixcraft

Perfect! That wasn't so hard, I just had trouble pulling this out of the docs for some reason. Tyvm :)


All times are GMT -5. The time now is 02:20 AM.