mapping windows network drives on a linux host
I have created a directoy on my linux machine called 'WindowsApp'. I want to mount a windows share called '\\WindowsPCName\Apps' to this directoy I created.
I have Samba installed on my machine and am able to see the windows share using smbclient '\\ip address\app'. But is it possible to mount it on to this directory.
Secondly, to use the SMB client I have created an username and password that is the same as what we have on our domain and this allows me to connect to the network share. But out of curiosity i want to connect to the network share when logged in as root.
I have looked at the help file which suggest -u and -p but they dont seem to be working... Perhaps I'm typing it wrong. What would be the exact format in which it needs to be typed?
Many thanks for the help?