From: SourceForge.net <no...@so...> - 2003-12-11 19:14:26
|
Bugs item #858458, was opened at 2003-12-11 19:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=858458&group_id=78018 Category: com Group: None Status: Open Resolution: None Priority: 5 Submitted By: Garth Bushell (garth_42) Assigned to: Nobody/Anonymous (nobody) Summary: CoInitializeSecurity checks obAuthSvc is NULL not Py_None Initial Comment: (Patch attached Below) CoInitializeSecurity checks to see if obAuthSvc is NULL. it should Check to see if it is Equal to Py_None This means that CoInitializeSecurity call is pretty useless! Unless I'm using it wrong as you can only specify the Auth services to be none and not let COM Choose! I'm using like this.. pythoncom.CoInitializeSecurity( None, None, None, pythoncom.RPC_C_AUTHN_LEVEL_CALL, pythoncom.RPC_C_IMP_LEVEL_IMPERSONATE, None, 0x10, #pythoncom.EOAC_DYNAMIC_CLOAKING , None) Patch attached ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=858458&group_id=78018 |