mounting a w2k directory

This is a discussion on mounting a w2k directory within the Linux Networking forums, part of the Linux Forums category; Hello, I'm trying to mount a w2k shared folder using >> mount -t smbfs -o username=mharraz,password=...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-15-2003
shaab mohagir
 
Posts: n/a
Default mounting a w2k directory

Hello,

I'm trying to mount a w2k shared folder using >> mount -t smbfs -o
username=mharraz,password=passwod //mharraz/mfh_workarea /windowz/

the command seems to run, and no errors are generated when I type
mount I see the directory /windowz as >> //mharraz/mfh_workarea on
/windowz type smbfs (0)

Tthe problem is, when I "cd" to /windows and try to list the files
there i get nothing ???

BTW, this is the output from smbclient -L

added interface ip=10.10.3.144 bcast=10.10.255.255 nmask=255.255.0.0
Password:
Domain=[TWMETALS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
mfh_workarea Disk my working folder
IPC$ IPC Remote IPC
ADMIN$ Disk Remote Admin
C$ Disk Default share

Server Comment
--------- -------

Workgroup Master
--------- -------


Please help
thanks
Reply With Quote
  #2 (permalink)  
Old 07-15-2003
Sybren Stuvel
 
Posts: n/a
Default Re: mounting a w2k directory

shaab mohagir enlightened us with:
> Tthe problem is, when I "cd" to /windows and try to list the files
> there i get nothing ???


Just a stupid question: are there actually files in that netshare?

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Reply With Quote
  #3 (permalink)  
Old 07-15-2003
Al
 
Posts: n/a
Default Re: mounting a w2k directory

"shaab mohagir" <shaab.mohagir@bonbon.net> wrote in message
news:e1b3da1b.0307150957.75d69772@posting.google.c om...
> Hello,
>
> I'm trying to mount a w2k shared folder using >> mount -t smbfs -o
> username=mharraz,password=passwod //mharraz/mfh_workarea /windowz/
>
> the command seems to run, and no errors are generated when I type
> mount I see the directory /windowz as >> //mharraz/mfh_workarea on
> /windowz type smbfs (0)
>
> Tthe problem is, when I "cd" to /windows and try to list the files
> there i get nothing ???
>
> BTW, this is the output from smbclient -L
>
> added interface ip=10.10.3.144 bcast=10.10.255.255 nmask=255.255.0.0
> Password:
> Domain=[TWMETALS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
>
> Sharename Type Comment
> --------- ---- -------
> mfh_workarea Disk my working folder
> IPC$ IPC Remote IPC
> ADMIN$ Disk Remote Admin
> C$ Disk Default share
>
> Server Comment
> --------- -------
>
> Workgroup Master
> --------- -------
>
>
> Please help
> thanks
>


If the windows share is on an NTFS formatted partition, do you have an NTFS
r/w capability in your kernel or in a module? I saw nothing about NTFS in
your smb mount command. Also, you don't mention what brand of Linux your
using but RH versions DO NOT include NTFS support, you need to add it in
from a 3rd party module or source.

Al


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/03


Reply With Quote
  #4 (permalink)  
Old 07-16-2003
Seth
 
Posts: n/a
Default Re: mounting a w2k directory

Al wrote:
> "shaab mohagir" <shaab.mohagir@bonbon.net> wrote in message
> news:e1b3da1b.0307150957.75d69772@posting.google.c om...
>
> If the windows share is on an NTFS formatted partition, do you have an NTFS
> r/w capability in your kernel or in a module? I saw nothing about NTFS in
> your smb mount command. Also, you don't mention what brand of Linux your
> using but RH versions DO NOT include NTFS support, you need to add it in
> from a 3rd party module or source.
>
> Al
>


That shouldn't be an issue; remember that he isn't accesing the
filesystem directly, he's accesing the filesystem via SMB file/directory
sharing. All directories shared on modern day Windows clients or
servers, regardles of wether the actual remote filesystem is either FAT
(or any variant) or NTFS, are to be mounted as SMBFS if you want them to
mount to be part of the local filesystem. This is because you aren't
mounting the actual filesystem itself, but a broadcasted SMB share.
SMBFS support is usually/nearly always compiled in the kernel.

- Seth

Reply With Quote
  #5 (permalink)  
Old 07-16-2003
shaab mohagir
 
Posts: n/a
Default Re: mounting a w2k directory

Hey Little Pinguin, you didn't help moi that much. Anyway I found the
problem and it was in the permissions on the windowz share.

BTW, for ppl who are trying to solve that problem and thnik that samba
has anything to do with it, this is not true, the problem lies in
setting permissions on the w2k share. You have to make sure that share
has Everyone and at least give everyone read permission,that's what I
did to make it work....i don't know if this is the cleanest way but it
worked. Just be patient.

Thanks for all.

Le petit Penguin <abuse@wanadoo.fr> wrote in message news:<pan.2003.07.16.11.32.31.619558@wanadoo.fr>.. .
> Le Tue, 15 Jul 2003 20:23:38 +0000, Al a écrit :
>
> > "shaab mohagir" <shaab.mohagir@bonbon.net> wrote in message
> > news:e1b3da1b.0307150957.75d69772@posting.google.c om...
> >> Hello,
> >>
> >> I'm trying to mount a w2k shared folder using >> mount -t smbfs -o
> >> username=mharraz,password=passwod //mharraz/mfh_workarea /windowz/
> >>
> >> the command seems to run, and no errors are generated when I type
> >> mount I see the directory /windowz as >> //mharraz/mfh_workarea on
> >> /windowz type smbfs (0)

> Problem may be with authentication (is 'dows using encrypted passwords ?
> it's been until recently unavailable to Samba ...)
> >
> > If the windows share is on an NTFS formatted partition, do you have an NTFS
> > r/w capability in your kernel or in a module? I saw nothing about NTFS in
> > your smb mount command. Also, you don't mention what brand of Linux your
> > using but RH versions DO NOT include NTFS support, you need to add it in
> > from a 3rd party module or source.

> This has ABSOLUTELY nothing to do with NTFS knowledge by the kernel, just
> as getting files from an http server has nothing to do with the target
> host's filesystem !!!! (your windows box doesn't have to know wether it's
> a Solaris, *BSD, or Linux filesystem the files are hosted on ? Same thing
> with SMB shares ...)
> >
> > Al
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).

> Good ... btw, are you aware this is a Linux system you are talking to ?
> Virii of the world, come and get it ...

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0