The Samba-Bugzilla – Attachment 10513 Details for
Bug 10998
Possible NULL-pointer dereference in lib/util/charset/pull_push.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
backtrace.log
backtrace.log (text/plain), 37.48 KB, created by
Torsten Kurbad
on 2014-12-09 16:37:56 UTC
(
hide
)
Description:
backtrace.log
Filename:
MIME Type:
Creator:
Torsten Kurbad
Created:
2014-12-09 16:37:56 UTC
Size:
37.48 KB
patch
obsolete
>#0 0x00007fa6b09cf1f4 in push_ucs2_talloc (ctx=0x25013f0, dest=0x2501450, src=0x0, converted_size=0x7fff1321a720) > at ../lib/util/charset/pull_push.c:41 >No locals. >#1 0x00007fa6ad9339a1 in msrpc_gen (mem_ctx=0x24f7ea0, blob=0x7fff1321ab50, format=<optimized out>) at ../libcli/auth/msrpc_parse.c:75 > i = <optimized out> > j = <optimized out> > ret = <optimized out> > ap = {{gp_offset = 48, fp_offset = 0, overflow_arg_area = 0x7fff1321a7e0, reg_save_area = 0x7fff1321a740}} > s = <optimized out> > b = <optimized out> > head_size = 52 > data_size = <optimized out> > head_ofs = <optimized out> > data_ofs = <optimized out> > intargs = 0x2501650 > n = 28 > pointers = 0x25013f0 >#2 0x00007fa6abadd13f in ntlmssp_client_challenge (gensec_security=0x24f3af0, out_mem_ctx=0x24f40a0, in=..., out=0x7fff1321ab50) > at ../auth/ntlmssp/ntlmssp_client.c:299 > gensec_ntlmssp = <optimized out> > ntlmssp_state = 0x24f8770 > chal_flags = 1619624453 > ntlmssp_command = 2 > unkn1 = 0 > unkn2 = 0 > server_domain_blob = {data = 0x0, length = 0} > challenge_blob = {data = 0x24f56b0 "\300Ò±\276\356\274W\256\236", length = 8} > target_info = {data = 0x24f4500 "\002", length = 102} > server_domain = 0x24f6390 "KMRC" > chal_parse_string = <optimized out> > auth_gen_string = 0x7fa6abae8856 "CdBBUUUBd" > lm_response = {data = 0x24f45d0 "\271s^>lSxxf\307t\342W\206\205\367\360~H\302\a\253\316#a", length = 24} > nt_response = {data = 0x2501550 "\213\255\002\001\325)\367\300O\334\341\211\360\265f\363\001\001", length = 146} > session_key = {data = 0x2501370 "\307\033\262.PUân\250\fz\033\066\a", length = 16} > lm_session_key = {data = 0x0, length = 0} > encrypted_session_key = {data = 0x25012f0 "\232\206Y\365\221\026\347+\352\301\217\262F/\327(response\201", length = 16} > nt_status = <optimized out> > flags = 11 > user = 0x249c190 "administrator" > domain = 0x249c280 "KMRC" > mem_ctx = 0x24f7ea0 > __FUNCTION__ = "ntlmssp_client_challenge" >#3 0x00007fa6abadc15c in gensec_ntlmssp_update (gensec_security=0x24f3af0, out_mem_ctx=0x24f40a0, ev=<optimized out>, input=..., out= > 0x7fff1321ab50) at ../auth/ntlmssp/ntlmssp.c:162 > gensec_ntlmssp = 0x24f3570 > ntlmssp_state = 0x24f8770 > status = {v = 0} > i = <optimized out> >#4 0x00007fa6abae06b1 in gensec_update (gensec_security=0x24f3af0, out_mem_ctx=<optimized out>, ev=<optimized out>, in=..., > out=<optimized out>) at ../auth/gensec/gensec.c:220 > status = <optimized out> > __FUNCTION__ = "gensec_update" >#5 0x00007fa6abad9336 in gensec_spnego_update (gensec_security=0x24f26f0, out_mem_ctx=0x24f40a0, ev=0x249b7e0, in=..., out=0x24f40f0) > at ../auth/gensec/spnego.c:1069 > new_spnego = false > nt_status = <optimized out> > spnego_state = 0x24f40a0 > null_data_blob = {data = 0x0, length = 0} > mech_list_mic = {data = 0x0, length = 0} > unwrapped_out = {data = 0x0, length = 0} > spnego_out = {type = 38746264, negTokenInit = {mechTypes = 0x7fa6ae15ce19 <asn1_read+24>, reqFlags = {data = 0x249b7e0 " \205L\002", > length = 140733514361712}, reqFlagsPadding = 0 '\000', mechToken = {data = > 0x7fa6ae15ce4c <asn1_read_uint8+14> "H\203\304\b\303H\211\\$\360H\211l$\370H\203\354(H\211\373\211\365\306D$\017", length = 208}, > mechListMIC = {data = 0x7fa6ae15cf74 <asn1_peek_tag_needed_size+167> "\204\300u\nH\211k\020\306C ", length = 140353851237072}, > targetPrincipal = 0xba000000024f3880 <Address 0xba000000024f3880 out of bounds>}, negTokenTarg = {negResult = 189 '\275', > supportedMech = 0x7fff1321abf8 "\275", responseToken = {data = 0x24f26f0 "\200\025Ï«\246\177", length = 38748320}, mechListMIC = { > data = 0x24f2fd0 "*", length = 140353861967117}}} > spnego = {type = 1, negTokenInit = {mechTypes = 0x0, reqFlags = {data = 0x0, length = 0}, reqFlagsPadding = 0 '\000', mechToken = { > data = 0x0, length = 0}, mechListMIC = {data = 0x0, length = 0}, targetPrincipal = 0x0}, negTokenTarg = {negResult = 1 '\001', > supportedMech = 0x24f5d40 "1.3.6.1.4.1.311.2.2.10", responseToken = {data = 0x2500f50 "NTLMSSP", length = 158}, mechListMIC = { > data = 0x0, length = 0}}} > len = <optimized out> > __FUNCTION__ = "gensec_spnego_update" >#6 0x00007fa6abad99b8 in gensec_spnego_update_wrapper (gensec_security=0x24f26f0, out_mem_ctx=0x24f2fd0, ev=0x249b7e0, in=..., out= > 0x7fff1321acc0) at ../auth/gensec/spnego.c:1311 > spnego_state = 0x24f40a0 > full_in = {data = > 0x25011c0 "\241\201\272\060\201\267\240\003\n\001\001\241\f\006\n+\006\001\004\001\202\067\002\002\n\242\201\241\004\201\236NTLMSSP", > length = 189} > status = {v = 0} >#7 0x00007fa6abae06b1 in gensec_update (gensec_security=0x24f26f0, out_mem_ctx=<optimized out>, ev=<optimized out>, in=..., > out=<optimized out>) at ../auth/gensec/gensec.c:220 > status = <optimized out> > __FUNCTION__ = "gensec_update" >#8 0x00007fa6aac3e88d in ldap_bind_sasl (conn=0x24e9100, creds=0x2489f50, lp_ctx=<optimized out>) at ../source4/libcli/ldap/ldap_bind.c:320 > msg = 0x24f4430 > gensec_status = <optimized out> > response = 0x2500e90 > req = <optimized out> > result = 80 > status = <optimized out> > tmp_ctx = 0x24f2fd0 > input = {data = > 0x25011c0 "\241\201\272\060\201\267\240\003\n\001\001\241\f\006\n+\006\001\004\001\202\067\002\002\n\242\201\241\004\201\236NTLMSSP", > length = 189} > output = {data = 0x0, length = 0} > sasl_mechs_msgs = 0x24f34f0 > search = <optimized out> > count = <optimized out> > i = <optimized out> > sasl_names = <optimized out> > old_gensec_features = <optimized out> > supported_sasl_mech_attrs = {0x7fa6aac43b25 "supportedSASLMechanisms", 0x0} > __FUNCTION__ = "ldap_bind_sasl" >#9 0x00007fa6a35ecd62 in ildb_connect (ldb=0x249d150, url=<optimized out>, flags=<optimized out>, options=<optimized out>, _module=0x249d150) > at ../lib/ldb-samba/ldb_ildap.c:848 > bind_dn = 0x0 > module = 0x24c9810 > ildb = 0x24c98a0 > status = <optimized out> > creds = 0x2489f50 > lp_ctx = 0x248e4c0 >#10 0x00007fa6b1440a02 in ldb_module_connect_backend (ldb=0x249d150, url=0x245e63c "ldap://pdc.ads.iwm-kmrc.de:389/", options=0x0, > backend_module=0x249d150) at ../common/ldb_modules.c:217 > ret = <optimized out> > backend = 0x24c8670 "@\226N\002" > be = 0x22cf1e0 >#11 0x00007fa6b14576e0 in ldb_connect (ldb=0x249d150, url=0x245e63c "ldap://pdc.ads.iwm-kmrc.de:389/", flags=<optimized out>, options=0x0) > at ../common/ldb.c:251 > ret = 0 > url2 = <optimized out> >#12 0x00007fa6b186f1f4 in py_ldb_connect (self=0x2456be0, args=<optimized out>, kwargs=<optimized out>) at ../pyldb.c:963 > url = 0x245e63c "ldap://pdc.ads.iwm-kmrc.de:389/" > flags = 0 > py_options = None > ret = <optimized out> > options = 0x0 > kwnames = {0x7fa6b1873b2d "url", 0x7fa6b1874812 "flags", 0x7fa6b1873b31 "options", 0x0} > ldb_ctx = 0x249d150 >#13 0x00007fa6b3390be6 in PyCFunction_Call (func=<built-in method connect of SamDB object at remote 0x2456be0>, arg=(), kw=<optimized out>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Objects/methodobject.c:85 > f = 0x245e560 > meth = 0x7fa6b186f126 <py_ldb_connect> > self = <SamDB(url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>) at remote 0x2456be0> > size = <optimized out> >#14 0x00007fa6b33e9d62 in do_call (nk=-1282871216, na=0, pp_stack=0x7fff1321af38, func= > <built-in method connect of SamDB object at remote 0x2456be0>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4236 > tstate = 0x21a90a0 > callargs = () > kwdict = {'url': 'ldap://pdc.ads.iwm-kmrc.de:389/', 'flags': 0, 'options': None} > result = 0x0 >#15 call_function (oparg=<optimized out>, pp_stack=0x7fff1321af38) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4044 > func = <built-in method connect of SamDB object at remote 0x2456be0> > w = <optimized out> > na = 0 > nk = -1282871216 > n = 38703008 > pfunc = 0x249ca98 > x = <optimized out> >#16 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:2666 > sp = 0x249caa0 > stack_pointer = <optimized out> > next_instr = 0x7fa6b3815ad8 "\001d\004" > opcode = <optimized out> > oparg = <optimized out> > why = WHY_NOT > err = 0 > x = <optimized out> > v = <optimized out> > w = <optimized out> > u = <optimized out> > t = <optimized out> > stream = 0x0 > fastlocals = <optimized out> > freevars = 0x249ca98 > retval = 0x0 > tstate = <optimized out> > co = 0x2325230 > instr_ub = -1 > instr_lb = 0 > instr_prev = -1 > first_instr = 0x7fa6b3815a74 "|" > names = ('lp', 'None', 'os', 'path', 'exists', 'private_path', 'url', 'super', 'SamDB', 'connect') > consts = ('connect to the database', 'url', 'flags', 'options', None) >#17 0x00007fa6b33eb9d4 in PyEval_EvalCodeEx (co=0x2325230, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=4, > kws=0x24c8ca8, kwcount=0, defs=0x243a568, defcount=3, closure=0x0) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:3253 > f = > Frame 0x249c900, for file /usr/lib64/python2.7/site-packages/samba/samdb.py, line 71, in connect (self=<SamDB(url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>) at remote 0x2456be0>, url='ldap://pdc.ads.iwm-kmrc.de:389/', flags=0, options=None) > retval = 0x0 > fastlocals = 0x249ca78 > freevars = 0x249ca98 > tstate = 0x21a90a0 > x = <optimized out> > u = <optimized out> >#18 0x00007fa6b33e9c0c in fast_function (nk=0, na=4, n=4, pp_stack=0x7fff1321b0c8, func=<function at remote 0x243c140>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4117 > co = <optimized out> > nd = <optimized out> > globals = <optimized out> > argdefs = <optimized out> > d = <optimized out> >#19 call_function (oparg=<optimized out>, pp_stack=0x7fff1321b0c8) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4042 > func = <function at remote 0x243c140> > w = <optimized out> > na = 4 > nk = 0 > n = 4 > pfunc = 0x24c8c88 > x = <optimized out> >#20 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:2666 > sp = 0x24c8ca8 > stack_pointer = <optimized out> > next_instr = 0x23830f4 "\001n" > opcode = <optimized out> > oparg = <optimized out> > why = WHY_NOT > err = 0 > x = <optimized out> > v = <optimized out> > w = <optimized out> > u = <optimized out> > t = <optimized out> > stream = 0x0 > fastlocals = <optimized out> > freevars = 0x24c8c88 > retval = 0x0 > tstate = <optimized out> > co = 0x230c3b0 > instr_ub = -1 > instr_lb = 0 > instr_prev = -1 > first_instr = 0x2382fd4 "|\003" > names = > ('None', 'set_modules_dir', 'os', 'path', 'join', 'samba', 'param', 'modules_dir', 'set_session_info', 'set_credentials', 'set_loadparm', 'register_samba_handlers', 'set_utf8_casefold', 'get', 'ldb', 'FLG_NOSYNC', 'set_create_perms', 'connect') > consts = > ('Opens a Samba Ldb file.\n\n :param url: Optional LDB URL to open\n :param lp: Optional loadparm object\n :param modules_dir: Optional modules directory\n :param session_info: Optional session information\n :param credentials: Optional credentials, defaults to anonymous.\n :param flags: Optional LDB flags\n :param options: Additional options (optional)\n\n This is different from a regular Ldb file in that the Samba-specific\n modules-dir is used by default and that credentials and session_info\n can be passed through (required by some modules).\n ', 'ldb', <code at remote 0x230c330>, 'nosync', 384, None) >#21 0x00007fa6b33eb9d4 in PyEval_EvalCodeEx (co=0x230c3b0, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=1, > kws=0x24c88f8, kwcount=7, defs=0x2317458, defcount=7, closure=0x0) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:3253 > f = > Frame 0x24c8ac0, for file /usr/lib64/python2.7/site-packages/samba/__init__.py, line 114, in __init__ (self=<SamDB(url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>) at remote 0x2456be0>, url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>, modules_dir=None, session_info=<auth.session_info at remote 0x7fa6b3850850>, credentials=<credentials.Credentials at remote 0x7fa6b3850810>, flags=0, options=None, msg=<function at remote 0x2443230>, nosync_p=None) > retval = 0x0 > fastlocals = 0x24c8c38 > freevars = 0x24c8c88 > tstate = 0x21a90a0 > x = <optimized out> > u = <optimized out> >#22 0x00007fa6b33e9c0c in fast_function (nk=7, na=1, n=15, pp_stack=0x7fff1321b258, func=<function at remote 0x231a0c8>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4117 > co = <optimized out> > nd = <optimized out> > globals = <optimized out> > argdefs = <optimized out> > d = <optimized out> >#23 call_function (oparg=<optimized out>, pp_stack=0x7fff1321b258) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4042 > func = <function at remote 0x231a0c8> > w = <optimized out> > na = 1 > nk = 7 > n = 15 > pfunc = 0x24c88f0 > x = <optimized out> >#24 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:2666 > sp = 0x24c8968 > stack_pointer = <optimized out> > next_instr = 0x7fa6b37ba818 "\001|\b" > opcode = <optimized out> > oparg = <optimized out> > why = WHY_NOT > err = 0 > x = <optimized out> > v = <optimized out> > w = <optimized out> > u = <optimized out> > t = <optimized out> > stream = 0x0 > fastlocals = <optimized out> > freevars = 0x24c88f0 > retval = 0x0 > tstate = <optimized out> > co = 0x23251b0 > instr_ub = -1 > instr_lb = 0 > instr_prev = -1 > first_instr = 0x7fa6b37ba794 "|\002" > names = ('lp', 'None', 'samdb_url', 'url', 'super', 'SamDB', '__init__', 'dsdb', '_dsdb_set_global_schema', '_dsdb_set_am_rodc') > consts = (None, 'url', 'lp', 'modules_dir', 'session_info', 'credentials', 'flags', 'options') >#25 0x00007fa6b33eb9d4 in PyEval_EvalCodeEx (co=0x23251b0, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=1, > kws=0x24431d0, kwcount=4, defs=0x232b178, defcount=10, closure=0x0) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:3253 > f = > Frame 0x24c8720, for file /usr/lib64/python2.7/site-packages/samba/samdb.py, line 56, in __init__ (self=<SamDB(url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>) at remote 0x2456be0>, url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>, modules_dir=None, session_info=<auth.session_info at remote 0x7fa6b3850850>, credentials=<credentials.Credentials at remote 0x7fa6b3850810>, flags=0, options=None, global_schema=True, auto_connect=True, am_rodc=None) > retval = 0x0 > fastlocals = 0x24c8898 > freevars = 0x24c88f0 > tstate = 0x21a90a0 > x = <optimized out> > u = <optimized out> >#26 0x00007fa6b337e46e in function_call (func=<function at remote 0x243c0c8>, arg= > (<SamDB(url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>) at remote 0x2456be0>,), kw= > {'url': 'ldap://pdc.ads.iwm-kmrc.de:389/', 'credentials': <credentials.Credentials at remote 0x7fa6b3850810>, 'lp': <param.LoadParm at remote 0x7fa6b3850830>, 'session_info': <auth.session_info at remote 0x7fa6b3850850>}) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Objects/funcobject.c:526 > result = <optimized out> > argdefs = <optimized out> > kwtuple = > ('url', 'ldap://pdc.ads.iwm-kmrc.de:389/', 'credentials', <credentials.Credentials at remote 0x7fa6b3850810>, 'lp', <param.LoadParm at remote 0x7fa6b3850830>, 'session_info', <auth.session_info at remote 0x7fa6b3850850>) > d = 0x232b178 > k = 0x24431d0 > nk = <optimized out> > nd = 10 >#27 0x00007fa6b335bd3a in PyObject_Call (func=<function at remote 0x243c0c8>, arg= > (<SamDB(url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>) at remote 0x2456be0>,), kw= > {'url': 'ldap://pdc.ads.iwm-kmrc.de:389/', 'credentials': <credentials.Credentials at remote 0x7fa6b3850810>, 'lp': <param.LoadParm at remote 0x7fa6b3850830>, 'session_info': <auth.session_info at remote 0x7fa6b3850850>}) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Objects/abstract.c:2529 > result = <optimized out> > call = 0x7fa6b337e34b <function_call> >#28 0x00007fa6b33669c0 in instancemethod_call (func=<function at remote 0x243c0c8>, arg= > (<SamDB(url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>) at remote 0x2456be0>,), kw= > {'url': 'ldap://pdc.ads.iwm-kmrc.de:389/', 'credentials': <credentials.Credentials at remote 0x7fa6b3850810>, 'lp': <param.LoadParm at remote 0x7fa6b3850830>, 'session_info': <auth.session_info at remote 0x7fa6b3850850>}) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Objects/classobject.c:2602 > self = <SamDB(url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>) at remote 0x2456be0> > klass = <type at remote 0x22c5b10> > result = <optimized out> >#29 0x00007fa6b335bd3a in PyObject_Call (func=<instancemethod at remote 0x7fa6b37e2af0>, arg=(), kw= > {'url': 'ldap://pdc.ads.iwm-kmrc.de:389/', 'credentials': <credentials.Credentials at remote 0x7fa6b3850810>, 'lp': <param.LoadParm at remote 0x7fa6b3850830>, 'session_info': <auth.session_info at remote 0x7fa6b3850850>}) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Objects/abstract.c:2529 > result = <optimized out> > call = 0x7fa6b3366817 <instancemethod_call> >#30 0x00007fa6b33aa694 in slot_tp_init (self=<optimized out>, args=(), kwds= > {'url': 'ldap://pdc.ads.iwm-kmrc.de:389/', 'credentials': <credentials.Credentials at remote 0x7fa6b3850810>, 'lp': <param.LoadParm at remote 0x7fa6b3850830>, 'session_info': <auth.session_info at remote 0x7fa6b3850850>}) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Objects/typeobject.c:5692 > init_str = '__init__' > meth = <instancemethod at remote 0x7fa6b37e2af0> > res = <optimized out> >#31 0x00007fa6b33aa3c3 in type_call (type=<optimized out>, args=(), kwds= > {'url': 'ldap://pdc.ads.iwm-kmrc.de:389/', 'credentials': <credentials.Credentials at remote 0x7fa6b3850810>, 'lp': <param.LoadParm at remote 0x7fa6b3850830>, 'session_info': <auth.session_info at remote 0x7fa6b3850850>}) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Objects/typeobject.c:745 > obj = <SamDB(url='ldap://pdc.ads.iwm-kmrc.de:389/', lp=<param.LoadParm at remote 0x7fa6b3850830>) at remote 0x2456be0> >#32 0x00007fa6b335bd3a in PyObject_Call (func=<type at remote 0x22c5b10>, arg=(), kw= > {'url': 'ldap://pdc.ads.iwm-kmrc.de:389/', 'credentials': <credentials.Credentials at remote 0x7fa6b3850810>, 'lp': <param.LoadParm at remote 0x7fa6b3850830>, 'session_info': <auth.session_info at remote 0x7fa6b3850850>}) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Objects/abstract.c:2529 > result = <optimized out> > call = 0x7fa6b33aa2ed <type_call> >#33 0x00007fa6b33e9d7c in do_call (nk=-1282871216, na=0, pp_stack=0x7fff1321b798, func=<type at remote 0x22c5b10>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4239 > callargs = () > kwdict = > {'url': 'ldap://pdc.ads.iwm-kmrc.de:389/', 'credentials': <credentials.Credentials at remote 0x7fa6b3850810>, 'lp': <param.LoadParm at remote 0x7fa6b3850830>, 'session_info': <auth.session_info at remote 0x7fa6b3850850>} > result = 0x0 >#34 call_function (oparg=<optimized out>, pp_stack=0x7fff1321b798) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4044 > func = <type at remote 0x22c5b10> > w = <optimized out> > na = 0 > nk = -1282871216 > n = 38388944 > pfunc = 0x249c450 > x = <optimized out> >#35 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:2666 > sp = 0x249c458 > stack_pointer = <optimized out> > next_instr = 0x7fa6b38cbe71 "}\002" > opcode = <optimized out> > oparg = <optimized out> > why = WHY_NOT > err = 0 > x = <optimized out> > v = <optimized out> > w = <optimized out> > u = <optimized out> > t = <optimized out> > stream = 0x0 > fastlocals = <optimized out> > freevars = 0x249c450 > retval = 0x0 > tstate = <optimized out> > co = 0x7fa6b3813d30 > instr_ub = -1 > instr_lb = 0 > instr_prev = -1 > first_instr = 0x7fa6b38cbe14 "|\001" > names = ('None', 'url', 'Exception', 'SamDB', '_session_info', '_credentials', '_lp', '_connection') > consts = (None, 'Need an URL to connect to.', 'url', 'session_info', 'credentials', 'lp') >#36 0x00007fa6b33eb9d4 in PyEval_EvalCodeEx (co=0x7fa6b3813d30, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, > argcount=2, kws=0x249bc80, kwcount=0, defs=0x2320c68, defcount=1, closure=0x0) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:3253 > f = > Frame 0x249c2c0, for file samdbtest.py, line 326, in _connect (self=<ADUser(_lp=<param.LoadParm at remote 0x7fa6b3850830>, _connection=None, realm='ADS.IWM-KMRC.DE', url=None, _sambaAttrs=['accountExpires', 'badPasswordTime', 'badPwdCount', 'codePage', 'countryCode', 'distinguishedName', 'homeDirectory', 'homeDrive', 'instanceType', 'lastLogoff', 'lastLogon', 'logonCount', 'memberOf', 'objectCategory', 'objectClass', 'objectGUID', 'objectSID', 'primaryGroupID', 'profilePath', 'pwdLastSet', 'sAMAccountName', 'sAMAccountType', 'userAccountControl', 'userPrincipalName', 'uSNChanged', 'uSNCreated', 'whenChanged', 'whenCreated'], _credentials=<credentials.Credentials at remote 0x7fa6b3850810>, _orgAttrs=['c', 'cn', 'co', 'company', 'department', 'description', 'displayName', 'facsimileTelephoneNumber', 'givenName', 'homePhone', 'initials', 'l', 'mail', 'manager', 'mobile', 'name', 'personalTitle', 'physicalDeliveryOfficeName', 'postalCode', 'secretary', 'seeAlso', 'serialNumber', 'sn', 'streetAddress', 'thumbnailP...(truncated) > retval = 0x0 > fastlocals = 0x249c438 > freevars = 0x249c450 > tstate = 0x21a90a0 > x = <optimized out> > u = <optimized out> >#37 0x00007fa6b33e9c0c in fast_function (nk=0, na=2, n=2, pp_stack=0x7fff1321b928, func=<function at remote 0x243dcf8>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4117 > co = <optimized out> > nd = <optimized out> > globals = <optimized out> > argdefs = <optimized out> > d = <optimized out> >#38 call_function (oparg=<optimized out>, pp_stack=0x7fff1321b928) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4042 > func = <function at remote 0x243dcf8> > w = <optimized out> > na = 2 > nk = 0 > n = 2 > pfunc = 0x249bc70 > x = <optimized out> >#39 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:2666 > sp = 0x249bc80 > stack_pointer = <optimized out> > next_instr = 0x7fa6b38b1d43 "Sd" > opcode = <optimized out> > oparg = <optimized out> > why = WHY_NOT > err = 0 > x = <optimized out> > v = <optimized out> > w = <optimized out> > u = <optimized out> > t = <optimized out> > stream = 0x0 > fastlocals = <optimized out> > freevars = 0x249bc70 > retval = 0x0 > tstate = <optimized out> > co = 0x7fa6b37d84b0 > instr_ub = -1 > instr_lb = 0 > instr_prev = -1 > first_instr = 0x7fa6b38b1c84 "|\006" > names = ('None', '_setLpOptions', 'realm', '_credentials', 'get_username', 'Exception', '_setCredentials', '_connection', '_connect') > consts = (None, 'Cannot modify Active Directory without admin credentials.', 'realm', 'workgroup') >#40 0x00007fa6b33eb9d4 in PyEval_EvalCodeEx (co=0x7fa6b37d84b0, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, > argcount=1, kws=0x23f9350, kwcount=6, defs=0x2321820, defcount=6, closure=0x0) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:3253 > f = > Frame 0x249bac0, for file samdbtest.py, line 676, in connect (self=<ADUser(_lp=<param.LoadParm at remote 0x7fa6b3850830>, _connection=None, realm='ADS.IWM-KMRC.DE', url=None, _sambaAttrs=['accountExpires', 'badPasswordTime', 'badPwdCount', 'codePage', 'countryCode', 'distinguishedName', 'homeDirectory', 'homeDrive', 'instanceType', 'lastLogoff', 'lastLogon', 'logonCount', 'memberOf', 'objectCategory', 'objectClass', 'objectGUID', 'objectSID', 'primaryGroupID', 'profilePath', 'pwdLastSet', 'sAMAccountName', 'sAMAccountType', 'userAccountControl', 'userPrincipalName', 'uSNChanged', 'uSNCreated', 'whenChanged', 'whenCreated'], _credentials=<credentials.Credentials at remote 0x7fa6b3850810>, _orgAttrs=['c', 'cn', 'co', 'company', 'department', 'description', 'displayName', 'facsimileTelephoneNumber', 'givenName', 'homePhone', 'initials', 'l', 'mail', 'manager', 'mobile', 'name', 'personalTitle', 'physicalDeliveryOfficeName', 'postalCode', 'secretary', 'seeAlso', 'serialNumber', 'sn', 'streetAddress', 'thumbnailPh...(truncated) > retval = 0x0 > fastlocals = 0x249bc38 > freevars = 0x249bc70 > tstate = 0x21a90a0 > x = <optimized out> > u = <optimized out> >#41 0x00007fa6b33e9c0c in fast_function (nk=6, na=1, n=13, pp_stack=0x7fff1321bab8, func=<function at remote 0x232f9b0>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4117 > co = <optimized out> > nd = <optimized out> > globals = <optimized out> > argdefs = <optimized out> > d = <optimized out> >#42 call_function (oparg=<optimized out>, pp_stack=0x7fff1321bab8) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:4042 > func = <function at remote 0x232f9b0> > w = <optimized out> > na = 1 > nk = 6 > n = 13 > pfunc = 0x23f9348 > x = <optimized out> >#43 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:2666 > sp = 0x23f93b0 > stack_pointer = <optimized out> > next_instr = 0x228fc89 "\001e&" > opcode = <optimized out> > oparg = <optimized out> > why = WHY_NOT > err = 0 > x = <optimized out> > v = <optimized out> > w = <optimized out> > u = <optimized out> > t = <optimized out> > stream = 0x0 > fastlocals = <optimized out> > freevars = 0x23f9348 > retval = 0x0 > tstate = <optimized out> > co = 0x2307730 > instr_ub = -1 > instr_lb = 0 > instr_prev = -1 > first_instr = 0x228fac4 "d" > names = > ('__docformat__', 'base64', 'b64decode', 'b64encode', 'time', 'ldb', 'samba', 'dsdb', 'unix2nttime', 'samba.auth', 'system_session', 'samba.common', 'normalise_int32', 'samba.credentials', 'Credentials', 'samba.dsdb', '_samdb_get_domain_sid', 'samba.ndr', 'ndr_unpack', 'ndr_pack', 'samba.param', 'LoadParm', 'samba.samdb', 'SamDB', 'GTYPE_SECURITY_DOMAIN_LOCAL_GROUP', 'GTYPE_SECURITY_GLOBAL_GROUP', 'GTYPE_SECURITY_UNIVERSAL_GROUP', 'GTYPE_DISTRIBUTION_DOMAIN_LOCAL_GROUP', 'GTYPE_DISTRIBUTION_GLOBAL_GROUP', 'GTYPE_DISTRIBUTION_UNIVERSAL_GROUP', 'UF_ACCOUNTDISABLE', 'UF_DONT_EXPIRE_PASSWD', 'UF_PASSWORD_EXPIRED', 'UF_PASSWD_NOTREQD', 'object', 'ActiveDirectory', 'ADUser', 'ADGroup', 'pprint', 'url', 'username', 'realm', 'password', 'workgroup', 'dict', 'lpOptions', 'adUser', 'connect', 'getADUser') > consts = > ('restructuredtext', -1, ('b64decode', 'b64encode'), ('time',), None, ('dsdb', 'unix2nttime'), ('system_session',), ('normalise_int32',), ('Credentials',), ('_samdb_get_domain_sid',), ('ndr_unpack', 'ndr_pack'), ('LoadParm',), ('SamDB',), ('GTYPE_SECURITY_DOMAIN_LOCAL_GROUP', 'GTYPE_SECURITY_GLOBAL_GROUP', 'GTYPE_SECURITY_UNIVERSAL_GROUP', 'GTYPE_DISTRIBUTION_DOMAIN_LOCAL_GROUP', 'GTYPE_DISTRIBUTION_GLOBAL_GROUP', 'GTYPE_DISTRIBUTION_UNIVERSAL_GROUP', 'UF_ACCOUNTDISABLE', 'UF_DONT_EXPIRE_PASSWD', 'UF_PASSWORD_EXPIRED', 'UF_PASSWD_NOTREQD'), 'ActiveDirectory', <code at remote 0x7fa6b37d8530>, 'ADUser', <code at remote 0x7fa6b37d8eb0>, 'ADGroup', <code at remote 0x23076b0>, ('pprint',), 'ldap://pdc.ads.iwm-kmrc.de:389/', 'administrator', 'ADS.IWM-KMRC.DE', 'test', 'KMRC', 'realm', 'workgroup', 'url', 'username', 'password', 'lpOptions') >#44 0x00007fa6b33eb9d4 in PyEval_EvalCodeEx (co=0x2307730, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=0, > kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:3253 > f = Frame 0x23f91d0, for file samdbtest.py, line 1953, in <module> () > retval = 0x0 > fastlocals = 0x23f9348 > freevars = 0x23f9348 > tstate = 0x21a90a0 > x = <optimized out> > u = <optimized out> >#45 0x00007fa6b33eba99 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/ceval.c:667 >No locals. >#46 0x00007fa6b3404a04 in run_mod (mod=<optimized out>, filename=<optimized out>, globals= > {'adUser': <ADUser(_lp=<param.LoadParm at remote 0x7fa6b3850830>, _connection=None, realm='ADS.IWM-KMRC.DE', url=None, _sambaAttrs=['accountExpires', 'badPasswordTime', 'badPwdCount', 'codePage', 'countryCode', 'distinguishedName', 'homeDirectory', 'homeDrive', 'instanceType', 'lastLogoff', 'lastLogon', 'logonCount', 'memberOf', 'objectCategory', 'objectClass', 'objectGUID', 'objectSID', 'primaryGroupID', 'profilePath', 'pwdLastSet', 'sAMAccountName', 'sAMAccountType', 'userAccountControl', 'userPrincipalName', 'uSNChanged', 'uSNCreated', 'whenChanged', 'whenCreated'], _credentials=<credentials.Credentials at remote 0x7fa6b3850810>, _orgAttrs=['c', 'cn', 'co', 'company', 'department', 'description', 'displayName', 'facsimileTelephoneNumber', 'givenName', 'homePhone', 'initials', 'l', 'mail', 'manager', 'mobile', 'name', 'personalTitle', 'physicalDeliveryOfficeName', 'postalCode', 'secretary', 'seeAlso', 'serialNumber', 'sn', 'streetAddress', 'thumbnailPhoto', 'telephoneNumber', 'title'], _session_info=<auth.s...(truncated), locals= > {'adUser': <ADUser(_lp=<param.LoadParm at remote 0x7fa6b3850830>, _connection=None, realm='ADS.IWM-KMRC.DE', url=None, _sambaAttrs=['accountExpires', 'badPasswordTime', 'badPwdCount', 'codePage', 'countryCode', 'distinguishedName', 'homeDirectory', 'homeDrive', 'instanceType', 'lastLogoff', 'lastLogon', 'logonCount', 'memberOf', 'objectCategory', 'objectClass', 'objectGUID', 'objectSID', 'primaryGroupID', 'profilePath', 'pwdLastSet', 'sAMAccountName', 'sAMAccountType', 'userAccountControl', 'userPrincipalName', 'uSNChanged', 'uSNCreated', 'whenChanged', 'whenCreated'], _credentials=<credentials.Credentials at remote 0x7fa6b3850810>, _orgAttrs=['c', 'cn', 'co', 'company', 'department', 'description', 'displayName', 'facsimileTelephoneNumber', 'givenName', 'homePhone', 'initials', 'l', 'mail', 'manager', 'mobile', 'name', 'personalTitle', 'physicalDeliveryOfficeName', 'postalCode', 'secretary', 'seeAlso', 'serialNumber', 'sn', 'streetAddress', 'thumbnailPhoto', 'telephoneNumber', 'title'], _session_info=<auth.s...(truncated), flags=<optimized out>, arena=<optimized out>) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/pythonrun.c:1365 > co = 0x2307730 > v = <optimized out> >#47 0x00007fa6b3405753 in PyRun_FileExFlags (fp=0x2261050, filename=0x7fff1321d4c2 "samdbtest.py", start=257, globals= > {'adUser': <ADUser(_lp=<param.LoadParm at remote 0x7fa6b3850830>, _connection=None, realm='ADS.IWM-KMRC.DE', url=None, _sambaAttrs=['accountExpires', 'badPasswordTime', 'badPwdCount', 'codePage', 'countryCode', 'distinguishedName', 'homeDirectory', 'homeDrive', 'instanceType', 'lastLogoff', 'lastLogon', 'logonCount', 'memberOf', 'objectCategory', 'objectClass', 'objectGUID', 'objectSID', 'primaryGroupID', 'profilePath', 'pwdLastSet', 'sAMAccountName', 'sAMAccountType', 'userAccountControl', 'userPrincipalName', 'uSNChanged', 'uSNCreated', 'whenChanged', 'whenCreated'], _credentials=<credentials.Credentials at remote 0x7fa6b3850810>, _orgAttrs=['c', 'cn', 'co', 'company', 'department', 'description', 'displayName', 'facsimileTelephoneNumber', 'givenName', 'homePhone', 'initials', 'l', 'mail', 'manager', 'mobile', 'name', 'personalTitle', 'physicalDeliveryOfficeName', 'postalCode', 'secretary', 'seeAlso', 'serialNumber', 'sn', 'streetAddress', 'thumbnailPhoto', 'telephoneNumber', 'title'], _session_info=<auth.s...(truncated), locals= > {'adUser': <ADUser(_lp=<param.LoadParm at remote 0x7fa6b3850830>, _connection=None, realm='ADS.IWM-KMRC.DE', url=None, _sambaAttrs=['accountExpires', 'badPasswordTime', 'badPwdCount', 'codePage', 'countryCode', 'distinguishedName', 'homeDirectory', 'homeDrive', 'instanceType', 'lastLogoff', 'lastLogon', 'logonCount', 'memberOf', 'objectCategory', 'objectClass', 'objectGUID', 'objectSID', 'primaryGroupID', 'profilePath', 'pwdLastSet', 'sAMAccountName', 'sAMAccountType', 'userAccountControl', 'userPrincipalName', 'uSNChanged', 'uSNCreated', 'whenChanged', 'whenCreated'], _credentials=<credentials.Credentials at remote 0x7fa6b3850810>, _orgAttrs=['c', 'cn', 'co', 'company', 'department', 'description', 'displayName', 'facsimileTelephoneNumber', 'givenName', 'homePhone', 'initials', 'l', 'mail', 'manager', 'mobile', 'name', 'personalTitle', 'physicalDeliveryOfficeName', 'postalCode', 'secretary', 'seeAlso', 'serialNumber', 'sn', 'streetAddress', 'thumbnailPhoto', 'telephoneNumber', 'title'], _session_info=<auth.s...(truncated), closeit=1, flags=0x7fff1321bdd0) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/pythonrun.c:1351 > ret = <optimized out> > mod = 0x2402948 > arena = 0x21cb6f0 >#48 0x00007fa6b3406253 in PyRun_SimpleFileExFlags (fp=0x2261050, filename=<optimized out>, closeit=1, flags=0x7fff1321bdd0) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/pythonrun.c:943 > m = <module at remote 0x7fa6b38c2c20> > d = > {'adUser': <ADUser(_lp=<param.LoadParm at remote 0x7fa6b3850830>, _connection=None, realm='ADS.IWM-KMRC.DE', url=None, _sambaAttrs=['accountExpires', 'badPasswordTime', 'badPwdCount', 'codePage', 'countryCode', 'distinguishedName', 'homeDirectory', 'homeDrive', 'instanceType', 'lastLogoff', 'lastLogon', 'logonCount', 'memberOf', 'objectCategory', 'objectClass', 'objectGUID', 'objectSID', 'primaryGroupID', 'profilePath', 'pwdLastSet', 'sAMAccountName', 'sAMAccountType', 'userAccountControl', 'userPrincipalName', 'uSNChanged', 'uSNCreated', 'whenChanged', 'whenCreated'], _credentials=<credentials.Credentials at remote 0x7fa6b3850810>, _orgAttrs=['c', 'cn', 'co', 'company', 'department', 'description', 'displayName', 'facsimileTelephoneNumber', 'givenName', 'homePhone', 'initials', 'l', 'mail', 'manager', 'mobile', 'name', 'personalTitle', 'physicalDeliveryOfficeName', 'postalCode', 'secretary', 'seeAlso', 'serialNumber', 'sn', 'streetAddress', 'thumbnailPhoto', 'telephoneNumber', 'title'], _session_info=<auth.s...(truncated) > v = <optimized out> > ext = <optimized out> > set_file_name = 1 > len = <optimized out> > ret = -1 >#49 0x00007fa6b3406b06 in PyRun_AnyFileExFlags (fp=0x2261050, filename=0x7fff1321d4c2 "samdbtest.py", closeit=1, flags=0x7fff1321bdd0) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Python/pythonrun.c:747 >No locals. >#50 0x00007fa6b34163ef in Py_Main (argc=<optimized out>, argv=0x7fff1321bf18) > at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Modules/main.c:644 > c = <optimized out> > sts = -1 > command = 0x0 > filename = 0x7fff1321d4c2 "samdbtest.py" > module = 0x0 > fp = 0x2261050 > p = <optimized out> > unbuffered = <optimized out> > skipfirstline = 0 > stdin_is_interactive = 1 > help = <optimized out> > version = 1 > saw_unbuffered_flag = 1 > cf = {cf_flags = 0} > target_script_name = 0x0 >#51 0x00000000004009d4 in main (argc=2, argv=0x7fff1321bf18) at /var/tmp/portage/dev-lang/python-2.7.5/work/Python-2.7.5/Modules/python.c:46 > process_name = 0x0
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 10998
:
10512
| 10513 |
10526