Bug 135 - nmblookup / nmbd Issue
nmblookup / nmbd Issue
Status: RESOLVED WONTFIX
Product: Samba 3.0
Classification: Unclassified
Component: nmbd
3.0.0preX
Other other
: P2 normal
: none
Assigned To: Gerald (Jerry) Carter
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-05-27 22:03 UTC by John H Terpstra
Modified: 2005-02-07 07:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John H Terpstra 2003-05-27 22:03:55 UTC
findsmb returns:
IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.1.1             FRODO         *[ä´ääåH] [æ¸æ¤ç ] [åææ´ææâãâ¸ãææçæã]
192.168.1.250           MELBELLE       [        MIDEARTH      ]
192.168.1.251           MONARO         [        MIDEARTH      ]

Note: Corrupted WORKGROUP/OS/VERSION info.

nmblookup -M __SAMBA__ returns:

frodo:~ # nmblookup -M __SAMBA__
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Socket opened.
querying __SAMBA__ on 192.168.1.255
querying __SAMBA__ on 127.255.255.255
name_query failed to find name __SAMBA__#1d

Note: nmblookup -M __MSBROWSE__ also fails.

sbm.conf:
---------
[global]
        display charset = UTF8
        workgroup = MIDEARTH
        netbios aliases = GOBLIN
        server string = Samba3
        interfaces = eth0, lo
        bind interfaces only = Yes
        passdb backend = tdbsam, guest
        pam password change = Yes
        passwd chat = *New*Password* %n\n *Re-enter*new*password* %n\n
*Password*changed*
        username map = /etc/samba/smbusers
        password level = 8
        username level = 8
        unix password sync = Yes
        client NTLMv2 auth = Yes
        log level = 3
        syslog = 0
        log file = /var/log/samba/%m
        smb ports = 139 445
        name resolve order = wins bcast hosts
        time server = Yes
        socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192
        printcap name = CUPS
        disable spoolss = Yes
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupadd %g
        add user to group script = /usr/sbin/usermod -G %g %u
        add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
        shutdown script = /var/lib/samba/scripts/shutdown.sh
        abort shutdown script = /sbin/shutdown -c
        logon script = scripts\logon.bat
        logon path = \\%L\Profiles\%U
        logon drive = H:
        logon home = \\%L\%U\Win9Profile
        domain logons = Yes
        os level = 35
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        utmp = Yes
        panic action = export DISPLAY=localhost:0; /usr/bin/X11/xterm -e gdb
/proc/%d/exe %d || /bin/sleep
        idmap uid = 15000-20000
        idmap gid = 15000-20000
        comment = Samba 3.0.0
        hosts allow = 127., 192.168.1.
        use sendfile = Yes
        printing = cups
        veto files = /*.eml/*.nws/riched20.dll/*.{*}/
        veto oplock files = /*.doc/*.xls/*.mdb/

wins.dat:
---------
VERSION 1 0
"ADMINISTRATOR#03" 1054360017 192.168.1.248 64R
"AJT#03" 1054392815 192.168.1.251  4R
"FRODO#00" 1054356747 192.168.1.1 66R
"FRODO#03" 1054356747 192.168.1.1 66R
"FRODO#20" 1054356747 192.168.1.1 66R
"GOBLIN#00" 1054356747 192.168.1.1 64R
"GOBLIN#03" 1054356747 192.168.1.1 64R
"GOBLIN#20" 1054356747 192.168.1.1 64R
"JHT#03" 1054252189 192.168.1.252  4R
"MAGGOT#00" 1054252669 192.168.1.252  4R
"MAGGOT#03" 1054252669 192.168.1.252  4R
"MAGGOT#20" 1054252669 192.168.1.252  4R
"MELBELLE#00" 1054392591 192.168.1.250  4R
"MELBELLE#03" 1054392591 192.168.1.250  4R
"MELBELLE#20" 1054392589 192.168.1.250  4R
"MET#03" 1054392699 192.168.1.250  4R
"MIDEARTH#00" 1054356747 255.255.255.255 e4R
"MIDEARTH#1b" 1054356747 192.168.1.1 64R
"MIDEARTH#1c" 1054356747 192.168.1.1 e4R
"MIDEARTH#1e" 1054356747 255.255.255.255 e4R
"MONARO#00" 1054392795 192.168.1.251  4R
"MONARO#03" 1054392793 192.168.1.251  4R
"MONARO#20" 1054392797 192.168.1.251  4R
"ROOT#03" 1054252668 192.168.1.252  4R
Comment 1 Gerald (Jerry) Carter 2003-06-23 10:09:04 UTC
Pleas rest using the latest SAMBA_3_0 cvs code.  This looks 
ok right now.  There were some native lanman string issues
that got corrected post beta1.

$ findsmb

IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.1.40            SCOOBY        +[VALE] [Unix] [Samba 3.0beta1]
192.168.1.74            QUESO          [VALE] [Unix] [Samba 3.0.0beta2]
192.168.1.100           QUESO-2KDC    *[Y2K] [Windows 5.0] [Windows 2000 LAN
Manager]
192.168.1.101           CRYSTAL       *[GLASS] [Windows NT 4.0] [NT LAN Manager 4.0]
192.168.1.103           WINDC         *[FROST] [Windows 5.0] [Windows 2000 LAN
Manager]
192.168.1.127           TOAST          [Y2K] [Unix] [Samba 2.2.6-pre1]
192.168.1.128           BURNT          [Y2K] [Unix] [Samba psa2.4.335]
192.168.1.129           JELLY          [Y2K] [Unix] [Samba 2.2.0-alpha1]
192.168.1.145           XERA           [VALE] [Windows 5.0] [Windows 2000 LAN
Manager]
192.168.1.154           XPTEST         [Y2K] [Windows 5.1] [Windows 2000 LAN
Manager]
192.168.1.176           SHAGGY-2KTEST1 [FROST] [Windows 5.0] [Windows 2000 LAN
Manager]
Comment 2 Gerald (Jerry) Carter 2003-08-12 20:47:59 UTC
no feedback.  Cannot reproduce.
Comment 3 Gerald (Jerry) Carter 2005-02-07 07:57:32 UTC
originally reported against 3.0aph24.  Bugzilla spring cleaning.  
Removing old alpha versions.