Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17924

Help! Can't mount this windows share from my Linux server?

$
0
0

Why does connecting to a damn windows server have to be such a pain in the ass in Linux?

I'm running a centos 7 box in a VM. I'm trying to connect to a main file share to copy files to a nextcloud skeleton folder to setup default files for a new account. SMBv1 is disabled on all of our servers. When I run the below command it keeps asking me for the password for root@\servershare\sharename. What the hell am I doing wrong?

sudo mount.cifs \\servername\sharename /mnt/windows/ -o username=myname,domain=mydomain,password=mypassword -o vers=2.0

submitted by /u/k1ng0fn3rds
[link] [comments]

Viewing all articles
Browse latest Browse all 17924

Latest Images

Trending Articles



Latest Images