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
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 > >mount -t smbfs -o username=USERNAME,password=PASSWORD //server/sharename /mnt/servername John
On 2/2/06, Benjamin Smith <lists at benjamindsmith.com> 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: >Have you checked the permissions and user accessibility? Is selinux active on the system? -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center
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` returnsa> 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 recommendsdidn'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 whereto> go from here? > > -Ben > -- > "The best way to predict the future is to invent it." > - XEROX PARC slogan, circa 1978 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > 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. >-- "The best way to predict the future is to invent it." - XEROX PARC slogan, circa 1978
On 2/3/06, Benjamin Smith <lists at benjamindsmith.com> 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 > > hey,sometimes it is not possible to access windows 2003 shares with smbmount command . Try this command it works for me : mount -t cifs -o username=valid_user //windows2003machine/share name /mnt/smb(linux mount point). Regards Ankush -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20060204/1512f795/attachment-0002.html>
Maybe Matching Threads
- Errors accessing smbfs share after upgrade to redhat ES4.0
- [Bridge] recent crashes? Linux kernel 2.6.18-1.2239.fc5 (Linux Fedora Core 5)
- linux kernel 3.17, freeze on resume
- Samba 2.0.7 problems (on RedHat 7.0)
- no-amd-iommu-perdev-intremap + no-intremap = BOOM with Xen 4.4 (no-intremap by itself OK).