Fwd: [Samba] Problem with wbinfo
The Administrator account password was realy expired. The way to resolve this is changing the root account password of the server. The commands are: # cd /usr/local/sbin/ # ./smbldap-passwd.pl root ...or use your own configuration path/command. However, I still can't join a computer account to the domain. The error are: - # net rpc join -S 10.80.100.62 -U Administrator -d3 [2005/04/12 15:25:10, 3] param/loadparm.c:lp_load(3926) lp_load: refreshing parameters [2005/04/12 15:25:10, 3] param/loadparm.c:init_globals(1303) Initialising global parameters [2005/04/12 15:25:10, 3] param/params.c:pm_process(566) params.c:pm_process() - Processing configuration file /etc/samba/smb.conf [2005/04/12 15:25:10, 3] param/loadparm.c:do_section(3429) Processing section [global] [2005/04/12 15:25:10, 2] lib/interface.c:add_interface(79) added interface ip=10.80.100.98 bcast=10.80.100.255 nmask=255.255.255.0 [2005/04/12 15:25:10, 3] libsmb/cliconnect.c:cli_start_connection(1290) Connecting to host=10.80.100.62 [2005/04/12 15:25:10, 3] lib/util_sock.c:open_socket_out(690) Connecting to 10.80.100.62 at port 445 [2005/04/12 15:25:11, 3] rpc_client/cli_netlogon.c:cli_nt_setup_creds(283) cli_nt_setup_creds: auth2 challenge failed NT_STATUS_ACCESS_DENIED [2005/04/12 15:25:11, 3] libsmb/trusts_util.c:just_change_the_password(43) just_change_the_password: unable to setup creds (NT_STATUS_ACCESS_DENIED)! [2005/04/12 15:25:11, 1] utils/net_rpc.c:run_rpc_command(152) rpc command function failed! (NT_STATUS_ACCESS_DENIED) Password: [2005/04/12 15:25:15, 3] libsmb/cliconnect.c:cli_start_connection(1290) Connecting to host=10.80.100.62 [2005/04/12 15:25:15, 3] lib/util_sock.c:open_socket_out(690) Connecting to 10.80.100.62 at port 445 [2005/04/12 15:25:15, 2] libsmb/cliconnect.c:cli_session_setup_spnego(635) Doing spnego session setup (blob length=58) [2005/04/12 15:25:15, 3] libsmb/cliconnect.c:cli_session_setup_spnego(660) got OID=1 3 6 1 4 1 311 2 2 10 [2005/04/12 15:25:15, 3] libsmb/cliconnect.c:cli_session_setup_spnego(667) got principal=NONE [2005/04/12 15:25:15, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(469) Got challenge flags: [2005/04/12 15:25:15, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(33) Got NTLMSSP neg_flags=0x60890215 [2005/04/12 15:25:15, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(518) NTLMSSP: Set final flags: [2005/04/12 15:25:15, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(33) Got NTLMSSP neg_flags=0x60080215 [2005/04/12 15:25:15, 3] rpc_parse/parse_lsa.c:lsa_io_sec_qos(186) lsa_io_sec_qos: length c does not match size 8 Create of workstation account failed Unable to join domain REG. [2005/04/12 15:25:15, 2] utils/net.c:main(758) return code = 1 - Anybody could help me? Ricardo. -- Forwarded message -- From: Ricardo Maciel [EMAIL PROTECTED] Date: Apr 1, 2005 2:41 PM Subject: Fwd: [Samba] Problem with wbinfo To: samba@lists.samba.org I tried to resolve this problem (password expired) changing the value of the ldap Administrator account field sambaPwdMustChange to 0. But I still having the same error, as the message above. Any help? Ricardo. -- Forwarded message -- From: Ricardo Maciel [EMAIL PROTECTED] Date: Mar 30, 2005 2:02 PM Subject: Re: [Samba] Problem with wbinfo To: samba@lists.samba.org Hamish, Executing the command above at the client, result: # # # net rpc join -S 10.80.100.62 -U Administrator -d2 [2005/03/30 13:53:02, 2] lib/interface.c:add_interface(79) added interface ip=10.80.100.98 bcast=10.80.100.255 nmask=255.255.255.0 [2005/03/30 13:53:02, 1] utils/net_rpc.c:run_rpc_command(152) rpc command function failed! (NT_STATUS_ACCESS_DENIED) Password: [2005/03/30 13:53:05, 2] libsmb/cliconnect.c:cli_session_setup_spnego(635) Doing spnego session setup (blob length=58) [2005/03/30 13:53:05, 1] libsmb/cliconnect.c:cli_full_connection(1378) failed session setup with NT_STATUS_PASSWORD_EXPIRED [2005/03/30 13:53:05, 1] utils/net.c:connect_to_ipc(150) Cannot connect to server. Error was NT_STATUS_PASSWORD_EXPIRED [2005/03/30 13:53:05, 2] utils/net.c:main(758) return code = 1 # # So, I think that the Administrator's password is expired. Any help? Ricardo. On Wed, 30 Mar 2005 16:21:39 +0100, Hamish [EMAIL PROTECTED] wrote: Have you joined the box the domain? Sorry. I didn't understand! Have you run the following command? net join -U Administrator -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Fwd: [Samba] Problem with wbinfo
I tried to resolve this problem (password expired) changing the value of the ldap Administrator account field sambaPwdMustChange to 0. But I still having the same error, as the message above. Any help? Ricardo. -- Forwarded message -- From: Ricardo Maciel [EMAIL PROTECTED] Date: Mar 30, 2005 2:02 PM Subject: Re: [Samba] Problem with wbinfo To: samba@lists.samba.org Hamish, Executing the command above at the client, result: # # # net rpc join -S 10.80.100.62 -U Administrator -d2 [2005/03/30 13:53:02, 2] lib/interface.c:add_interface(79) added interface ip=10.80.100.98 bcast=10.80.100.255 nmask=255.255.255.0 [2005/03/30 13:53:02, 1] utils/net_rpc.c:run_rpc_command(152) rpc command function failed! (NT_STATUS_ACCESS_DENIED) Password: [2005/03/30 13:53:05, 2] libsmb/cliconnect.c:cli_session_setup_spnego(635) Doing spnego session setup (blob length=58) [2005/03/30 13:53:05, 1] libsmb/cliconnect.c:cli_full_connection(1378) failed session setup with NT_STATUS_PASSWORD_EXPIRED [2005/03/30 13:53:05, 1] utils/net.c:connect_to_ipc(150) Cannot connect to server. Error was NT_STATUS_PASSWORD_EXPIRED [2005/03/30 13:53:05, 2] utils/net.c:main(758) return code = 1 # # So, I think that the Administrator's password is expired. Any help? Ricardo. On Wed, 30 Mar 2005 16:21:39 +0100, Hamish [EMAIL PROTECTED] wrote: Have you joined the box the domain? Sorry. I didn't understand! Have you run the following command? net join -U Administrator -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with wbinfo
Hamish, Executing the command above at the client, result: # # # net rpc join -S 10.80.100.62 -U Administrator -d2 [2005/03/30 13:53:02, 2] lib/interface.c:add_interface(79) added interface ip=10.80.100.98 bcast=10.80.100.255 nmask=255.255.255.0 [2005/03/30 13:53:02, 1] utils/net_rpc.c:run_rpc_command(152) rpc command function failed! (NT_STATUS_ACCESS_DENIED) Password: [2005/03/30 13:53:05, 2] libsmb/cliconnect.c:cli_session_setup_spnego(635) Doing spnego session setup (blob length=58) [2005/03/30 13:53:05, 1] libsmb/cliconnect.c:cli_full_connection(1378) failed session setup with NT_STATUS_PASSWORD_EXPIRED [2005/03/30 13:53:05, 1] utils/net.c:connect_to_ipc(150) Cannot connect to server. Error was NT_STATUS_PASSWORD_EXPIRED [2005/03/30 13:53:05, 2] utils/net.c:main(758) return code = 1 # # So, I think that the Administrator's password is expired. Any help? Ricardo. On Wed, 30 Mar 2005 16:21:39 +0100, Hamish [EMAIL PROTECTED] wrote: Have you joined the box the domain? Sorry. I didn't understand! Have you run the following command? net join -U Administrator -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with wbinfo
Hello, I'm using a Samba client to access a Samba Server. The smbclient tool is ok, both at the client as at the server. I'm having trouble with the wbinfo command (winbind service) at the client, as you can see below. Can anybody help me? Thanks!!! =Problem== Samba Server: samba-3.0.10-1.fc2 Samba Client: Version 3.0.0-14.3E -- # service winbind start Iniciando serviços Winbind:[ OK ] # # # wbinfo -t checking the trust secret via RPC calls failed error code was NT_STATUS_INTERNAL_ERROR (0xc0e5) Could not check secret # # # wbinfo -u Error looking up domain users # # # wbinfo -g Error looking up domain groups # # # service winbind stop Desligando os serviços Winbind:[ OK ] # # # winbindd -i -d 4 winbindd version 3.0.0-14.3E started. Copyright The Samba Team 2000-2003 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file /etc/samba/smb.conf Processing section [global] doing parameter workgroup = REG doing parameter netbios name = Estacao1386000 handle_netbios_name: set global_myname to: ESTACAO1386000 doing parameter security = domain doing parameter password server = * doing parameter winbind uid = 1000-2 doing parameter winbind gid = 1000-2 doing parameter winbind enum users = yes doing parameter winbind enum groups = yes doing parameter winbind separator = + doing parameter winbind cache time = 10 doing parameter template homedir = /home/winnt/%D/%U doing parameter winbind use default domain = yes doing parameter template shell = /bin/bash pm_process() returned Yes adding IPC service adding IPC service added interface ip=10.80.100.98 bcast=10.80.100.255 nmask=255.255.255.0 added interface ip=10.80.100.98 bcast=10.80.100.255 nmask=255.255.255.0 Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED get_dc_list: returning 1 ip addresses in an unordered list get_dc_list: 10.80.100.62:0 nmb packet from 10.80.100.62(137) header: id=2081 opcode=Query(0) response=Yes header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0 answers: nmb_name=REG1c rr_type=33 rr_class=1 ttl=0 answers 0 char .PDC hex 09504443202020202020202020202020 answers 10 char .d.PDC hex 00640050444320202020202020202020 answers 20 char .d.PDC hex 20200364005044432020202020202020 answers 30 char d...__MSBRO hex 2020202020640001025F5F4D5342524F answers 40 char WSE__REG hex 5753455F5F0201E40052454720202020 answers 50 char ...REG hex 202020202020202000E4005245472020 answers 60 char .d.REG hex 202020202020202020201B6400524547 answers 70 char ...R hex 2020202020202020202020201CE40052 answers 80 char EG.d hex 45472020202020202020202020201D64 answers 90 char .REG hex 00524547202020202020202020202020 answers a0 char hex 1EE4 answers b0 char hex answers c0 char hex answers d0 char . hex 00 rpc_dc_name: Returning DC PDC (10.80.100.62) for domain REG IPC$ connections done anonymously Connecting to host=PDC Connecting to 10.80.100.62 at port 445 Serverzone is 10800 add_trusted_domain: REG is a mixed (or NT4) mode domain Added domain REG Could not fetch sid for our domain REG scanning trusted domain list rpc: trusted_domains get_dc_list: returning 1 ip addresses in an unordered list get_dc_list: 10.80.100.62:0 nmb packet from 10.80.100.62(137) header: id=30956 opcode=Query(0) response=Yes header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0 answers: nmb_name=REG1c rr_type=33 rr_class=1 ttl=0 answers 0 char .PDC hex 09504443202020202020202020202020 answers 10 char .d.PDC hex 00640050444320202020202020202020 answers 20 char .d.PDC hex 20200364005044432020202020202020 answers 30 char d...__MSBRO hex 2020202020640001025F5F4D5342524F answers 40 char WSE__REG hex 5753455F5F0201E40052454720202020 answers 50 char ...REG hex 202020202020202000E4005245472020 answers 60 char .d.REG hex 202020202020202020201B6400524547 answers 70 char ...R hex 2020202020202020202020201CE40052 answers 80 char EG.d hex 45472020202020202020202020201D64 answers 90 char .REG hex 00524547202020202020202020202020 answers a0 char hex 1EE4 answers b0 char hex
Re: [Samba] Problem with wbinfo
Hamish, Thanks, but the nscd service was already stopped. Must be another solution. Any other idea? Ricardo. On Tue, 29 Mar 2005 13:27:16 +0100, Hamish [EMAIL PROTECTED] wrote: On Tuesday 29 March 2005 13:13, Ricardo Maciel wrote: Hello, I'm using a Samba client to access a Samba Server. The smbclient tool is ok, both at the client as at the server. I'm having trouble with the wbinfo command (winbind service) at the client, as you can see below. Can anybody help me? Thanks!!! =Problem== Samba Server: samba-3.0.10-1.fc2 Samba Client: Version 3.0.0-14.3E -- # service winbind start Iniciando serviços Winbind:[ OK ] # # # wbinfo -t checking the trust secret via RPC calls failed error code was NT_STATUS_INTERNAL_ERROR (0xc0e5) Could not check secret # # # wbinfo -u Error looking up domain users # # # wbinfo -g Error looking up domain groups # # # service winbind stop Desligando os serviços Winbind:[ OK ] Make sure you do not have nscd running - i had similar problems with it. You should be able to do this with `service nscd stop; chkconfig nscd off` Hope that helps H -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with wbinfo
Michael, Here are my nsswitch.conf and smb.conf (I input the syslog=3): # # /etc/nsswitch.conf # # Example: #passwd:db files nisplus nis #shadow:db files nisplus nis #group: db files nisplus nis passwd: files winbind shadow: files winbind group: files winbind # #--smb.conf # # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2004/09/17 16:03:56 # Global parameters [global] workgroup = REG netbios name = Estacao1386000 security = domain password server = * winbind uid = 1000-2 winbind gid = 1000-2 winbind enum users = yes winbind enum groups = yes winbind separator = + winbind cache time = 10 template homedir = /home/winnt/%D/%U winbind use default domain = yes template shell = /bin/bash syslog = 3 # what does wbinfo -p return? # # wbinfo -p Ping to winbindd succeeded on fd 4 # What OS is your domain controller? Red Hat Enterprise Linux AS - 2.4.21-4.EL Have you joined the box the domain? Sorry. I didn't understand! Have you turned up logging (syslog = 3) in your smb.conf? Yes (see above). Still Thanking. Ricardo. On Tue, 29 Mar 2005 10:48:05 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Have you already made the changes to nsswitch.conf? passwd: files winbind shadow: files winbind group: files winbind what does wbinfo -p return? What OS is your domain controller? Have you joined the box the domain? Have you turned up logging (syslog = 3) in your smb.conf? Just some thoughts ... good luck. Michael J Barber Computer Services Administrator WPTZ/WNNE Heart-Argyle Television p 518-561- x563 m 518-572-6639 f 518-561-5940 Ricardo Maciel [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/29/2005 10:50 AM Please respond to Ricardo Maciel To:samba@lists.samba.org cc: Subject:Re: [Samba] Problem with wbinfo Hamish, Thanks, but the nscd service was already stopped. Must be another solution. Any other idea? Ricardo. On Tue, 29 Mar 2005 13:27:16 +0100, Hamish [EMAIL PROTECTED] wrote: On Tuesday 29 March 2005 13:13, Ricardo Maciel wrote: Hello, I'm using a Samba client to access a Samba Server. The smbclient tool is ok, both at the client as at the server. I'm having trouble with the wbinfo command (winbind service) at the client, as you can see below. Can anybody help me? Thanks!!! =Problem== Samba Server: samba-3.0.10-1.fc2 Samba Client: Version 3.0.0-14.3E -- # service winbind start Iniciando serviços Winbind:[ OK ] # # # wbinfo -t checking the trust secret via RPC calls failed error code was NT_STATUS_INTERNAL_ERROR (0xc0e5) Could not check secret # # # wbinfo -u Error looking up domain users # # # wbinfo -g Error looking up domain groups # # # service winbind stop Desligando os serviços Winbind:[ OK ] Make sure you do not have nscd running - i had similar problems with it. You should be able to do this with `service nscd stop; chkconfig nscd off` Hope that helps H -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with wbinfo
In adition, above are the messages that appears at the winbindd.log (at the client), when this service is started: # [2005/03/29 16:30:21, 1] nsswitch/winbindd.c:main(832) winbindd version 3.0.0-14.3E started. Copyright The Samba Team 2000-2003 [2005/03/29 16:30:22, 1] nsswitch/winbindd_util.c:add_trusted_domain(149) Added domain REG [2005/03/29 16:30:22, 1] nsswitch/winbindd_util.c:init_domain_list(284) Could not fetch sid for our domain REG [2005/03/29 16:30:22, 1] nsswitch/winbindd_util.c:add_trusted_domains(206) scanning trusted domain list # Thanks for any help!! Ricardo. On Tue, 29 Mar 2005 14:34:01 -0300, Ricardo Maciel [EMAIL PROTECTED] wrote: Michael, Here are my nsswitch.conf and smb.conf (I input the syslog=3): # # /etc/nsswitch.conf # # Example: #passwd:db files nisplus nis #shadow:db files nisplus nis #group: db files nisplus nis passwd: files winbind shadow: files winbind group: files winbind # #--smb.conf # # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2004/09/17 16:03:56 # Global parameters [global] workgroup = REG netbios name = Estacao1386000 security = domain password server = * winbind uid = 1000-2 winbind gid = 1000-2 winbind enum users = yes winbind enum groups = yes winbind separator = + winbind cache time = 10 template homedir = /home/winnt/%D/%U winbind use default domain = yes template shell = /bin/bash syslog = 3 # what does wbinfo -p return? # # wbinfo -p Ping to winbindd succeeded on fd 4 # What OS is your domain controller? Red Hat Enterprise Linux AS - 2.4.21-4.EL Have you joined the box the domain? Sorry. I didn't understand! Have you turned up logging (syslog = 3) in your smb.conf? Yes (see above). Still Thanking. Ricardo. On Tue, 29 Mar 2005 10:48:05 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Have you already made the changes to nsswitch.conf? passwd: files winbind shadow: files winbind group: files winbind what does wbinfo -p return? What OS is your domain controller? Have you joined the box the domain? Have you turned up logging (syslog = 3) in your smb.conf? Just some thoughts ... good luck. Michael J Barber Computer Services Administrator WPTZ/WNNE Heart-Argyle Television p 518-561- x563 m 518-572-6639 f 518-561-5940 Ricardo Maciel [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/29/2005 10:50 AM Please respond to Ricardo Maciel To:samba@lists.samba.org cc: Subject:Re: [Samba] Problem with wbinfo Hamish, Thanks, but the nscd service was already stopped. Must be another solution. Any other idea? Ricardo. On Tue, 29 Mar 2005 13:27:16 +0100, Hamish [EMAIL PROTECTED] wrote: On Tuesday 29 March 2005 13:13, Ricardo Maciel wrote: Hello, I'm using a Samba client to access a Samba Server. The smbclient tool is ok, both at the client as at the server. I'm having trouble with the wbinfo command (winbind service) at the client, as you can see below. Can anybody help me? Thanks!!! =Problem== Samba Server: samba-3.0.10-1.fc2 Samba Client: Version 3.0.0-14.3E -- # service winbind start Iniciando serviços Winbind:[ OK ] # # # wbinfo -t checking the trust secret via RPC calls failed error code was NT_STATUS_INTERNAL_ERROR (0xc0e5) Could not check secret # # # wbinfo -u Error looking up domain users # # # wbinfo -g Error looking up domain groups # # # service winbind stop Desligando os serviços Winbind:[ OK ] Make sure you do not have nscd running - i had similar problems with it. You should be able to do this with `service nscd stop; chkconfig nscd off` Hope that helps H -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba