From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 08:42:59 2003 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 D9FA537B401 for ; Mon, 11 Aug 2003 08:42:58 -0700 (PDT) Received: from web40604.mail.yahoo.com (web40604.mail.yahoo.com [66.218.78.141]) by mx1.FreeBSD.org (Postfix) with SMTP id 57CD743FCB for ; Mon, 11 Aug 2003 08:42:58 -0700 (PDT) (envelope-from deesto@yahoo.com) Message-ID: <20030811154258.9066.qmail@web40604.mail.yahoo.com> Received: from [143.48.14.233] by web40604.mail.yahoo.com via HTTP; Mon, 11 Aug 2003 08:42:58 PDT Date: Mon, 11 Aug 2003 08:42:58 -0700 (PDT) From: John DeStefano To: T Kellers , Lewis Thompson In-Reply-To: <200308071552.48963.kellers@njit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: samba authentication problems 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: Mon, 11 Aug 2003 15:42:59 -0000 Hi Tim and lewiz~ Thanks for these ideas. They definitely helped, and have alleviated some of the problem. I can now do 'smbpasswd' without an error. But I'm still getting a non-LDAP auth. error; see below: ===== [gandalf] ~# smbpasswd -a linuxbox New SMB password: Retype new SMB password: Password changed for user linuxbox. [gandalf] ~# smbclient -L gandalf -U linuxbox added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 can't determine netmask for 192.168.1.1 Password: session setup failed: NT_STATUS_LOGON_FAILURE ===== As you can see, something is wacky with the IP interface. 192.168.1.1 is the IP of my router/gateway (Linksys router) The FBSD box (gandalf) is 192.168.1.102. When I try to connect to the IP itself instead of the hostname, it times out: ===== [gandalf] ~# smbclient -L 192.18.1.102 -U linuxbox added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 can't determine netmask for 192.168.1.1 <... delay ...> timeout connecting to 192.18.1.102:139 Error connecting to 192.18.1.102 (Operation already in progress) Connection to 192.18.1.102 failed ===== Yet the box is (I think) properly connected to the Internet; in fact, I'm performing these commands from work via ssh. Here's what ifconfig says: ===== [gandalf] ~# ifconfig -a dc0: flags=8843 mtu 1500 inet6 fe80::800:aff:fe00:a00%dc0 prefixlen 64 scopeid 0x1 inet 192.168.1.102 netmask 0xffffff00 broadcast 192.168.1.255 ether 0a:00:0a:00:0a:00 media: Ethernet autoselect (100baseTX ) status: active lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 ===== Any ideas??? Thanks very much, ~John --- T Kellers wrote: > Did you do a make clean before the make re-install? > If not, it's reading the original config. > > try: > > # make deinstall && make clean && make build install > > Just a thought, just in case > > Tim Kellers > CPE/NJIT > > > On Thursday 07 August 2003 02:11 pm, John DeStefano wrote: > >>Lewis Thompson wrote:On Thu, Aug 07, 2003 at > >> > >>06:49:49AM -0700, John DeStefano wrote: > >>> AFAIK, I have not enabled ldap authentication. But how do I > >>> confirm? > >> > >>Well. If it's 2.2.8a then it's defined at compile time (i.e., you > >>specify you want it, or it autodetects if openldap is installed). > > > >Otoh, > > > >>if it's samba-devel (3.0.0b2) then you can modify the behaviour > with > >>the passdb backend smb.conf setting. > > > >I'm using 2.2.8a. I've now done a 'make install' after 'make > >deinstall' twice, with the same results both times, so I can only > >assume the installation is autodetecting openldap, as you suspected > >above. > > > >>Chances are it's 2.2.8a and you'll need to recompile, unless you > >>/want/ to use LDAP. > > > >Searched the handbook and FAQ, but nothing helpful there on ldap, > let > >alone ldap and samba. Google produced a slew of unanswered mail > >archive questions. I don't care one way or the other whether to use > >ldap or not; I just want samba to work! Any recommendations? > > > >>Best wishes, > >>-lewiz. > > > >Thanks, > >~John > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site design software > >http://sitebuilder.yahoo.com > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com