samba authentication problems

John DeStefano deesto at
Mon Aug 11 08:42:59 PDT 2003

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= bcast= nmask=
can't determine netmask for
session setup failed: NT_STATUS_LOGON_FAILURE
As you can see, something is wacky with the IP interface.
is the IP of my router/gateway (Linksys router)  The FBSD box (gandalf)
is  When I try to connect to the IP itself instead of
the hostname, it times out:
[gandalf] ~# smbclient -L -U linuxbox
added interface ip= bcast= nmask=
can't determine netmask for
  <... delay ...>
timeout connecting to
Error connecting to (Operation already in progress)
Connection to 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
[gandalf] ~# ifconfig -a
        inet6 fe80::800:aff:fe00:a00%dc0 prefixlen 64 scopeid 0x1
        inet netmask 0xffffff00 broadcast
        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 netmask 0xff000000
Any ideas???
Thanks very much,

--- T Kellers <kellers at> 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
> On Thursday 07 August 2003 02:11 pm, John DeStefano wrote:
> >>Lewis Thompson <purple at> 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
> >
> >_______________________________________________
> >freebsd-questions at mailing list
> >
> >To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

More information about the freebsd-questions mailing list