[Samba] String buffer error when trying to add to a domain

lord_ph at comcast.net lord_ph at comcast.net
Thu Feb 19 20:35:00 GMT 2004


I don't know if the last one got to the list or not, so here it is again. Sorry if this is a repeat.

My computer name is BVERDIER-LNX
PDC= PNICG-PDC
BDC= PNSF-APP (can i use a bdc for this?)

Here is the command and error:
net join -d 3 -S pnicg-pdc -U AdminSF
[2004/02/19 12:25:22, 3] param/loadparm.c:lp_load(3810)
  lp_load: refreshing parameters
[2004/02/19 12:25:22, 3] param/loadparm.c:init_globals(1300)
  Initialising global parameters
[2004/02/19 12:25:22, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2004/02/19 12:25:22, 3] param/loadparm.c:do_section(3322)
  Processing section "[global]"
[2004/02/19 12:25:22, 2] lib/interface.c:add_interface(79)
  added interface ip=172.16.24.137 bcast=172.16.25.255 nmask=255.255.254.0
[2004/02/19 12:25:22, 3] libsmb/namequery.c:resolve_wins(748)
  resolve_wins: Attempting wins lookup for name pnicg-pdc<0x20>
[2004/02/19 12:25:22, 3] libsmb/namequery.c:resolve_wins(787)
  resolve_wins: using WINS server 172.16.24.15 and tag '*'
[2004/02/19 12:25:22, 2] libsmb/namequery.c:name_query(484)
  Got a positive name query response from 172.16.24.15 ( 172.16.25.20 )
[2004/02/19 12:25:22, 3] libsmb/cliconnect.c:cli_start_connection(1337)
  Connecting to host=pnicg-pdc
[2004/02/19 12:25:22, 3] lib/util_sock.c:open_socket_out(710)
  Connecting to 172.16.25.20 at port 445
[2004/02/19 12:25:22, 2] lib/util_sock.c:open_socket_out(746)
  error connecting to 172.16.25.20:445 (Connection refused)
[2004/02/19 12:25:22, 3] lib/util_sock.c:open_socket_out(710)
  Connecting to 172.16.25.20 at port 139
[2004/02/19 12:25:22, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249)
  cli_nt_setup_creds: request challenge failed
[2004/02/19 12:25:22, 3] libsmb/trusts_util.c:just_change_the_password(43)
  just_change_the_password: unable to setup creds (STATUS_BUFFER_OVERFLOW)!
[2004/02/19 12:25:22, 1] utils/net_rpc.c:run_rpc_command(138)
  rpc command function failed! (STATUS_BUFFER_OVERFLOW)
Password:
[2004/02/19 12:25:27, 3] libsmb/cliconnect.c:cli_start_connection(1337)
  Connecting to host=pnicg-pdc
[2004/02/19 12:25:27, 3] lib/util_sock.c:open_socket_out(710)
  Connecting to 172.16.25.20 at port 445
[2004/02/19 12:25:27, 2] lib/util_sock.c:open_socket_out(746)
  error connecting to 172.16.25.20:445 (Connection refused)
[2004/02/19 12:25:27, 3] lib/util_sock.c:open_socket_out(710)
  Connecting to 172.16.25.20 at port 139
[2004/02/19 12:25:27, 3] rpc_parse/parse_lsa.c:lsa_io_sec_qos(181)
  lsa_io_sec_qos: length c does not match size 8
[2004/02/19 12:25:27, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249)
  cli_nt_setup_creds: request challenge failed
[2004/02/19 12:25:27, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(326)
  Error domain join verification (reused connection): STATUS_BUFFER_OVERFLOW
  
Unable to join domain PNICG.
[2004/02/19 12:25:27, 2] utils/net.c:main(767)
  return code = 1
> On Thu, 2004-02-19 at 17:35, bryce wrote:
> > Loc Nguyen wrote:
> > > 
> > > Try to remove domain admin group
> > > 
> > > as I remember, this is obsolete in Samba 3.
> > > 
> > > -- 
> > 
> > Thanks Loc for the responce, and although you've helped fine tune my 
> > samba configuration, this hasn't helped with my problem. Here is a copy 
> > of the new error message( after the new conifuration):
> > net join -d 2 -S pnicg-pdc -U AdminSF
> > [2004/02/18 22:28:36, 2] lib/interface.c:add_interface(79)
> >    added interface ip=172.16.24.137 bcast=172.16.25.255 nmask=255.255.254.0
> > [2004/02/18 22:28:36, 2] lib/util_sock.c:open_socket_out(746)
> >    error connecting to 172.16.25.20:445 (Connection refused)
> > [2004/02/18 22:28:36, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249)
> >    cli_nt_setup_creds: request challenge failed
> > [2004/02/18 22:28:36, 1] utils/net_rpc.c:run_rpc_command(138)
> >    rpc command function failed! (STATUS_BUFFER_OVERFLOW)
> 
> What is the netbios name of your machine?  What is the name of the
> machine you are contacting?  Turn up the debug level.
> 
> Andrew Bartlett
> 
> -- 
> Andrew Bartlett                                 abartlet at pcug.org.au
> Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
> Student Network Administrator, Hawker College   abartlet at hawkerc.net
> http://samba.org     http://build.samba.org     http://hawkerc.net
> 


More information about the samba mailing list