1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

383 Commits

Author SHA1 Message Date
Alexander Bokovoy
306c355f26 r22840: Add -pie support to Python's setup.py. This should fix build of python libs on recent distributions that take care of security.
(This used to be commit b090b8983b)
2007-10-10 12:22:01 -05:00
Jelmer Vernooij
84c37a1fe2 r22584: Don't hardcode specific Python version.
Patch by the Samba packaging team for Debian.
(This used to be commit 1d3f35941b)
2007-10-10 12:19:47 -05:00
Jeremy Allison
12ba88574b r22542: Move over to using the _strict varients of the talloc
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
(This used to be commit f6fa3080fe)
2007-10-10 12:19:44 -05:00
Günther Deschner
8ffe6c8a8d r18801: Fix (at least the build of) python bindings.
Guenther
(This used to be commit fc6543ca78)
2007-10-10 12:00:59 -05:00
Gerald Carter
05ba38f754 r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()
(This used to be commit 50d74ce048)
2007-10-10 12:00:54 -05:00
Günther Deschner
505f1d1e04 r18622: Fix at least the python bindings *build*, I'm sure there is much more to
do so that they actually work again.

Guenther
(This used to be commit 49d07d0cf9)
2007-10-10 11:52:01 -05:00
Gerald Carter
2b27c93a9a r18271: Big change:
* 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 3da9f80c28)
2007-10-10 11:51:18 -05:00
Jeremy Allison
fbdcf2663b r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
(This used to be commit 9dafb7f48c)
2007-10-10 11:19:14 -05:00
Jeremy Allison
2b8abc030b r16644: Fix bug #3887 reported by jason@ncac.gwu.edu
by converting the lookup_XX functions to correctly
return SID_NAME_TYPE enums.
Jeremy.
(This used to be commit ee2b2d96b6)
2007-10-10 11:19:05 -05:00
Deryck Hodge
0d14777a47 r15386: Missed some functions in my last commit.
deryck
(This used to be commit fdb5be797a)
2007-10-10 11:16:38 -05:00
Deryck Hodge
aee979faaa r15385: Some work to bring the python code up to date with the
rpc client rewrite.
(This used to be commit fd5bcecceb)
2007-10-10 11:16:38 -05:00
Deryck Hodge
2720db90c1 r15299: Fix import of Python modules. Fixes Bug #3567.
The REGVAL_CTR part is taken from Daniel Jarboe's
patch he filed with the bug report.

deryck
(This used to be commit 7ca24b9966)
2007-10-10 11:16:32 -05:00
Lars Müller
e241563472 r15180: Use tdb_lock_bystring_with_timeout().
(This used to be commit 1ff6ae68b6)
2007-10-10 11:16:28 -05:00
Lars Müller
afb96206aa r15093: Align to the last winbind changes.
(This used to be commit 74fa3a2554)
2007-10-10 11:16:22 -05:00
Günther Deschner
e54786b535 r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.
* 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 5b89e8bc24)
2007-10-10 11:10:25 -05:00
Gerald Carter
0af1500fc0 r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed)
2007-10-10 11:06:23 -05:00
Lars Müller
5256cacd3b r13257: Fix python build with older python versions (e.g. 2.2.1) like in United Linux 1 (UL) aka SuSE Linux Enterprise Server (SLES) 8.
(This used to be commit 4602cb5f53)
2007-10-10 11:06:20 -05:00
Derrell Lipman
9c15bd311d r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
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 f2a24de769)
2007-10-10 11:06:18 -05:00
Günther Deschner
ea6b1035bd r12441: Fix python build.
Guenther
(This used to be commit e33a20c222)
2007-10-10 11:05:56 -05:00
Gerald Carter
01a1e5cdb0 r10819: merging a couple of fixes from trunk
* 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 6c6bf6ca5f)
2007-10-10 11:04:54 -05:00
Jeremy Allison
5b32737374 r10802: Janitor for tpot - remember to keep 3.0 in sync.
Jeremy.
(This used to be commit 4b7a60e95e)
2007-10-10 11:04:54 -05:00
Günther Deschner
ae7f35086c r9944: fix python build
Guenther
(This used to be commit 97412dbaad)
2007-10-10 11:03:28 -05:00
Gerald Carter
ecafd3754f r8654: merging cli_spoolss_XX() updates from trunk
(This used to be commit cd961e50a3)
2007-10-10 11:00:14 -05:00
Tim Potter
982bc5f569 r8596: Don't wrap non-existent functions. Bugzilla #2895.
(This used to be commit 0a9395bb48)
2007-10-10 11:00:12 -05:00
Jeremy Allison
263a51cd62 r8564: Sometimes we're too dumb to live... Fix samr calls where we were
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 84651aca04)
2007-10-10 11:00:09 -05:00
Günther Deschner
8449a93928 r8538: honour CC in python build.
Guenther
(This used to be commit d31510d6c5)
2007-10-10 11:00:07 -05:00
Lars Müller
1b148896a1 r8435: Use OPENX_FILE_EXISTS_OPEN instead of FILE_EXISTS_OPEN.
(This used to be commit 22acd49368)
2007-10-10 11:00:05 -05:00
Lars Müller
07e58e0542 r8431: Ensure to use dev_private and not private after Jeremy's CPP reserved
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 cd2c467cc4)
2007-10-10 11:00:05 -05:00
Lars Müller
39605e52aa r7960: Replace unknown SMB_XSTRDUP by known SMB_STRDUP macro.
I still don't know why the compile doesn't fail.
(This used to be commit 8cfa6873c2)
2007-10-10 10:58:04 -05:00
Jeremy Allison
19ca97a70f r7882: Looks like a large patch - but what it actually does is make Samba
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 9506b8e145)
2007-10-10 10:58:00 -05:00
Tim Potter
de737187c9 r6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.
Closes bugzilla 2699.
(This used to be commit 16ddf28122)
2007-10-10 10:56:53 -05:00
Gerald Carter
3c181a88c6 r6678: fix python python after talloc() shakeup
(This used to be commit f629bffb1a)
2007-10-10 10:56:50 -05:00
Gerald Carter
b3e57cb3ff r5968: derrell's large file fix for libsmbclient (BUG 2505)
(This used to be commit 85be4c5df3)
2007-10-10 10:56:13 -05:00
Tim Potter
b3d17b8b16 r5283: Merge -r5279 and-r5280 from trunk.
(This used to be commit 74d872287b)
2007-10-10 10:55:36 -05:00
Jeremy Allison
09969123e1 r4238: More *alloc fixes.
Jeremy.
(This used to be commit 4d971806f4)
2007-10-10 10:53:39 -05:00
Tim Potter
a8d28cf0cf r3504: Fix incorrectly applied patch. My fault - sorry!
(This used to be commit 43a7f7db3d)
2007-10-10 10:53:08 -05:00
Tim Potter
babd291eb1 r3228: Fix for bugzilla #1884 from Brett Funderburg. Use the value of
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 9c3cffaf22)
2007-10-10 10:53:03 -05:00
Tim Potter
4fd4aa1152 r2828: Fix for bugzilla #1864 from Brett again.
Add sd->type field to security descriptor Python representation.
(This used to be commit b157a1b7c3)
2007-10-10 10:52:54 -05:00
Tim Potter
56fd69174e r2823: Patch from Brett Funderburg to pass create options parameter to
nt_create_andx() function.
(This used to be commit fa3e836564)
2007-10-10 10:52:54 -05:00
Tim Potter
8ffb8bf944 r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe.
(This used to be commit 8ec28d613d)
2007-10-10 10:52:50 -05:00
Gerald Carter
a817cc16b2 r1789: compiler warnings from SuSE
(This used to be commit 7e44193be1)
2007-10-10 10:52:20 -05:00
Andrew Bartlett
9d0783bf21 r1492: Rework our random number generation system.
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 36741d3cf5)
2007-10-10 10:52:13 -05:00
Tim Potter
aea1d344b2 r384: Relicense tdb python module in trunk and 3.0 branch as LGPL since the
license on tdb has changed.
(This used to be commit c6a18beafe)
2007-10-10 10:51:21 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Tim Potter
7850250445 Path for bugzilla #1152 from Timur Bakeyev. Allow python modules to
build despite libraries added to LDFLAGS instead of LDPATH.
(This used to be commit 98a25dcda8)
2004-03-24 23:52:11 +00:00
Tim Potter
9d3529105e Fix for writable printerdata problem - bugzilla #1112.
(This used to be commit a05b9f0cc5)
2004-02-26 23:04:11 +00:00
Jeremy Allison
d3b9384308 Fix for #480. Change the interface for init_unistr2 to not take a length
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 f82c273a42)
2003-09-25 21:26:16 +00:00
Jeremy Allison
0551426657 Ensure that dup_sec_desc copies the 'type' field correctly. This caused
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 28b315a750)
2003-09-19 21:57:43 +00:00
Gerald Carter
93ccb7b817 update python libraries for new cli_spoolss_getprinterdriver() call
(This used to be commit 331a69919c)
2003-08-25 21:16:17 +00:00
John Terpstra
ac61ce1f88 Tims' little fix.
(This used to be commit 03a308afcd)
2003-08-12 21:48:19 +00:00