Stefan Metzmacher [Wed, 19 Sep 2007 14:55:10 +0000 (14:55 +0000)]
r25231: revert hunk that was commited together with the change to gplv3
was revision 23801
metze
Tim Potter [Wed, 19 Sep 2007 01:59:06 +0000 (01:59 +0000)]
r25221: Experiment with Jelmer's new generic loadparm code.
Tim Potter [Wed, 19 Sep 2007 01:57:26 +0000 (01:57 +0000)]
r25220: Comment out obsolete functions.
Jelmer Vernooij [Tue, 18 Sep 2007 23:19:04 +0000 (23:19 +0000)]
r25219: remove unused check for precompiled headers.
Andrew Bartlett [Tue, 18 Sep 2007 22:43:06 +0000 (22:43 +0000)]
r25218: After discussion with Simo, remove the subclass support from LDB.
Subclass support was designed to avoid needing to spell out the full
list of objectClasses that an entry was in. However, Samba4 now
enforces this restriction in the objectClass module, and the way
subclass matching was handled was complex and counter-intuitive in my
opinion (and did not match LDAP).
Andrew Bartlett
Stefan Metzmacher [Tue, 18 Sep 2007 13:47:10 +0000 (13:47 +0000)]
r25217: #define TALLOC_DEPRECATED 1 to get talloc_append_string() macro
I'm not updating any code here, as in a few places the
existing code seems totaly broken to me...
metze
Stefan Metzmacher [Tue, 18 Sep 2007 13:45:43 +0000 (13:45 +0000)]
r25216: make talloc_append_string() a deprecated macro instead of
having it as a real function.
metze
Stefan Metzmacher [Tue, 18 Sep 2007 13:41:50 +0000 (13:41 +0000)]
r25215: replace talloc_append_string() with talloc_strdup_append_buffer()
metze
Stefan Metzmacher [Tue, 18 Sep 2007 13:33:44 +0000 (13:33 +0000)]
r25214: use talloc_strndup_append() instead of talloc_append_string()
and ugly hacks to handle the string termination.
metze
Stefan Metzmacher [Tue, 18 Sep 2007 13:31:55 +0000 (13:31 +0000)]
r25213: use talloc_strdup_append_buffer() instead of talloc_append_string()
metze
Stefan Metzmacher [Tue, 18 Sep 2007 13:31:05 +0000 (13:31 +0000)]
r25212: merge some stuff from samba3
metze
Stefan Metzmacher [Tue, 18 Sep 2007 13:25:48 +0000 (13:25 +0000)]
r25211: fix compiler warning
metze
Stefan Metzmacher [Tue, 18 Sep 2007 12:00:29 +0000 (12:00 +0000)]
r25210: fix typo
metze
Stefan Metzmacher [Tue, 18 Sep 2007 11:56:24 +0000 (11:56 +0000)]
r25209: unify logic of talloc_vasprintf_append() and talloc_vasprintf_append_buffer()
metze
Stefan Metzmacher [Tue, 18 Sep 2007 11:54:10 +0000 (11:54 +0000)]
r25208: add talloc_str[n]dup_append[_buffer]() functions
metze
Stefan Metzmacher [Tue, 18 Sep 2007 11:52:35 +0000 (11:52 +0000)]
r25207: remove one nesting level and use unlikely()
metze
Stefan Metzmacher [Tue, 18 Sep 2007 11:51:41 +0000 (11:51 +0000)]
r25206: unify logic of talloc_strdup() and talloc_strndup(),
only strlen() vs. strnlen() is the difference now.
metze
Stefan Metzmacher [Tue, 18 Sep 2007 11:50:39 +0000 (11:50 +0000)]
r25205: $(srcdir) isn't expanded here...
metze
Andrew Bartlett [Tue, 18 Sep 2007 06:36:07 +0000 (06:36 +0000)]
r25204: Patch by Andrew Kroeger <andrew@sprocks.gotdns.com> fixing bug #4958 -
rename of ldb entries for a case change (only).
I've modified the testsuite to verify this.
Andrew Bartlett
Andrew Bartlett [Tue, 18 Sep 2007 02:43:56 +0000 (02:43 +0000)]
r25203: Don't use subclasses in Samba4, as we always fill out the full
objectClass list.
Andrew Bartlett
Andrew Bartlett [Mon, 17 Sep 2007 12:44:26 +0000 (12:44 +0000)]
r25196: Thanks to id10ts on IRC for finding some typos in my well-known names
patch.
Andrew Bartlett
Andrew Bartlett [Mon, 17 Sep 2007 05:31:49 +0000 (05:31 +0000)]
r25194: A major rework of the Samba4 LSA LookupNames and LookupSids code, with
a new torture suite to match.
This should fix bug #4954 by Matthias Wallnöfer <mwallnoefer@yahoo.de>
Previously we had no knowlege of BUILTIN or well-known names.
This code needs expansion to check with winbind for trusted domains.
Andrew Bartlett
Jelmer Vernooij [Sun, 16 Sep 2007 19:14:46 +0000 (19:14 +0000)]
r25193: Update headers to easy use by external apps.
Stefan Metzmacher [Sun, 16 Sep 2007 15:12:04 +0000 (15:12 +0000)]
r25192: try to fix the build on sun/solaris hosts
we should try to get rid of all c++ sympols
in samba4...
metze
Jelmer Vernooij [Sun, 16 Sep 2007 14:39:19 +0000 (14:39 +0000)]
r25191: Fix include for BSD systems.
Jelmer Vernooij [Sun, 16 Sep 2007 14:34:33 +0000 (14:34 +0000)]
r25190: Update talloc version to 1.1.0 after API-incompatible changes.
Stefan Metzmacher [Sun, 16 Sep 2007 14:20:53 +0000 (14:20 +0000)]
r25189: add first winbind test for the struct based protocol (WINBINDD_PING)
metze
Stefan Metzmacher [Sun, 16 Sep 2007 14:19:30 +0000 (14:19 +0000)]
r25188: add infrastructure for WINBIND-* tests in smbtorture
metze
Stefan Metzmacher [Sun, 16 Sep 2007 14:08:08 +0000 (14:08 +0000)]
r25187: pass FIRST_PREREQ to Makefile so that the value can be used
in handwritten rules too, hopefully fix the build
of ldb with bsd make.
metze
Volker Lendecke [Sun, 16 Sep 2007 10:30:31 +0000 (10:30 +0000)]
r25186: Fix a memory corruption in base-mangle
Jelmer Vernooij [Sat, 15 Sep 2007 23:03:34 +0000 (23:03 +0000)]
r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data.
Stefan Metzmacher [Sat, 15 Sep 2007 20:14:17 +0000 (20:14 +0000)]
r25183: return LOCKDIR too
metze
Stefan Metzmacher [Sat, 15 Sep 2007 20:11:28 +0000 (20:11 +0000)]
r25182: don't hide the envlog in plain mode
metze
Stefan Metzmacher [Sat, 15 Sep 2007 20:09:29 +0000 (20:09 +0000)]
r25181: sync winbind client code with samba3
NOTE: wbinfo.c isn't fully merged here
metze
Jeremy Allison [Fri, 14 Sep 2007 23:21:00 +0000 (23:21 +0000)]
r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
Jelmer Vernooij [Fri, 14 Sep 2007 23:03:29 +0000 (23:03 +0000)]
r25174: Export header from just one place.
Jelmer Vernooij [Fri, 14 Sep 2007 18:26:23 +0000 (18:26 +0000)]
r25168: Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel.
Jelmer Vernooij [Fri, 14 Sep 2007 18:06:51 +0000 (18:06 +0000)]
r25166: Simplify can_contain_deferred and add tests for it.
Jeremy Allison [Fri, 14 Sep 2007 17:40:58 +0000 (17:40 +0000)]
r25164: Add talloc_asprintf_append_buffer() and the docs for it.
Jeremy.
Stefan Metzmacher [Fri, 14 Sep 2007 13:16:46 +0000 (13:16 +0000)]
r25159: fix missing declarations warning
metze
Stefan Metzmacher [Fri, 14 Sep 2007 13:14:59 +0000 (13:14 +0000)]
r25158: rename nsswitch/winbindd_nss.h => nsswitch/winbind_struct_protocol.h
metze
Jelmer Vernooij [Thu, 13 Sep 2007 12:22:08 +0000 (12:22 +0000)]
r25124: Include link to summary page, hide environment variables for 'none' environment.
Stefan Metzmacher [Thu, 13 Sep 2007 10:53:35 +0000 (10:53 +0000)]
r25123: we only need lib/ldb/sqlite3.m4 and lib/ldb/libldb.m4,
when we build our own ldb...
metze
Stefan Metzmacher [Thu, 13 Sep 2007 10:51:31 +0000 (10:51 +0000)]
r25122: fix interface detection code
jelmer: I wonder what broke it...
metze
Jeremy Allison [Wed, 12 Sep 2007 21:41:36 +0000 (21:41 +0000)]
r25116: Fix talloc_asprintf_append to do the right thing with
truncated strings.
Jeremy.
Stefan Metzmacher [Wed, 12 Sep 2007 12:36:42 +0000 (12:36 +0000)]
r25115: move normalizing of the define string into a function
and replace '-' with '_' as '-' isn't a string constant in C
jelmer: I assume the "..". for the public header was a bug...
metze
Stefan Metzmacher [Wed, 12 Sep 2007 12:31:19 +0000 (12:31 +0000)]
r25114: handle structs and unions without typedefs better
in can_contain_deffered()
jelmer: we need to handle this more genericly, I assume
we have a lot of other related bugs
metze
Stefan Metzmacher [Wed, 12 Sep 2007 09:26:57 +0000 (09:26 +0000)]
r25113: fix compiler warning
metze
Stefan Metzmacher [Wed, 12 Sep 2007 07:29:29 +0000 (07:29 +0000)]
r25112: make torture_temp_dir() available via tortore/torture.h
and return more detailed errors
metze
Jelmer Vernooij [Tue, 11 Sep 2007 23:53:25 +0000 (23:53 +0000)]
r25110: Show environment variables in HTML output.
Jelmer Vernooij [Tue, 11 Sep 2007 22:49:11 +0000 (22:49 +0000)]
r25106: ldb_map is provided by libldb.so in the system-provided ldb.
Jelmer Vernooij [Tue, 11 Sep 2007 22:45:15 +0000 (22:45 +0000)]
r25105: No need to register ldb_map as a module.
Jelmer Vernooij [Tue, 11 Sep 2007 18:25:54 +0000 (18:25 +0000)]
r25101: Directly depend on drsblobs - can't rely on having it in via ldb.
Jelmer Vernooij [Tue, 11 Sep 2007 18:24:09 +0000 (18:24 +0000)]
r25100: Include LDAP libs in .pc file so linking statically against libldb works again.
Jelmer Vernooij [Tue, 11 Sep 2007 18:02:30 +0000 (18:02 +0000)]
r25098: Fix typo
Jelmer Vernooij [Tue, 11 Sep 2007 17:57:37 +0000 (17:57 +0000)]
r25097: Don't clutter users' CFLAGS with ldb cflags.
Jelmer Vernooij [Tue, 11 Sep 2007 17:32:55 +0000 (17:32 +0000)]
r25096: Missed an include - otherwise the embedded ldb is always used.
Jelmer Vernooij [Tue, 11 Sep 2007 17:31:23 +0000 (17:31 +0000)]
r25095: Display of which libraries the system-provided version is being used.
Jelmer Vernooij [Tue, 11 Sep 2007 17:29:49 +0000 (17:29 +0000)]
r25094: Force building shared module if subsystem is a shared library.
Jelmer Vernooij [Tue, 11 Sep 2007 17:27:25 +0000 (17:27 +0000)]
r25093: Use system-provided ldb library if available. Note that this only means using the ldb library from the system - the custom command-line tools for Samba 4 will still be built even if they are already provided by the system.
Jelmer Vernooij [Tue, 11 Sep 2007 16:09:36 +0000 (16:09 +0000)]
r25085: Define LDB_MODULESDIR for standalone build.
Jelmer Vernooij [Tue, 11 Sep 2007 16:06:32 +0000 (16:06 +0000)]
r25084: Move samba-specific code out of lib/ldb directory.
Jelmer Vernooij [Tue, 11 Sep 2007 15:50:31 +0000 (15:50 +0000)]
r25083: Keep actual symbol names the same.
Jelmer Vernooij [Tue, 11 Sep 2007 15:47:49 +0000 (15:47 +0000)]
r25082: Avoid use of MACHINE because it's defined already on Tru64. Thanks to Björn and BaT for pointing this out.
Jelmer Vernooij [Tue, 11 Sep 2007 15:42:19 +0000 (15:42 +0000)]
r25081: Add modules_dir member to ldb_context that is used rather than a global
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb
Andrew Bartlett [Tue, 11 Sep 2007 01:02:50 +0000 (01:02 +0000)]
r25073: Correct test name so make test can pass again.
Andrew Bartlett
Andrew Bartlett [Tue, 11 Sep 2007 00:19:10 +0000 (00:19 +0000)]
r25071: Add some more testcases for RPC-DRSUAPI-CRACKNAMES, proving I can't
use this as a backend for the LSA LookupNames call.
Andrew Bartlett
Jelmer Vernooij [Mon, 10 Sep 2007 23:47:29 +0000 (23:47 +0000)]
r25070: Revert DRSUAPI conversion to new API, as it broke some tests.
Jelmer Vernooij [Mon, 10 Sep 2007 15:06:05 +0000 (15:06 +0000)]
r25056: Install some extra files. Patch from Stefan Gohmann
Andrew Bartlett [Mon, 10 Sep 2007 06:09:16 +0000 (06:09 +0000)]
r25053: Show the user class alongside the username.
(Trying to figure out why we can't provision as an administrator).
Andrew Bartlett
Andrew Bartlett [Mon, 10 Sep 2007 04:41:14 +0000 (04:41 +0000)]
r25052: This missing 'break' caused problems on 32 bit platforms only, due to
alignment of the union.
Sorry for the time it took to test and fix this.
Andrew Bartlett
Andrew Bartlett [Mon, 10 Sep 2007 03:44:47 +0000 (03:44 +0000)]
r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.
The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.
This also removes the need to 'compile' SWAT on SVN checkouts.
Andrew Bartlett
Andrew Bartlett [Mon, 10 Sep 2007 01:39:20 +0000 (01:39 +0000)]
r25048: From the archives (patch found in one of my old working trees):
Try two different DNs, when performing a samsync from an AD server.
Andrew Bartlett
Jelmer Vernooij [Sun, 9 Sep 2007 19:34:30 +0000 (19:34 +0000)]
r25047: Fix more warnings.
Tim Potter [Sun, 9 Sep 2007 12:02:51 +0000 (12:02 +0000)]
r25046: Ditch tdb_traverse() as it doesn't lend itself to any Python idioms
and the semantics can be reproduced using tdb_firstkey() and
tdb_nextkey(). Oh, and also because I can't figure out how to get SWIG
to do exactly what I want here.
Tim Potter [Sun, 9 Sep 2007 06:41:15 +0000 (06:41 +0000)]
r25045: Add constants for enum TDB_ERROR.
Remove some functions that I don't think should be in at the moment -
tdb_open_ex(), tdb_reopen{,_all} and locking functions. Locking
functions may come back at a later stage along with transaction support.
Tim Potter [Sun, 9 Sep 2007 06:39:24 +0000 (06:39 +0000)]
r25044: The has_key() method should return a boolean, not an integer.
Add TODO for missing iterator and other oddball methods.
Jelmer Vernooij [Sun, 9 Sep 2007 01:08:50 +0000 (01:08 +0000)]
r25043: Avoid allocation on with NULL parent.
Jelmer Vernooij [Sat, 8 Sep 2007 21:06:57 +0000 (21:06 +0000)]
r25042: Avoid direct references to global loadparm context.
Jelmer Vernooij [Sat, 8 Sep 2007 20:49:43 +0000 (20:49 +0000)]
r25041: Use context in more places, fix warnings.
Jelmer Vernooij [Sat, 8 Sep 2007 20:03:19 +0000 (20:03 +0000)]
r25039: Rename service -> loadparm_service, use context more.
Jelmer Vernooij [Sat, 8 Sep 2007 19:16:08 +0000 (19:16 +0000)]
r25038: Pass context in more places.
Jelmer Vernooij [Sat, 8 Sep 2007 17:25:24 +0000 (17:25 +0000)]
r25037: Start passing the context around.
Jelmer Vernooij [Sat, 8 Sep 2007 16:46:30 +0000 (16:46 +0000)]
r25035: Fix some more warnings, use service pointer rather than service number in more places.
Jelmer Vernooij [Sat, 8 Sep 2007 15:09:59 +0000 (15:09 +0000)]
r25034: Remove unused variables.
Jelmer Vernooij [Sat, 8 Sep 2007 15:06:47 +0000 (15:06 +0000)]
r25033: Fix include
Jelmer Vernooij [Sat, 8 Sep 2007 14:12:45 +0000 (14:12 +0000)]
r25031: Use pointers to services rather than service numbers when possible.
Jelmer Vernooij [Sat, 8 Sep 2007 13:34:42 +0000 (13:34 +0000)]
r25028: Fix more warnings.
Jelmer Vernooij [Sat, 8 Sep 2007 13:27:14 +0000 (13:27 +0000)]
r25027: Fix more warnings.
Jelmer Vernooij [Sat, 8 Sep 2007 12:42:09 +0000 (12:42 +0000)]
r25026: Move param/param.h out of includes.h
Tim Potter [Sat, 8 Sep 2007 01:40:24 +0000 (01:40 +0000)]
r25018: Remove non-existent tdb_logging_function() as well as less useful
functions such as tdb_dump_all() and tdb_printfreelist().
Jelmer Vernooij [Sat, 8 Sep 2007 01:39:31 +0000 (01:39 +0000)]
r25017: Move MAXHOSTNAMELEN definition to replace.h as it is usually part of
sys/param.h.
Jelmer Vernooij [Sat, 8 Sep 2007 01:29:52 +0000 (01:29 +0000)]
r25016: Create context for loadparm variables.
Jelmer Vernooij [Sat, 8 Sep 2007 00:48:23 +0000 (00:48 +0000)]
r25015: Use talloc for all allocations in loadparm.
Jelmer Vernooij [Sat, 8 Sep 2007 00:38:22 +0000 (00:38 +0000)]
r25014: Use talloc for allocating values as well.
Jelmer Vernooij [Sat, 8 Sep 2007 00:07:50 +0000 (00:07 +0000)]
r25013: Use talloc to allocate services in loadparm, use pointer to indicate validity.
Jelmer Vernooij [Fri, 7 Sep 2007 23:37:00 +0000 (23:37 +0000)]
r25012: Avoid use of pstring, fix coding style a bit.
Jelmer Vernooij [Fri, 7 Sep 2007 22:01:15 +0000 (22:01 +0000)]
r25010: Avoid uses of pstring
Jelmer Vernooij [Fri, 7 Sep 2007 17:59:53 +0000 (17:59 +0000)]
r25008: Remove use of pstring.
Jelmer Vernooij [Fri, 7 Sep 2007 16:54:39 +0000 (16:54 +0000)]
r25007: Remove more uses of pstring, move ntlmauth-specific utility function to ntlm-auth.c