search for: status_ok

Displaying 17 results from an estimated 17 matches for "status_ok".

2024 Jan 22
1
ntlm_auth not returning "STATUS_OK"
I have scripts that runs ntlm_auth. Before upgrading my DC to 4.18.9 I would get text string output from the ntlm_auth command. For example: STATUS_NO_SUCH_USER NT_STATUS_WRONG_PASSWORD STATUS_OK My script(s) look for these strings. Now with the new Samba, the first two strings are output as usual in the case of non-existant user and invalid password, respectively, but if the user/pw is OK it now returns the string: ": (0x0)", which, I suppose, is the exit status of the ntlm_a...
2024 Jan 23
2
ntlm_auth not returning "STATUS_OK"
...22 11:00:59 2024 Mark Foley via samba <samba at lists.samba.org> wrote: > > I have scripts that runs ntlm_auth. Before upgrading my DC to 4.18.9 I would > get text string output from the ntlm_auth command. For example: > > STATUS_NO_SUCH_USER > NT_STATUS_WRONG_PASSWORD > STATUS_OK > > My script(s) look for these strings. > > Now with the new Samba, the first two strings are output as usual in the case of > non-existant user and invalid password, respectively, but if the user/pw is OK > it now returns the string: ": (0x0)", which, I suppose, is t...
2024 Jan 24
2
ntlm_auth not returning "STATUS_OK"
...mba at lists.samba.org> wrote: > > > > I have scripts that runs ntlm_auth. Before upgrading my DC to > > 4.18.9 I would get text string output from the ntlm_auth command. > > For example: > > > > STATUS_NO_SUCH_USER > > NT_STATUS_WRONG_PASSWORD > > STATUS_OK > > > > My script(s) look for these strings. > > > > Now with the new Samba, the first two strings are output as usual > > in the case of non-existant user and invalid password, > > respectively, but if the user/pw is OK it now returns the string: > > &quo...
2024 Jan 27
1
ntlm_auth not returning "STATUS_OK"
...gt; > > > > I have scripts that runs ntlm_auth. Before upgrading my DC to > > > 4.18.9 I would get text string output from the ntlm_auth command. > > > For example: > > > > > > STATUS_NO_SUCH_USER > > > NT_STATUS_WRONG_PASSWORD > > > STATUS_OK > > > > > > Now with the new Samba, the first two strings are output as usual > > > in the case of non-existant user and invalid password, > > > respectively, but if the user/pw is OK it now returns the string: > > > ": (0x0)", which, I suppos...
2024 Jan 27
1
ntlm_auth not returning "STATUS_OK"
...ts that runs ntlm_auth. Before upgrading my DC to >>>>> 4.18.9 I would get text string output from the ntlm_auth >>>>> command. For example: >>>>> >>>>> STATUS_NO_SUCH_USER >>>>> NT_STATUS_WRONG_PASSWORD >>>>> STATUS_OK >>>>> >>>>> Now with the new Samba, the first two strings are output as >>>>> usual in the case of non-existant user and invalid password, >>>>> respectively, but if the user/pw is OK it now returns the >>>>> string: ":...
2024 Jan 27
2
ntlm_auth not returning "STATUS_OK"
...scripts that runs ntlm_auth. Before upgrading my DC to > > > > 4.18.9 I would get text string output from the ntlm_auth > > > > command. For example: > > > > > > > > STATUS_NO_SUCH_USER > > > > NT_STATUS_WRONG_PASSWORD > > > > STATUS_OK > > > > > > > > Now with the new Samba, the first two strings are output as > > > > usual in the case of non-existant user and invalid password, > > > > respectively, but if the user/pw is OK it now returns the > > > > string: ": (0x...
2010 Mar 15
0
[PATCH] Updated the list of ignored files and fixed whitespace issues.
...tWrapper::ManagementMethod(uint32_t methodId, Args& args, string& text) +Manageable::status_t +HostWrapper::ManagementMethod(uint32_t methodId, Args& args, string& text) { switch(methodId) { case _qmf::Host::METHOD_SHUTDOWN: - shutdown(); - return Manageable::STATUS_OK; + shutdown(); + return Manageable::STATUS_OK; case _qmf::Host::METHOD_REBOOT: - reboot(); - return Manageable::STATUS_OK; + reboot(); + return Manageable::STATUS_OK; } return Manageable::STATUS_NOT_IMPLEMENTED; } diff --git a/...
2024 Jan 21
2
Provisioning new AD Domain Controller
On Sat, 20 Jan 2024 20:31:31 -0500 Mark Foley via samba <samba at lists.samba.org> wrote: > On Sat Jan 20 16:28:14 2024 Rowland Penny via samba > <samba at lists.samba.org> wrote: > > > > On Sat, 20 Jan 2024 15:44:18 -0500 > > Mark Foley via samba <samba at lists.samba.org> wrote: > > > > > After provisioning and testing my new DC offline,
2010 Apr 15
1
[PATCH matahari] Refactored the Host agent.
...pper::shutdown() -{ - system("shutdown -h now"); -} - -Manageable::status_t -HostWrapper::ManagementMethod(uint32_t methodId, Args& args, string& text) -{ - switch(methodId) { - case _qmf::Host::METHOD_SHUTDOWN: - shutdown(); - return Manageable::STATUS_OK; - case _qmf::Host::METHOD_REBOOT: - reboot(); - return Manageable::STATUS_OK; - } - return Manageable::STATUS_NOT_IMPLEMENTED; + processors.update(); } diff --git a/src/host.h b/src/host.h index 148c91f..c19da3e 100644 --- a/src/host.h +++ b/src/host.h @@ -1,3...
2010 May 13
0
[PATCH matahari] Moving QMF functionality into a transport layer.
...); + _management_object->set_beeping(_host->is_beeping()); +} + +Manageable::status_t +HostAgent::ManagementMethod(uint32_t method, Args& arguments, string& text) +{ + switch(method) + { + case _qmf::Host::METHOD_SHUTDOWN: + _host->shutdown(); + return Manageable::STATUS_OK; + case _qmf::Host::METHOD_REBOOT: + _host->reboot(); + return Manageable::STATUS_OK; + } + + return Manageable::STATUS_NOT_IMPLEMENTED; +} + +void +HostAgent::identify(const int iterations) +{ + // TODO +} + +void +HostAgent::subscribe_to_heartbeat(const HeartbeatListener&...
2010 May 19
2
Squashed commits...
Refactoring the previous patch ended up creating two deltas. This patch pushes them both together into a single commit.
2010 Mar 16
0
[PATCH] Added the new Processors agent.
...entMethod(uint32_t id, Args& args, string& text) +{ + switch(id) + { + case _qmf::Processors::METHOD_GET_LOAD_AVERAGE: + _qmf::ArgsProcessorsGet_load_average& loadavg = (_qmf::ArgsProcessorsGet_load_average&) args; + loadavg.o_ret = get_load_average(); + return STATUS_OK; + } + + return STATUS_NOT_IMPLEMENTED; +} + +double +ProcessorsAgent::get_load_average(void) +{ + double result; + ifstream input; + + input.open("/proc/loadavg", ios::in); + input >> result; + input.close(); + + return result; +} diff --git a/src/processors.h b/src/proce...
2010 Mar 22
1
Small change and resend...
This patch includes one small change: the Processors::get_load_average() method is now const since it does not change the object's state.
2008 Dec 14
1
Changes to ''rtmp''
...e failed commit 8e6c7f5b9c9691a592df96f14ee9df630e5b1fc9 Author: Benjamin Otte <otte at gnome.org> Date: Mon Dec 1 21:16:21 2008 +0000 make sure short writes to a socket trigger the writable signal A short write previously did not trigger it, because it could still return STATUS_OK even though it hadn''t written everything. commit a5177a11605be993a03ec71191110185c3471bc7 Author: Benjamin Otte <otte at gnome.org> Date: Mon Dec 1 18:13:19 2008 +0000 perform external actions immediately, not delayed This likely breaks some NetStream tests in the te...
2010 Apr 26
0
[PATCH matahari] Created the NetworkDevice agent.
...string& text) -{ - switch (methodId) { - case _qmf::NIC::METHOD_IDENTIFY_NIC: - _qmf::ArgsNICIdentify_nic& ioArgs = (_qmf::ArgsNICIdentify_nic&) args; - int seconds = ioArgs.i_seconds; - ioArgs.o_ret = identifyNIC(seconds); - return STATUS_OK; - } - - return STATUS_NOT_IMPLEMENTED; -} diff --git a/src/nic.h b/src/nic.h deleted file mode 100644 index e0e5874..0000000 --- a/src/nic.h +++ /dev/null @@ -1,95 +0,0 @@ -/* nic.h - Copyright (C) 2009 Red Hat, Inc. - * Written by Arjun Roy <arroy at redhat.com> - * - * This program i...
2010 Apr 26
2
Patch supercedes previous patch...
In looking at the code I realized that the last of the HAL depenencies were removed with this patch. So, I'm pushing an updated patch that contains none of the HAL code in it.
2011 Nov 17
29
[PATCH 00 of 17] Documentation updates
The following series flushes my documentation queue and replaces previous postings of those patches. The main difference is that the xl cfg file is now formatted using POD instead of markdown and presented as a manpage. I have setup a cron job to build docs/html and publish it at http://xenbits.xen.org/docs/unstable/ (it''s a bit bare right now). The motivation for some of these patches