samba win --> linux=ok linux-->win=not_ok

samba win --> linux=ok linux-->win=not_ok

Post by Faux_Pseu » Sat, 12 Aug 2000 04:00:00



i have no problim browsing my nix box under windows
but when it comes to seeing win from nix i am now totaly lost

i have gone throgh the documentation installed by rpm

here are the smb things i have installed
/sbin/mount.smb
/sbin/mount.smbfs
/usr/sbin/smbd
/usr/bin/addtosmbpass
/usr/bin/convert_smbpasswd
/usr/bin/mksmbpasswd.sh
/usr/bin/smbadduser
/usr/bin/smbpasswd
/usr/bin/smbstatus
/usr/bin/findsmb
/usr/bin/smbclient
/usr/bin/smbmnt
/usr/bin/smbmount
/usr/bin/smbprint
/usr/bin/smbtar
/usr/bin/smbumount
/usr/bin/make_smbcodepage

but i seem to be missing things that were mentioned in the faq/howtos'
like smbsh and smbrun -- has any one seen these apps?

i am comand line only so i cant use things like linneighborhood

i would realy like to get this sorted out and scripted befor i try to
use the winbox as the gateway to the net for the linux lappy
but after reading all the info and not seeing any clear cut samples
in the doc's my head is spining

it has referances like "net use M: \\server\user" but it dosnt tell you
which of the many smb* programs to use
i cant seem to get smbclient to mount any thing but i dont get any
errors to work with

and sambas website is going under some remodleing so i cant use there
search features to look through the arcives for the answers that i know
are waiting to be found

i have been useing nix in comand line only mode for just under a year now
and i consider my self fairly fast at config files and man pages but
samba has me totaly lost in this area

if you cant spell it out for me can you at least point me to some
samba for dumbies site on the net?

all i realy want at this time is what was refeard to as "a simple ftp-like
client" in the smbclient man page but i cant seem to get the options set
right to get that far

TIA!
--
 ._______.                                         ._______.
 | <> <> |  To all who say evolution is to slow to | <> <> |
  \-|o|-/  make a race as advanced as ours I have   \-|o|-/
   /___\  only one thing to say. Have you ever seen  /___\
   (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by extern.patrick.them.. » Sat, 12 Aug 2000 04:00:00




> i have no problim browsing my nix box under windows
> but when it comes to seeing win from nix i am now totaly lost

> i have gone throgh the documentation installed by rpm

> here are the smb things i have installed
> /sbin/mount.smb
> /sbin/mount.smbfs
> /usr/sbin/smbd
> /usr/bin/addtosmbpass
> /usr/bin/convert_smbpasswd
> /usr/bin/mksmbpasswd.sh
> /usr/bin/smbadduser
> /usr/bin/smbpasswd
> /usr/bin/smbstatus
> /usr/bin/findsmb
> /usr/bin/smbclient
> /usr/bin/smbmnt
> /usr/bin/smbmount
> /usr/bin/smbprint
> /usr/bin/smbtar
> /usr/bin/smbumount
> /usr/bin/make_smbcodepage

usually smbmount //server/share /mountpoint does the trick.
theres some options like -Uusername -Ppassword( i *think*).
but its easiest when your users on both sides are syncronized,
you shouldn't need that stuff.

i've seen references to use
mount -t smbfs //server/share /mountpoint
but the former still works for me.

--
'...' said the joker to the thief
'there's too much confusion, i cant get no relief...
so let us not talk falsely now, the hour's getting late'
(robert zimmermann)

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by George Bashir » Sat, 12 Aug 2000 04:00:00


how about trying this ... it should work
smbclient \\\\computername\\sharename

--

          George Bashiri                          Support NetGuide
          NetGuide Scandinavia AB          NetGuide Scandinavia AB


Quote:> i have no problim browsing my nix box under windows
> but when it comes to seeing win from nix i am now totaly lost

> i have gone throgh the documentation installed by rpm

> here are the smb things i have installed
> /sbin/mount.smb
> /sbin/mount.smbfs
> /usr/sbin/smbd
> /usr/bin/addtosmbpass
> /usr/bin/convert_smbpasswd
> /usr/bin/mksmbpasswd.sh
> /usr/bin/smbadduser
> /usr/bin/smbpasswd
> /usr/bin/smbstatus
> /usr/bin/findsmb
> /usr/bin/smbclient
> /usr/bin/smbmnt
> /usr/bin/smbmount
> /usr/bin/smbprint
> /usr/bin/smbtar
> /usr/bin/smbumount
> /usr/bin/make_smbcodepage

> but i seem to be missing things that were mentioned in the faq/howtos'
> like smbsh and smbrun -- has any one seen these apps?

> i am comand line only so i cant use things like linneighborhood

> i would realy like to get this sorted out and scripted befor i try to
> use the winbox as the gateway to the net for the linux lappy
> but after reading all the info and not seeing any clear cut samples
> in the doc's my head is spining

> it has referances like "net use M: \\server\user" but it dosnt tell you
> which of the many smb* programs to use
> i cant seem to get smbclient to mount any thing but i dont get any
> errors to work with

> and sambas website is going under some remodleing so i cant use there
> search features to look through the arcives for the answers that i know
> are waiting to be found

> i have been useing nix in comand line only mode for just under a year now
> and i consider my self fairly fast at config files and man pages but
> samba has me totaly lost in this area

> if you cant spell it out for me can you at least point me to some
> samba for dumbies site on the net?

> all i realy want at this time is what was refeard to as "a simple ftp-like
> client" in the smbclient man page but i cant seem to get the options set
> right to get that far

> TIA!
> --
>  ._______.                                         ._______.
>  | <> <> |  To all who say evolution is to slow to | <> <> |
>   \-|o|-/  make a race as advanced as ours I have   \-|o|-/
>    /___\  only one thing to say. Have you ever seen  /___\
>    (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by Jeff Gerar » Sat, 12 Aug 2000 04:00:00




Quote:> i have no problim browsing my nix box under windows
> but when it comes to seeing win from nix i am now totaly lost

Here's what works for me (linux connects to win98/millennium/nt/2000)
(in this example, make sure your "d:" drive in windows is shared as d$)

mount -t smbfs -o username=windowslogin,password=windowspassword
//windowscomputername/d$ /path/to/linuxmountpoint

(^^^ all in one command as i think line-wrap is gonna get me here:)

HTH...

Jeff Gerard

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by Faux_Pseu » Sun, 13 Aug 2000 04:00:00


--(Once apon a time, in comp.os.linux.networking,)--

$usually smbmount //server/share /mountpoint does the trick.
$theres some options like -Uusername -Ppassword( i *think*).
$but its easiest when your users on both sides are syncronized,
$you shouldn't need that stuff.
$

smbmount //psunet/d /mnt/d/
session request to PSUNET failed
session request to *SMBSERVER failed
SMB connection failed

any ideas on that error?

--
 ._______.                                         ._______.
 | <> <> |  To all who say evolution is to slow to | <> <> |
  \-|o|-/  make a race as advanced as ours I have   \-|o|-/
   /___\  only one thing to say. Have you ever seen  /___\
   (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by Faux_Pseu » Sun, 13 Aug 2000 04:00:00


--(Once apon a time, in comp.os.linux.networking,)--
                --(Jeff Gerard said it like only they can.)--


$> i have no problim browsing my nix box under windows
$> but when it comes to seeing win from nix i am now totaly lost
$>
$
$
$Here's what works for me (linux connects to win98/millennium/nt/2000)
$(in this example, make sure your "d:" drive in windows is shared as d$)
$
$mount -t smbfs -o username=windowslogin,password=windowspassword
$//windowscomputername/d$ /path/to/linuxmountpoint
$

mount -t smbfs -o username=root,password=xxxxxx //psunet/d /mnt/d
session request to PSUNET failed
session request to *SMBSERVER failed
SMB connection failed

any ideas on that error?

--
 ._______.                                         ._______.
 | <> <> |  To all who say evolution is to slow to | <> <> |
  \-|o|-/  make a race as advanced as ours I have   \-|o|-/
   /___\  only one thing to say. Have you ever seen  /___\
   (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by James Staffor » Mon, 14 Aug 2000 04:00:00



> --(Once apon a time, in comp.os.linux.networking,)--
>                 --(Jeff Gerard said it like only they can.)--


> $> i have no problim browsing my nix box under windows
> $> but when it comes to seeing win from nix i am now totaly lost
> $>
> $
> $
> $Here's what works for me (linux connects to win98/millennium/nt/2000)
> $(in this example, make sure your "d:" drive in windows is shared as d$)
> $
> $mount -t smbfs -o username=windowslogin,password=windowspassword
> $//windowscomputername/d$ /path/to/linuxmountpoint
> $

> mount -t smbfs -o username=root,password=xxxxxx //psunet/d /mnt/d
> session request to PSUNET failed
> session request to *SMBSERVER failed
> SMB connection failed

> any ideas on that error?

> --
>  ._______.                                         ._______.
>  | <> <> |  To all who say evolution is to slow to | <> <> |
>   \-|o|-/  make a race as advanced as ours I have   \-|o|-/
>    /___\  only one thing to say. Have you ever seen  /___\
>    (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

Any idea what the log.smb says, does it mention any errors?

jamess
--
"On the side of the software box, in the 'System Requirements' section,
it said 'Requires Windows 95 or better'. So I installed Linux."

-Anonymous

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by Faux_Pseu » Mon, 14 Aug 2000 04:00:00


--(Once apon a time, in comp.os.linux.networking,)--
                --(James Stafford said it like only they can.)--
$>
$> mount -t smbfs -o username=root,password=xxxxxx //psunet/d /mnt/d
$> session request to PSUNET failed
$> session request to *SMBSERVER failed
$> SMB connection failed
$>
$> any ideas on that error?
$>
$
$Any idea what the log.smb says, does it mention any errors?
$

no errors what so ever
i cleared out the log file restarted the eth0 conection and redid the
comand got the same standerd error and nothing in the way of errors
in ether of the log files

log.smb
[2000/08/12 17:21:28, 1] smbd/server.c:main(643)
  smbd version 2.0.6 started.
  Copyright Andrew Tridgell 1992-1998
log.nmb
[2000/08/12 17:21:29, 1] nmbd/nmbd.c:main(747)
  Netbios nameserver version 2.0.6 started.
  Copyright Andrew Tridgell 1994-1998

--
 ._______.                                         ._______.
 | <> <> |  To all who say evolution is to slow to | <> <> |
  \-|o|-/  make a race as advanced as ours I have   \-|o|-/
   /___\  only one thing to say. Have you ever seen  /___\
   (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by Faux_Pseu » Tue, 15 Aug 2000 04:00:00


--(Once apon a time, in comp.os.linux.networking,)--
                --(Jeff Gerard said it like only they can.)--


$> mount -t smbfs -o username=root,password=xxxxxx //psunet/d /mnt/d
$
$is "root" a valid user on the Windows box?  if not, that's your problem.  
$You need to use a windows login/pass combination.
$
$--
$Jeff Gerard

$
$**Remove NOSPAM to reply**

root is the user logon for windows
i wish it was that simple

--
 ._______.                                         ._______.
 | <> <> |  To all who say evolution is to slow to | <> <> |
  \-|o|-/  make a race as advanced as ours I have   \-|o|-/
   /___\  only one thing to say. Have you ever seen  /___\
   (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by rpruts.. » Sat, 14 Oct 2000 04:00:00


Don't put the password option in the smbmount command. Let windows prompt you
for the password. Also, what version of windows are you using? I know that
W2K needs samba 2.07 or above to work correctly. You might check this also.

> --(Once apon a time, in comp.os.linux.networking,)--
>                 --(Jeff Gerard said it like only they can.)--


> $> mount -t smbfs -o username=root,password=xxxxxx //psunet/d /mnt/d
> $
> $is "root" a valid user on the Windows box?  if not, that's your problem.
> $You need to use a windows login/pass combination.
> $
> $--
> $Jeff Gerard

> $
> $**Remove NOSPAM to reply**

> root is the user logon for windows
> i wish it was that simple

> --
>  ._______.                                         ._______.
>  | <> <> |  To all who say evolution is to slow to | <> <> |
>   \-|o|-/  make a race as advanced as ours I have   \-|o|-/
>    /___\  only one thing to say. Have you ever seen  /___\
>    (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by adv.. » Sun, 15 Oct 2000 04:00:00


Hey a basic question.. what server are you supposed to run on Win 98
for smbmount to be able to mount Win drive on Linux (RH 6.2)? I
couldn't find a Samba server for Windows 98. Is it free
download/shareware?

Thanks in advance,
Aditya



> Don't put the password option in the smbmount command. Let windows
prompt you
> for the password. Also, what version of windows are you using? I know
that
> W2K needs samba 2.07 or above to work correctly. You might check this
also.


> > --(Once apon a time, in comp.os.linux.networking,)--
> >                 --(Jeff Gerard said it like only they can.)--


> > $> mount -t smbfs -o username=root,password=xxxxxx //psunet/d /mnt/d
> > $
> > $is "root" a valid user on the Windows box?  if not, that's your
problem.
> > $You need to use a windows login/pass combination.
> > $
> > $--
> > $Jeff Gerard

> > $
> > $**Remove NOSPAM to reply**

> > root is the user logon for windows
> > i wish it was that simple

> > --
> >  ._______.                                         ._______.
> >  | <> <> |  To all who say evolution is to slow to | <> <> |
> >   \-|o|-/  make a race as advanced as ours I have   \-|o|-/
> >    /___\  only one thing to say. Have you ever seen  /___\
> >    (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by M. Buchenried » Sun, 15 Oct 2000 04:00:00



>Hey a basic question.. what server are you supposed to run on Win 98
>for smbmount to be able to mount Win drive on Linux (RH 6.2)?

Nothing. You'll need to have filesharing enabled, though.
smbmount mounts the remote Win98 share from the Linux box.

Quote:>I
>couldn't find a Samba server for Windows 98. Is it free
>download/shareware?

Running Samba is of no use for Win* systems, as its goal is to serve
NetBIOS ressources to MS-Win* systems from Non-MS systems.

Michael
--

          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by Black Drag » Sun, 15 Oct 2000 04:00:00


On Sat, 14 Oct 2000 07:49:13 GMT in comp.os.linux.networking,

Quote:>Hey a basic question.. what server are you supposed to run on Win 98
>for smbmount to be able to mount Win drive on Linux (RH 6.2)? I
>couldn't find a Samba server for Windows 98. Is it free
>download/shareware?

>Thanks in advance,
>Aditya

All you need to do is enable file & print sharing in windoze and define
the shares. No additional software is needed.

--
Black Dragon

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by adv.. » Sun, 15 Oct 2000 04:00:00


Quote:

> Nothing. You'll need to have filesharing enabled, though.
> smbmount mounts the remote Win98 share from the Linux box.

Now I'm getting "protocol negotiation failed" when I do smbclient -L
hostname or try to mount the share. I was able to send a popup message
to win m/c using smbclient -M hostname though.

What could be missing here? (I wasn't able to assign any user to the
share as when I tried to add a user, it said "Can't see the user list
at this moment, please try again").

Thanks,
Aditya

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

samba win --> linux=ok linux-->win=not_ok

Post by adv.. » Sun, 15 Oct 2000 04:00:00


Quote:> All you need to do is enable file & print sharing in windoze and
define
> the shares. No additional software is needed.

Thanks. I did that, was able to share a directory, but couldn't give
the permissions to any user. When I tried to add a user to the share,
it said "Can't see the user list at this time, please try again later".

Anyway, from my Linux box, I was able to send a winpopup message to my
Win 98 m/c using smbclient -M hostname. However,
smbclient -L hostname gives me "Protocol negotiation failed".
mount does the same thing. What's missing?

Thanks,
Aditya

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. FTP problem: linux>>win/SGI slow win/SGI>>linux fast

The machine is on a Novell 4.2 network and uses an Intel
Ether Express 16 card. It is possible to be on another
machine and transfer a file FROM the linux box at a rate of
about 600kB/s.
However, transferring to the linux machine gives rates of
about 18kB/s.  Similarly if one is
on the Linux box using ftp, transfer both from and
to another machine and
from another machine is slow - around 18Kb / sec.

It is a dual boot system - when tranferring/receiving files
using windoze ftp (QVFTP or WS_FTP) the transfer rates in
both direction are 600kB/s.

At installation time, linux was set up to use the
'eexpress' driver and the bootp protocol.

There are no packet overflows, packets lost or errors generally.

Visualising the transfer using the 'hash' function of ftp
shows that transfer progresses at the expected speed for
10-30kB, then stalls or slows down to a snail pace, then
starts again, slow, stall, slow, etc...

I have tried
- explicitly stating the IRQ=10, I/O base address 0x300
- turning on/off IPX
- making the MTU smaller
- manually configuring (i.e no bootp) the ip address etc.
- playing with the routing window as suggested in the
HOWTO-Ethernet file.

The only effect I have been able to achieve is a reduction
in performance to 13kB/s.

Checking usenet a number of people seem to have had a
similar problem but no relevant solutions suggested.  One
person claimed they started having this problem when
they upgraded their motherboard.

I have no idea what to do next... help...

2. newbie pb with install

3. FTP problem: Linux->Win/SGI slow Win/SGI->Linux fast

4. ENV and (k)sh -c \#

5. Win 9x -> pptp over internet -> Linux NAT and redirect -> NTserver

6. Can't Resolve Local Names!?

7. Win 95 ----->>> Linux PPP Questions

8. tapechk ported to Sunos

9. Samba problem: WinXP <-> ADSL <-> Internet <-> Cable <-> Linux

10. rpc.mountd: getfh failed: Operation not permitted ( WinNT -> samba -> Linux -> NFS -> Solaris)

11. Q: Print problem: Win95 -> Linux/Samba -> Linux/Netatalk -> LaserWriter

12. Win95 <-> Linux ok | Linux <-> Internet ok | Win95 <-> Linux <-> Internet NOT ok!

13. A <= ping => B => OK A <= TCP => B => FAILS