Unable to mount SMB drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Benjamin Smith wrote:

>Trying to keep this alive - I'm up against a wall here! 
>
>I can use smbclient and not only see files, but actually download them (with 
>get) but I can't mount said Windows share locally to a drive - I universally 
>get a "permission denied" error. 
>
>1) I've tried mounting via a line in fstab. 
>
>2) I've tried smbmount with every option I could find. 
>
>3) I've tried using mount with every option I could find. 
>
>How could it work in smbclient with the same credentials, but not as an smb 
>mount? Is there something about how the Linux localhost is being announced, 
>perhaps? 
>
>-Ben 
>
>On Thursday 02 February 2006 18:45, Benjamin Smith wrote:
>  
>
>>I have a Windows Server 2003 system I'm trying to back up to a Linux host. 
>>
>>when I access the share with smbclient, I can "see" the files (`ls` returns 
>>    
>>
>a 
>  
>
>>list of files, etc) 
>>
>>smbclient -U shareuser //server/sharename password 
>>
>>But, when I try to actually mount the drive, I get "permission denied" 
>>    
>>
>errors 
>  
>
>>trying to access the drive. (EG: using `df`) Running the following command 
>>takes about 10 seconds: 
>>
>>smbmount //server/sharename /mnt/servername -o \
>>credentials=/path/to/credentials,ro 
>>
>>I've also tried an alternate format: 
>>
>>mount -t smbfs -o username=USERNAME //server/sharename /mnt/servername 
>>
>>Same results both ways. I found a CentOS forum where somebody had problems 
>>with the RPM package, but retrograding to the package(s) he recommends 
>>    
>>
>didn't 
>  
>
>>change anything. 
>> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=2307 
>>
>>I'm running the latest samba-client & samba-common on CentOS 4.2. SELinux is 
>>in warn mode. Here's the /var/log/messages when I mount: 
>>
>>Feb  2 19:42:16 sol kernel: SELinux: initialized (dev smbfs, type smbfs), 
>>    
>>
>uses 
>  
>
>>genfs_contexts
>>Feb  2 19:42:16 sol kernel: smb_retry: no connection process
>>Feb  2 19:42:46 sol kernel: smb_add_request: request [c554bee0, mid=0] timed 
>>out!
>>Feb  2 19:42:46 sol kernel: smb_delete_inode: could not close inode 2
>>Feb  2 19:42:46 sol kernel: SELinux: initialized (dev smbfs, type smbfs), 
>>    
>>
>uses 
>  
>
>>genfs_contexts
>>Feb  2 19:42:46 sol mount.smbfs[21755]: [2006/02/02 19:42:46, 0] 
>>client/smbmount.c:send_fs_socket(410)
>>Feb  2 19:42:46 sol mount.smbfs[21755]:   mount.smbfs: entering daemon mode 
>>for service \\heliodorite.sunset.net\iissites, pid=21755
>>
>>Running with debug=8 didn't provide much that was helpful. Any ideas where 
>>    
>>
>to 
>  
>
>>go from here? 
>>
>>-Ben 
>>-- 
>>"The best way to predict the future is to invent it."
>>- XEROX PARC slogan, circa 1978
>>_______________________________________________
>>CentOS mailing list
>>CentOS@xxxxxxxxxx
>>http://lists.centos.org/mailman/listinfo/centos
>>
>>-- 
>>This message has been scanned for viruses and
>>dangerous content by MailScanner, and is
>>believed to be clean.
>>
>>    
>>
>
>  
>
Did you add the smbuser? smbpasswd -a

John

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux