Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] net rpc shutdown command showing error message
@ 2021-08-30 14:46 aftermath8
  2021-09-01  8:57 ` aftermath8
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: aftermath8 @ 2021-08-30 14:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

New issue by aftermath8 on void-packages repository

https://github.com/void-linux/void-packages/issues/32761

Description:
Hello everyone!

First, I want to thank the developers and the whole community for this very high quality distro!

So I chose Void to develop and host a network monitoring application. One of the components of this application is to shut down the remote machine (Windows based) in case an anomaly is detected, so I will use the following command;
`$ net rpc -I <IP> -U USER%PASSWD shutdown`

Here is the error I get:
```
open_policy failed: NT_STATUS_INVALID_HANDLE
open_policy failed: NT_STATUS_INVALID_HANDLE
```

Note that when I run a command from another server on the network it works without errors. 

Any help or advice would be very welcome as I really want to continue working with Void!

Thank y'all!

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
@ 2021-09-01  8:57 ` aftermath8
  2021-09-01 11:58 ` ericonr
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aftermath8 @ 2021-09-01  8:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

New comment by aftermath8 on void-packages repository

https://github.com/void-linux/void-packages/issues/32761#issuecomment-910081580

Comment:
Anyone?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
  2021-09-01  8:57 ` aftermath8
@ 2021-09-01 11:58 ` ericonr
  2021-09-07 11:46 ` aftermath8
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ericonr @ 2021-09-01 11:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/32761#issuecomment-910213867

Comment:
Since you opened this issue in the wrong repo originally, you missed the issue template. Please include this information:

### System

* xuname:  
  *output of ``xuname`` (part of xtools)*
* package:  
  *affected package(s) including the version*: ``xbps-query -p pkgver <pkgname>``

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
  2021-09-01  8:57 ` aftermath8
  2021-09-01 11:58 ` ericonr
@ 2021-09-07 11:46 ` aftermath8
  2021-09-07 13:08 ` aftermath8
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aftermath8 @ 2021-09-07 11:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

New comment by aftermath8 on void-packages repository

https://github.com/void-linux/void-packages/issues/32761#issuecomment-914234748

Comment:
Oh sorry, my bad!

So here we go:

- xuname: Void 5.13.13_1 x86_64 GenuineIntel notuptodate rFF
- package: `samba`

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
                   ` (2 preceding siblings ...)
  2021-09-07 11:46 ` aftermath8
@ 2021-09-07 13:08 ` aftermath8
  2021-09-15 13:11 ` aftermath8
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aftermath8 @ 2021-09-07 13:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

New comment by aftermath8 on void-packages repository

https://github.com/void-linux/void-packages/issues/32761#issuecomment-914234748

Comment:
Oh sorry, my bad!

So here we go:

- xuname: Void 5.13.13_1 x86_64 GenuineIntel uptodate rFF
- package: `samba`

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
                   ` (3 preceding siblings ...)
  2021-09-07 13:08 ` aftermath8
@ 2021-09-15 13:11 ` aftermath8
  2021-09-16  0:40 ` ericonr
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aftermath8 @ 2021-09-15 13:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

New comment by aftermath8 on void-packages repository

https://github.com/void-linux/void-packages/issues/32761#issuecomment-920005443

Comment:
I'm sorry to relaunch the subject, but I'm in the final phase of development of the application and this error is the only grain of sand in the machine... 

It doesn't look like a network error. Plus, I ran the command with 3 different distributions (Kubuntu, Alpine Linux and OpenSUSE) and it worked fine. It's only with Void that it gets stuck. 

Some help would be really appreciated. Thanks!



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
                   ` (4 preceding siblings ...)
  2021-09-15 13:11 ` aftermath8
@ 2021-09-16  0:40 ` ericonr
  2022-01-07  2:47 ` lonwillett
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ericonr @ 2021-09-16  0:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/32761#issuecomment-920487193

Comment:
I want to try and do this locally, but haven't had the time. What debugging routes have you tried? Capturing an strace from it on Void and on another distro might help, I think. Does the machine you're controlling report anything about a failed attempt?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
                   ` (5 preceding siblings ...)
  2021-09-16  0:40 ` ericonr
@ 2022-01-07  2:47 ` lonwillett
  2022-01-19 15:55 ` ahesford
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: lonwillett @ 2022-01-07  2:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

New comment by lonwillett on void-packages repository

https://github.com/void-linux/void-packages/issues/32761#issuecomment-1007097521

Comment:
See PR https://github.com/void-linux/void-packages/pull/34916.

I suspect that it's some problem relating to its dependencies (talloc/tevent/tdb), although I'm by no means certain.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
                   ` (6 preceding siblings ...)
  2022-01-07  2:47 ` lonwillett
@ 2022-01-19 15:55 ` ahesford
  2022-01-21 12:30 ` lonwillett
  2022-01-24 18:48 ` [ISSUE] [CLOSED] " paper42
  9 siblings, 0 replies; 11+ messages in thread
From: ahesford @ 2022-01-19 15:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/32761#issuecomment-1016607734

Comment:
Please test this against the (forthcoming) version 4.14.11.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
                   ` (7 preceding siblings ...)
  2022-01-19 15:55 ` ahesford
@ 2022-01-21 12:30 ` lonwillett
  2022-01-24 18:48 ` [ISSUE] [CLOSED] " paper42
  9 siblings, 0 replies; 11+ messages in thread
From: lonwillett @ 2022-01-21 12:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by lonwillett on void-packages repository

https://github.com/void-linux/void-packages/issues/32761#issuecomment-1018464927

Comment:
Fixed for me with 4.14.11_1

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ISSUE] [CLOSED] net rpc shutdown command showing error message
  2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
                   ` (8 preceding siblings ...)
  2022-01-21 12:30 ` lonwillett
@ 2022-01-24 18:48 ` paper42
  9 siblings, 0 replies; 11+ messages in thread
From: paper42 @ 2022-01-24 18:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

Closed issue by aftermath8 on void-packages repository

https://github.com/void-linux/void-packages/issues/32761

Description:
Hello everyone!

First, I want to thank the developers and the whole community for this very high quality distro!

So I chose Void to develop and host a network monitoring application. One of the components of this application is to shut down the remote machine (Windows based) in case an anomaly is detected, so I will use the following command;
`$ net rpc -I <IP> -U USER%PASSWD shutdown`

Here is the error I get:
```
open_policy failed: NT_STATUS_INVALID_HANDLE
open_policy failed: NT_STATUS_INVALID_HANDLE
```

Note that when I run a command from another server on the network it works without errors. 

Any help or advice would be very welcome as I really want to continue working with Void!

Thank y'all!

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-01-24 18:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30 14:46 [ISSUE] net rpc shutdown command showing error message aftermath8
2021-09-01  8:57 ` aftermath8
2021-09-01 11:58 ` ericonr
2021-09-07 11:46 ` aftermath8
2021-09-07 13:08 ` aftermath8
2021-09-15 13:11 ` aftermath8
2021-09-16  0:40 ` ericonr
2022-01-07  2:47 ` lonwillett
2022-01-19 15:55 ` ahesford
2022-01-21 12:30 ` lonwillett
2022-01-24 18:48 ` [ISSUE] [CLOSED] " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).