Mounting Samba Shares via console (Newbie)
Hi all,
im having trouble getting mandrake to mount my samba shares through the console, here is what i have tried (the NT share is \\server1\newhome on domain swhschool.local) mount -t smbfs -o username=administrator, password=mypw \\server1 \newhome also; mount -t smbfs -o domain. swhschool.local username=administrator, password=mypw \\server1 \newhome its just tells me it cannot resolve the \\NewHome mount point (its definitely there, so im guessing its a syntax error) any help would be appreciated |
It seems to me, you have syntax error.
Try mount -t smbfs -o username=YOURUSER,password=YOURPASSWORD //YOURSERVER/SHARE /newhome Linux makes difference between uppercase and lowercase so newhome and NewHome are not the same |
Below are some examples that may help:
NOTE: The password is enclosed in single quotes since it has a embedded $ sign. smbclient //ldowns/share -U mydomain/ldowns%'my$passwrd' or smbclient //ldowns/WebTest -U mydomain/ldowns -- you will have to manually enter the password or Create user.info with: username = ldowns password = my$passwrd domain = mydomain and use: smbclient //ldowns/WebTest -A user.info or to do a normal mount as root mount -t smbfs -o username=ldowns,password='my$passwrd' //ldowns/share /home/downslj/mountdir as normal user smbmount //ldowns/WebTest mountdir/ -o credentials=user.info smbmount //tutor1/migrate mountdir/ -o credentials=user.info smbmount //tutor1/Convert mountdir/ -o credentials=user.info,fmask=666 smbmount //gph-fascor/D mountdir/ -o credentials=user.info,fmask=666 smbmount //ldowns/share mountdir/ -o credentials=user.info,fmask=666 smbmount //ldowns/share mountdir/ -o username=ldowns/mydomain%'my$passwrd',fmask=666 NOTE: The hostname must resolve. I tried using the IP address but it didn't work. I added the hostname to /etc/hosts and it worked!! |
thanks for that, unfortunately i am not back at work till monday to try it (my god what am i saying!!!!!)
lol |
All times are GMT -5. The time now is 06:20 AM. |