Axel Suppantschitsch
2003-Aug-19 20:10 UTC
[Samba] Samba 3.0.0 RC1: Unable to find a suitable server
Hiya, I compiled the RPMs of Samba 3.0.0 RC1 according to "../samba-3.0.0rc1/packaging/RedHat/samba.spec" and installed the binaries from the freshly compiled rpm on my up2date Redhat 9.0 Server. The command "net join -U Administrator%****** -d10" creates following error: ***** SNIP ***** [root@samba30srv RedHat]# net join -U Administrator%******** -d10 [2003/08/19 14:39:55, 5] lib/debug.c:debug_dump_status(359) INFO: Current debug levels: all: True/10 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 [2003/08/19 14:39:55, 3] param/loadparm.c:lp_load(3907) lp_load: refreshing parameters [2003/08/19 14:39:55, 3] param/loadparm.c:init_globals(1301) Initialising global parameters [2003/08/19 14:39:55, 3] param/params.c:pm_process(566) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2003/08/19 14:39:55, 3] param/loadparm.c:do_section(3410) Processing section "[global]" doing parameter realm = SAMBA30.TEST doing parameter server string = Samba Server doing parameter security = ADS doing parameter client lanman auth = No doing parameter client plaintext auth = No doing parameter log file = /var/log/samba/log.%m doing parameter max log size = 50 doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 doing parameter dns proxy = No [2003/08/19 14:39:55, 4] param/loadparm.c:lp_load(3939) pm_process() returned Yes [2003/08/19 14:39:55, 7] param/loadparm.c:lp_servicenumber(4049) lp_servicenumber: couldn't find homes [2003/08/19 14:39:55, 10] param/loadparm.c:set_server_role(3857) set_server_role: role = ROLE_DOMAIN_MEMBER [2003/08/19 14:39:55, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:55, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:56, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:56, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:56, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:56, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:56, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:56, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:56, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:56, 5] lib/charcnv.c:charset_name(74) Substituting charset 'UTF-8' for LOCALE [2003/08/19 14:39:56, 5] lib/util.c:init_names(270) Netbios name list:- my_netbios_names[0]="SAMBA30SRV" [2003/08/19 14:39:56, 2] lib/interface.c:add_interface(79) added interface ip=192.168.0.201 bcast=192.168.0.255 nmask=255.255.255.0 [2003/08/19 14:39:56, 6] libads/ldap.c:ads_find_dc(147) ads_find_dc: looking for domain 'WORKGROUP' [2003/08/19 14:39:56, 8] libsmb/namequery.c:get_sorted_dc_list(1215) get_sorted_dc_list: attempting lookup using [lmhosts wins host bcast] [2003/08/19 14:39:56, 10] libsmb/namequery.c:internal_resolve_name(989) internal_resolve_name: looking up WORKGROUP#1c [2003/08/19 14:39:56, 5] lib/gencache.c:gencache_init(59) Opening cache file at /var/cache/samba/gencache.tdb [2003/08/19 14:39:56, 10] lib/gencache.c:gencache_get(285) Cache entry with key = NBT/WORKGROUP#1C couldn't be found [2003/08/19 14:39:56, 5] libsmb/namecache.c:namecache_fetch(195) no entry for WORKGROUP#1C found. [2003/08/19 14:39:56, 10] lib/gencache.c:gencache_del(213) Deleting cache entry (key = NBT/WORKGROUP#1C) [2003/08/19 14:39:56, 3] libsmb/namequery.c:resolve_lmhosts(850) resolve_lmhosts: Attempting lmhosts lookup for name WORKGROUP<0x1c> [2003/08/19 14:39:56, 4] libsmb/namequery.c:getlmhostsent(598) getlmhostsent: lmhost entry: 127.0.0.1 localhost [2003/08/19 14:39:56, 3] libsmb/namequery.c:resolve_wins(748) resolve_wins: Attempting wins lookup for name WORKGROUP<0x1c> [2003/08/19 14:39:56, 3] libsmb/namequery.c:resolve_wins(751) resolve_wins: WINS server resolution selected and no WINS servers listed. [2003/08/19 14:39:56, 5] libsmb/namequery.c:resolve_hosts(899) resolve_hosts: Attempting to resolve DC's for WORKGROUP using DNS [2003/08/19 14:39:56, 3] libsmb/namequery.c:name_resolve_bcast(690) name_resolve_bcast: Attempting broadcast lookup for name WORKGROUP<0x1c> [2003/08/19 14:39:56, 10] lib/util_sock.c:open_socket_in(655) bind succeeded on port 0 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option SO_KEEPALIVE = 0 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option SO_REUSEADDR = 1 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option SO_BROADCAST = 1 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(103) Could not test socket option TCP_NODELAY. [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option IPTOS_LOWDELAY = 0 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option IPTOS_THROUGHPUT = 0 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDBUF = 65535 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVBUF = 65535 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDLOWAT = 1 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVLOWAT = 1 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDTIMEO = 0 [2003/08/19 14:39:56, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVTIMEO = 0 [2003/08/19 14:39:56, 5] libsmb/nmblib.c:send_udp(741) Sending a packet of len 50 to (192.168.0.255) on port 137 [2003/08/19 14:39:56, 5] libsmb/nmblib.c:send_udp(741) Sending a packet of len 50 to (192.168.0.255) on port 137 [2003/08/19 14:39:56, 5] libsmb/nmblib.c:send_udp(741) Sending a packet of len 50 to (192.168.0.255) on port 137 [2003/08/19 14:39:57, 8] libsmb/namequery.c:get_dc_list(1274) Adding 0 DC's from auto lookup [2003/08/19 14:39:57, 4] libsmb/namequery.c:get_dc_list(1289) get_dc_list: no servers found [2003/08/19 14:39:57, 1] utils/net_ads.c:ads_startup(176) ads_connect: No such file or directory [2003/08/19 14:39:57, 10] libsmb/namequery.c:internal_resolve_name(989) internal_resolve_name: looking up WORKGROUP#1b [2003/08/19 14:39:57, 10] lib/gencache.c:gencache_get(285) Cache entry with key = NBT/WORKGROUP#1B couldn't be found [2003/08/19 14:39:57, 5] libsmb/namecache.c:namecache_fetch(195) no entry for WORKGROUP#1B found. [2003/08/19 14:39:57, 10] lib/gencache.c:gencache_del(213) Deleting cache entry (key = NBT/WORKGROUP#1B) [2003/08/19 14:39:57, 3] libsmb/namequery.c:resolve_lmhosts(850) resolve_lmhosts: Attempting lmhosts lookup for name WORKGROUP<0x1b> [2003/08/19 14:39:57, 4] libsmb/namequery.c:getlmhostsent(598) getlmhostsent: lmhost entry: 127.0.0.1 localhost [2003/08/19 14:39:57, 3] libsmb/namequery.c:resolve_wins(748) resolve_wins: Attempting wins lookup for name WORKGROUP<0x1b> [2003/08/19 14:39:57, 3] libsmb/namequery.c:resolve_wins(751) resolve_wins: WINS server resolution selected and no WINS servers listed. [2003/08/19 14:39:57, 3] libsmb/namequery.c:name_resolve_bcast(690) name_resolve_bcast: Attempting broadcast lookup for name WORKGROUP<0x1b> [2003/08/19 14:39:57, 10] lib/util_sock.c:open_socket_in(655) bind succeeded on port 0 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option SO_KEEPALIVE = 0 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option SO_REUSEADDR = 1 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option SO_BROADCAST = 1 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(103) Could not test socket option TCP_NODELAY. [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option IPTOS_LOWDELAY = 0 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option IPTOS_THROUGHPUT = 0 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDBUF = 65535 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVBUF = 65535 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDLOWAT = 1 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVLOWAT = 1 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDTIMEO = 0 [2003/08/19 14:39:57, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVTIMEO = 0 [2003/08/19 14:39:57, 5] libsmb/nmblib.c:send_udp(741) Sending a packet of len 50 to (192.168.0.255) on port 137 [2003/08/19 14:39:57, 5] libsmb/nmblib.c:send_udp(741) Sending a packet of len 50 to (192.168.0.255) on port 137 [2003/08/19 14:39:57, 5] libsmb/nmblib.c:send_udp(741) Sending a packet of len 50 to (192.168.0.255) on port 137 [2003/08/19 14:39:58, 1] utils/net.c:net_find_server(245) no server to connect to Unable to find a suitable server [2003/08/19 14:39:58, 10] libsmb/namequery.c:internal_resolve_name(989) internal_resolve_name: looking up WORKGROUP#1b [2003/08/19 14:39:58, 10] lib/gencache.c:gencache_get(285) Cache entry with key = NBT/WORKGROUP#1B couldn't be found [2003/08/19 14:39:58, 5] libsmb/namecache.c:namecache_fetch(195) no entry for WORKGROUP#1B found. [2003/08/19 14:39:58, 10] lib/gencache.c:gencache_del(213) Deleting cache entry (key = NBT/WORKGROUP#1B) [2003/08/19 14:39:58, 3] libsmb/namequery.c:resolve_lmhosts(850) resolve_lmhosts: Attempting lmhosts lookup for name WORKGROUP<0x1b> [2003/08/19 14:39:58, 4] libsmb/namequery.c:getlmhostsent(598) getlmhostsent: lmhost entry: 127.0.0.1 localhost [2003/08/19 14:39:58, 3] libsmb/namequery.c:resolve_wins(748) resolve_wins: Attempting wins lookup for name WORKGROUP<0x1b> [2003/08/19 14:39:58, 3] libsmb/namequery.c:resolve_wins(751) resolve_wins: WINS server resolution selected and no WINS servers listed. [2003/08/19 14:39:58, 3] libsmb/namequery.c:name_resolve_bcast(690) name_resolve_bcast: Attempting broadcast lookup for name WORKGROUP<0x1b> [2003/08/19 14:39:58, 10] lib/util_sock.c:open_socket_in(655) bind succeeded on port 0 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option SO_KEEPALIVE = 0 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option SO_REUSEADDR = 1 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option SO_BROADCAST = 1 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(103) Could not test socket option TCP_NODELAY. [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option IPTOS_LOWDELAY = 0 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option IPTOS_THROUGHPUT = 0 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDBUF = 65535 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVBUF = 65535 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDLOWAT = 1 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVLOWAT = 1 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDTIMEO = 0 [2003/08/19 14:39:58, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVTIMEO = 0 [2003/08/19 14:39:58, 5] libsmb/nmblib.c:send_udp(741) Sending a packet of len 50 to (192.168.0.255) on port 137 [2003/08/19 14:39:58, 5] libsmb/nmblib.c:send_udp(741) Sending a packet of len 50 to (192.168.0.255) on port 137 [2003/08/19 14:39:58, 5] libsmb/nmblib.c:send_udp(741) Sending a packet of len 50 to (192.168.0.255) on port 137 [2003/08/19 14:39:59, 1] utils/net.c:net_find_server(245) no server to connect to Unable to find a suitable server [2003/08/19 14:39:59, 2] utils/net.c:main(677) return code = 1 ***** SNAP ***** The most interesting part is: [2003/08/19 14:39:56, 6] libads/ldap.c:ads_find_dc(147) ads_find_dc: looking for domain 'WORKGROUP' [2003/08/19 14:39:56, 8] libsmb/namequery.c:get_sorted_dc_list(1215) get_sorted_dc_list: attempting lookup using [lmhosts wins host bcast] [2003/08/19 14:39:56, 10] libsmb/namequery.c:internal_resolve_name(989) internal_resolve_name: looking up WORKGROUP#1c Although ADS is configured ads_find_dc will search for the "domain 'WORKGROUP' instead of searching for the "realm 'SAMBA30.TEST'". Any suggestions? wbr, Axel.
Gerald (Jerry) Carter
2003-Aug-29 16:36 UTC
[Samba] Samba 3.0.0 RC1: Unable to find a suitable server
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 19 Aug 2003, Axel Suppantschitsch wrote:> The most interesting part is: > > [2003/08/19 14:39:56, 6] libads/ldap.c:ads_find_dc(147) > ads_find_dc: looking for domain 'WORKGROUP' > [2003/08/19 14:39:56, 8] libsmb/namequery.c:get_sorted_dc_list(1215) > get_sorted_dc_list: attempting lookup using [lmhosts wins host bcast] > [2003/08/19 14:39:56, 10] libsmb/namequery.c:internal_resolve_name(989) > internal_resolve_name: looking up WORKGROUP#1c > > Although ADS is configured ads_find_dc will search for the "domain > 'WORKGROUP' instead of searching for the "realm 'SAMBA30.TEST'".Yeah. this is strange. I'll look into it (logged as bug 371). cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE/T4EbIR7qMdg1EfYRAiIvAKC4EnMSn/jlJbKocEdZLtKUDfPuHACg6053 iggT/uWc50Syq5SSP5JCwPY=CNf7 -----END PGP SIGNATURE-----
Gerald (Jerry) Carter
2003-Sep-04 19:47 UTC
[Samba] Samba 3.0.0 RC1: Unable to find a suitable server
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 3 Sep 2003, Axel Suppantschitsch wrote:> Is there any workaround for Bug #371? Otherwise I'm stuck with testing > Samba 3.0's behaviour in my university's ADS environment 'til the > release of RC3. I wonder that other people on the mailing list don't > seem to experience that problem, as they got your RCx binaries working > with ADS... > > BTW: There seems to be another problem with your RH9 RC2 binary besides > bug #371, as ads_connect/ads_startup throws "No such file or directory" > at the end of the not working net ads join process or is this connected > to bug #371? > > [2003/09/03 10:32:32, 4] libsmb/namequery.c:get_dc_list(1289) > get_dc_list: no servers found > [2003/09/03 10:32:32, 1] utils/net_ads.c:ads_startup(176) > ads_connect: No such file or directory > [2003/09/03 10:32:32, 2] utils/net.c:main(711) > return code = -1 > [root@samba30srv root]#I just checked in a fix for this into CVS. If you could test it as well that would be great. The change was to utils/net_ads.c 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/V5a6IR7qMdg1EfYRAjXCAKDNvSsDpnv+GVAnsx38YnragzTmFwCfaULo Q5lrmn4joOs89CZxVc0p4mU=FyzI -----END PGP SIGNATURE-----
Pls send more details about connecting FC3 machine to ADS. thanks.