Displaying 20 results from an estimated 96 matches for "error_str".
2018 Aug 08
2
[PATCH nbdkit] python: Try harder to print the full traceback on error.
...0644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -129,27 +129,91 @@ python_to_string (PyObject *str)
return NULL;
}
+/* This is the fallback in case we cannot get the full traceback. */
+static void
+print_python_error (const char *callback, PyObject *error)
+{
+ PyObject *error_str;
+ char *error_cstr = NULL;
+
+ error_str = PyObject_Str (error);
+ error_cstr = python_to_string (error_str);
+ nbdkit_error ("%s: %s: error: %s",
+ script, callback,
+ error_cstr ? error_cstr : "<unknown>");
+ Py_DECREF (error_str);
+...
2018 Aug 08
0
Re: [PATCH nbdkit] python: Try harder to print the full traceback on error.
...ugins/python/python.c
> @@ -129,27 +129,91 @@ python_to_string (PyObject *str)
> return NULL;
> }
>
> +/* This is the fallback in case we cannot get the full traceback. */
> +static void
> +print_python_error (const char *callback, PyObject *error)
> +{
> + PyObject *error_str;
> + char *error_cstr = NULL;
> +
> + error_str = PyObject_Str (error);
> + error_cstr = python_to_string (error_str);
+ nbdkit_error ("%s: %s: error: %s",
> + script, callback,
> + error_cstr ? error_cstr : "<unknown>")...
2018 Apr 05
1
Re: [PATCH nbdkit] python: Turn python exceptions into nbdkit errors properly.
...int
> check_python_failure (const char *callback)
> {
> if (PyErr_Occurred ()) {
> - nbdkit_error ("%s: callback failed: %s", script, callback);
> - /* How to turn this into a string? XXX */
> - PyErr_Print ();
> + PyObject *type, *error, *traceback, *error_str;
> + char *error_cstr;
> +
> + /* Convert the Python exception to a string.
> + * https://stackoverflow.com/a/1418703
> + * But forget about the traceback, it's very hard to print.
> + * https://stackoverflow.com/q/1796510
> + */
> + PyErr_Fetch...
2018 Apr 05
4
[PATCH nbdkit] python: Turn python exceptions into nbdkit errors
Much more annoying that it needs to be, but I have tested it and it
works on Python 2 & 3. Note this will not work on Python 3.0 - 3.2,
but I guess we don't care about those versions.
Rich.
2018 Apr 05
0
[PATCH nbdkit] python: Turn python exceptions into nbdkit errors properly.
...+ }
+ return NULL;
+}
+
static int
check_python_failure (const char *callback)
{
if (PyErr_Occurred ()) {
- nbdkit_error ("%s: callback failed: %s", script, callback);
- /* How to turn this into a string? XXX */
- PyErr_Print ();
+ PyObject *type, *error, *traceback, *error_str;
+ char *error_cstr;
+
+ /* Convert the Python exception to a string.
+ * https://stackoverflow.com/a/1418703
+ * But forget about the traceback, it's very hard to print.
+ * https://stackoverflow.com/q/1796510
+ */
+ PyErr_Fetch (&type, &error, &traceback);...
2008 Dec 11
3
Failed to join domain: failed to set machine spn: Constraint violation
...: 'CN=HOSTNAME,OU=Services,OU=OU,OU=OU,OU=OU,DC=DOM,DC=REALM,DC=DOMAIN,DC=com'
domain_sid : *
domain_sid : S-1-5-21-1606980848-1965331169-1417001333
modified_config : 0x00 (0)
error_string : 'failed to set machine spn: Constraint violation'
domain_is_ad : 0x01 (1)
result : WERR_GENERAL_FAILURE
Failed to join domain: failed to set machine spn: Constraint violation
SPN Created - but errors!!!
Second Run:...
2015 Jun 03
2
Cannot join Ubuntu12.04 Samba 4.1.17 to domain
On 03/06/15 22:04, ivenhov wrote:
> Thanks Rowland.
> I understand smb.conf is bit messy and can affect performance but it should
> not prevent me from joining domain.
>
> Here you go:
>
> [global]
> workgroup = MYNAT
> realm = MYNAT.MYCO.BCU
> server string = My server %h
> security = ADS
> password server =
2015 Jun 03
0
Cannot join Ubuntu12.04 Samba 4.1.17 to domain
...t.myco.bcu'
forest_name : 'myco.bcu'
dn : NULL
domain_sid : *
domain_sid :
S-1-5-21-73586283-854245398-682003330
modified_config : 0x00 (0)
error_string : 'failed to connect to AD: Cannot
contact any KDC for requested realm'
domain_is_ad : 0x01 (1)
result : WERR_DEFAULT_JOIN_REQUIRED
Failed to join domain: failed to connect to AD: Cannot contact any KDC for
requested realm...
2009 Apr 03
0
Truncated development log when using rescue_from
...t/services/domains/test6]
My rescue_from implementation:
class ApplicationController < ActionController::Base
rescue_from InvalidDomainError, :with => :handle404NotFound
...
def handle404NotFound(e)
render :xml => generateErrorXML(e.to_s), :status => 404
end
def generateErrorXML(error_str)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<error>
<method>#{request.method}</method>
<request>#{request.request_uri}</request>
<reason>#{error_str}</reason>
</error>"...
2013 Feb 04
1
Able to join Samba client as MEMBER server to Windows 2008 R2 RWDC but not to RODC
...: 'domain.com'
dn :
'CN=vm-ae67a,CN=Computers,DC=domain,DC=com'
domain_sid : *
domain_sid :
S-1-5-21-2999212452-478241430-698296220
modified_config : 0x00 (0)
error_string : NULL
domain_is_ad : 0x01 (1)
result : WERR_OK
Using short domain name -- DOMAIN
Joined 'VM-AE67A' to realm 'domain.com'
DNS Update for vm-ae67a.**INTERNAL*** failed: ERROR_DNS_GSS_ERROR
DNS update failed!
[root...
2017 Dec 01
3
Intermittent failure of net ads join command with error "The transport connection is now disconnected"
...: NULL
dns_domain_name : NULL
forest_name : NULL
dn : NULL
domain_sid : NULL
domain_sid : (NULL SID)
modified_config : 0x00 (0)
error_string : 'failed to lookup DC info for domain
'DOMAIN.COM' over rpc: The transport connection is now disconnected.'
domain_is_ad : 0x00 (0)
set_encryption_types : 0x00000000 (0)
result : WERR_NETNAME_DELET...
2009 May 15
1
3.3.4 2008 Domain Join Error
...forest_name : 'realm.co.com'
dn : NULL
domain_sid : *
domain_sid : S-1-5-21-1219397942-1773535701-801310046
modified_config : 0x00 (0)
error_string : 'failed to connect to AD: Malformed representation of principal'
domain_is_ad : 0x01 (1)
result : WERR_DEFAULT_JOIN_REQUIRED
Failed to join domain: failed to connect to AD: Malformed representation of principal
[2009...
2010 Nov 08
1
Winbind - Domain Join Failed
...LL
? ? ? ? ? ? ?dns_domain_name ? ? ? ? ?: NULL
? ? ? ? ? ? ?forest_name ? ? ? ? ? ? ?: NULL
? ? ? ? ? ? ?dn ? ? ? ? ? ? ? ? ? ? ? : NULL
? ? ? ? ? ? ?domain_sid ? ? ? ? ? ? ? : NULL
? ? ? ? ? ? ? ? ?domain_sid ? ? ? ? ? ? ? : (NULL SID)
? ? ? ? ? ? ?modified_config ? ? ? ? ?: 0x00 (0)
? ? ? ? ? ? ?error_string ? ? ? ? ? ? : 'failed to lookup DC info for
domain 'MYDOMAIN.QA' over rpc: Invalid parameter'
? ? ? ? ? ? ?domain_is_ad ? ? ? ? ? ? : 0x00 (0)
? ? ? ? ? ? ?result ? ? ? ? ? ? ? ? ? : WERR_INVALID_PARAM
Failed to join domain: failed to lookup DC info for domain
'MYDOMAIN.QA...
2011 Mar 02
2
problem with samba 3.5.6 try to join W2K8
...forest_name : 'root.com'
dn : NULL
domain_sid : *
domain_sid :
S-1-5-21-796845957-790525478-725345543
modified_config : 0x00 (0)
error_string : 'failed to join domain
'MYDOMAIN.COM' over rpc: NT_STATUS_NOT_SUPPORTED'
domain_is_ad : 0x01 (1)
result : WERR_NOT_SUPPORTED
[2011/03/02 13:24:00.815116, 2] utils/net.c:916(main)
return code = -1
Faile...
2016 Dec 16
2
net ads join -> "The connection was refused"
...: NULL
dns_domain_name : NULL
forest_name : NULL
dn : NULL
domain_sid : NULL
domain_sid : (NULL SID)
modified_config : 0x00 (0)
error_string : 'failed to lookup DC info for domain
'AD.INTERDEKOR.COM.UA' over rpc: The connection was refused'
domain_is_ad : 0x00 (0)
set_encryption_types : 0x00000000 (0)
result : WERR_CONNECTION_REFUSED
Fai...
2012 May 21
1
3.6.5 and "not_defined_in_RFC4178@please_ignore" error
...: NULL
dns_domain_name : NULL
forest_name : NULL
dn : NULL
domain_sid : NULL
domain_sid : (NULL SID)
modified_config : 0x00 (0)
error_string : 'failed to lookup DC info for domain
'CIB.NET' over rpc: Logon failure'
domain_is_ad : 0x00 (0)
result : WERR_LOGON_FAILURE
relevant configuration options :
[global]
realm=CORP.NET
workgroup=CO...
2016 Apr 12
2
net join fail
...:
'CN=xxHOST,OU=Servers,OU=xxCOMPUTER,OU=Resources,DC=xxFIRSTNAME,DC=xxROOT,DC=ex,DC=ac,DC=uk'
domain_sid : *
domain_sid :
S-1-2-34-5678901234-567890123-4567890123
modified_config : 0x00 (0)
error_string : 'failed to set machine spn:
Constraint violation'
domain_is_ad : 0x01 (1)
result : WERR_GENERAL_FAILURE
Failed to join domain: failed to set machine spn: Constraint violation
Any help would be greatly appreciated.
Tha...
2018 Apr 23
1
Unable to Join Samba Domain: Password Error
...ame : NULL
forest_name : NULL
dn : NULL
domain_sid : *
domain_sid :
S-1-5-21-121215118-3415587123-1071246906
modified_config : 0x00 (0)
error_string : 'Failed to set password for machine
account (NT_STATUS_WRONG_PASSWORD)
'
domain_is_ad : 0x00 (0)
set_encryption_types : 0x00000000 (0)
result : WERR_INVALID_PASSWORD
Viewing the log file on the...
2017 Dec 12
2
Intermittent failure of net ads join command with error "The transport connection is now disconnected"
...n110683 at gmail.com>
> wrote:
>
> > Hello All
> >
> > Can someone please help me understand what could be the
> reason SPENGO
> > fails with windows AD server?
> >
> > SPNEGO login failed: The transport connection is now disconnected.
> > error_string : 'failed to lookup DC info for domain '
> > DOMAIN.COM <http://domain.com/>' over rpc: The transport
> connection is
> > now disconnected.'
> >
> >
> >
> > Thanks in Advance
> >
> > Akash
> >
> > O...
2014 Jul 16
1
net ads join fails in Ubuntu 14.04 in AWS
...n.com'
forest_name : 'domain.com'
dn : NULL
domain_sid : *
domain_sid : S-1-5-21-3703399817-2864286332-805048363
modified_config : 0x00 (0)
error_string : 'failed to connect to AD: Cannot contact any KDC for requested realm'
domain_is_ad : 0x01 (1)
result : WERR_GENERAL_FAILURE
root at new1404:~# net lookup kdc
172.30.192.5:389
172.30.192.5:88
172.30.160.5:88
Sincerely,...