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=...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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? |
|
|||
|
"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 |
|
|||
|
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 |
|
|||
|
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 ... |