[Samba] can't add samba to the domain

MOU DONGYING Dongying.Mou at alcatel-sbell.com.cn
Mon Mar 30 02:47:14 GMT 2009


=20
The error information is like this,what does this mean?

./net join -S ad4.ad.alcatel.com -d 3
[2009/03/30 10:38:55,  3] param/loadparm.c:lp_load_ex(8754)
  lp_load_ex: refreshing parameters
[2009/03/30 10:38:55,  3] param/loadparm.c:init_globals(4597)
  Initialising global parameters
[2009/03/30 10:38:55,  3] param/params.c:pm_process(569)
  params.c:pm_process() - Processing configuration file =
"/usr/local/samba/lib/smb.conf"
[2009/03/30 10:38:55,  3] param/loadparm.c:do_section(7417)
  Processing section "[global]"
[2009/03/30 10:38:55,  2] lib/interface.c:add_interface(337)
  added interface hme0 ip=3D135.251.99.126 bcast=3D135.251.99.255 =
netmask=3D255.255.255.0
[2009/03/30 10:38:55,  2] lib/interface.c:add_interface(337)
  added interface hme0:1 ip=3D192.168.0.9 bcast=3D192.168.0.255 =
netmask=3D255.255.255.0
[2009/03/30 10:38:55,  3] libsmb/namequery.c:resolve_lmhosts(1162)
  resolve_lmhosts: Attempting lmhosts lookup for name =
ad4.ad.alcatel.com<0x20>
[2009/03/30 10:38:55,  3] libsmb/namequery.c:resolve_wins(1026)
  resolve_wins: Attempting wins lookup for name ad4.ad.alcatel.com<0x20>
[2009/03/30 10:38:55,  3] libsmb/namequery.c:resolve_wins(1084)
  resolve_wins: using WINS server 172.24.208.98 and tag '*'
[2009/03/30 10:38:55,  3] libsmb/namequery.c:name_query(654)
  Negative name query response, rcode 0x03: The name requested does not =
exist.
[2009/03/30 10:38:55,  3] libsmb/namequery.c:resolve_hosts(1244)
  resolve_hosts: Attempting host lookup for name =
ad4.ad.alcatel.com<0x20>
[2009/03/30 10:38:55,  3] libsmb/cliconnect.c:cli_start_connection(1632)
  Connecting to host=3Dad4.ad.alcatel.com
[2009/03/30 10:38:55,  3] lib/util_sock.c:open_socket_out(1331)
  Connecting to 135.251.103.10 at port 445
[2009/03/30 10:38:55,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine ad4.ad.alcatel.com pipe \lsarpc fnum 0x5 =
bind request returned ok.
[2009/03/30 10:38:55,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine ad4.ad.alcatel.com pipe \NETLOGON fnum =
0x1 bind request returned ok.
[2009/03/30 10:38:55,  3] =
libsmb/trusts_util.c:just_change_the_password(52)
  just_change_the_password: unable to setup creds =
(NT_STATUS_INVALID_COMPUTER_NAME)!
[2009/03/30 10:38:55,  1] utils/net_rpc.c:run_rpc_command(181)
  rpc command function failed! (NT_STATUS_INVALID_COMPUTER_NAME)
Enter root's password:
# ./net join -U bishopl -S ad4.ad.alcatel.com -d 3
[2009/03/30 10:41:05,  3] param/loadparm.c:lp_load_ex(8754)
  lp_load_ex: refreshing parameters
[2009/03/30 10:41:05,  3] param/loadparm.c:init_globals(4597)
  Initialising global parameters
[2009/03/30 10:41:05,  3] param/params.c:pm_process(569)
  params.c:pm_process() - Processing configuration file =
"/usr/local/samba/lib/smb.conf"
[2009/03/30 10:41:05,  3] param/loadparm.c:do_section(7417)
  Processing section "[global]"
[2009/03/30 10:41:05,  2] lib/interface.c:add_interface(337)
  added interface hme0 ip=3D135.251.99.126 bcast=3D135.251.99.255 =
netmask=3D255.255.255.0
[2009/03/30 10:41:05,  2] lib/interface.c:add_interface(337)
  added interface hme0:1 ip=3D192.168.0.9 bcast=3D192.168.0.255 =
netmask=3D255.255.255.0
[2009/03/30 10:41:05,  3] libsmb/cliconnect.c:cli_start_connection(1632)
  Connecting to host=3Dad4.ad.alcatel.com
[2009/03/30 10:41:05,  3] lib/util_sock.c:open_socket_out(1331)
  Connecting to 135.251.103.10 at port 445
[2009/03/30 10:41:05,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine ad4.ad.alcatel.com pipe \lsarpc fnum =
0xc007 bind request returned ok.
[2009/03/30 10:41:05,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine ad4.ad.alcatel.com pipe \NETLOGON fnum =
0xc00e bind request returned ok.
[2009/03/30 10:41:05,  3] =
libsmb/trusts_util.c:just_change_the_password(52)
  just_change_the_password: unable to setup creds =
(NT_STATUS_INVALID_COMPUTER_NAME)!
[2009/03/30 10:41:05,  1] utils/net_rpc.c:run_rpc_command(181)
  rpc command function failed! (NT_STATUS_INVALID_COMPUTER_NAME)
Enter bishopl's password:
[2009/03/30 10:41:14,  3] libsmb/cliconnect.c:cli_start_connection(1632)
  Connecting to host=3Dad4.ad.alcatel.com
[2009/03/30 10:41:14,  3] lib/util_sock.c:open_socket_out(1331)
  Connecting to 135.251.103.10 at port 445
[2009/03/30 10:41:14,  3] =
libsmb/cliconnect.c:cli_session_setup_spnego(804)
  Doing spnego session setup (blob length=3D119)
[2009/03/30 10:41:14,  3] =
libsmb/cliconnect.c:cli_session_setup_spnego(831)
  got OID=3D1 2 840 48018 1 2 2
[2009/03/30 10:41:14,  3] =
libsmb/cliconnect.c:cli_session_setup_spnego(831)
  got OID=3D1 2 840 113554 1 2 2
[2009/03/30 10:41:14,  3] =
libsmb/cliconnect.c:cli_session_setup_spnego(831)
  got OID=3D1 2 840 113554 1 2 2 3
[2009/03/30 10:41:14,  3] =
libsmb/cliconnect.c:cli_session_setup_spnego(831)
  got OID=3D1 3 6 1 4 1 311 2 2 10
[2009/03/30 10:41:14,  3] =
libsmb/cliconnect.c:cli_session_setup_spnego(839)
  got principal=3Dcnchesidc01$@AD4.AD.ALCATEL.COM
[2009/03/30 10:41:14,  3] =
libsmb/ntlmssp.c:ntlmssp_client_challenge(1025)
  Got challenge flags:
[2009/03/30 10:41:14,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=3D0x62898215
[2009/03/30 10:41:14,  3] =
libsmb/ntlmssp.c:ntlmssp_client_challenge(1047)
  NTLMSSP: Set final flags:
[2009/03/30 10:41:14,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=3D0x60088215
[2009/03/30 10:41:14,  3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(337)
  NTLMSSP Sign/Seal - Initialising with flags:
[2009/03/30 10:41:14,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=3D0x60088215
[2009/03/30 10:41:14,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine ad4.ad.alcatel.com pipe \lsarpc fnum =
0x8007 bind request returned ok.
[2009/03/30 10:41:14,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine ad4.ad.alcatel.com pipe \samr fnum =
0x8008 bind request returned ok.
[2009/03/30 10:41:14,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine ad4.ad.alcatel.com pipe \NETLOGON fnum =
0x800a bind request returned ok.
[2009/03/30 10:41:14,  0] =
utils/net_rpc_join.c:net_rpc_join_newstyle(393)
  Error in domain join verification (credential setup failed): =
NT_STATUS_INVALID_COMPUTER_NAME
 =20
Unable to join domain AD4.
[2009/03/30 10:41:14,  2] utils/net.c:main(1172)
  return code =3D 1

=20

-----Original Message-----
From: samba-bounces+dongying.mou=3Dalcatel-sbell.com.cn at lists.samba.org =
[mailto:samba-bounces+dongying.mou=3Dalcatel-sbell.com.cn at lists.samba.org=
] On Behalf Of MOU DONGYING
Sent: 2009=C4=EA3=D4=C227=C8=D5 9:57
To: samba at lists.samba.org
Subject: [Samba] can't add samba to the domain


 Hello,all

        I can't add samba to the domain with the command net join, the =
error is like this:

net join -U usrname -S *****
Enter usrname's password:
[2009/03/26 11:03:55,  0]
utils/net_rpc_join.c:net_rpc_join_newstyle(393)
  Error in domain join verification (credential setup failed):
NT_STATUS_INVALID_COMPUTER_NAME
 =20
Unable to join domain **.

I can ping the domain server and nslookup is OK.

And the machine name with samba has been added to the domain list and =
can be found.

the environment is : solaris5.8+samba3.2.4 the smb.conf is like this:

[global]
      workgroup =3D ***
      security =3D DOMAIN
      password server =3D ****
      log file =3D /usr/local/samba/var/log.%m
      max log size =3D 0
      os level =3D 65
      create mask =3D 0775
      security mask =3D 0775
      directory mask =3D 0775
      directory security mask =3D 0775
      block size =3D 4096

[test]
     comment =3D test share directory
     path =3D /tmp/test
     read only =3D no

Is there any one can help me on this?

Thanks

BR
May
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list