[Samba] nmblookup -B localhost __SAMBA__ failing on samba-2.2.3a

Joseph Loo jloo at acm.org
Wed Mar 27 08:09:05 GMT 2002


Have you added the entries in the inet and services entries?

GHCebulka at uss.com wrote:

>Server:   Samba-2.2.3a
>OS:  Solaris 2.7
>
>nmbd is failing to start from swat. After looking through the source code I
>found that swat uses  "nmblookup -B 127.0.0.1 __SAMBA__" command to
>determing whether nmbd is running or not.
>#nmblookup -B localhost __SAMBA__
>querying __SAMBA__ on 127.0.0.1
>name_query failed to find name __SAMBA__
>
>However, nmbd is running and I can see/use shares on my MS machines. When I
>run nmblookup -B azure __SAMBA__, it works fine.
>#nmblookup -B azure __SAMBA__
>querying __SAMBA__ on 170.191.20.27
>170.191.20.27 __SAMBA__<00>
>
>What am I doing wrong here????
>I've included the output from ifconfig -a and my smb.conf file.
>Any help would be great,
>     Thanks in advance,
>     George Cebulka
>
>ifconfig -a
>lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232        inet
>127.0.0.1 netmask ff000000
>hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
>inet 170.191.20.27 netmask ffffff80 broadcast 170.191.20.127        ether
>8:0:20:a3:68:6d
>hme0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500        inet
>170.191.20.33 netmask ffffff80 broadcast 170.191.20.127
>qfe3: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
>inet 170.191.21.11 netmask ffffff80 broadcast 170.191.21.127        ether
>8:0:20:c8:8b:18 root at azure /usr/local/samba/bin
>
># Samba config file created using SWAT
># from pltsups-d548127 (170.191.24.84)
># Date: 2002/03/26 16:09:40
>
># Global parameters
>[global]
>           workgroup = HDQ
>           netbios aliases = azure.psc.uss.com
>           security = DOMAIN
>           encrypt passwords = Yes
>           min passwd length = 6
>           password server = *
>           username map = /usr/local/samba/lib/username.map
>           log level = 5
>           max log size = 1000
>           name resolve order = wins bcast host
>           os level = 0
>           preferred master = False
>           domain master = False
>           wins server = 170.191.250.78
>           admin users = @samba
>           create mask = 0775
>           directory mask = 0775
>           hosts allow = 170.191.,10.16.,localhost
>
>[clearcase]
>           comment = ClearCase test install
>           path = /products/ccase/cc_storage
>           valid users = cc_albd, at cc_ecd, at cc_ecq, at cc_azd, at cc_azq, at clearcas
>           read only = No
>
>[samba]
>           path = /usr/local/samba
>           valid users = @samba
>           read only = No
>
>
>

-- 
Joseph Loo
jloo at acm.org






More information about the samba mailing list