I'm having a windows server winserv with several shared folders share1, share2, etc. and would like to cifs-mount them all in the terminal by just addressing the server and not each shared folder individually.While I can successfully use my graphical file explorer dolphin to search the network for winserver, log in and have all shared folders listed, OR mount each shared folder separately from the terminal by usingmount.cifs -o user=winuser //winserv/share1 /mnt/share1<password prompt>#trailing slash after share does not affect the mount:mount.cifs -o user=winuser //winserv/share2/ /mnt/share2<password prompt>I cannot mount winserv directly and have all shared folders listed. I.e. this is unsuccessful:mount.cifs -o user=winuser //winserv /mnt/allshares#I also tried a trailing slash, but to no effectmount.cifs -o user=winuser //winserv/ /mnt/allsharesThe resulting error message is:Retrying with upper case share namemount error(6): No such device or addressRefer to the mount.cifs(8) manual page (e.g. man mount.cifs)So how can I mount them all at once just like dolphin does?
cifs-mount with multiple shared folders on windows server
mount;windows;samba;cifs;shared folders