[Samba] Unable to join domain

Daulton Theodore daulton at library.carleton.ca
Wed Oct 19 19:53:01 GMT 2005


I am attempting to have a Samba3-0.10 server join an NT domain with no 
success. Samba has been installed (./configure --with-syslog 
--with-acl-support) on a SunFire V240 with Solaris 9 as the OS.
>From what I've read if the machine account exists on the domain then I should
not have to provide a password. I am however being prompted for a password 
even though th account exists. I am appending the output from my join attempt
(net rpc join MEMBER -S eagle.domain -d 10 -l) hoping that someone
out there would spot something that would help me overcome this obstacle.
Thanks in advance for any suggestions/comments.

Script started on Wed Oct 19 11:32:48 2005
#  net rpc join MEMBER -S eagle.domain -d 10 -l
[2005/10/19 11:32:54, 5] lib/debug.c:debug_dump_status(366)
  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
    quota: False/0
    acls: False/0
[2005/10/19 11:32:54, 3] param/loadparm.c:lp_load(3902)
  lp_load: refreshing parameters
[2005/10/19 11:32:54, 3] param/loadparm.c:init_globals(1312)
  Initialising global parameters
[2005/10/19 11:32:54, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf"
[2005/10/19 11:32:54, 3] param/loadparm.c:do_section(3395)
  Processing section "[globals]"
  doing parameter netbios name = horntail
[2005/10/19 11:32:54, 4] param/loadparm.c:handle_netbios_name(2740)
  handle_netbios_name: set global_myname to: HORNTAIL
  doing parameter server string = Library's %L %v
  doing parameter workgroup = CARLETON.CA
  doing parameter local master = no
  doing parameter allow hosts = X.X.10. X.X.200.
  doing parameter security = domain
  doing parameter browsable = yes
  doing parameter password server = X.X.Y.117 ccsdcr01 ccsdcr02
  doing parameter machine password timeout = 314496000
  doing parameter remote announce = X.X.Y.95
  doing parameter wins server = blackbird.domain
  doing parameter interfaces = X.X.10.213/255.255.255.0
  doing parameter bind interfaces only = yes
  doing parameter socket options = SO_KEEPALIVE TCP_NODELAY
  doing parameter deadtime = 0
  doing parameter encrypt passwords = yes
  doing parameter username map = /usr/local/samba/lib/nt-names
  doing parameter smb passwd file = /usr/local/samba/private/smbpasswd
  doing parameter invalid users = root daemon bin sys adm lp listen sshd
  doing parameter writeable = yes
  doing parameter log level = 2
  doing parameter log file = /usr/local/samba/var/log.%m
  doing parameter max log size = 2000
  doing parameter debug timestamp = yes
  doing parameter printing = SYSV
  doing parameter load printers = yes
  doing parameter use client driver = yes
  doing parameter printer admin = dtheodor
[2005/10/19 11:32:54, 4] param/loadparm.c:lp_load(3933)
  pm_process() returned Yes
[2005/10/19 11:32:54, 7] param/loadparm.c:lp_servicenumber(4043)
  lp_servicenumber: couldn't find homes
[2005/10/19 11:32:54, 10] param/loadparm.c:set_server_role(3842)
  set_server_role: role = ROLE_DOMAIN_MEMBER
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS-2LE
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS-2LE
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-16LE
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-16LE
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS-2BE
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS-2BE
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-16BE
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-16BE
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF8
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF8
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-8
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-8
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset ASCII
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset ASCII
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset 646
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset 646
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset ISO-8859-1
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset ISO-8859-1
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS2-HEX
[2005/10/19 11:32:54, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS2-HEX
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/charcnv.c:charset_name(81)
  Substituting charset '646' for LOCALE
[2005/10/19 11:32:54, 5] lib/util.c:init_names(256)
  Netbios name list:-
  my_netbios_names[0]="HORNTAIL"
[2005/10/19 11:32:54, 2] lib/interface.c:add_interface(79)
  added interface ip=x.x.y.213 bcast=x.x.y.255 nmask=255.255.255.0
[2005/10/19 11:32:54, 10] libsmb/namequery.c:internal_resolve_name(1028)
  internal_resolve_name: looking up eagle.domain#20
[2005/10/19 11:32:54, 5] lib/gencache.c:gencache_init(59)
  Opening cache file at /usr/local/samba/var/locks/gencache.tdb
[2005/10/19 11:32:54, 10] lib/gencache.c:gencache_get(263)
  Returning valid cache entry: key = NBT/EAGLE.DOMAIN#20, value = X.X.Y.117:0, timeout = Wed Oct 19 11:41:17 2005
  
[2005/10/19 11:32:54, 5] libsmb/namecache.c:namecache_fetch(201)
  name eagle.domain#20 found.
[2005/10/19 11:32:54, 3] libsmb/cliconnect.c:cli_start_connection(1382)
  Connecting to host=eagle.domain
[2005/10/19 11:32:54, 3] lib/util_sock.c:open_socket_out(752)
  Connecting to X.X.Y.117 at port 445
[2005/10/19 11:33:03, 1] lib/util_sock.c:open_socket_out(774)
  timeout connecting to X.X.Y.117:445
[2005/10/19 11:33:03, 3] lib/util_sock.c:open_socket_out(752)
  Connecting to X.X.Y.117 at port 139
[2005/10/19 11:33:11, 1] lib/util_sock.c:open_socket_out(774)
  timeout connecting to X.X.Y.117:139
[2005/10/19 11:33:11, 1] libsmb/cliconnect.c:cli_connect(1306)
  Error connecting to X.X.Y.117 (Operation already in progress)
[2005/10/19 11:33:11, 1] libsmb/cliconnect.c:cli_start_connection(1386)
  cli_full_connection: failed to connect to EAGLE.DOMAIN<20> (X.X.Y.117)
[2005/10/19 11:33:11, 1] utils/net.c:connect_to_ipc_anonymous(207)
  Cannot connect to server (anonymously).  Error was NT_STATUS_UNSUCCESSFUL
[2005/10/19 11:33:11, 10] libsmb/namequery.c:internal_resolve_name(1028)
  internal_resolve_name: looking up eagle.domain#20
[2005/10/19 11:33:11, 10] lib/gencache.c:gencache_get(263)
  Returning valid cache entry: key = NBT/EAGLE.DOMAIN#20, value = X.X.Y.117:0, timeout = Wed Oct 19 11:41:17 2005
  
[2005/10/19 11:33:11, 5] libsmb/namecache.c:namecache_fetch(201)
  name eagle.domain#20 found.
Password:
.
.
[don't have password so here I hit carriage return]


[2005/10/19 11:33:17, 3] libsmb/cliconnect.c:cli_start_connection(1382)
  Connecting to host=eagle.domain
[2005/10/19 11:33:17, 3] lib/util_sock.c:open_socket_out(752)
  Connecting to X.X.Y.117 at port 445
[2005/10/19 11:33:25, 1] lib/util_sock.c:open_socket_out(774)
  timeout connecting to X.X.Y.117:445
[2005/10/19 11:33:25, 3] lib/util_sock.c:open_socket_out(752)
  Connecting to X.X.Y.117 at port 139
[2005/10/19 11:33:34, 1] lib/util_sock.c:open_socket_out(774)
  timeout connecting to X.X.Y.117:139
[2005/10/19 11:33:34, 1] libsmb/cliconnect.c:cli_connect(1306)
  Error connecting to X.X.Y.117 (Operation already in progress)
[2005/10/19 11:33:34, 1] libsmb/cliconnect.c:cli_start_connection(1386)
  cli_full_connection: failed to connect to EAGLE.DOMAIN`<20> (X.X.Y.117)
Could not connect to server eagle.domain
[2005/10/19 11:33:34, 2] utils/net.c:main(859)
  return code = 1
# ^D

script done on Wed Oct 19 11:33:38 2005

-- 
----------------------------------- 0 ------------------------------------
Daulton Theodore                  </\    Tel: 613-520-2600 ext. 8352
Carleton University Library       _\\    Fax: 613-520-2750            
Systems Department                `/     Net: Daulton_Theodore at carleton.ca
---------------------------------- ` -------------------------------------


More information about the samba mailing list