Re: samba authentication problems

From: John DeStefano (deesto_at_yahoo.com)
Date: 08/11/03

  • Next message: Martin Váòa: "How to Merge partitions - Details"
    Date: Mon, 11 Aug 2003 08:42:58 -0700 (PDT)
    To: T Kellers <kellers@njit.edu>, Lewis Thompson <purple@lewiz.info>
    
    

    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 <kellers@njit.edu> 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 <purple@lewiz.info> 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
    _______________________________________________
    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"


  • Next message: Martin Váòa: "How to Merge partitions - Details"

    Relevant Pages

    • Re: Cannot join to domain over VPN
      ... What type of VPN is connecting the offices? ... A word about MTU size: ... Microsoft MVP - Directory Services ... Instead of the website you're using, try using OEx (Outlook Express ...
      (microsoft.public.windows.server.active_directory)
    • Re: hang with mysql in execute
      ... I've seen this problem before but connecting to an Oracle DB. ... documention that says that alarm is not guartenteed to respond "on time" on ... >> it still causes a hang. ... >> Do you Yahoo!? ...
      (perl.dbi.users)
    • Re: Cannot open all websites.
      ... I am using a Bluetooth dongle in my Laptop to access internet by connecting ... Therefore I tried to lower down my MTU size to 1452, ...
      (microsoft.public.windowsxp.network_web)
    • Re: looking for detailed IP traceroute
      ... > My reason for getting concerned about who is connecting to my computer is ... > allow Yahoo websites to show whether I am online or offline. ... >> Close all active Windows, run Netstat, and you'll get nothing (maybe, ... Another addy may just be tracking how well MS's ...
      (microsoft.public.windowsxp.security_admin)
    • [Solved] Re: IE in XP cannot connect to Windows Updates page
      ... The problem below was solved by changing the MTU of the client from 1500 ... I was connecting it through a router which was connected to an ... > I am helping install a new Dell Inspiron 5160 that came with Windows XP ... > asked me to partition his hard disk and install Pro. ...
      (microsoft.public.windowsxp.help_and_support)