LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-26-2007, 03:54 AM   #1
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
Mounting a Windows Share in Samba


I installed Windows on one of the home desktops, so my parents could use it, enabled sharing for "My Documents" folder, then mounted it using smbmount w/o any errors.

However, if I try go in the mounted folder or even view its details, I get the following:

Code:
/bin/ls: cannot access /mnt/samba: Permission denied
camera/  flashdisk/  ipod/  samba
me@tpt60:~$ ls /mnt/samba
/bin/ls: cannot access /mnt/samba: Permission denied
me@tpt60:~$ ls -l /mnt/
/bin/ls: cannot access /mnt/samba: Permission denied
total 0
drwxr-xr-x 2 root root 48 2007-11-23 23:57 camera/
drwxr-xr-x 2 root root 48 2007-11-23 23:57 flashdisk/
drwxr-xr-x 2 root root 48 2007-11-14 23:33 ipod/
?????????? ? ?    ?     ?                ? samba
The mount command I used was pretty simple: smbmount //hpp763n/documents /mnt/samba
 
Old 12-26-2007, 04:25 AM   #2
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 36
I think you should use the Name of the user on the Windows machine.

smbmount -o username=USER,password=PASS ...
if the user has password that is.
 
Old 12-26-2007, 07:33 AM   #3
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
I didn't have to do this before and was able to mount these same two machines. I'd sometimes use -o uid=me,gid=users and that would set the permissions of the mount point and all of the files to that user, but if that's left out, it should use root:root
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba mounting windows share gunnix Linux - Software 6 06-25-2006 06:47 PM
mounting windows share with samba? lilili Linux - Software 2 03-08-2006 03:10 AM
automatic Mounting Windows Share using samba MediMania Linux - Software 4 11-17-2005 03:54 AM
mounting a windows (samba) share? alsjordan Linux - Newbie 3 08-06-2005 08:22 AM
Mounting Windows Network Share via Samba colabus Linux - Newbie 6 10-12-2004 08:15 PM


All times are GMT -5. The time now is 02:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration