I have a problem mounting a network drive, I need to do this in command line, since I need it to be a script multiple users can use.
Manually I can mount it using the "connect to a windows network" tool in the places menu. So the server, share and credentials are valid.
Code:
root# mount -t cifs //<server>/Users$/<userdir> /mnt/local_mount/ -o credentials=/mnt/login
returns:
Code:
mount error 20 = Not a directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
I know the server-share and /mint/local_mount both exists and the local mount is a directory.
If someone knows what command is equivalent to the mount in the connect to network (windows share), that would be helpful as well.