Re: [Samba] Shutting down WinXP Pro instance
charset 'UTF-8' for LOCALE cli_chain_cork: mid=1 handle_incoming_pdu: got mid 1 Doing spnego session setup (blob length=336) SPNEGO login failed: Invalid parameter failed session setup with NT_STATUS_INVALID_PARAMETER lang_tdb_init: /usr/lib64/samba/en_US.UTF-8.msg: No such file or directory Could not connect to server 10.1.0.154 Connection failed: NT_STATUS_INVALID_PARAMETER failed to make ipc connection: NT_STATUS_INVALID_PARAMETER initshutdown pipe failed, trying winreg pipe Connecting to host=10.1.0.154 s3_event: Added timed event tevent_req_timedout: 0x7fc728014c70 s3_event: Added timed event tevent_req_timedout: 0x7fc7280151d0 Running timed event tevent_req_timedout 0x7fc728014c70 s3_event: Destroying timer event 0x7fc728014c70 tevent_req_timedout s3_event: Added timed event tevent_req_timedout: 0x7fc728014c70 Connecting to 10.1.0.154 at port 445 s3_event: Added timed event tevent_req_timedout: 0x7fc728015a70 Running timed event tevent_req_timedout 0x7fc7280151d0 s3_event: Destroying timer event 0x7fc7280151d0 tevent_req_timedout s3_event: Added timed event tevent_req_timedout: 0x7fc7280150b0 Connecting to 10.1.0.154 at port 139 s3_event: Added timed event tevent_req_timedout: 0x7fc728016310 Running timed event tevent_req_timedout 0x7fc728015a70 s3_event: Destroying timer event 0x7fc728015a70 tevent_req_timedout s3_event: Added timed event tevent_req_timedout: 0x7fc728015a70 s3_event: Destroying timer event 0x7fc728015a70 tevent_req_timedout s3_event: Destroying timer event 0x7fc728014c70 tevent_req_timedout Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 1 TCP_KEEPCNT = 9 TCP_KEEPIDLE = 7200 TCP_KEEPINTVL = 75 IPTOS_LOWDELAY = 0 IPTOS_THROUGHPUT = 0 SO_SNDBUF = 16384 SO_RCVBUF = 87380 SO_SNDLOWAT = 1 SO_RCVLOWAT = 1 SO_SNDTIMEO = 0 SO_RCVTIMEO = 0 cli_chain_cork: mid=1 handle_incoming_pdu: got mid 1 Doing spnego session setup (blob length=336) SPNEGO login failed: Invalid parameter failed session setup with NT_STATUS_INVALID_PARAMETER Could not connect to server 10.1.0.154 Connection failed: NT_STATUS_INVALID_PARAMETER failed to make ipc connection: NT_STATUS_INVALID_PARAMETER return code = -1 == Thanks again for the help... - Joe From: muel...@tropenklinik.de To: t...@tms3.com; esiot...@gmail.com CC: samba@lists.samba.org; joe_ts...@hotmail.com Subject: AW: [Samba] Shutting down WinXP Pro instance Date: Tue, 25 Jan 2011 08:23:55 +0100 Maybe your local policies security disallows that feature. You can proof that with gpedit.msc local settings--add user rights-- force shutdown from remote --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von t...@tms3.com Gesendet: Dienstag, 25. Januar 2011 07:54 An: Michael Wood Cc: samba@lists.samba.org; Joe Tseng Betreff: Re: [Samba] Shutting down WinXP Pro instance --- Original message --- Subject: Re: [Samba] Shutting down WinXP Pro instance From: Michael Wood To: Joe Tseng Cc: Date: Monday, 24/01/2011 10:51 PM Hi On 25 January 2011 02:54, Joe Tseng wrote: Recently I set up a PDC (Fedora 12 - I'm using this for a specific reason) using Samba 3.4.9 and OpenLDAP 2.4.19; I named my domain ATHOME. I am trying to figure out how to shut down WinXP Pro remotely and I'm not having any luck. Up to this point I have tried the following: - I used ATHOME\root which is the admin acct I used to join XP to my domain. I added ATHOME\root to my workstation's Administrators group. - I've disabled simple file sharing on WinXP. - I've disabled the WinXP firewall. My results are the following: [root@server0 openldap]# net rpc shutdown -d -I 10.1.0.154 -U root Hmmm. Do you have good NetBIOS browsing or WINS? I've noticed that these calls by IP address have a tendency to fail, but by NetBIOS name succeed. [2011/01/24 19:50:34, 0] lib/debug.c:451(debug_parse_params) debug_parse_params: unrecognized debug class name or format [-I] You are using incorrect syntax for the debug option. Try net rpc shutdown -d 10 -I 10.1.0.154 -U root and maybe that will show you what the problem is. (i.e. you need a number after -d.) -- Michael Wood -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from
Re: [Samba] Shutting down WinXP Pro instance
2011/1/25 Joe Tseng joe_ts...@hotmail.com: Thanks again for the help... I looked at Force shutdown from a remote system and it already had Administrators in there; I had already added ATHOME\root included as a group member. I added it explicitly into that list but it made no difference. I examined 'net' of Samba 3.5.6 and it works fine: - $ net rpc shutdown -S 192.168.135.131 -r -U administrator%password Shutdown of remote machine succeeded - 192.168.135.131 is the IP address for Windows XP SP3 box. TAKAHASHI Motonobu mo...@samba.gr.jp -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Shutting down WinXP Pro instance
I re-registered the workstation with the PDC to create an interdomain trust account: smbldap-userdel vm-xppro$ smbldap-useradd -w -i vm-xppro$ I can get Samba to find my workstation's IP address; shutdown needs an IP address and will not use a NetBIOS name: == [root@server0 samba]# net lookup vm-xppro 10.1.0.154 [root@server0 samba]# net rpc shutdown -I vm-xppro -U root Invalid ip address specified == ...And no I still can't shutdown using net rpc shutdown -d 10 -I 10.1.0.154 -U root. :( - Joe From: t...@tms3.com To: joe_ts...@hotmail.com Subject: Re: [Samba] Shutting down WinXP Pro instance Date: Tue, 25 Jan 2011 06:48:30 -0800 On Tuesday 25/01/2011 at 2:58 am, Joe Tseng wrote: Thanks again for the help... I looked at Force shutdown from a remote system and it already had Administrators in there; I had already added ATHOME\root included as a group member. I added it explicitly into that list but it made no difference. As for using the NetBIOS name that made no difference; in fact I think it didn't resolve at all: Then that IS a problem. The names need to resolve for trust to be determined. == [root@server0 samba]# net rpc shutdown -I HDA -U root Enter root's password: Shutdown of remote machine failed result was: WERR_ACCESS_DENIED [root@server0 samba]# net rpc shutdown -I 10.1.0.154 -U root Enter root's password: Could not connect to server 10.1.0.154 Connection failed: NT_STATUS_INVALID_PARAMETER Could not connect to server 10.1.0.154 Connection failed: NT_STATUS_INVALID_PARAMETER == The detailed debug output of using the IP is below: == [root@server0 samba]# net rpc shutdown -d 10 -I 10.1.0.154 -U root [2011/01/25 05:41:26, 5] lib/debug.c:407(debug_dump_status) INFO: Current debug levels: all: True/10 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 acls: False/0 locking: False/0 msdfs: False/0 dmapi: False/0 registry: False/0 [2011/01/25 05:41:26, 3] param/loadparm.c:9039(lp_load_ex) lp_load_ex: refreshing parameters [2011/01/25 05:41:26, 3] param/loadparm.c:4848(init_globals) Initialising global parameters [2011/01/25 05:41:26, 2] param/loadparm.c:4707(max_open_files) rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) [2011/01/25 05:41:26, 3] ../lib/util/params.c:550(pm_process) params.c:pm_process() - Processing configuration file /etc/samba/smb.conf [2011/01/25 05:41:26, 3] param/loadparm.c:7726(do_section) Processing section [global] doing parameter workgroup = ATHOME doing parameter server string = at.home doing parameter netbios name = hda [2011/01/25 05:41:26, 4] param/loadparm.c:7088(handle_netbios_name) handle_netbios_name: set global_myname to: HDA doing parameter printing = cups doing parameter printcap name = cups doing parameter load printers = yes doing parameter cups options = raw doing parameter log file = /var/log/samba/%m.log doing parameter log level = 0 doing parameter max log size = 150 doing parameter socket options = TCP_NODELAY doing parameter preferred master = yes doing parameter os level = 65 doing parameter domain master = yes doing parameter local master = yes doing parameter admin users = homeadmin doing parameter domain logons = yes doing parameter logon path = \\%L\profiles\%U doing parameter logon drive = H: doing parameter logon home = \\%L\%U doing parameter time server = yes doing parameter unix extensions = no doing parameter wide links = yes doing parameter veto files = /*.nws/riched20.dll/*.{*}/ doing parameter security = user doing parameter username map script = /usr/share/hda-platform/hda-usermap doing parameter large readwrite = yes doing parameter encrypt passwords = yes doing parameter dos charset = CP850 doing parameter unix charset = UTF8 [2011/01/25 05:41:26, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UCS-2LE [2011/01/25 05:41:26, 5] lib/iconv.c:112(smb_register_charset) Registered charset UCS-2LE [2011/01/25 05:41:26, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UTF-16LE [2011/01/25 05:41:26, 5] lib/iconv.c:112(smb_register_charset) Registered charset UTF-16LE [2011/01/25 05:41:26, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UCS-2BE [2011/01/25 05:41:26, 5] lib
Re: [Samba] Shutting down WinXP Pro instance
[] ...And no I still can't shutdown using net rpc shutdown -d 10 -I 10.1.0.154 -U root. [] :( [] - Joe You might have to set this: To enable/disable the shutdown in Windows XP/2003 without logging in: 1.Start the Local Security Policies snapin 2.In the tree-view go to Local Policies - Security Options 3.Change the option Shutdown: Allow system to be shut down without having to log on Also, there is no root user in Windows... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Shutting down WinXP Pro instance
Enable privileges=yes in your global config Add user administrator to samba Then add administrator to the Domain Admins The next steps look here: http://book.opensourceproject.org.cn/sysadmin/samba/howto2nd/opensource/0131 882228/ch12lev1sec5.html Then: My System: [root@ctdb1 ~]# net rpc rights list -U root%password SeMachineAccountPrivilege Add machines to domain SeTakeOwnershipPrivilege Take ownership of files or other objects SeBackupPrivilege Back up files and directories SeRestorePrivilege Restore files and directories SeRemoteShutdownPrivilege Force shutdown from a remote system SePrintOperatorPrivilege Manage printers SeAddUsersPrivilege Add users and groups to the domain SeDiskOperatorPrivilege Manage disk shares net rpc rights grant Administrator SeRemoteShutdownPrivilege -U Administrator%password --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von compdoc Gesendet: Mittwoch, 26. Januar 2011 03:24 An: 'Joe Tseng'; 'samba list' Betreff: Re: [Samba] Shutting down WinXP Pro instance [] ...And no I still can't shutdown using net rpc shutdown -d 10 -I 10.1.0.154 -U root. [] :( [] - Joe You might have to set this: To enable/disable the shutdown in Windows XP/2003 without logging in: 1.Start the Local Security Policies snapin 2.In the tree-view go to Local Policies - Security Options 3.Change the option Shutdown: Allow system to be shut down without having to log on Also, there is no root user in Windows... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Shutting down WinXP Pro instance
Recently I set up a PDC (Fedora 12 - I'm using this for a specific reason) using Samba 3.4.9 and OpenLDAP 2.4.19; I named my domain ATHOME. I am trying to figure out how to shut down WinXP Pro remotely and I'm not having any luck. Up to this point I have tried the following: - I used ATHOME\root which is the admin acct I used to join XP to my domain. I added ATHOME\root to my workstation's Administrators group. - I've disabled simple file sharing on WinXP. - I've disabled the WinXP firewall. My results are the following: [root@server0 openldap]# net rpc shutdown -d -I 10.1.0.154 -U root [2011/01/24 19:50:34, 0] lib/debug.c:451(debug_parse_params) debug_parse_params: unrecognized debug class name or format [-I] Enter root's password: Shutdown of remote machine failed result was: WERR_ACCESS_DENIED [root@server0 openldap]# net rpc shutdown -d -I 10.1.0.154 -U Administrator [2011/01/24 19:50:42, 0] lib/debug.c:451(debug_parse_params) debug_parse_params: unrecognized debug class name or format [-I] Enter Administrator's password: Shutdown of remote machine failed result was: WERR_ACCESS_DENIED The 1st attempt was using ATHOME\root; the 2nd attempt was using the workstation's local Administrator account. I've tried googling for WERR_ACCESS_DENIED but I can't find any listings that resemble this issue. Could someone pls clue me in? Thanks for the help, - Joe If you type Google into Google, you can break the Internet. -- Jen Barber -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Shutting down WinXP Pro instance
Hi On 25 January 2011 02:54, Joe Tseng joe_ts...@hotmail.com wrote: Recently I set up a PDC (Fedora 12 - I'm using this for a specific reason) using Samba 3.4.9 and OpenLDAP 2.4.19; I named my domain ATHOME. I am trying to figure out how to shut down WinXP Pro remotely and I'm not having any luck. Up to this point I have tried the following: - I used ATHOME\root which is the admin acct I used to join XP to my domain. I added ATHOME\root to my workstation's Administrators group. - I've disabled simple file sharing on WinXP. - I've disabled the WinXP firewall. My results are the following: [root@server0 openldap]# net rpc shutdown -d -I 10.1.0.154 -U root [2011/01/24 19:50:34, 0] lib/debug.c:451(debug_parse_params) debug_parse_params: unrecognized debug class name or format [-I] You are using incorrect syntax for the debug option. Try net rpc shutdown -d 10 -I 10.1.0.154 -U root and maybe that will show you what the problem is. (i.e. you need a number after -d.) -- Michael Wood esiot...@gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Shutting down WinXP Pro instance
--- Original message --- Subject: Re: [Samba] Shutting down WinXP Pro instance From: Michael Wood esiot...@gmail.com To: Joe Tseng joe_ts...@hotmail.com Cc: samba@lists.samba.org Date: Monday, 24/01/2011 10:51 PM Hi On 25 January 2011 02:54, Joe Tseng joe_ts...@hotmail.com wrote: Recently I set up a PDC (Fedora 12 - I'm using this for a specific reason) using Samba 3.4.9 and OpenLDAP 2.4.19; I named my domain ATHOME. I am trying to figure out how to shut down WinXP Pro remotely and I'm not having any luck. Up to this point I have tried the following: - I used ATHOME\root which is the admin acct I used to join XP to my domain. I added ATHOME\root to my workstation's Administrators group. - I've disabled simple file sharing on WinXP. - I've disabled the WinXP firewall. My results are the following: [root@server0 openldap]# net rpc shutdown -d -I 10.1.0.154 -U root Hmmm. Do you have good NetBIOS browsing or WINS? I've noticed that these calls by IP address have a tendency to fail, but by NetBIOS name succeed. [2011/01/24 19:50:34, 0] lib/debug.c:451(debug_parse_params) debug_parse_params: unrecognized debug class name or format [-I] You are using incorrect syntax for the debug option. Try net rpc shutdown -d 10 -I 10.1.0.154 -U root and maybe that will show you what the problem is. (i.e. you need a number after -d.) -- Michael Wood esiot...@gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Shutting down WinXP Pro instance
Maybe your local policies security disallows that feature. You can proof that with gpedit.msc local settings--add user rights-- force shutdown from remote --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von t...@tms3.com Gesendet: Dienstag, 25. Januar 2011 07:54 An: Michael Wood Cc: samba@lists.samba.org; Joe Tseng Betreff: Re: [Samba] Shutting down WinXP Pro instance --- Original message --- Subject: Re: [Samba] Shutting down WinXP Pro instance From: Michael Wood esiot...@gmail.com To: Joe Tseng joe_ts...@hotmail.com Cc: samba@lists.samba.org Date: Monday, 24/01/2011 10:51 PM Hi On 25 January 2011 02:54, Joe Tseng joe_ts...@hotmail.com wrote: Recently I set up a PDC (Fedora 12 - I'm using this for a specific reason) using Samba 3.4.9 and OpenLDAP 2.4.19; I named my domain ATHOME. I am trying to figure out how to shut down WinXP Pro remotely and I'm not having any luck. Up to this point I have tried the following: - I used ATHOME\root which is the admin acct I used to join XP to my domain. I added ATHOME\root to my workstation's Administrators group. - I've disabled simple file sharing on WinXP. - I've disabled the WinXP firewall. My results are the following: [root@server0 openldap]# net rpc shutdown -d -I 10.1.0.154 -U root Hmmm. Do you have good NetBIOS browsing or WINS? I've noticed that these calls by IP address have a tendency to fail, but by NetBIOS name succeed. [2011/01/24 19:50:34, 0] lib/debug.c:451(debug_parse_params) debug_parse_params: unrecognized debug class name or format [-I] You are using incorrect syntax for the debug option. Try net rpc shutdown -d 10 -I 10.1.0.154 -U root and maybe that will show you what the problem is. (i.e. you need a number after -d.) -- Michael Wood esiot...@gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba