Feature Requests item #1429815, was opened at 2006-02-11 15:19
Message generated for change (Comment added) made by rupole
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1429815&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Norman Rasmussen (normanr)
Assigned to: Nobody/Anonymous (nobody)
Summary: win32security missing several constants (listed)
Initial Comment:
Please can you include the following sets of constants:
ISC_REQ_*
ISC_RET_*
ASC_REQ_*
ASC_RET_*
SECBUFFER_*
SECPKG_ATTR_*
SECPKG_CONTEXT_*
SECPKG_FLAG_*
SECPKG_NEGOTIATION_*
SECPKG_OPTIONS_*
SECURITY_*_DREP
SEC_E_OK
SEC_I_*
SEC_WINNT_*
Some are referenced in the help files, but they're not
defined. I had to go and dig in sspi.h in the SDK to
find the vaules. Some used for AcceptSecurityContext
and InitializeSecurityContext are only metioned by
wildcard, and should be listed (like
PyCtxtHandle.QueryContextAttributes does)
(sspi.h attached)
----------------------------------------------------------------------
>Comment By: Roger Upole (rupole)
Date: 2006-02-12 05:26
Message:
Logged In: YES
user_id=771074
These constants are all in sspicon.py.
Check out \win32\Demos\security\sspi for some
good examples of how the sspi objects work.
(also \win32\test\test_sspi.py)
They use a couple of classes for client
and server auth that abstract away most of the messy
details.
Generally speaking, individual constants are usually
listed in the docs when there are different types
of python objects involved depending on what flags are
passed. Some of the functions have so many combinations of
flags that it would bloat the help file, and most of it
would just be a rehash of the MSDN docs.
Roger
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551957&aid=1429815&group_id=78018
|