Re: SMBMOUNT won't

1999-04-16 Thread Keith G. Murphy
Wayne Topa wrote:
> 
> Subject: Re: SMBMOUNT won't
> Date: Thu, Apr 15, 1999 at 01:56:16PM +0200
> 
> In reply to:Mirek Kwasniak
> 
> Quoting Mirek Kwasniak([EMAIL PROTECTED]):
> > On Thu, Apr 15, 1999 at 10:25:52AM -0400, Alec Smith wrote:
> > > Got a sample syntax? I use
> > >
> > > smbmount-2.1.x "\\CONDOR\NTC" -c 'mount /home/sweetin/mnt'
> > >
> >
> > smbmount-2.1.x service  [-p port] [-d debuglevel] [-l log]
> > ^
> >
> > You need form:
> >
> >   smbmount-2.1.x "\\CONDOR\NTC"  your_password_to_share -c 'mount 
> > /home/sweetin/mnt'
> >
> > Mirek
>  I have samba samba-1.9.18p10 running on a slackware partition using the 
> following commands.
> smbmount //win/WING/  /winf -P ^M -U WAYNE TOPA
> smbclient '\\win\WING' -N
> 
>   This is a very interesting thread.  I have just loaded
> samba-1.9.18p10-7 (slink) to see if I could get the above working.
> The above smbmount command does not work on my slink partition.
> 
> As I have disabled passwords in Win95 ( Whats the need in a home net) I
> tried - smbmount-2.1.x "\\win\WING"   -c 'mount /wing'  it returns
> the help list and - \win\WING: Not enough '\' characters in service
> 
[etc]
Well, for me, using smbmount 2.0.2, the backslash characters just don't
work.  Try forward slashes:

smbmount //win/WING  

Attempting to use the backslashes always gives me a usage note.

And, yes, smbclient likes the backslashes OK, as long as you escape them
properly...

As an aside, I think it makes some sense *not* to handle the
backslashes.  I mean, if you mount a VFAT partition, backslashes don't
work as directory separators, now do they?


Re: SMBMOUNT won't

1999-04-15 Thread Wayne Topa

Subject: Re: SMBMOUNT won't
Date: Thu, Apr 15, 1999 at 01:21:34PM -0400

In reply to:Alec Smith

Quoting Alec Smith([EMAIL PROTECTED]):
> The smbmount-2.1.x thing is for the 2.1/2.2 kernels.
> 
Yes, I am running 2.2.5.

> Using the info from Mirek works great for me -- With the third backslash
> of course. I do run only WinNT SP4 though -- If I get a chance later I'll
> try mounting a share off a Win9x machine using the same method that works
> for NT... Maybe then I can come up with something for you.
> 
Thanks Alec, I would appreciate it.

-- 
Real Programmers don't write in PL/I.  PL/I is for programmers who
can't decide whether to write in COBOL or FORTRAN.
___
Wayne T. Topa <[EMAIL PROTECTED]>


Re: SMBMOUNT won't

1999-04-15 Thread Alec Smith
The smbmount-2.1.x thing is for the 2.1/2.2 kernels.

Using the info from Mirek works great for me -- With the third backslash
of course. I do run only WinNT SP4 though -- If I get a chance later I'll
try mounting a share off a Win9x machine using the same method that works
for NT... Maybe then I can come up with something for you.




On Thu, 15 Apr 1999, Wayne Topa wrote:

> 
>   Subject: Re: SMBMOUNT won't
>   Date: Thu, Apr 15, 1999 at 01:56:16PM +0200
> 
> In reply to:Mirek Kwasniak
> 
> Quoting Mirek Kwasniak([EMAIL PROTECTED]):
> > On Thu, Apr 15, 1999 at 10:25:52AM -0400, Alec Smith wrote:
> > > Got a sample syntax? I use
> > > 
> > > smbmount-2.1.x "\\CONDOR\NTC" -c 'mount /home/sweetin/mnt'
> > > 
> > 
> > smbmount-2.1.x service  [-p port] [-d debuglevel] [-l log]
> > ^
> > 
> > You need form:
> > 
> >   smbmount-2.1.x "\\CONDOR\NTC"  your_password_to_share -c 'mount 
> > /home/sweetin/mnt'
> > 
> > Mirek
>  I have samba samba-1.9.18p10 running on a slackware partition using the 
> following commands.
> smbmount //win/WING/  /winf -P ^M -U WAYNE TOPA
> smbclient '\\win\WING' -N
> 
>   This is a very interesting thread.  I have just loaded
> samba-1.9.18p10-7 (slink) to see if I could get the above working.
> The above smbmount command does not work on my slink partition.
> 
> As I have disabled passwords in Win95 ( Whats the need in a home net) I
> tried - smbmount-2.1.x "\\win\WING"   -c 'mount /wing'  it returns
> the help list and - \win\WING: Not enough '\' characters in service
> 
> I get the same response from 
> smbmount-2.1.x "\\win\\WING"   -c 'mount /wing'
> 
> smbmount-2.1.x "\\\win\\WING"   -c 'mount /wing' or
> smbmount-2.1.x "win\\WING"   -c 'mount /wing' gives yet another error: 
> Server time is Thu Apr 15 11:47:58 1999
> Timezone is UTC-4.0
> security=share
> SMBtconX failed. ERRSRV - ERRbadpw (Bad password - name/password pair
> in a Tree Connect or Session Setup are invalid.)
> Perhaps you are using the wrong sharename, username or password?
> Some servers insist that these be in uppercase
> 
> So I changed the command to smbmount-2.1.x "\\\win\\WING" -p passwd  -c 'mount
> /wing'
> and got:  (I added a passwd for the share in Win95) & get the same error.
>   error connecting to 192.168.1.2:0 (Connection refused)
> 
> smbclient seems to work with or without passwords.
> Without the password in Win95 smbclient works fine with
> smbclient '\\win\WING' -N and if the password is enabled, smbclient
> '\\win\WING' causes the password to be requested.
> 
> I would appreciate and comments on what is causing the failure of
> smbmount.
> 
> TIA
> 
> Wayne
> -- 
> It is easier to change the specification to fit the program than vice
> versa.
> ___
> Wayne T. Topa <[EMAIL PROTECTED]>
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


Re: SMBMOUNT won't

1999-04-15 Thread Wayne Topa

Subject: Re: SMBMOUNT won't
Date: Thu, Apr 15, 1999 at 01:56:16PM +0200

In reply to:Mirek Kwasniak

Quoting Mirek Kwasniak([EMAIL PROTECTED]):
> On Thu, Apr 15, 1999 at 10:25:52AM -0400, Alec Smith wrote:
> > Got a sample syntax? I use
> > 
> > smbmount-2.1.x "\\CONDOR\NTC" -c 'mount /home/sweetin/mnt'
> > 
> 
> smbmount-2.1.x service  [-p port] [-d debuglevel] [-l log]
> ^
> 
> You need form:
> 
>   smbmount-2.1.x "\\CONDOR\NTC"  your_password_to_share -c 'mount 
> /home/sweetin/mnt'
> 
> Mirek
 I have samba samba-1.9.18p10 running on a slackware partition using the 
following commands.
smbmount //win/WING/  /winf -P ^M -U WAYNE TOPA
smbclient '\\win\WING' -N

  This is a very interesting thread.  I have just loaded
samba-1.9.18p10-7 (slink) to see if I could get the above working.
The above smbmount command does not work on my slink partition.

As I have disabled passwords in Win95 ( Whats the need in a home net) I
tried - smbmount-2.1.x "\\win\WING"   -c 'mount /wing'  it returns
the help list and - \win\WING: Not enough '\' characters in service

I get the same response from 
smbmount-2.1.x "\\win\\WING"   -c 'mount /wing'

smbmount-2.1.x "\\\win\\WING"   -c 'mount /wing' or
smbmount-2.1.x "win\\WING"   -c 'mount /wing' gives yet another error: 
Server time is Thu Apr 15 11:47:58 1999
Timezone is UTC-4.0
security=share
SMBtconX failed. ERRSRV - ERRbadpw (Bad password - name/password pair
in a Tree Connect or Session Setup are invalid.)
Perhaps you are using the wrong sharename, username or password?
Some servers insist that these be in uppercase

So I changed the command to smbmount-2.1.x "\\\win\\WING" -p passwd  -c 'mount
/wing'
and got:  (I added a passwd for the share in Win95) & get the same error.
  error connecting to 192.168.1.2:0 (Connection refused)

smbclient seems to work with or without passwords.
Without the password in Win95 smbclient works fine with
smbclient '\\win\WING' -N and if the password is enabled, smbclient
'\\win\WING' causes the password to be requested.

I would appreciate and comments on what is causing the failure of
smbmount.

TIA

Wayne
-- 
It is easier to change the specification to fit the program than vice
versa.
___
Wayne T. Topa <[EMAIL PROTECTED]>


Re: SMBMOUNT won't

1999-04-15 Thread Mirek Kwasniak
On Thu, Apr 15, 1999 at 10:34:05AM -0400, Alec Smith wrote:
> Thanks... Problem appears to be solved. By the way, it seemed to work as
> \\\Condor\NTC -- Note the third \

Yes, I didn't notice that you wrote  

  "\\CONDOR\NTC"

I use syntax like

   '\\CONDOR\NTC'

It's so because shell interpretes some sequencec like \ for
example \\ becomes \. To be shure, when you don't use single quotes you
should write:

CONDOR\\NTC

Double quotes doesn't stop shell from interpreting entire string. Your
example is working because your current shell doesn't interpret sequences
\C and \N.

> 
> Since you seem to know what's going on, there is a not-fatal error about
> /etc/lmhosts not existing during the mount. What is the format of this
> file and how is it used?
> 

:)
It's simple file (like /etc/hosts) containing one IP and NETBIOS-name per
line, for example:

127.0.0.1 CONDOR

Its purpouse is to help find names that can't be resolved by dns, wins or
broadcast. Some hosts have different netbios and dns names.

Mirek


Re: SMBMOUNT won't

1999-04-15 Thread Brian Servis
*- On 15 Apr, Alec Smith wrote about "Re: SMBMOUNT won't"
> 
> Since you seem to know what's going on, there is a not-fatal error about
> /etc/lmhosts not existing during the mount. What is the format of this
> file and how is it used?
> 

man lmhosts

DESCRIPTION
   This file is part of the Samba suite.

   lmhosts is the Samba NetBIOS name to  IP  address  mapping
   file.   It  is very similar to the /etc/hosts file format,
   except that the hostname component must correspond to  the
   NetBIOS naming format.

-- 
Brian 
-
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
   - unknown  

Mechanical Engineering[EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: SMBMOUNT won't

1999-04-15 Thread Alec Smith
Thanks... Problem appears to be solved. By the way, it seemed to work as
\\\Condor\NTC -- Note the third \

Since you seem to know what's going on, there is a not-fatal error about
/etc/lmhosts not existing during the mount. What is the format of this
file and how is it used?



On Thu, 15 Apr 1999, Mirek Kwasniak wrote:

> On Thu, Apr 15, 1999 at 10:25:52AM -0400, Alec Smith wrote:
> > Got a sample syntax? I use
> > 
> > smbmount-2.1.x "\\CONDOR\NTC" -c 'mount /home/sweetin/mnt'
> > 
> 
> smbmount-2.1.x service  [-p port] [-d debuglevel] [-l log]
> ^
> 
> You need form:
> 
>   smbmount-2.1.x "\\CONDOR\NTC"  your_password_to_share -c 'mount 
> /home/sweetin/mnt'
> 
> Mirek
> 


Re: SMBMOUNT won't

1999-04-15 Thread Mirek Kwasniak
On Thu, Apr 15, 1999 at 10:25:52AM -0400, Alec Smith wrote:
> Got a sample syntax? I use
> 
> smbmount-2.1.x "\\CONDOR\NTC" -c 'mount /home/sweetin/mnt'
> 

smbmount-2.1.x service  [-p port] [-d debuglevel] [-l log]
^

You need form:

  smbmount-2.1.x "\\CONDOR\NTC"  your_password_to_share -c 'mount 
/home/sweetin/mnt'

Mirek


Re: SMBMOUNT won't

1999-04-15 Thread Mike Werner
FWIW when I do an smbmount here I have to use the -I switch followed by
the IP address of the machine I'm accessing.  An example is:
smbmount \\george\d /mnt -I 192.168.1.2
I don't know why, but that's what it took for smbmount to work here.
-- 
Mike Werner  KA8YSD   |  "Where do you want to go today?"
ICQ# 12934898 |  "As far from Redmond as possible!"
'91 GS500E|
Morgantown WV |  Only dead fish go with the flow.

-BEGIN GEEK CODE BLOCK-
Version: 3.1
GU d-@ s:+ a- C++>$ UL++ P+ L+++ E W++ N++ !o w--- O- !M V-- PS+ PE+
 Y+ R+ !tv b+++() DI+ D--- G e*>++ h! r++ y
--END GEEK CODE BLOCK--


Re: SMBMOUNT won't

1999-04-15 Thread Alec Smith
Got a sample syntax? I use

smbmount-2.1.x "\\CONDOR\NTC" -c 'mount /home/sweetin/mnt'

with absolutely no luck... That appears to be what is in the manpages for
smbmount-2.1.x, except smbmount doesn't appear to be installed I have
smbfsx_1.9.18p10-7.deb installed from Slink.

On Kernel 2.0.x, I would use

smbmount //CONDOR/NTC mnt

without incident.

I'm just about ready to say screw this... I'd like to use kernel 2.2.x, but
if its going to be this much of a pain, I'll just go back to 2.0.37pre and
then the final once Alan puts its out.



At 01:21 AM 4/15/99 GMT, Eloy A. Paris wrote:
>No need to do that. The smbfsx package has been compiled with 2.2.x
>kernel headers and everything is ready to go with the 2.2.x kernels.
>
>Your problem might be that the syntax of smbmount changed from the
>smbfs package to the smbfsx package. Take a look at the parameters you
>are using.
>
>peloy.-
>
>Alec Smith <[EMAIL PROTECTED]> wrote:
>> Tried rebuilding and got a bunch of errors about some odd thing being
>> redefined or some such.
>> 
>> 
>> 
>> On Thu, 15 Apr 1999, Graham Ashton wrote:
>> 
>>> On Thursday 15 April, Alec Smith wrote:
>>> 
>>> > I'm running kernel 2.2.5 with smbfsx installed from the deb... I get the
>>> > attached error... Any tips would be appreciated. 
>>> 
>>> you need to recompile smbmount with 2.2.x kernels. I've never done it, but
>>> have read that it needs doing.
>>> 
>>> -- 
>>> Graham
>>> 
>> 
>> 
>> -- 
>> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null
>> 
>
>
>-- 
>Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null
>
>
>


Re: SMBMOUNT won't

1999-04-15 Thread Eloy A. Paris
No need to do that. The smbfsx package has been compiled with 2.2.x
kernel headers and everything is ready to go with the 2.2.x kernels.

Your problem might be that the syntax of smbmount changed from the
smbfs package to the smbfsx package. Take a look at the parameters you
are using.

peloy.-

Alec Smith <[EMAIL PROTECTED]> wrote:
> Tried rebuilding and got a bunch of errors about some odd thing being
> redefined or some such.
> 
> 
> 
> On Thu, 15 Apr 1999, Graham Ashton wrote:
> 
>> On Thursday 15 April, Alec Smith wrote:
>> 
>> > I'm running kernel 2.2.5 with smbfsx installed from the deb... I get the
>> > attached error... Any tips would be appreciated. 
>> 
>> you need to recompile smbmount with 2.2.x kernels. I've never done it, but
>> have read that it needs doing.
>> 
>> -- 
>> Graham
>> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 


Re: SMBMOUNT won't

1999-04-14 Thread Alec Smith
Tried rebuilding and got a bunch of errors about some odd thing being
redefined or some such.



On Thu, 15 Apr 1999, Graham Ashton wrote:

> On Thursday 15 April, Alec Smith wrote:
> 
> > I'm running kernel 2.2.5 with smbfsx installed from the deb... I get the
> > attached error... Any tips would be appreciated. 
> 
> you need to recompile smbmount with 2.2.x kernels. I've never done it, but
> have read that it needs doing.
> 
> -- 
> Graham
> 


Re: SMBMOUNT won't

1999-04-14 Thread Graham Ashton
On Thursday 15 April, Alec Smith wrote:

> I'm running kernel 2.2.5 with smbfsx installed from the deb... I get the
> attached error... Any tips would be appreciated. 

you need to recompile smbmount with 2.2.x kernels. I've never done it, but
have read that it needs doing.

-- 
Graham


Re: SMBMOUNT won't

1999-04-14 Thread Alec Smith
I'm running kernel 2.2.5 with smbfsx installed from the deb... I get the
attached error... Any tips would be appreciated. I have no problems
mounting from this workstation under NT to the particular file server
giving the error. Previously I used 2.0.36 without difficulty.

/proc/filesystems does indeed list smbfs as a supported type by the
kernel on the workstation.



On Wed, 14 Apr 1999, Kent West wrote:

> I can't seem to get smbmount to work, although I BELIEVE it used to.
> I've recently upgraded from 2.0.36 to 2.2.1, so that might have some
> bearing.
> 
> I've tried most of the options in the smbmount man page; no good.
> 
> I've tried removing the smbfs package and then adding it back in; no
> good.
> 
> I can connect with smbclient, which the smbmount man page said
> definitely means my problem is with smbfs.
> 
> The error I get is just a generic:  mount error: Invalid argument Please
> look at smbmount's manual page for possible reasons.
> 
> Any clues, anyone? Thanks!
> 
> 
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 
params.c:OpenConfFile() - Unable to open configuration file "/etc/smb.conf":
No such file or directory
load_client_codepage: filename /etc/codepages/codepage.850 does not exist.
Added interface ip=130.108.229.32 bcast=130.108.229.255 nmask=255.255.255.0
startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or 
directory
Server time is Wed Apr 14 19:10:03 1999
Timezone is UTC-4.0
Session setup failed for username=SWEETIN workgroup=WORKGROUP myname=RS229032 
destname=RS229031   ERRSRV - ERRbadpw (Bad password - name/password pair in a 
Tree Connect or Session Setup are invalid.)
You might find the -U, -W or -n options useful
Sometimes you have to use `-n USERNAME' (particularly with OS/2)
Some servers also insist on uppercase-only passwords


SMBMOUNT won't

1999-04-14 Thread Kent West
I can't seem to get smbmount to work, although I BELIEVE it used to.
I've recently upgraded from 2.0.36 to 2.2.1, so that might have some
bearing.

I've tried most of the options in the smbmount man page; no good.

I've tried removing the smbfs package and then adding it back in; no
good.

I can connect with smbclient, which the smbmount man page said
definitely means my problem is with smbfs.

The error I get is just a generic:  mount error: Invalid argument Please
look at smbmount's manual page for possible reasons.

Any clues, anyone? Thanks!