Andrew Bartlett [Wed, 14 Nov 2007 02:51:02 +0000 (03:51 +0100)]
r25948: Fix up the samba3sam test (which is very fragile) to work with the new
restrictions imposed by the samldb module.
This module is worth keeping, because when we go back to do more
extensive backend mapping, the testing of this module shows it is
still possible.
Andrew Bartlett
Jelmer Vernooij [Wed, 14 Nov 2007 00:07:39 +0000 (01:07 +0100)]
r25945: Fix flags for MacOS X.
Jelmer Vernooij [Wed, 14 Nov 2007 00:01:31 +0000 (01:01 +0100)]
r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
Jelmer Vernooij [Tue, 13 Nov 2007 23:22:31 +0000 (00:22 +0100)]
r25943: Fix soname on hpux.
Andrew Bartlett [Tue, 13 Nov 2007 21:54:52 +0000 (22:54 +0100)]
r25942: Make various ldb modules handle an LDB backend that enforces validity
of Base DNs in searches (returning an error of LDB_ERR_NO_SUCH_ENTRY).
We need to handle this if ldb_tdb is to behave correctly compared with
LDAP, as well as if we are using an LDAP backend.
In doing so, I realised that subtree_rename and subtree_delete
(prevention) need rather different wait loops, so it seemed easier to
split it out into it's own module.
I've fixed the licence on both of these modules to be GPLv3.
Andrew Bartlett
Andrew Bartlett [Tue, 13 Nov 2007 21:40:42 +0000 (22:40 +0100)]
r25941: Use samdb_relative_path() (new function in samdb.c) in the partitions
module.
Andrew Bartlett
Andrew Bartlett [Tue, 13 Nov 2007 21:38:55 +0000 (22:38 +0100)]
r25940: Rework the samldb and templates handling.
Templates just don't belong in the sam.ldb, as they don't obey any of
the other rules. This moves them to a seperate templates.ldb.
In samldb, this patch reworks the duplicate SID and Name detection
code, to use ldb_search_exp_fmt() rather than gendb_search. This
returns far more useful errors, which we now handle and report better.
The call to samdb_search_for_parent_domain() has been moved in samldb,
to allow both the account and SID uniqueness checks to be in the same
domain. This function also returns better errors.
dcesrv_drsuapi.c is updated for the new prototype of
samdb_search_for_parent_domain()
Andrew Bartlett
Andrew Bartlett [Tue, 13 Nov 2007 21:30:33 +0000 (22:30 +0100)]
r25939: Rework the CLDAP server not to use gendb_search but to call ldb_search
directly.
Handle the errors from ldb_search (now that we get more than just -1),
including NO_SUCH_ENTRY when the base DN doesn't exist.
Andrew Bartlett
Andrew Bartlett [Tue, 13 Nov 2007 21:26:24 +0000 (22:26 +0100)]
r25938: We don't need the CLDAP server unless we are a DC.
Andrew Bartlett
Stefan Metzmacher [Tue, 13 Nov 2007 07:48:29 +0000 (08:48 +0100)]
r25936: provision/newuser: don't try to set the 'memberOf' attribute
metze
Jelmer Vernooij [Tue, 13 Nov 2007 03:57:09 +0000 (04:57 +0100)]
r25935: Fix registry tests.
Andrew Bartlett [Tue, 13 Nov 2007 03:32:36 +0000 (04:32 +0100)]
r25934: Handle a LDB_ERR_NO_SUCH_OBJECT return value when looking for the
modules.
This will be useful when we start enforcing validity in base DNs.
Andrew Bartlett
Andrew Bartlett [Tue, 13 Nov 2007 03:31:28 +0000 (04:31 +0100)]
r25933: LDB: Don't free errstring until after the printf, in case it is one of
the arguments.
Andrew Bartlett
Jelmer Vernooij [Mon, 12 Nov 2007 16:22:12 +0000 (17:22 +0100)]
r25932: Remove unnecessary include - should fix the build on hosts without popt.
Jelmer Vernooij [Sun, 11 Nov 2007 23:05:10 +0000 (00:05 +0100)]
r25931: Add config .mk file for crypto lib.
Jelmer Vernooij [Sun, 11 Nov 2007 22:37:01 +0000 (23:37 +0100)]
r25930: fix test name
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:57 +0000 (23:36 +0100)]
r25929: Add some help strings.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:53 +0000 (23:36 +0100)]
r25928: Split up torture-local a bit.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:50 +0000 (23:36 +0100)]
r25927: Move share tests to param directory.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:45 +0000 (23:36 +0100)]
r25926: Move iconv test to iconv code directory.
Stefan Metzmacher [Sun, 11 Nov 2007 13:06:02 +0000 (14:06 +0100)]
r25925: torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFID
(found by make valgrindtest)
metze
Stefan Metzmacher [Sun, 11 Nov 2007 12:59:01 +0000 (13:59 +0100)]
r25924: fix bug in UNIX_INFO2 push code found make make valgrindtest
metze
Andrew Bartlett [Sat, 10 Nov 2007 08:29:32 +0000 (09:29 +0100)]
r25923: Make sure to install phpldapadmin-config.php
Andrew Bartlett
Andrew Bartlett [Sat, 10 Nov 2007 04:48:38 +0000 (05:48 +0100)]
r25922: Make it easier to bind to a unix domain socket, without messing with
ports...
Andrew Bartlett
Andrew Bartlett [Sat, 10 Nov 2007 04:31:26 +0000 (05:31 +0100)]
r25921: Now also listen on ldapi by default in the LDAP server
Create a phpLDAPadmin configuration file example to use ldapi to talk
to Samba4
Andrew Bartlett
Stefan Metzmacher [Fri, 9 Nov 2007 18:24:51 +0000 (19:24 +0100)]
r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/
metze
Stefan Metzmacher [Fri, 9 Nov 2007 18:24:25 +0000 (19:24 +0100)]
r25919: ndr: change NTSTAUS into enum ndr_err_code (ndrdump)
librpc/tools/ndrdump.c
metze
Stefan Metzmacher [Fri, 9 Nov 2007 18:24:10 +0000 (19:24 +0100)]
r25918: ndr: change NTSTAUS into enum ndr_err_code (samba4 handwritten stuff)
ndr_sec_helper.c
ndr_spoolss_buf.c
ndr_compression.c
ndr_drsuapi.[ch]
ndr_krb5pac.c
ndr_orpc.c
metze
Stefan Metzmacher [Fri, 9 Nov 2007 18:23:57 +0000 (19:23 +0100)]
r25917: ndr: move ndr_map_error2ntstatus to errormap.c
metze
Stefan Metzmacher [Fri, 9 Nov 2007 18:23:40 +0000 (19:23 +0100)]
r25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
librpc/ndr/
metze
Stefan Metzmacher [Fri, 9 Nov 2007 18:23:25 +0000 (19:23 +0100)]
r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
Samba4/NDR/Parser.pm
Samba4/NDR/Server.pm
Samba3/ServerNDR.pm
tests/
metze
Stefan Metzmacher [Fri, 9 Nov 2007 17:33:18 +0000 (18:33 +0100)]
r25914: selftest: fix the module pathes when using --with-selftest-prefix
metze
Stefan Metzmacher [Fri, 9 Nov 2007 09:26:32 +0000 (10:26 +0100)]
r25913: maybe some platforms have problems with echo -e
metze
Stefan Metzmacher [Fri, 9 Nov 2007 07:42:55 +0000 (08:42 +0100)]
r25912: Two patches
Hi!
Can you check and push them?
Thanks,
Volker
From
b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Sat, 27 Oct 2007 14:20:09 +0200
Subject: [PATCH] Fix some warnings and errors
merge from v3-2-test commit
e17d3e10e860c96b6d5208e5fe51e43b8e58c174
Stefan Metzmacher [Fri, 9 Nov 2007 07:40:05 +0000 (08:40 +0100)]
r25911: Remove more fstring/pstring bad useage. Go talloc !
Jeremy.
merge from v3-2-test commit
2a0173743d2cf615d52278f3dd87cc804abe2d16
Stefan Metzmacher [Fri, 9 Nov 2007 07:24:36 +0000 (08:24 +0100)]
r25910: Try and fix the Solaris build by adding a missing define
(from Jerry).
Jeremy
merge from v3-2-test commit
a68bbea0d42cc64b9fa731ab2a1da82ef30937c6
Stefan Metzmacher [Fri, 9 Nov 2007 07:22:21 +0000 (08:22 +0100)]
r25909: Fix the snprintf checks, and fix a typo in pointer indirection.
These fixes are needed for a working getaddrinfo etc. replacement.
Fixes from Wayne Davison <wayned@samba.org> from rsync.
Jeremy.
from v3-2-test commit
494bf6293bedbda4b10aa2eae452377b8130cd01
Stefan Metzmacher [Fri, 9 Nov 2007 06:52:32 +0000 (07:52 +0100)]
r25908: add some wikipedia links about LDAP and LDIF
metze
Stefan Metzmacher [Thu, 8 Nov 2007 10:35:28 +0000 (11:35 +0100)]
r25907: use DEBUGADD() to match samba3
metze
Stefan Metzmacher [Thu, 8 Nov 2007 10:17:22 +0000 (11:17 +0100)]
r25906: libreplace: we need to link to make sure the functions are available
metze
Stefan Metzmacher [Thu, 8 Nov 2007 08:07:51 +0000 (09:07 +0100)]
r25905: use data_blob_const() to set the DATA_BLOB
metze
Jelmer Vernooij [Wed, 7 Nov 2007 23:11:31 +0000 (00:11 +0100)]
r25904: Remove extra
Jelmer Vernooij [Wed, 7 Nov 2007 23:07:17 +0000 (00:07 +0100)]
r25903: Move more files out of torture/
Jelmer Vernooij [Wed, 7 Nov 2007 22:53:57 +0000 (23:53 +0100)]
r25902: Move messaging tests to same directory as code.
Jelmer Vernooij [Wed, 7 Nov 2007 22:39:46 +0000 (23:39 +0100)]
r25901: Remove obsolete --enable-shared option (whether shared libs should be used internally can be set using --enable-dso).
Günther Deschner [Wed, 7 Nov 2007 19:45:04 +0000 (20:45 +0100)]
r25897: Add WERR_INVALID_FLAGS.
Guenther
Günther Deschner [Wed, 7 Nov 2007 17:42:00 +0000 (18:42 +0100)]
r25896: Rename netlogon server stubs.
Guenther
Günther Deschner [Wed, 7 Nov 2007 17:22:56 +0000 (18:22 +0100)]
r25895: Add torture test for netr_DsRAddressToSitenamesW and
netr_DsRAddressToSitenamesExW.
Guenther
Günther Deschner [Wed, 7 Nov 2007 17:21:12 +0000 (18:21 +0100)]
r25894: Add IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW.
Guenther
Jeremy Allison [Wed, 7 Nov 2007 06:13:44 +0000 (07:13 +0100)]
r25893: Fix ldb, tdb builds (and one warning).
Jeremy.
Jeremy Allison [Wed, 7 Nov 2007 05:59:02 +0000 (06:59 +0100)]
r25892: Keep the tdb code in sync between 3.2.x and 4.0.
Add in the alarm fix to allow locks to exit on
alarm signal.
Sync up the changes in tools.
Jeremy.
Andrew Bartlett [Wed, 7 Nov 2007 04:35:16 +0000 (05:35 +0100)]
r25891: Test that we get the correct return value when we attempt to reference
invalid entries with a linked attribute.
Make Samba4 pass that test, by fixing a silly bug in the
linked_attributes module. (By passing down the 'original' request
structure, tdb would override our handle, and therefore we would never
be called for the 'wait', which collects the errors).
Fix up the provision templates to handle the newly required
referential integrity.
Andrew Bartlett
Jelmer Vernooij [Wed, 7 Nov 2007 00:45:06 +0000 (01:45 +0100)]
r25888: Attempt to fix standalone tdb build.
Jelmer Vernooij [Wed, 7 Nov 2007 00:32:25 +0000 (01:32 +0100)]
r25887: Build Samba-specific ldb modules as dso's.
Jelmer Vernooij [Wed, 7 Nov 2007 00:32:17 +0000 (01:32 +0100)]
r25886: Try to fix building dso's on hpux with gcc
Jelmer Vernooij [Tue, 6 Nov 2007 18:53:33 +0000 (19:53 +0100)]
r25884: Specify shldflags first, as required by some compilers.
Jelmer Vernooij [Tue, 6 Nov 2007 18:42:56 +0000 (19:42 +0100)]
r25883: Fix tdb dependency.
Jelmer Vernooij [Tue, 6 Nov 2007 18:24:12 +0000 (19:24 +0100)]
r25882: Build shared library of talloc as well.
Jelmer Vernooij [Tue, 6 Nov 2007 17:58:19 +0000 (18:58 +0100)]
r25881: Add ability to build .so of tdb.
Jelmer Vernooij [Tue, 6 Nov 2007 17:25:34 +0000 (18:25 +0100)]
r25880: Try to get some more flags right.
Jelmer Vernooij [Tue, 6 Nov 2007 15:42:11 +0000 (16:42 +0100)]
r25879: Don't use shared library for command-line utilities for now - breaks the testsuite, and there is no portable equivalent of LD_LIBRARY_PATH.
Jelmer Vernooij [Tue, 6 Nov 2007 15:27:58 +0000 (16:27 +0100)]
r25878: Fix syntax error.
Jelmer Vernooij [Tue, 6 Nov 2007 15:23:18 +0000 (16:23 +0100)]
r25877: Add libreplace macro for soname flags.
Jelmer Vernooij [Tue, 6 Nov 2007 15:13:02 +0000 (16:13 +0100)]
r25876: Attempt to build shard libs everywhere again.
Jelmer Vernooij [Tue, 6 Nov 2007 13:51:42 +0000 (14:51 +0100)]
r25875: Try to fix the build on some HPUX machines.
Stefan Metzmacher [Tue, 6 Nov 2007 11:39:47 +0000 (12:39 +0100)]
r25874: force specific versions for LEX and YACC.
We often have problems with old yacc and bison versions
and it seem the combination of LAX and YACC also matters.
So we now list all supported version combinations explicit.
flex-2.5.33:bison-2.3 only for now.
metze
Stefan Metzmacher [Tue, 6 Nov 2007 11:34:50 +0000 (12:34 +0100)]
r25873: nss_wrapper: hopefully a better fix for the solaris get*ent_r functions
metze
Stefan Metzmacher [Tue, 6 Nov 2007 11:15:19 +0000 (12:15 +0100)]
r25872: nss_wrapper: revert solaris get*ent_r() functions
This was the wrong approach, as in future lib/replace
should hide this special solaris stuff.
metze
Stefan Metzmacher [Tue, 6 Nov 2007 11:11:35 +0000 (12:11 +0100)]
r25871: nss_wrapper: set the destination pointer in the get*_r functions
metze
Stefan Metzmacher [Tue, 6 Nov 2007 09:40:07 +0000 (10:40 +0100)]
r25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
metze
Stefan Metzmacher [Tue, 6 Nov 2007 08:33:23 +0000 (09:33 +0100)]
r25869: selftest: strip newline from `whoami` output, hopefully fix provision on mac os 10
metze
Stefan Metzmacher [Tue, 6 Nov 2007 08:26:42 +0000 (09:26 +0100)]
r25868: nss_wrapper: add solaris versions of getpwent_r and getgrent_r
metze
Stefan Metzmacher [Tue, 6 Nov 2007 08:15:11 +0000 (09:15 +0100)]
r25867: libreplace: solaris has different prototypes for getpwent_r and getgrent_r
metze
Stefan Metzmacher [Tue, 6 Nov 2007 07:06:50 +0000 (08:06 +0100)]
r25866: nss_wrapper: not all systems have get*_r calls
metze
Stefan Metzmacher [Tue, 6 Nov 2007 06:26:12 +0000 (07:26 +0100)]
r25865: libreplace: check for nss passwd|group get*_r functions
metze
Stefan Metzmacher [Tue, 6 Nov 2007 06:01:17 +0000 (07:01 +0100)]
r25864: libreplace: we should only have one location where we check for required functions
metze
Stefan Metzmacher [Tue, 6 Nov 2007 05:54:49 +0000 (06:54 +0100)]
r25863: libreplace: we need include <unistd.h> before nss_wrapper.h
metze
Jelmer Vernooij [Tue, 6 Nov 2007 04:11:16 +0000 (05:11 +0100)]
r25862: Avoid po, causes trouble on BSD systems.
Jelmer Vernooij [Tue, 6 Nov 2007 03:59:50 +0000 (04:59 +0100)]
r25861: Fix export dynamic for HPUX.
Jelmer Vernooij [Tue, 6 Nov 2007 03:26:57 +0000 (04:26 +0100)]
r25860: Remove flag that causes problems on some hosts.
Jelmer Vernooij [Tue, 6 Nov 2007 03:26:52 +0000 (04:26 +0100)]
r25859: Wrap native HPUX functions in dl implementation.
Jelmer Vernooij [Tue, 6 Nov 2007 03:26:47 +0000 (04:26 +0100)]
r25858: Clean up po files.
Andrew Bartlett [Tue, 6 Nov 2007 02:47:41 +0000 (03:47 +0100)]
r25857: Indent
Andrew Bartlett [Tue, 6 Nov 2007 02:46:57 +0000 (03:46 +0100)]
r25856: If the search fails, it is not valid to steal 'res'.
Andrew Bartlett
Jelmer Vernooij [Tue, 6 Nov 2007 02:43:50 +0000 (03:43 +0100)]
r25855: Check for HPUX dl functions.
Jelmer Vernooij [Tue, 6 Nov 2007 02:19:07 +0000 (03:19 +0100)]
r25854: Link against -ldl properly.
Jelmer Vernooij [Tue, 6 Nov 2007 01:44:06 +0000 (02:44 +0100)]
r25853: Specify LIBS to sample_module - fixes build for gcov hosts.
Jelmer Vernooij [Tue, 6 Nov 2007 01:35:46 +0000 (02:35 +0100)]
r25852: Move SHLIBEXT determination into a test as well.
Jelmer Vernooij [Tue, 6 Nov 2007 01:17:05 +0000 (02:17 +0100)]
r25851: Move system-specific ldflags checks to libreplace so they can be used by ldb.
Jelmer Vernooij [Tue, 6 Nov 2007 01:16:55 +0000 (02:16 +0100)]
r25850: Add macro for picflag.
Günther Deschner [Tue, 6 Nov 2007 00:39:47 +0000 (01:39 +0100)]
r25849: Add test for dfs FlushFtTable.
Guenther
Günther Deschner [Tue, 6 Nov 2007 00:24:07 +0000 (01:24 +0100)]
r25848: Add IDL and torture test for dfs_SetDcAddress and dfs_GetDcAddress.
Guenther
Jelmer Vernooij [Tue, 6 Nov 2007 00:05:26 +0000 (01:05 +0100)]
r25847: Don't link modules against their subsystem.
Jelmer Vernooij [Tue, 6 Nov 2007 00:05:19 +0000 (01:05 +0100)]
r25846: Add configure test for -Wl,--export-dynamic.
Günther Deschner [Mon, 5 Nov 2007 23:49:54 +0000 (00:49 +0100)]
r25845: Reformat the dfs test.
Guenther
Jelmer Vernooij [Mon, 5 Nov 2007 20:57:44 +0000 (21:57 +0100)]
r25844: Enable soloading by default.
Jelmer Vernooij [Mon, 5 Nov 2007 20:57:39 +0000 (21:57 +0100)]
r25843: Finish check-soloading.
Jelmer Vernooij [Mon, 5 Nov 2007 20:57:33 +0000 (21:57 +0100)]
r25842: Start working on test for loading dso's in ldb.
Stefan Metzmacher [Mon, 5 Nov 2007 15:16:41 +0000 (16:16 +0100)]
r25841: try to fix make install
metze
Stefan Metzmacher [Mon, 5 Nov 2007 14:49:40 +0000 (15:49 +0100)]
r25840: make test: activate nss_wrapper for make test
metze