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@rogue libsmb]# wbinfo --sequence GENOSHA : DISCONNECTED [root@rogue libsmb]# wbinfo -u Error looking up domain users [root@rogue libsmb]# wbinfo -g Error looking up domain groups with disable netbios = no: [root@rogue libsmb]# /etc/init.d/winbind restart Shutting down Winbind services: [ OK ] Starting Winbind services: [ OK ] [root@rogue libsmb]# wbinfo --sequence GENOSHA : 113107 [root@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@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
Gerald (Jerry) Carter
2003-Sep-05 17:57 UTC
[Samba] wbinfo fails with disable netbios = yes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 3 Sep 2003, Adrian Chung wrote:> 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 think i've got this straightened out now in the current cvs. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE/WM6EIR7qMdg1EfYRApN1AJ4wkk6gQNx/wt9ZN0cjhd1S892yzACgp9lC xojC2P8EcstBq2exf0UfYwU=xUPf -----END PGP SIGNATURE-----