net join -d 2 -S pnicg-pdc -U Administrator [2004/02/18 20:27:03, 0] param/loadparm.c:map_parameter(2410) Unknown parameter encountered: "domain admin group" [2004/02/18 20:27:03, 0] param/loadparm.c:lp_do_parameter(3048) Ignoring unknown parameter "domain admin group" [2004/02/18 20:27:03, 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 20:27:03, 2] libsmb/namequery.c:name_query(484) Got a positive name query response from 172.16.24.15 ( 172.16.25.20 ) [2004/02/18 20:27:03, 2] lib/util_sock.c:open_socket_out(746) error connecting to 172.16.25.20:445 (Connection refused) [2004/02/18 20:27:03, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249) cli_nt_setup_creds: request challenge failed [2004/02/18 20:27:03, 1] utils/net_rpc.c:run_rpc_command(138) rpc command function failed! (STATUS_BUFFER_OVERFLOW) Password: [2004/02/18 20:27:07, 2] lib/util_sock.c:open_socket_out(746) error connecting to 172.16.25.20:445 (Connection refused) [2004/02/18 20:27:10, 1] libsmb/cliconnect.c:cli_full_connection(1425) failed session setup with NT_STATUS_LOGON_FAILURE [2004/02/18 20:27:10, 1] utils/net.c:connect_to_ipc(150) Cannot connect to server. Error was NT_STATUS_LOGON_FAILURE The username or password was not correct. [2004/02/18 20:27:10, 2] utils/net.c:main(767) return code = 1 I have found no help on the samba IRC server( except for a very generous engima offering up what little information he/she could). samba-technical didn't answer my about this either. Can someone here help me, this happens on my gentoo(stable x86) box with both 2.2.8a and 3.0.2a. The pdc is a NT4 Terminal Server. I am happy to provide as much information as needed to help get this solved. Willing to even write up a bug report( as 1 doesn't seem to exist yet). I just thought i would write here first to see if anyone might have come across this before. Another quick question if i may, do have have to do this to the PDC, could i maybe get away with doing a BDC? thanks in advance for any and all help. bryce
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) Password: [2004/02/18 22:28:43, 2] lib/util_sock.c:open_socket_out(746) error connecting to 172.16.25.20:445 (Connection refused) [2004/02/18 22:28:43, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249) cli_nt_setup_creds: request challenge failed [2004/02/18 22:28:43, 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/18 22:28:43, 2] utils/net.c:main(767) return code = 1 bryce
lord_ph@comcast.net
2004-Feb-19 16:23 UTC
[Samba] String buffer error when trying to add to a domain
Thanks for the help Andrew. The name of my machine is BRYCE-VERDIER-LNX The name of the pdc is PNICG-PDC here is the error message with debug level 3: net join -d 3 -S pnicg-pdc -U AdminSF [2004/02/19 08:16:51, 3] param/loadparm.c:lp_load(3810) lp_load: refreshing parameters [2004/02/19 08:16:51, 3] param/loadparm.c:init_globals(1300) Initialising global parameters [2004/02/19 08:16:51, 3] param/params.c:pm_process(566) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2004/02/19 08:16:51, 3] param/loadparm.c:do_section(3322) Processing section "[global]" [2004/02/19 08:16:51, 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 08:16:51, 3] libsmb/namequery.c:resolve_wins(748) resolve_wins: Attempting wins lookup for name pnicg-pdc<0x20> [2004/02/19 08:16:51, 3] libsmb/namequery.c:resolve_wins(787) resolve_wins: using WINS server 172.16.24.15 and tag '*' [2004/02/19 08:16:51, 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 08:16:51, 3] libsmb/cliconnect.c:cli_start_connection(1337) Connecting to host=pnicg-pdc [2004/02/19 08:16:51, 3] lib/util_sock.c:open_socket_out(710) Connecting to 172.16.25.20 at port 445 [2004/02/19 08:16:51, 2] lib/util_sock.c:open_socket_out(746) error connecting to 172.16.25.20:445 (Connection refused) [2004/02/19 08:16:51, 3] lib/util_sock.c:open_socket_out(710) Connecting to 172.16.25.20 at port 139 [2004/02/19 08:16:51, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249) cli_nt_setup_creds: request challenge failed [2004/02/19 08:16:51, 3] libsmb/trusts_util.c:just_change_the_password(43) just_change_the_password: unable to setup creds (STATUS_BUFFER_OVERFLOW)! [2004/02/19 08:16:52, 1] utils/net_rpc.c:run_rpc_command(138) rpc command function failed! (STATUS_BUFFER_OVERFLOW) Password: [2004/02/19 08:17:00, 3] libsmb/cliconnect.c:cli_start_connection(1337) Connecting to host=pnicg-pdc [2004/02/19 08:17:00, 3] lib/util_sock.c:open_socket_out(710) Connecting to 172.16.25.20 at port 445 [2004/02/19 08:17:00, 2] lib/util_sock.c:open_socket_out(746) error connecting to 172.16.25.20:445 (Connection refused) [2004/02/19 08:17:00, 3] lib/util_sock.c:open_socket_out(710) Connecting to 172.16.25.20 at port 139 [2004/02/19 08:17:00, 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 08:17:00, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249) cli_nt_setup_creds: request challenge failed [2004/02/19 08:17:00, 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 08:17:00, 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@pcug.org.au > Manager, Authentication Subsystems, Samba Team abartlet@samba.org > Student Network Administrator, Hawker College abartlet@hawkerc.net > http://samba.org http://build.samba.org http://hawkerc.net >
lord_ph@comcast.net
2004-Feb-19 20:35 UTC
[Samba] String buffer error when trying to add to a domain
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@pcug.org.au > Manager, Authentication Subsystems, Samba Team abartlet@samba.org > Student Network Administrator, Hawker College abartlet@hawkerc.net > http://samba.org http://build.samba.org http://hawkerc.net >