The Samba-Bugzilla – Attachment 13746 Details for
Bug 12970
sec_initial_uid() called before sec_init() in net command
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
net.patch (text/plain), 740 bytes, created by
Stefan Walter
on 2017-10-31 07:33:49 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Stefan Walter
Created:
2017-10-31 07:33:49 UTC
Size:
740 bytes
patch
obsolete
>--- source3/utils/net.c.orig 2017-10-31 08:31:04.125695025 +0100 >+++ source3/utils/net.c 2017-10-31 08:31:30.480757684 +0100 >@@ -1036,6 +1036,10 @@ > exit(1); > } > >+ /* this makes sure that when we do things like call scripts, >+ that it won't assert because we are not root */ >+ sec_init(); >+ > status = messaging_init_client(c, > samba_tevent_context_init(c), > &c->msg_ctx); >@@ -1104,10 +1108,6 @@ > > load_interfaces(); > >- /* this makes sure that when we do things like call scripts, >- that it won't assert because we are not root */ >- sec_init(); >- > if (c->opt_machine_pass) { > /* it is very useful to be able to make ads queries as the > machine account for testing purposes and for domain leave */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12970
: 13746