[Samba] can't add samba to the domain

MOU DONGYING Dongying.Mou at alcatel-sbell.com.cn
Mon Mar 30 07:15:58 GMT 2009


 Hi,
the nmblookup output is this:
=20
        CNCHESIDC01     <00> -         M <ACTIVE>=20
        AD4             <00> - <GROUP> M <ACTIVE>=20
        AD4             <1c> - <GROUP> M <ACTIVE>=20
        CNCHESIDC01     <20> -         M <ACTIVE>=20
        AD4             <1e> - <GROUP> M <ACTIVE>=20
        AD4             <1d> -         M <ACTIVE>=20
        ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE> Do you mean I should =
use net join -S CNCHESIDC01?=20
I tried with net join -S CNCHESIDC01 , the error is like this:
net join -S CNCHESIDC01 -U bishopl -d 3
[2009/03/30 14:50:11,  3] param/loadparm.c:lp_load_ex(8754)
  lp_load_ex: refreshing parameters
[2009/03/30 14:50:11,  3] param/loadparm.c:init_globals(4597)
  Initialising global parameters
[2009/03/30 14:50:11,  3] param/params.c:pm_process(569)
  params.c:pm_process() - Processing configuration file =
"/usr/local/samba/lib/smb.conf"
[2009/03/30 14:50:11,  3] param/loadparm.c:do_section(7417)
  Processing section "[global]"
[2009/03/30 14:50:11,  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 14:50:11,  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 14:50:11,  3] =
libsmb/cliconnect.c:cli_start_connection(1632)
  Connecting to host=3DCNCHESIDC01
[2009/03/30 14:50:11,  3] lib/util_sock.c:open_socket_out(1331)
  Connecting to 135.251.103.10 at port 445 [2009/03/30 14:50:11,  3] =
rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine CNCHESIDC01 pipe \lsarpc fnum 0xc004 =
bind request returned ok.
[2009/03/30 14:50:11,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine CNCHESIDC01 pipe \NETLOGON fnum 0x400a =
bind request returned ok.
[2009/03/30 14:50:11,  3] =
libsmb/trusts_util.c:just_change_the_password(52)
  just_change_the_password: unable to setup creds =
(NT_STATUS_ACCESS_DENIED)!
[2009/03/30 14:50:11,  1] utils/net_rpc.c:run_rpc_command(181)
  rpc command function failed! (NT_STATUS_ACCESS_DENIED)
=20

 Thanks


Best Regard
Mou Dongying
=C4=B2=B6=AC=D3=A2
2719-1653

-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE]=20
Sent: 2009=C4=EA3=D4=C230=C8=D5 13:37
To: MOU DONGYING
Cc: samba at lists.samba.org
Subject: Re: [Samba] can't add samba to the domain

On Mon, Mar 30, 2009 at 01:31:59PM +0800, MOU DONGYING wrote:
> The same problem
>  ./net join -S ad4 -d 3

"ad4" really has that name? You have to set this as the same name as the =
netbios name the DC calls itself. You can find out the name with

nmblookup -A ad4

There you will see a lot of names, some will have the machine name.

Volker


More information about the samba mailing list