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

315 Commits

Author SHA1 Message Date
Jelmer Vernooij
02481df3e8 r21683: Remove the gconf registry backend.
It's already been disabled for a while, as it required some compile flags that broke other things.

While this backend was an interesting proof-of-concept, this module doesn't really add any value.
It's not possible to map between windows registry and gconf semantics and I can't think of
any reason why you would want to do so.
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
4d755fb5d7 r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier. 2007-10-10 14:49:05 -05:00
Jelmer Vernooij
1ad0f99a43 r21433: Get rid of the COM support code - it's not used and unmaintained. We can
always bring it back if we need to. This code was getting in the way while
refactoring.

Add some tests for TDR.

Get rid of typedef in lib/registry/tdr_regf.idl and fix the
TDR code to be able to deal with it.
2007-10-10 14:48:33 -05:00
Jelmer Vernooij
15a4b81ba0 r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL. 2007-10-10 14:48:24 -05:00
Jelmer Vernooij
e782035251 r21299: Fix the build for those that don't have talloc.h installed. 2007-10-10 14:48:05 -05:00
Jelmer Vernooij
07652f65ce r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
2007-10-10 14:48:04 -05:00
Simo Sorce
3929c086d5 r19832: better prototypes for the linearization functions:
- ldb_dn_get_linearized
  returns a const string

- ldb_dn_alloc_linearized
  allocs astring with the linearized dn
2007-10-10 14:28:22 -05:00
Simo Sorce
a580c871d3 r19831: Big ldb_dn optimization and interfaces enhancement patch
This patch changes a lot of the code in ldb_dn.c, and also
removes and add a number of manipulation functions around.

The aim is to avoid validating a dn if not necessary as the
validation code is necessarily slow. This is mainly to speed up
internal operations where input is not user generated and so we
can assume the DNs need no validation. The code is designed to
keep the data as a string if possible.

The code is not yet 100% perfect, but pass all the tests so far.
A memleak is certainly present, I'll work on that next.

Simo.
2007-10-10 14:28:22 -05:00
Andrew Bartlett
2b569c42e0 r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
2007-10-10 14:25:00 -05:00
Simo Sorce
0fa5d4bc22 r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth argument.
This is a pointer to an element pointer. If it is not null it will be
filled with the pointer of the manipulated element.
Will avoid double searches on the elements list in some cases.
2007-10-10 14:24:38 -05:00
Andrew Tridgell
d8af519c2d r19400: fixed a valgrind error in the directory registry backend (name was
used after closedir(), which invalidates the name)
2007-10-10 14:21:25 -05:00
Simo Sorce
6fad80bb09 r19299: Fix possible memleaks 2007-10-10 14:21:04 -05:00
Andrew Tridgell
6cce709d08 r18971: avoid strndup is a few places. Fixes a minor memory leak, and should
fix RPC-LSA on AIX.
2007-10-10 14:20:25 -05:00
Andrew Tridgell
1c0a3de398 r18584: found one of the fd leaks. The registry backend was using a
talloc(NULL, xxx) to allocate the registry context. That had two
consequences

1) it was a massive memory leak, as all winreg operations leaked their
   entire context (including an open ldb database) every time

2) event_context_find() never found the exsting event context, so we
   used a new event context each time, which called epoll_create()
   each time, which caused a fd to be allocated
2007-10-10 14:18:52 -05:00
Gerald Carter
694677dafe r18561: Fix [out] pointers in winreg IDL 2007-10-10 14:18:46 -05:00
Andrew Tridgell
8123046460 r18328: when we bail out early, set *offset to 0 2007-10-10 14:18:10 -05:00
Andrew Tridgell
08562d6ebe r18324: fixed a uninitialised variable 2007-10-10 14:18:09 -05:00
Andrew Tridgell
dee6551dc3 r18298: fixed mmap failure test 2007-10-10 14:18:04 -05:00
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -05:00
Andrew Tridgell
dc1369b2ad r18176: reg_util.c needs LIBREPLACE for strndup 2007-10-10 14:17:46 -05:00
Jelmer Vernooij
8b622c5ded r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available. 2007-10-10 14:17:45 -05:00
Andrew Tridgell
18542f184f r18130: the move to system/ in libreplace broke some things ... should be
happier now
2007-10-10 14:17:37 -05:00
Jelmer Vernooij
1adf65b4d7 r18121: Simplify m4 code, hopefully fix Samba4 build problems. 2007-10-10 14:17:35 -05:00
Andrew Tridgell
c079cedb08 r18117: first steps in making samba4 use libreplace 2007-10-10 14:17:34 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
3953d3566e r17773: this macros are unsed, with compiler warnings
metze
2007-10-10 14:16:39 -05:00
Stefan Metzmacher
21142ad7a2 r17713: fix compiler warnings
metze
2007-10-10 14:16:30 -05:00
Simo Sorce
ad75cf8695 r17516: Change helper function names to make more clear what they are meant to do 2007-10-10 14:15:31 -05:00
Gerald Carter
26a2fa97e4 r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar 2007-10-10 14:08:59 -05:00
Jelmer Vernooij
3a5d3eb62c r15878: Add explicit initialization to make the IBM checker happy. 2007-10-10 14:08:36 -05:00
Jelmer Vernooij
dd0b912fdd r15877: Fix error message - caught by the IBM checker 2007-10-10 14:08:36 -05:00
Andrew Tridgell
61c6100617 r15854: more talloc_set_destructor() typesafe fixes 2007-10-10 14:08:32 -05:00
Jelmer Vernooij
1354333fd1 r15810: Fix uninitialized variable error, caught by the IBM checker. 2007-10-10 14:08:26 -05:00
Jelmer Vernooij
2b65c490e4 r15807: Fix incorrect initialization. Very nice catch by the IBM Checker. 2007-10-10 14:08:25 -05:00
Jelmer Vernooij
2e1ce01899 r15806: Remove some unnecessary nesting making the function harder to read. 2007-10-10 14:08:25 -05:00
Jelmer Vernooij
bdc6dd3750 r15776: Don't generate ref pointers in Samba4-generated code. There is no point
in having pointers for outgoing data when you can already modify the top-level
element.

This can be overridden (temporarily) by specifying the new "keepref"
attribute. Once we've removed keepref from all IDL files, I'll remove this
attribute as well.
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
dece573d47 r15659: Implement opening a key by name (significant better performance
in some situations). Patch by Wilco Baan Hofman.
2007-10-10 14:08:04 -05:00
Jelmer Vernooij
02859870d6 r15458: Fix support for Windows XP-style registry files and support for large numbers of subkeys.
Patch by Wilco Baan Hofman <wilco@baanhofman.nl>
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
e9d3660fa6 r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
not available on some platforms but is a Samba-specific library.
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
ccc3d8a954 r15375: Rename readline.h to smbreadline.h avoid clashes with system header. 2007-10-10 14:05:29 -05:00
Jelmer Vernooij
9a518661fb r15370: Fix more dependencies for shared libs 2007-10-10 14:05:27 -05:00
Jelmer Vernooij
eee9e33442 r15364: Use global list of predefined keys 2007-10-10 14:05:26 -05:00
Jelmer Vernooij
f2ca71f122 r15363: Fix dependencies for shared library 2007-10-10 14:05:26 -05:00
Jelmer Vernooij
684ef2dae1 r15361: Export table of predefined registry keys 2007-10-10 14:05:26 -05:00
Jelmer Vernooij
0ba3390a9c r15351: Fix tcc compile error 2007-10-10 14:05:24 -05:00
Jelmer Vernooij
6646384aaf r15298: Fix the build using a few hacks in the build system.
Recursive dependencies are now forbidden (the build system
will bail out if there are any).

I've split up auth_sam.c into auth_sam.c and sam.c. Andrew,
please rename sam.c / move its contents to whatever/wherever you think suits
best.
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
03224e1124 r15295: Fix some dependencies
Move unistr-specific code to lib/charset/. Remove _m from some places where it's not needed.
2007-10-10 14:05:03 -05:00
Jelmer Vernooij
2f06305e53 r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues with local
(empty) libpopt.a overriding global one
2007-10-10 14:05:00 -05:00
Jelmer Vernooij
31819f5411 r15253: Fix dependency on tdr_regf.h 2007-10-10 14:04:25 -05:00
Jelmer Vernooij
3e5aa5e794 r15248: Fix automatic dependencies build 2007-10-10 14:04:25 -05:00