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

54257 Commits

Author SHA1 Message Date
Tim Prouty
4e3656b8d1 s3: Change SMB_VFS_OPEN to take an smb_filename struct
This was a little messy because of all of the vfs modules I had to
touch.  Most of them were pretty straight forward, but the streams
modules required a little attention to handle smb_filename.  Since the
use of smb_filename enables the vfs modules to access the raw,
over-the-wire stream, a little bit of the handling that was being done
by split_ntfs_stream_name has now been shifted into the individual
stream modules.  It may be a little more code, but overall it gives
more flexibility to the streams modules, while also allowing correct
stream handling.
2009-06-17 20:11:53 -07:00
Tim Prouty
5cfac1a1bd s3: Plumb smb_filename from create_file all of the way down to fd_open
I used the smb_filename struct everywhere that was feasible for the
first pass.  There are still some places in this path that need to be
changed to use smb_filename, but this is a good start.

I also:
- Removed fname/path arguments from a few functions that weren't
  really using them.
- Added a utility function for detecting whether an smb_filename is a
  stream.
2009-06-17 20:11:53 -07:00
Jelmer Vernooij
78e316ddbc Use system Python LDB bindings, if present. 2009-06-18 04:20:46 +02:00
Jelmer Vernooij
8178a40dcd Use system LDB by default if the right version was found. 2009-06-18 03:09:36 +02:00
Jelmer Vernooij
edbbbff7ec dsdb: Fix build against system ldb. 2009-06-18 03:09:14 +02:00
Jelmer Vernooij
a5563d2925 selftest: Use common function when skipping testsuites based on run-time
conditions.
2009-06-18 03:08:21 +02:00
Jelmer Vernooij
4e293e3780 smb_build: Always build modules for system-libraries as shared libraries,
since they can't be included in the static library.
2009-06-18 02:32:26 +02:00
Jelmer Vernooij
4657f52c06 Fix build with system LDB. 2009-06-18 01:21:35 +02:00
Jelmer Vernooij
76bf5a4ede configure: Use Python tdb bindings from the system, if found. 2009-06-18 00:54:18 +02:00
Jelmer Vernooij
57c514afec Remove outdated Python status file. 2009-06-18 00:54:17 +02:00
Jeremy Allison
7d20e8f7f4 Fix bug #6476 - more then 3000 smbd-zombies in memory
We weren't reaping children in the [x]inetd case.
Jeremy.
2009-06-17 13:56:21 -07:00
Jelmer Vernooij
57cd98de72 selftest: report time after testsuite, gives nicer output on the
buildfarm.
2009-06-17 21:37:49 +02:00
Jelmer Vernooij
43b7a0e34e tdb: Fix help string in configure flag to enable Python bindings. 2009-06-17 21:12:50 +02:00
Jelmer Vernooij
2dd921c774 Only install an explicit set of scripts during "make install", rather than
whatever happens to be in the source tree.
2009-06-17 21:00:22 +02:00
Jelmer Vernooij
8b82e3b1e3 Make fullschema script executable. 2009-06-17 20:52:43 +02:00
Jelmer Vernooij
832b929dde pyldb: Fix three more (minor) memory leaks. 2009-06-17 20:45:40 +02:00
Jelmer Vernooij
4d2baca7be pyldb: Fix memory leak in Dn.get_parent(). 2009-06-17 20:45:39 +02:00
Jelmer Vernooij
0c3769e181 pyldb: Fix memory leak in Dn.concat. 2009-06-17 20:45:39 +02:00
Jelmer Vernooij
f1561cd72b pyldb/tests: Use different dn's everywhere, to easily spot which test is
breaking in gdb.
2009-06-17 20:45:39 +02:00
Jelmer Vernooij
a61e11468a pyldb: Fix another memory leak and reference counting error. 2009-06-17 20:45:39 +02:00
Jelmer Vernooij
28a2c262ac param/python: Fix memory leak of LoadParm objects. 2009-06-17 20:45:38 +02:00
Jelmer Vernooij
7b8fcacda2 pycredentials: Raise MemoryError when unable to create objects. 2009-06-17 20:45:38 +02:00
Jelmer Vernooij
0c16676642 pyldb: Fix memory leak of LdbMessage's created from Python. 2009-06-17 20:45:38 +02:00
Jelmer Vernooij
d4172bbcc5 pycredentials: Fix memory leak. 2009-06-17 20:45:38 +02:00
Jelmer Vernooij
d558d8ab94 pyldb: Fix two memory leaks of attribute lists. 2009-06-17 20:45:37 +02:00
Jelmer Vernooij
c3770f1dc0 pyldb: Fix segfault, freeing memory too early in search. 2009-06-17 20:45:37 +02:00
Jelmer Vernooij
2f27d0c762 pyldb: Support getting the parent of special DNs without segfaulting.
Found by: Андрей Григорьев <andrew@ei-grad.ru>
2009-06-17 20:45:37 +02:00
Simo Sorce
ac1d311e9c fix release scripts to always git clean
This makes sure we do not include foreign object files or other
build byproducts by mistake.
2009-06-17 14:18:03 -04:00
David Markey
86450bd59c s3-net: Fix Bug #6328: support "net sam rights grant/revoke" with multiple rights.
David

Signed-off-by: Günther Deschner <gd@samba.org>
2009-06-17 18:42:34 +02:00
Karolin Seeger
13494c0f8f s3/packaging: pam_winbind has been moved to section 8.
Karolin
2009-06-17 15:19:20 +02:00
Karolin Seeger
6098be34ba s3/packaging: source -> source3
Karolin
2009-06-17 15:18:16 +02:00
Karolin Seeger
c5580cafcb s3/i18n: Add Russian to the list.
Karolin
2009-06-17 14:37:28 +02:00
Karolin Seeger
e26de2dadc s3/i18n: Add Russian translation for SWAT messages.
Thanks to Yuri Kozlov <kozlov.y [at] gmail.com>!

This is part of a fix for bug #4755.
2009-06-17 14:33:33 +02:00
Günther Deschner
5a8483ea74 s3-net: Fix Bug #6328: allow multiple rights in "net sam rights grant".
Guenther
2009-06-17 12:40:28 +02:00
Karolin Seeger
f0930cef83 s3/i18n: Update German SWAT translations.
This is part of a fix for bug #4755.
Patch was provided (mainly) by Helge Kreutzmann <debian [at] helgefjell.de>.
Thanks!

Karolin
2009-06-17 12:17:45 +02:00
Karolin Seeger
095f66b0ed s3/libsmb: Fix typo in error message.
Thanks to Herb Lewis <hlewis [at] panasas.com> for noticing!

Karolin
2009-06-17 10:25:11 +02:00
Jeremy Allison
eae3745a3b Remove msdfs pathname processing from default create file.
No longer needed.
Jeremy
2009-06-16 17:42:41 -07:00
Jeremy Allison
9b30c5c145 Fix msdfs after the change to smb_filename struct. We must *always*
pull the pathname, then call resolve_dfspath(), before unix_convert().
Jeremy.
2009-06-16 17:23:54 -07:00
Günther Deschner
fbe85c70ef s4-smbtorture: add test for NetUserSetInfo level 0 (user rename).
Guenther
2009-06-17 01:30:22 +02:00
Günther Deschner
bdd214b38c s4-smbtorture: use torture_comment in RPC-SAMR-USERS-PRIVILEGES test.
Guenther
2009-06-17 01:29:22 +02:00
Günther Deschner
823681bc99 s4-smbtorture: use TORTURE_TEST_USER define in libnetapi user test.
Guenther
2009-06-17 01:29:19 +02:00
Jeremy Allison
cbb55b34e2 _lsa_EnumAccountRights and _lsa_EnumPrivsAccount can return an
empty set of privilages if the SID doesn't have any.
(From [MS-LSAD.pdf])
Jeremy.
2009-06-16 13:17:24 -07:00
Günther Deschner
29b8e08b83 s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.
Guenther
2009-06-16 15:00:20 +02:00
Günther Deschner
33be1f56f7 s3-netapi: Fix Bug #6305. Correctly prompt for a password when a username was given.
When no callback or wrapping has managed to get a password, prompt in the
netapi connection manager for a password.

Guenther
2009-06-16 12:13:53 +02:00
Günther Deschner
2f884753dd s3-docs: fix typo in pam_winbind.8.
Guenther
2009-06-16 11:49:36 +02:00
Günther Deschner
c033039e62 s3-netapi: add NetGetJoinInformation example code.
Guenther
2009-06-16 10:42:49 +02:00
Jelmer Vernooij
308de544f4 python: Provide way to iterate over available shares. 2009-06-16 02:28:10 +02:00
Jelmer Vernooij
f7ada51c29 python: Add API for accessing available shares. 2009-06-16 02:28:10 +02:00
Tim Prouty
537aa4cf51 s3 onefs: Fix reading over the end of the array, because the incorrect array was being read. 2009-06-15 14:11:39 -07:00
Tim Prouty
6f335036fd s3 onefs: Change onefs modules to use the new createfile api 2009-06-15 14:03:40 -07:00