Networking Forums

Networking Forums > Computer Networking > Linux Networking > Samba trouble

Reply
Thread Tools Display Modes

Samba trouble

 
 
Chris Van Extergem
Guest
Posts: n/a

 
      09-20-2003, 01:39 PM
Hi,

I have 2 problems using Samba:

1. I share a folder on my XP-box called 'share' (on D:\share)
- When I use 'smbclient \\\\p2600\\share' I get a connection and I can
transfer files back and forth.
- When I use 'mount -t smbfs \\\\p2600\\share /net/p2600/share' (and I
created a folder /net/p2600/share, so that's not the problem) I get an error
message: 'mount: wrong fs type, bad option, bad superblock on
\\p2600\downloads, or too many mounted file systems'.

So what am I missing here ?


2. I share a folder '/share' on my linux-box but I can't see it on my XP-box
nor on my W2000-box. Here are the relevant parts of my '/etc/smb.conf'
file:

[global]
workgroup = eXtc.net ; all
my computers are in the workgroup eXtc.net
server string = i486-RHL52 ; all
computers' hosts files know about this computer
hosts allow = 192.168.0. 127. ; all
computers are part of the network 192.168.0.xxx
; guest account = pcguest ;
dunno if I need this
; remote announce = 192.168.1.255 192.168.2.44 ; should I uncomment
and adapt this line ?

[homes]
; I haven't a clue as to what this section is for
comment = Home Directories
browseable = no
writable = yes
[share]
; here's where I share the folder
comment = Shared file space on Linux system
path = /share
read only = no
writable = yes
browseable = yes
public = yes

Again, smblient-ing to this shared folder works, while mounting it doesn't.

If you need more info, I'd be happy to oblige.

Chris 'eXtc' Van Extergem



 
Reply With Quote
 
 
 
 
fgast
Guest
Posts: n/a

 
      09-20-2003, 02:47 PM
Chris Van Extergem wrote:
> Hi,
>
> I have 2 problems using Samba:
>
> 1. I share a folder on my XP-box called 'share' (on D:\share)
> - When I use 'smbclient \\\\p2600\\share' I get a connection and I can
> transfer files back and forth.
> - When I use 'mount -t smbfs \\\\p2600\\share /net/p2600/share' (and I
> created a folder /net/p2600/share, so that's not the problem) I get an error
> message: 'mount: wrong fs type, bad option, bad superblock on
> \\p2600\downloads, or too many mounted file systems'.
>
> So what am I missing here ?
>


this works on my machines :
mount -t smbfs -o username=XXXX,password=YYYYYY //192.168.6.4/folder
/path/folder


fabian

 
Reply With Quote
 
Chris Van Extergem
Guest
Posts: n/a

 
      09-20-2003, 04:09 PM
"fgast" <(E-Mail Removed)> schreef in bericht
news:bkhpbb$b49$(E-Mail Removed)...

[problem mounting shared drive]

> this works on my machines :
> mount -t smbfs -o username=XXXX,password=YYYYYY //192.168.6.4/folder
> /path/folder


Nope, same error message.


 
Reply With Quote
 
fgast
Guest
Posts: n/a

 
      09-20-2003, 04:21 PM
Chris Van Extergem wrote:
> "fgast" <(E-Mail Removed)> schreef in bericht
> news:bkhpbb$b49$(E-Mail Removed)...
>
> [problem mounting shared drive]
>
>
>>this works on my machines :
>>mount -t smbfs -o username=XXXX,password=YYYYYY //192.168.6.4/folder
>>/path/folder

>
>
> Nope, same error message.
>
>

hm...
what lunix and samba version are you using ?

fabian

--
FreeBSD is a unixoid operating system from the BSD family.
it probably has nothing to do with FreeLSD.
***********************************
"computer games don't affect kids. i mean if packman affected
our generation as kids, we'd all run around in a darkened room
munching pills and listening to repetitive music..."

 
Reply With Quote
 
Chris Van Extergem
Guest
Posts: n/a

 
      09-20-2003, 05:11 PM
"fgast" <(E-Mail Removed)> schreef in bericht
news:bkhurq$f3p$(E-Mail Removed)...
> Chris Van Extergem wrote:
> > "fgast" <(E-Mail Removed)> schreef in bericht
> > news:bkhpbb$b49$(E-Mail Removed)...
> >
> > [problem mounting shared drive]
> >
> >
> >>this works on my machines :
> >>mount -t smbfs -o username=XXXX,password=YYYYYY //192.168.6.4/folder
> >>/path/folder

> >
> >
> > Nope, same error message.
> >
> >

> hm...
> what lunix and samba version are you using ?


RedHat 5.2 kernel 2.0.36
Samba 1.9.18p10

Why ? Doesn't my kernel support this kind of mumbo jumbo ?

Chris


 
Reply With Quote
 
Mark
Guest
Posts: n/a

 
      09-20-2003, 06:38 PM
In article <ZS%ab.29960$(E-Mail Removed)>,
(E-Mail Removed) says...
> "fgast" <(E-Mail Removed)> schreef in bericht
> news:bkhurq$f3p$(E-Mail Removed)...
> > Chris Van Extergem wrote:
> > > "fgast" <(E-Mail Removed)> schreef in bericht
> > > news:bkhpbb$b49$(E-Mail Removed)...
> > >
> > > [problem mounting shared drive]
> > >
> > >
> > >>this works on my machines :
> > >>mount -t smbfs -o username=XXXX,password=YYYYYY //192.168.6.4/folder
> > >>/path/folder
> > >
> > >
> > > Nope, same error message.
> > >
> > >

> > hm...
> > what lunix and samba version are you using ?

>
> RedHat 5.2 kernel 2.0.36
> Samba 1.9.18p10
>
> Why ? Doesn't my kernel support this kind of mumbo jumbo ?
>
> Chris
>
>
>

You really need to update your version of Samba so that XP will be most
compatible. The newest version of Samba is 2.2.8.

Regards,
Mark

Samba Setup Guide
www.samba.netfirms.com

Postfix header checks for W32.Swen.A@mm Virus
www.samba.netfirms.com/postfix/postfixrules.pdf

 
Reply With Quote
 
Ian Northeast
Guest
Posts: n/a

 
      09-20-2003, 08:29 PM
Chris Van Extergem wrote:
>
> "fgast" <(E-Mail Removed)> schreef in bericht
> news:bkhurq$f3p$(E-Mail Removed)...
> > Chris Van Extergem wrote:
> > > "fgast" <(E-Mail Removed)> schreef in bericht
> > > news:bkhpbb$b49$(E-Mail Removed)...
> > >
> > > [problem mounting shared drive]
> > >
> > >
> > >>this works on my machines :
> > >>mount -t smbfs -o username=XXXX,password=YYYYYY //192.168.6.4/folder
> > >>/path/folder
> > >
> > >
> > > Nope, same error message.
> > >
> > >

> > hm...
> > what lunix and samba version are you using ?

>
> RedHat 5.2 kernel 2.0.36
> Samba 1.9.18p10
>
> Why ? Doesn't my kernel support this kind of mumbo jumbo ?


I'm not sure what you mean by "mumbo jumbo". It all looks quite clear to
me

That version of RH is very old. Please don't connect that to the
Internet without an independant firewall!

The chances are your kernel is not compiled with smbfs support. Most
recent distro default kernels are, but I can't remember back long enough
to know if the RH 5.2 one was.

If upgrading to something from this century is not an option, recompile
the kernel and enable smbfs support.

Regards, Ian
 
Reply With Quote
 
Chris Van Extergem
Guest
Posts: n/a

 
      09-21-2003, 11:00 AM
"Ian Northeast" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Chris Van Extergem wrote:
> >
> > "fgast" <(E-Mail Removed)> schreef in bericht
> > news:bkhurq$f3p$(E-Mail Removed)...
> > > Chris Van Extergem wrote:
> > > > "fgast" <(E-Mail Removed)> schreef in bericht
> > > > news:bkhpbb$b49$(E-Mail Removed)...
> > > >
> > > > [problem mounting shared drive]
> > > >
> > > >
> > > >>this works on my machines :
> > > >>mount -t smbfs -o username=XXXX,password=YYYYYY //192.168.6.4/folder
> > > >>/path/folder
> > > >
> > > >
> > > > Nope, same error message.
> > > >
> > > >
> > > hm...
> > > what lunix and samba version are you using ?

> >
> > RedHat 5.2 kernel 2.0.36
> > Samba 1.9.18p10
> >
> > Why ? Doesn't my kernel support this kind of mumbo jumbo ?

>
> The chances are your kernel is not compiled with smbfs support. Most
> recent distro default kernels are, but I can't remember back long enough
> to know if the RH 5.2 one was.
>
> If upgrading to something from this century is not an option, recompile
> the kernel and enable smbfs support.


I'm currently recompiling a new kernel with smb support (I've taken the
opportunity to finetune some other settings too), but I think my current
kernel already has it...we'll see.

BTW is there any way to check what options were used to compile a particular
kernel ?

Chris


 
Reply With Quote
 
Chris Van Extergem
Guest
Posts: n/a

 
      09-21-2003, 03:29 PM
"Chris Van Extergem" <(E-Mail Removed)> schreef in bericht
news:rxfbb.31650$(E-Mail Removed)...
> "Ian Northeast" <(E-Mail Removed)> schreef in bericht
> news:(E-Mail Removed)...
> > Chris Van Extergem wrote:
> > >
> > > "fgast" <(E-Mail Removed)> schreef in bericht
> > > news:bkhurq$f3p$(E-Mail Removed)...
> > > > Chris Van Extergem wrote:
> > > > > "fgast" <(E-Mail Removed)> schreef in bericht
> > > > > news:bkhpbb$b49$(E-Mail Removed)...
> > > > >
> > > > > [problem mounting shared drive]
> > > > >
> > > > >
> > > > >>this works on my machines :
> > > > >>mount -t smbfs -o username=XXXX,password=YYYYYY

//192.168.6.4/folder
> > > > >>/path/folder
> > > > >
> > > > >
> > > > > Nope, same error message.
> > > > >
> > > > >
> > > > hm...
> > > > what lunix and samba version are you using ?
> > >
> > > RedHat 5.2 kernel 2.0.36
> > > Samba 1.9.18p10
> > >
> > > Why ? Doesn't my kernel support this kind of mumbo jumbo ?

> >
> > The chances are your kernel is not compiled with smbfs support. Most
> > recent distro default kernels are, but I can't remember back long enough
> > to know if the RH 5.2 one was.
> >
> > If upgrading to something from this century is not an option, recompile
> > the kernel and enable smbfs support.

>
> I'm currently recompiling a new kernel with smb support (I've taken the
> opportunity to finetune some other settings too), but I think my current
> kernel already has it...we'll see.


I've recompiled the kernel, but to no avail.

In the mean time I have found the command 'smbmount' which works perfectly,
so I'll use that until someone can show me how to mount using 'mount'

Chris


 
Reply With Quote
 
Chris Van Extergem
Guest
Posts: n/a

 
      09-21-2003, 03:31 PM
"Mark" <(E-Mail Removed)> schreef in bericht
news:MPG.19d63b1b5d1e90198970c@192.168.0.203...
> In article <ZS%ab.29960$(E-Mail Removed)>,
> (E-Mail Removed) says...
> > "fgast" <(E-Mail Removed)> schreef in bericht
> > news:bkhurq$f3p$(E-Mail Removed)...
> > > Chris Van Extergem wrote:
> > > > "fgast" <(E-Mail Removed)> schreef in bericht
> > > > news:bkhpbb$b49$(E-Mail Removed)...
> > > >
> > > > [problem mounting shared drive]
> > > >
> > > >
> > > >>this works on my machines :
> > > >>mount -t smbfs -o username=XXXX,password=YYYYYY //192.168.6.4/folder
> > > >>/path/folder
> > > >
> > > >
> > > > Nope, same error message.
> > > >
> > > >
> > > hm...
> > > what lunix and samba version are you using ?

> >
> > RedHat 5.2 kernel 2.0.36
> > Samba 1.9.18p10
> >
> > Why ? Doesn't my kernel support this kind of mumbo jumbo ?
> >
> > Chris
> >
> >
> >

> You really need to update your version of Samba so that XP will be most
> compatible. The newest version of Samba is 2.2.8.


No need to upgrade, I discovered the command 'smbmount' which works fine, so
until someone shows me how to use 'mount', I'll keep using that one.


Chris


 
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
Do all Linux distros have Samba built-in? Detect if Samba installed? Matthew Lincoln Linux Networking 8 11-17-2008 12:11 AM
A few questions regarding samba from a samba and windows rookie Madhusudan Singh Linux Networking 0 03-30-2005 05:54 PM
WAG54G and ZoneAlarm..... trouble trouble trouble... MP Wireless Internet 4 07-28-2004 10:42 AM
Some Samba trouble Stephen Harris Linux Networking 0 10-17-2003 04:52 AM
[Samba] WINS on Samba server and Routing jbob Linux Networking 0 08-13-2003 01:31 AM



1 2 3 4 5 6 7 8 9 10 11