1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

382 Commits

Author SHA1 Message Date
Jelmer Vernooij
1d3f35941b r22584: Don't hardcode specific Python version.
Patch by the Samba packaging team for Debian.
2007-10-10 12:19:47 -05:00
Jeremy Allison
f6fa3080fe r22542: Move over to using the _strict varients of the talloc
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
2007-10-10 12:19:44 -05:00
Günther Deschner
fc6543ca78 r18801: Fix (at least the build of) python bindings.
Guenther
2007-10-10 12:00:59 -05:00
Gerald Carter
50d74ce048 r18747: replace rpccli_lsa_close() with rpccli_lsa_Close() 2007-10-10 12:00:54 -05:00
Günther Deschner
49d07d0cf9 r18622: Fix at least the python bindings *build*, I'm sure there is much more to
do so that they actually work again.

Guenther
2007-10-10 11:52:01 -05:00
Gerald Carter
3da9f80c28 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.
2007-10-10 11:51:18 -05:00
Jeremy Allison
9dafb7f48c 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.
2007-10-10 11:19:14 -05:00
Jeremy Allison
ee2b2d96b6 r16644: Fix bug #3887 reported by jason@ncac.gwu.edu
by converting the lookup_XX functions to correctly
return SID_NAME_TYPE enums.
Jeremy.
2007-10-10 11:19:05 -05:00
Deryck Hodge
fdb5be797a r15386: Missed some functions in my last commit.
deryck
2007-10-10 11:16:38 -05:00
Deryck Hodge
fd5bcecceb r15385: Some work to bring the python code up to date with the
rpc client rewrite.
2007-10-10 11:16:38 -05:00
Deryck Hodge
7ca24b9966 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
2007-10-10 11:16:32 -05:00
Lars Müller
1ff6ae68b6 r15180: Use tdb_lock_bystring_with_timeout(). 2007-10-10 11:16:28 -05:00
Lars Müller
74fa3a2554 r15093: Align to the last winbind changes. 2007-10-10 11:16:22 -05:00
Günther Deschner
5b89e8bc24 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
2007-10-10 11:10:25 -05:00
Gerald Carter
17e63ac4ed r13316: Let the carnage begin....
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Lars Müller
4602cb5f53 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. 2007-10-10 11:06:20 -05:00
Derrell Lipman
f2a24de769 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.)
2007-10-10 11:06:18 -05:00
Günther Deschner
e33a20c222 r12441: Fix python build.
Guenther
2007-10-10 11:05:56 -05:00
Gerald Carter
6c6bf6ca5f 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
2007-10-10 11:04:54 -05:00
Jeremy Allison
4b7a60e95e r10802: Janitor for tpot - remember to keep 3.0 in sync.
Jeremy.
2007-10-10 11:04:54 -05:00
Günther Deschner
97412dbaad r9944: fix python build
Guenther
2007-10-10 11:03:28 -05:00
Gerald Carter
cd961e50a3 r8654: merging cli_spoolss_XX() updates from trunk 2007-10-10 11:00:14 -05:00
Tim Potter
0a9395bb48 r8596: Don't wrap non-existent functions. Bugzilla #2895. 2007-10-10 11:00:12 -05:00
Jeremy Allison
84651aca04 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.
2007-10-10 11:00:09 -05:00
Günther Deschner
d31510d6c5 r8538: honour CC in python build.
Guenther
2007-10-10 11:00:07 -05:00
Lars Müller
22acd49368 r8435: Use OPENX_FILE_EXISTS_OPEN instead of FILE_EXISTS_OPEN. 2007-10-10 11:00:05 -05:00
Lars Müller
cd2c467cc4 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().
2007-10-10 11:00:05 -05:00
Lars Müller
8cfa6873c2 r7960: Replace unknown SMB_XSTRDUP by known SMB_STRDUP macro.
I still don't know why the compile doesn't fail.
2007-10-10 10:58:04 -05:00
Jeremy Allison
9506b8e145 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
2007-10-10 10:58:00 -05:00
Tim Potter
16ddf28122 r6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.
Closes bugzilla 2699.
2007-10-10 10:56:53 -05:00
Gerald Carter
f629bffb1a r6678: fix python python after talloc() shakeup 2007-10-10 10:56:50 -05:00
Gerald Carter
85be4c5df3 r5968: derrell's large file fix for libsmbclient (BUG 2505) 2007-10-10 10:56:13 -05:00
Tim Potter
74d872287b r5283: Merge -r5279 and-r5280 from trunk. 2007-10-10 10:55:36 -05:00
Jeremy Allison
4d971806f4 r4238: More *alloc fixes.
Jeremy.
2007-10-10 10:53:39 -05:00
Tim Potter
43a7f7db3d r3504: Fix incorrectly applied patch. My fault - sorry! 2007-10-10 10:53:08 -05:00
Tim Potter
9c3cffaf22 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.
2007-10-10 10:53:03 -05:00
Tim Potter
b157a1b7c3 r2828: Fix for bugzilla #1864 from Brett again.
Add sd->type field to security descriptor Python representation.
2007-10-10 10:52:54 -05:00
Tim Potter
fa3e836564 r2823: Patch from Brett Funderburg to pass create options parameter to
nt_create_andx() function.
2007-10-10 10:52:54 -05:00
Tim Potter
8ec28d613d r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe. 2007-10-10 10:52:50 -05:00
Gerald Carter
7e44193be1 r1789: compiler warnings from SuSE 2007-10-10 10:52:20 -05:00
Andrew Bartlett
36741d3cf5 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
2007-10-10 10:52:13 -05:00
Tim Potter
c6a18beafe r384: Relicense tdb python module in trunk and 3.0 branch as LGPL since the
license on tdb has changed.
2007-10-10 10:51:21 -05:00
Gerald Carter
a7e2730ec4 r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
2007-10-10 10:51:05 -05:00
Tim Potter
98a25dcda8 Path for bugzilla #1152 from Timur Bakeyev. Allow python modules to
build despite libraries added to LDFLAGS instead of LDPATH.
-
Tim Potter
a05b9f0cc5 Fix for writable printerdata problem - bugzilla #1112. -
Jeremy Allison
f82c273a42 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.
-
Jeremy Allison
28b315a750 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.
-
Gerald Carter
331a69919c update python libraries for new cli_spoolss_getprinterdriver() call -
John Terpstra
03a308afcd Tims' little fix. -
Tim Potter
ca1c463360 Fix for bug 269. Change wbinfo and ntlm_auth to convert domain, username
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)
-