Networking Forums

Networking Forums > Computer Networking > Linux Networking > mounting a w2k directory

Reply
Thread Tools Display Modes

mounting a w2k directory

 
 
shaab mohagir
Guest
Posts: n/a

 
      07-15-2003, 05:57 PM
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
 
 
 
 
Sybren Stuvel
Guest
Posts: n/a

 
      07-15-2003, 07:34 PM
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
 
Al
Guest
Posts: n/a

 
      07-15-2003, 08:23 PM
"shaab mohagir" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) 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
 
Seth
Guest
Posts: n/a

 
      07-16-2003, 01:10 AM
Al wrote:
> "shaab mohagir" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) 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
 
shaab mohagir
Guest
Posts: n/a

 
      07-16-2003, 06:49 PM
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 <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>.. .
> Le Tue, 15 Jul 2003 20:23:38 +0000, Al a écrit :
>
> > "shaab mohagir" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed) 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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting NFS on Samba share snovgorodsky@gmail.com Linux Networking 1 03-26-2009 11:59 PM
Mounting smb shares after vpn (pptpconfig) skurk Linux Networking 0 11-30-2005 05:33 AM
problem with samba mounting Radek R. Linux Networking 1 04-21-2005 03:41 PM
mounting NFS Joe R Linux Networking 3 03-24-2005 07:30 PM
NFS slow mounting Kenn White Linux Networking 3 06-15-2004 08:28 PM



1 2 3 4 5 6 7 8 9 10 11