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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
        status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
> >_______________________________________________
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to