Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2004 08:45:35 +0000
From:      Vittorio <v.demartino2@virgilio.it>
To:        freebsd-questions@freebsd.org
Subject:   Problems with samba under FreeBSD, not under Linux
Message-ID:  <200411260845.35193.v.demartino2@virgilio.it>

next in thread | raw e-mail | index | archive | help

Dear All,

(Context: Office windows LAN; PC Pentium 3 with 128 MB, FreeBSD 5.3.)


Here you are the unanswered message I had sent to the FreeBSD mailing=20
list:

\BEGIN{MESSAGE}
=2D----------------------------------------------------------------------
=2D-------------- After installing and launching samba 3.0.7 daemons
 under my postgresql FBSD5.3
stable server at office, I'm having trouble in connecting to whatever
windows
share in the M$ LAN.

Here you are what's going on:
1) I can ping to my windows server srvs1.myco;

2) If I issue
=A0 =A0 smbclient -L srvs1.myco -U myuserid
=A0 =A0 pasword:****
Domain=3D[BOH_SS] OS=3D[Windows 5.0] Server=3D[Windows 2000 LAN Manager]

 Sharename       Type      Comment
 ---------       ----      -------
 Data            Disk
 ADMIN$          Disk      Remote Admin
 H$              Disk      Default share
=2E....
Domain=3D[BOH_SS] OS=3D[Windows 5.0] Server=3D[Windows 2000 LAN Manager]

 Server               Comment
 ---------            -------

 Workgroup            Master My very short smb.conf



 ---------            -------




 3) If I issue
=A0 =A0 smbclient =A0//srvs1.myco/Data -U myuserid
=A0 =A0 pasword:****
Domain=3D[BOH_SS] OS=3D[Windows 5.0] Server=3D[Windows 2000 LAN Manager]
smb: \> dir
  .                                  DA        0  Tue Nov 23 09:13:08
2004
  ..                                 DA        0  Tue Nov 23 09:13:08
2004
  Scambio                            DA        0  Tue Nov 23 09:13:09
2004
  Utenti                             My very short smb.conf


DA        0  Tue Nov 23 09:13:09
2004



 BUT if I issue
=A0
mount_smbfs -I srvs1.myco //myuserid@srvs1.myco/Data /mnt/smb
password:*****
mount_smbfs: unable to open connection: syserr =3D Connection reset by
peer

This error pops up.

Could you please help me, a poor samba newbie, =A0straight things up?

Thanks in advance

Vittorio
=2D----------------------------------------------------------------------
=2D----------------- \END{MESSAGE}

Now, I can add that I had a go with Samba 3.08 under a linux gentoo
slice on the same box, replicating all the commands I had given under
=46reBSD (with the exception of smbmount under gentoo & mount_smbfs under
freebsd, somewhat different synthax, too) and - under linux - it works
perfectly well.


My very short smb.conf (both under linux and FreeBSD)


[global]

   workgroup =3D BOH_SS
   server string =3D Samba
   load printers =3D no
   log file =3D /var/log/samba3/log.%m
   max log size =3D 50
   security =3D user
  encrypt passwords =3D yes

  smb passwd file =3D /etc/samba/private/smbpasswd
   domain master =3D no
#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D Share Definitions
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
[homes]
   comment =3D Home Directories
   browseable =3D no
   writable =3D yes


=46rom the win 2000 box I can see my freebsd box fqdn but can't connect=20
any share. Win 2000 keeps <compalining "You have no authorization to=20
connect to the share, ask the Administrator" (sorry, translating from=20
Italian)

PLEASE HELP!!!!

Ciao
Vittorio
=2D-
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

=2D------------------------------------------------------

=2D------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411260845.35193.v.demartino2>