[Samba] wbinfo fails with disable netbios = yes

Adrian Chung adrian at enfusion-group.com
Wed Sep 3 13:48:32 GMT 2003


I'm hoping someone can shed some light on this one.  Ever since beta3
I've been unable to get wbinfo to work properly.  I finally worked
around it today, and it seems that with the disable netbios = yes
parameter in my smb.conf file, I get no results.  Commenting out that
parameter seems to work fine.  It looks like the DNS queries for DCs
is unsuccessful without NetBIOS enabled.

I'm running samba-3.0.0rc2-rh8_2 from samba.org.

Here's my smb.conf file:

# Global parameters
[global]
        workgroup = GENOSHA
        realm = GENOSHA.ENFUSION-GROUP.COM
        server string = Enfusion Group fileserver
        interfaces = 192.168.100.10/24
        security = ADS
        password server = beast.genosha.enfusion-group.com nightcrawler.genosha.enfusion-group.com
        client lanman auth = No
        client plaintext auth = No
        log level = 1
        log file = /var/log/samba/log.%m
        name resolve order = host wins bcast
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        local master = No
        domain master = No
        dns proxy = No
        wins server = 192.168.100.6, 192.168.100.7
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind separator = -
        invalid users = root
        hosts allow = 192.168.101., 192.168.100., 127.
        hide unreadable = Yes
        veto files = /lost+found/

with 'disable netbios = yes':

[2003/09/03 09:41:12, 3]
nsswitch/winbindd_misc.c:winbindd_interface_version(219)
  [31890]: request interface version
[2003/09/03 09:41:12, 3]
nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(255)
  [31890]: request location of privileged pipe
[2003/09/03 09:41:12, 3]
nsswitch/winbindd_misc.c:winbindd_show_sequence(153)
  [31890]: show sequence
[2003/09/03 09:41:12, 3] nsswitch/winbindd_ads.c:sequence_number(776)
  ads: fetch sequence_number for GENOSHA
[2003/09/03 09:41:12, 5] libsmb/namecache.c:namecache_fetch(195)
  no entry for #1C found.
[2003/09/03 09:41:12, 5] libsmb/namequery.c:resolve_hosts(899)
  resolve_hosts: Attempting to resolve DC's for  using DNS
                                             ^^^^^^ (no %s, "name"?)
[2003/09/03 09:41:12, 5] libsmb/namequery.c:resolve_wins(741)
  resolve_wins(#1c): netbios is disabled
[2003/09/03 09:41:12, 5] libsmb/namequery.c:name_resolve_bcast(679)
  name_resolve_bcast(#1c): netbios is disabled
[2003/09/03 09:41:12, 1]
nsswitch/winbindd_ads.c:ads_cached_connection(70)
  ads_connect for domain GENOSHA failed: No such file or directory
[2003/09/03 09:41:12, 5] nsswitch/winbindd.c:winbind_client_read(462)
  read failed on sock 17, pid 31890: EOF
[2003/09/03 09:41:12, 5] nsswitch/winbindd.c:winbind_client_read(462)
  read failed on sock 18, pid 31890: EOF

[root at rogue libsmb]# wbinfo --sequence
GENOSHA : DISCONNECTED
[root at rogue libsmb]# wbinfo -u
Error looking up domain users
[root at rogue libsmb]# wbinfo -g
Error looking up domain groups

with disable netbios = no:

[root at rogue libsmb]# /etc/init.d/winbind restart
Shutting down Winbind services:                            [  OK  ]
Starting Winbind services:                                 [  OK  ]
[root at rogue libsmb]# wbinfo --sequence
GENOSHA : 113107
[root at rogue libsmb]# wbinfo -u
GENOSHA-Administrator
GENOSHA-Guest
GENOSHA-TsInternetUser
GENOSHA-IUSR_BEAST
GENOSHA-IWAM_BEAST
GENOSHA-krbtgt
GENOSHA-__vmware_user__
GENOSHA-adrian
GENOSHA-kelly
GENOSHA-neil
GENOSHA-IUSR_W2K3-01-DC
GENOSHA-IWAM_W2K3-01-DC
GENOSHA-F925147A-88DD-4998-8
GENOSHA-anthony
GENOSHA-gamroot
[root at rogue libsmb]# wbinfo -g
GENOSHA-DHCP Users
GENOSHA-DHCP Administrators
GENOSHA-Domain Computers
GENOSHA-Domain Controllers
GENOSHA-Schema Admins
GENOSHA-Enterprise Admins
GENOSHA-Cert Publishers
GENOSHA-Domain Admins
GENOSHA-Domain Users
GENOSHA-Domain Guests
GENOSHA-Group Policy Creator Owners
GENOSHA-RAS and IAS Servers
GENOSHA-DnsAdmins
GENOSHA-DnsUpdateProxy
GENOSHA-__vmware__
GENOSHA-Exchange Domain Servers
GENOSHA-Exchange Enterprise Servers
GENOSHA-_Web Anonymous Users
GENOSHA-_Web Applications
GENOSHA-IIS_WPG

Any ideas?

--
Adrian Chung (adrian at enfusion-group dot com)
http://www.enfusion-group.com/~adrian/
GPG Fingerprint: C620 C8EA 86BA 79CC 384C E7BE A10C 353B 919D 1A17
[rogue.genosha.enfusion-group.com] 9:45am up 10 days, 7:56, 5 users




More information about the samba mailing list