summaryrefslogtreecommitdiff
path: root/source3/python/py_lsa.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3228: Fix for bugzilla #1884 from Brett Funderburg. Use the value ofTim Potter1-2/+2
desired_access passed in to the lsa open policy routine. Use a default value that netapps and windows likes as well. (This used to be commit 9c3cffaf22c69b8c7fae12adf02aa1679de546b3)
2003-08-04More patches from Brett:Tim Potter1-20/+23
- remove 'if(mem_ctx)' tests prior to 'talloc_destroy' call to make consistent with other modules; 'talloc_destroy' already test for NULL anyway. - initialize PyObject* result pointers to NULL in function declarations; enables removal of redundant NULL assignments. - use local scope TALLOC_CTX in lsa_lookup_names to prevent unbounded memory growth during python policy object lifetime. - change context name string used in lsa_lookup_sids from 'lsa_open_policy' to 'lsa_lookup_sids' (cut'npaste oversight from previous patch) - change docstring to match module name (apparently another cut'npaste situation) (This used to be commit 98cac74c67c454f636df5c1ea2baa029c482e402)
2003-07-29Memory leak fixes from Brett A. Funderburg - don't use the connection tallocTim Potter1-7/+20
context for data that is only needed on a per-call basis. (This used to be commit 3cb39ddee456f55b96e593c67c86082bbd590d86)
2003-03-20Merge of compiler warning fixups.Tim Potter1-20/+20
(This used to be commit 0308a0a11265050f53fc7e8e03f8e17b04adb45d)
2003-02-18Check return code of string_to_sid. (Merge from HEAD)Martin Pool1-2/+8
(This used to be commit 606bb47f241d2916d039b38f48b50474a3e0dadc)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison1-1/+1
Jeremy. (This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
2002-11-04Sync with HEAD.Tim Potter1-1/+1
(This used to be commit 0310e539bb41f569c7ae77b2d131e966adefa27b)
2002-08-06Compile fix for new cli_lsa_enum_trust_dom() argument list.Tim Potter1-2/+2
(This used to be commit 2f46bdeb4fa1d32fe948af5d7fa80480ff2d2c86)
2002-05-28Raise a ValueError if server name isn't given in UNC format.Tim Potter1-0/+7
(This used to be commit 77be88668d9669a0aaa331c4bbb0faad978f0990)
2002-05-28Allow None to be used as a valid credential in open_policy.Tim Potter1-2/+39
Added {get,set}_debuglevel() and setup_logging() functions. (This used to be commit b6e860546a622e6da238faf56d7c1567c6cf63a5)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-16/+20
A compile fix for enumerating trusted domains. (This used to be commit fc75c3ccc3bc45ab72db85d46dbedbbdb0e2dff7)
2002-05-23Compile fix for enum trust dom wrapper.Tim Potter1-1/+1
(This used to be commit 63e2c7c5fe6eca86222a7a76d81ce1ee93ebde22)
2002-05-16Shorten some debug messages.Tim Potter1-1/+1
(This used to be commit 179c68bd0db7c2631fcf052a746acacedf3c47ac)
2002-05-16More cleanups.Tim Potter1-6/+9
- removed dodgy fprintf() error handling - return an error string from open_pipe_creds() so the appropriate exception can be raised by the caller - reformatting (This used to be commit d35cad359df3bd53e6bb49f6655d4c7b9993abb0)
2002-05-16Refactored open_pipe_creds() function to remove unused parameter.Tim Potter1-2/+1
(This used to be commit 36ed06cb5078429445f3bbb0f69baa2e0f8356a4)
2002-05-14General cleanup of compiler warnings etc.Tim Potter1-10/+32
(This used to be commit 18aeadc591b69bbbd874b7285ecaed50ff587e68)
2002-05-06Allow lookup_sids() and lookup_names() to take either a list of strings orTim Potter1-16/+50
just a single string. (This used to be commit 775549b70e1d2770619c2fe1ed39418a8788dbfe)
2002-04-14Added enumerate trusted domains.Tim Potter1-1/+44
(This used to be commit 3a11ce31ca3eed23f3bf82c46b2ebd2423be737d)
2002-04-14Added copyright.Tim Potter1-42/+160
Added lookup_names() and lookup_sids() functions. (This used to be commit 2d2c925014374605b29e052729e959c0fd690586)
2002-04-14More open_pipe_creds() refactoring.Tim Potter1-14/+68
(This used to be commit 7f2c814237f1df7008c9a91b7cf3b1de01e6ed87)
2002-03-20Initial version.Tim Potter1-0/+141
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)