mounting a samba share
i have had about enough looking through other links because they have yet to help me. i am trying to mount a samba share and i have tried different syntax methods and nothing seems to work.
one more problem i am having is when i try to view the network through my linux machine it asks for authentication and i dont know what the username or password is.. |
try
mount -t smbfs -o username=administrator //server/share /mnt/samba enter no password or mount -t cifs -o username=administrator //server/share /mnt/samba |
ok i entered each and got seperate error messages:
mount -t smbfs -o username=administrator //server/share /mnt/samba 10685: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed mount -t cifs -o username=administrator //server/share /mnt/samba mount error 13=permission denied refer to the mount.cifs(8) manual page (e.g. man mount.cifs) i imagine because i havent set permissions to it? |
Did you change "administrator" to your username on the box that you are trying to connect? And change the server and mount points to something you have? I mount mine through /etc/fstab so that they are mounted at boot.
//192.168.1.2/wwwroot /mnt/vprMatrix smbfs username=<myusername>,password=<mypassword>,rw,users,umask=0000,uid=1000,gid=1000 0 0 Of course this will not work for you unless you happen to have the same mount points, Windows box share and your username and password are <myusername> and <mypassword> uid and gid. You need to change these for your system. |
ok.. what is the password it keeps asking for? when i input
smbmount //ubuntu/share /mnt/share |
Are you using "sudo" or "root" to mount these shares?
|
which one should i use?
|
Quote:
Anyway, if you use sudo, the system would ask for your password first. Then again at the next line, it would ask for the share password. If there's no share password, don't enter anything, just press enter. If there's a password, type it and press enter. OR If you use root account to mount a share, the eystem would ask for only the share password. And sorry, for answering late as I was watching a movie on my Kubuntu from a share at my friend's Windows XP machine. Here's what I did Code:
mann@Manish:~$ sudo mount -t smbfs //nitin/c /home/mann/Desktop/nitin_c -o "username=mann" |
Quote:
IT WORKED!!! Alright.. Now I just gotta get my XP machine to see it :study: |
Quote:
|
Quote:
|
Here's my /etc/samba/smb.conf
Code:
[global] |
All times are GMT -5. The time now is 05:39 PM. |