Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Network & Security Any network and / or security related questions should be posted in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-Apr-2008, 20:56
uPc44
Guest
 
Posts: n/a
Default

I am trying to mount a remote hard drive that is in a windows machine (it is not the boot drive). It was working for a little while but now I cant seem to get it to work, Here is the command:

mount -v -t cifs //192.168.1.3/F /mnt/F

mount.cifs kernel mount options unc=//192.168.1.3\F,ip=192.168.1.3,user=root,pass=passwo rd,ver=1,rw

using verbose mode i noticed that the user is root. Will this work? only user on that box is administrator. is there a way to specify a username when mounting?
  #2 (permalink)  
Old 13-Apr-2008, 01:27
swerdna
Guest
 
Posts: n/a
Default

Quote:
I am trying to mount a remote hard drive that is in a windows machine (it is not the boot drive). It was working for a little while but now I cant seem to get it to work, Here is the command:

mount -v -t cifs //192.168.1.3/F /mnt/F

mount.cifs kernel mount options unc=//192.168.1.3\F,ip=192.168.1.3,user=root,pass=passwo rd,ver=1,rw

using verbose mode i noticed that the user is root. Will this work? only user on that box is administrator. is there a way to specify a username when mounting?
[/b]
It's OK to have root, provided you make the permissions on directory F in the server to be rwrwrw. If you want to make it for user e.g. "norman" then make norman a user on the server and add norman to the Samba user database with password xyzetc and make permissions on F (in the server) to be rwrwrw and then use this:

mount -t cifs -o username=norman,password=xyzetc //192.168.1.3/F /mnt/F

FFI: HowTo Mount a CIFS Network Share [AKA Mapped Network Drive] in openSUSE 10.2, 10.3

Swerdna
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2