From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 07:45:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78DD116A4CE for ; Fri, 26 Nov 2004 07:45:41 +0000 (GMT) Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA79D43D58 for ; Fri, 26 Nov 2004 07:45:38 +0000 (GMT) (envelope-from v.demartino2@virgilio.it) Received: from [192.168.10.8] (62.211.198.46) by vsmtp1.tin.it (7.0.027) id 41A37E5C0011D10B for freebsd-questions@freebsd.org; Fri, 26 Nov 2004 08:45:38 +0100 From: Vittorio Date: Fri, 26 Nov 2004 08:45:35 +0000 User-Agent: KMail/1.7.1 To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200411260845.35193.v.demartino2@virgilio.it> Subject: Problems with samba under FreeBSD, not under Linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 07:45:41 -0000 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