summaryrefslogtreecommitdiff
path: root/source3/python
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18271: Big change:Gerald Carter1-1/+1
* autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in. (This used to be commit 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-1/+1
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16644: Fix bug #3887 reported by jason@ncac.gwu.eduJeremy Allison1-1/+1
by converting the lookup_XX functions to correctly return SID_NAME_TYPE enums. Jeremy. (This used to be commit ee2b2d96b60c668e37592c79e86c2fd851e15f69)
2007-10-10r15386: Missed some functions in my last commit.Deryck Hodge1-4/+4
deryck (This used to be commit fdb5be797acce071b4c0de2c63fd54f906e340c6)
2007-10-10r15385: Some work to bring the python code up to date with theDeryck Hodge9-17/+17
rpc client rewrite. (This used to be commit fd5bcecceb518d0683f400a61e11ce37f3d52d42)
2007-10-10r15299: Fix import of Python modules. Fixes Bug #3567.Deryck Hodge2-2/+11
The REGVAL_CTR part is taken from Daniel Jarboe's patch he filed with the bug report. deryck (This used to be commit 7ca24b996628707b7e8a05041d173f046f428413)
2007-10-10r15180: Use tdb_lock_bystring_with_timeout().Lars Müller1-1/+1
(This used to be commit 1ff6ae68b66ec3c78abbadd1fb9d50e50fc247dd)
2007-10-10r15093: Align to the last winbind changes.Lars Müller1-6/+6
(This used to be commit 74fa3a2554b769382b2b3b43adfbc0cfbca3cd10)
2007-10-10r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.Günther Deschner1-1/+1
* Fix a couple of related parsing issues. * in the info3 reply in a samlogon, return the ACB-flags (instead of returning zero) Guenther (This used to be commit 5b89e8bc24f0fdc8b52d5c9e849aba723df34ea7)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-2/+2
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10r13257: Fix python build with older python versions (e.g. 2.2.1) like in ↵Lars Müller1-2/+2
United Linux 1 (UL) aka SuSE Linux Enterprise Server (SLES) 8. (This used to be commit 4602cb5f53f05404f10c69b01dd8fd5ac492c5c5)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2007-10-10r12441: Fix python build.Günther Deschner1-1/+3
Guenther (This used to be commit e33a20c222948414a9cf92fe6f63e655aebb6b06)
2007-10-10r10819: merging a couple of fixes from trunkGerald Carter1-12/+19
* only keep the registry,tdb file open when we have an open key handle * tpot's setup.py fix * removing files that no longer exist in trunk and copying some that were missing in 3.0 (This used to be commit 6c6bf6ca5fd430a7a20bf20ed08050328660e570)
2007-10-10r10802: Janitor for tpot - remember to keep 3.0 in sync.Jeremy Allison11-72/+69
Jeremy. (This used to be commit 4b7a60e95e8f972df05d162769f0c441a4442e56)
2007-10-10r9944: fix python buildGünther Deschner1-0/+3
Guenther (This used to be commit 97412dbaada018f90a482176a03daf07f2e76466)
2007-10-10r8654: merging cli_spoolss_XX() updates from trunkGerald Carter6-100/+22
(This used to be commit cd961e50a3029898868d21263ccacb7d5f1f07b9)
2007-10-10r8596: Don't wrap non-existent functions. Bugzilla #2895.Tim Potter1-45/+0
(This used to be commit 0a9395bb486c80799ea14f0ebe7a371da34628b5)
2007-10-10r8564: Sometimes we're too dumb to live... Fix samr calls where we wereJeremy Allison3-14/+14
using USER_INFO_XX structs and functions where XX was sometimes in hex and sometimes in decimal. Now it's all in decimal (should be no functionality change). Jeremy. (This used to be commit 84651aca04cbcbf50ab2e78333cc9d9e49dd92f5)
2007-10-10r8538: honour CC in python build.Günther Deschner1-0/+2
Guenther (This used to be commit d31510d6c56954030759e97ab8cdfc51e0abca92)
2007-10-10r8435: Use OPENX_FILE_EXISTS_OPEN instead of FILE_EXISTS_OPEN.Lars Müller1-1/+1
(This used to be commit 22acd4936875e3c98ce7e26cde05f0ce69d8cb63)
2007-10-10r8431: Ensure to use dev_private and not private after Jeremy's CPP reservedLars Müller1-2/+2
names rename. Jerry: I'm not sure if we have to use the string 'dev_private' instead of 'private' as second arg to PyDict_SetItemString(). (This used to be commit cd2c467cc46db1958aba7660f0ef7fd8af14bd63)
2007-10-10r7960: Replace unknown SMB_XSTRDUP by known SMB_STRDUP macro.Lars Müller2-2/+2
I still don't know why the compile doesn't fail. (This used to be commit 8cfa6873c2b57eb94b43a5aded38be7958922210)
2007-10-10r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison1-16/+16
safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10r6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.Tim Potter1-1/+1
Closes bugzilla 2699. (This used to be commit 16ddf2812266c314950f464a6f4d75d55de0f9d6)
2007-10-10r6678: fix python python after talloc() shakeupGerald Carter9-13/+14
(This used to be commit f629bffb1a6b8c2ea54fcfe33865b43559abbc77)
2007-10-10r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter1-1/+1
(This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
2007-10-10r5283: Merge -r5279 and-r5280 from trunk.Tim Potter4-8/+154
(This used to be commit 74d872287b5cf5b13512091827a9d065f1fef122)
2007-10-10r4238: More *alloc fixes.Jeremy Allison1-7/+7
Jeremy. (This used to be commit 4d971806f4e4f5523227e378125d5601a5df271d)
2007-10-10r3504: Fix incorrectly applied patch. My fault - sorry!Tim Potter1-1/+2
(This used to be commit 43a7f7db3d1995089ac8fb279f36e9e8edb1d8bb)
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)
2007-10-10r2828: Fix for bugzilla #1864 from Brett again.Tim Potter1-1/+12
Add sd->type field to security descriptor Python representation. (This used to be commit b157a1b7c3e15a960fbc943d37abbb1bf5053a63)
2007-10-10r2823: Patch from Brett Funderburg to pass create options parameter toTim Potter1-2/+3
nt_create_andx() function. (This used to be commit fa3e8365641e84ca361dc95bac33a9d56e9d799b)
2007-10-10r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe.Tim Potter1-1/+1
(This used to be commit 8ec28d613d6dcade135b314c6764fbafcc8ed79c)
2007-10-10r1789: compiler warnings from SuSEGerald Carter1-2/+2
(This used to be commit 7e44193be103fad273796218c8f5e5f9a1657c3c)
2007-10-10r1492: Rework our random number generation system.Andrew Bartlett1-2/+2
On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). Andrew Bartlett (This used to be commit 36741d3cf53a7bd17d361251f2bb50851cdb035f)
2007-10-10r384: Relicense tdb python module in trunk and 3.0 branch as LGPL since theTim Potter2-28/+28
license on tdb has changed. (This used to be commit c6a18beafe702018f18acba76d7f796d7c89d2aa)
2007-10-10r39: * importing .cvsignore filesGerald Carter3-4/+0
* updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
2004-03-24Path for bugzilla #1152 from Timur Bakeyev. Allow python modules toTim Potter1-0/+3
build despite libraries added to LDFLAGS instead of LDPATH. (This used to be commit 98a25dcda8e53e22b48930131ff394414056f6a1)
2004-02-26Fix for writable printerdata problem - bugzilla #1112.Tim Potter1-6/+12
(This used to be commit a05b9f0cc55300e2a25c87849a4417afea0cd867)
2003-09-25Fix for #480. Change the interface for init_unistr2 to not take a lengthJeremy Allison2-2/+2
but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. This is not the case. Count it after conversion. Jeremy. (This used to be commit f82c273a42f930c7152cfab84394781744815e0e)
2003-09-19Ensure that dup_sec_desc copies the 'type' field correctly. This causedJeremy Allison1-1/+1
me to expose a type arguement to make_sec_desc(). We weren't copying the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on auto inherited checks. Jeremy. (This used to be commit 28b315a7501f42928d73efaa75f74146ba95cf2d)
2003-08-25update python libraries for new cli_spoolss_getprinterdriver() callGerald Carter1-2/+3
(This used to be commit 331a69919c3d4457e4c700b1fd4033f338d0ec98)
2003-08-12Tims' little fix.John Terpstra1-1/+1
(This used to be commit 03a308afcd8826387e33a9c95df98425f9e0fa79)
2003-08-12Fix for bug 269. Change wbinfo and ntlm_auth to convert domain, usernameTim Potter1-2/+8
and workstation to utf8 before sending the winbindd request. Also, don't continue when the call to pull_utf8() fails but rather return a winbind error. (This is what was causing the crash) (This used to be commit ca1c463360b75538a93b56a87cbb4a6ee7b6cec6)
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-08-04Fix memory leak in py_smb_set_setdesc()Tim Potter1-10/+15
Consistency fixups in py_smb_query_secdesc() Thanks to Brett A. Funderburg for these patches. (This used to be commit 6c33189e50ae3704275198e324fcdb7facd209f7)
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison1-1/+1
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
2003-07-29More memory leak fixes from Brett! It turns out PyDict_SetItemStringTim Potter1-16/+23
didn't behave exactly as I thought it did. If you create an item using a PyFoo_FromBar function you must decrement the reference to that object afterwards (or use Py_BuildValue). (This used to be commit 2a960963fbe43de753d44d617a7666a7b258092e)
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)