samba.git
16 years agor25941: Use samdb_relative_path() (new function in samdb.c) in the partitions
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
(This used to be commit c8d1ab30845fa1496c85630b138b1cb512c2b6aa)

16 years agor25940: Rework the samldb and templates handling.
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
(This used to be commit f1ab90c88c782c693b41795d70368650806543b5)

16 years agor25939: Rework the CLDAP server not to use gendb_search but to call ldb_search
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
(This used to be commit e47df4a0fe5efd91f0355aa13c9b50c7be789767)

16 years agor25938: We don't need the CLDAP server unless we are a DC.
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
(This used to be commit e8606bbcc67e24bdc2ee062ab3d808e5d2143d69)

16 years agor25936: provision/newuser: don't try to set the 'memberOf' attribute
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
(This used to be commit c6d959e52cf4b86a52e46402392f32450d3c3635)

16 years agor25935: Fix registry tests.
Jelmer Vernooij [Tue, 13 Nov 2007 03:57:09 +0000 (04:57 +0100)]
r25935: Fix registry tests.
(This used to be commit b311094714b4d51ea7ea756df1aecba169dc0d45)

16 years agor25934: Handle a LDB_ERR_NO_SUCH_OBJECT return value when looking for the
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
(This used to be commit aa8348a27a6938a1a26d4a7ed3b7405966202ad8)

16 years agor25933: LDB: Don't free errstring until after the printf, in case it is one of
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
(This used to be commit af40b1cd88f0e932665f6fe90daae8e687a3dc0c)

16 years agor25932: Remove unnecessary include - should fix the build on hosts without popt.
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.
(This used to be commit f250ae0c361aef864f25dfc7599ce1e7a4e29cf8)

16 years agor25931: Add config .mk file for crypto lib.
Jelmer Vernooij [Sun, 11 Nov 2007 23:05:10 +0000 (00:05 +0100)]
r25931: Add config .mk file for crypto lib.
(This used to be commit 21ab43158f723069dd70fae43d780878c38ead31)

16 years agor25930: fix test name
Jelmer Vernooij [Sun, 11 Nov 2007 22:37:01 +0000 (23:37 +0100)]
r25930: fix test name
(This used to be commit 41dcd8c261aecaccee21667367bb524c13d620d9)

16 years agor25929: Add some help strings.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:57 +0000 (23:36 +0100)]
r25929: Add some help strings.
(This used to be commit ef364df37f2f00c238903bec4c8a035c05bdf366)

16 years agor25928: Split up torture-local a bit.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:53 +0000 (23:36 +0100)]
r25928: Split up torture-local a bit.
(This used to be commit c6b109040856ba0f1ae0db2787cc838ff61df767)

16 years agor25927: Move share tests to param directory.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:50 +0000 (23:36 +0100)]
r25927: Move share tests to param directory.
(This used to be commit f12f623da52aefdf49df9b77d87b9b0d48177c14)

16 years agor25926: Move iconv test to iconv code directory.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:45 +0000 (23:36 +0100)]
r25926: Move iconv test to iconv code directory.
(This used to be commit e20c4b90e4a935d3249d0b631b942fd318a2ece2)

16 years agor25925: torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFID
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
(This used to be commit e95c2ffe009ebdc9993b75ecc1a47175ff840ec4)

16 years agor25924: fix bug in UNIX_INFO2 push code found make make valgrindtest
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
(This used to be commit 9b151e6ceaeaa15e8cbd92f452522fe005f2382f)

16 years agor25923: Make sure to install phpldapadmin-config.php
Andrew Bartlett [Sat, 10 Nov 2007 08:29:32 +0000 (09:29 +0100)]
r25923: Make sure to install phpldapadmin-config.php

Andrew Bartlett
(This used to be commit 472dd7b318a03fa0166cdf3d15e4f5495de25c2c)

16 years agor25922: Make it easier to bind to a unix domain socket, without messing with
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
(This used to be commit 70de473980e99eeeb719bf9f63d23a399847b23b)

16 years agor25921: Now also listen on ldapi by default in the LDAP server
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
(This used to be commit 54f4c8ba6127757fd272bd97e301188eb69977ed)

16 years agor25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
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
(This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)

16 years agor25919: ndr: change NTSTAUS into enum ndr_err_code (ndrdump)
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
(This used to be commit c788fe3eecae49187a84561783ddbe8f0199ac70)

16 years agor25918: ndr: change NTSTAUS into enum ndr_err_code (samba4 handwritten stuff)
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
(This used to be commit 356e027bf883c8fc36fa4759eff56e364daf9fce)

16 years agor25917: ndr: move ndr_map_error2ntstatus to errormap.c
Stefan Metzmacher [Fri, 9 Nov 2007 18:23:57 +0000 (19:23 +0100)]
r25917: ndr: move ndr_map_error2ntstatus to errormap.c

metze
(This used to be commit 8fc2e7737fc15f7265816f077e2a48a7a98f75b8)

16 years agor25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
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
(This used to be commit 7e157bbcfd416c3d5c32c1e9fdc746bbee5967bb)

16 years agor25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
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
(This used to be commit 7106f21de8dfc472aa0846b49bfdb7543c63b310)

16 years agor25914: selftest: fix the module pathes when using --with-selftest-prefix
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
(This used to be commit 092b93b1356bbf73d40a1d7bb971a4ef4967d662)

16 years agor25913: maybe some platforms have problems with echo -e
Stefan Metzmacher [Fri, 9 Nov 2007 09:26:32 +0000 (10:26 +0100)]
r25913: maybe some platforms have problems with echo -e

metze
(This used to be commit c9586b8ab34e8737cf87a642fbcc811edd0a6590)

16 years agor25912: Two patches
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
(This used to be commit 4087731e1b4e97017c0f5659e6659e8181d8e038)

16 years agor25911: Remove more fstring/pstring bad useage. Go talloc !
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
(This used to be commit cb0eca66dc5121fa73404a7c41aad6086a96e7ec)

16 years agor25910: Try and fix the Solaris build by adding a missing define
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
(This used to be commit b833dce5e6d6475a04538d9754b9b0bfeb5915e4)

16 years agor25909: Fix the snprintf checks, and fix a typo in pointer indirection.
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
(This used to be commit e562832ad19e8c3a0380759a22b0267e365ecc2e)

16 years agor25908: add some wikipedia links about LDAP and LDIF
Stefan Metzmacher [Fri, 9 Nov 2007 06:52:32 +0000 (07:52 +0100)]
r25908: add some wikipedia links about LDAP and LDIF

metze
(This used to be commit e1eea9278876bb727055a2b1357504b6ceb26765)

16 years agor25907: use DEBUGADD() to match samba3
Stefan Metzmacher [Thu, 8 Nov 2007 10:35:28 +0000 (11:35 +0100)]
r25907: use DEBUGADD() to match samba3

metze
(This used to be commit d2deefb551ffed5134e31473a3140ec7416cf389)

16 years agor25906: libreplace: we need to link to make sure the functions are available
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
(This used to be commit 895d2644fbd72b9770460d6628fa6b09963967e7)

16 years agor25905: use data_blob_const() to set the DATA_BLOB
Stefan Metzmacher [Thu, 8 Nov 2007 08:07:51 +0000 (09:07 +0100)]
r25905: use data_blob_const() to set the DATA_BLOB

metze
(This used to be commit f3393a731683be3f8664f715dceee0c9fcef4ede)

16 years agor25904: Remove extra
Jelmer Vernooij [Wed, 7 Nov 2007 23:11:31 +0000 (00:11 +0100)]
r25904: Remove extra
(This used to be commit fd0958107524a526d0bc78b98e031c595c85b877)

16 years agor25903: Move more files out of torture/
Jelmer Vernooij [Wed, 7 Nov 2007 23:07:17 +0000 (00:07 +0100)]
r25903: Move more files out of torture/
(This used to be commit f734df3144cdd9ff280ee1cac2c3a7f972716f5d)

16 years agor25902: Move messaging tests to same directory as code.
Jelmer Vernooij [Wed, 7 Nov 2007 22:53:57 +0000 (23:53 +0100)]
r25902: Move messaging tests to same directory as code.
(This used to be commit d174dcbb76f3079a5f536f841bfffab3d7cd51e9)

16 years agor25901: Remove obsolete --enable-shared option (whether shared libs should be used...
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).
(This used to be commit 571aa6ba22f6e4b774f9a9db3a02e3beec3f8523)

16 years agor25897: Add WERR_INVALID_FLAGS.
Günther Deschner [Wed, 7 Nov 2007 19:45:04 +0000 (20:45 +0100)]
r25897: Add WERR_INVALID_FLAGS.

Guenther
(This used to be commit c3023eaeb389f44b64becc383552df0debfc232d)

16 years agor25896: Rename netlogon server stubs.
Günther Deschner [Wed, 7 Nov 2007 17:42:00 +0000 (18:42 +0100)]
r25896: Rename netlogon server stubs.

Guenther
(This used to be commit 2f8b8c046010c54d708a8e109b78fbd6e1958f40)

16 years agor25895: Add torture test for netr_DsRAddressToSitenamesW and
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
(This used to be commit 848b8859253ba0abd15998de62b6aa61a954d3de)

16 years agor25894: Add IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW.
Günther Deschner [Wed, 7 Nov 2007 17:21:12 +0000 (18:21 +0100)]
r25894: Add IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW.

Guenther
(This used to be commit ee797e18c7c970d78dfc7f2592f9598003e72d60)

16 years agor25893: Fix ldb, tdb builds (and one warning).
Jeremy Allison [Wed, 7 Nov 2007 06:13:44 +0000 (07:13 +0100)]
r25893: Fix ldb, tdb builds (and one warning).

Jeremy.
(This used to be commit 52b26645b04a9c5fb70e7b869b60c9157f821d50)

16 years agor25892: Keep the tdb code in sync between 3.2.x and 4.0.
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.
(This used to be commit cb6c663fa8818f49cc36f196bb5f4dea47edd69e)

16 years agor25891: Test that we get the correct return value when we attempt to reference
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
(This used to be commit 0377d85bbdcb2c4f110b0519005f0d1d10bc0c0b)

16 years agor25888: Attempt to fix standalone tdb build.
Jelmer Vernooij [Wed, 7 Nov 2007 00:45:06 +0000 (01:45 +0100)]
r25888: Attempt to fix standalone tdb build.
(This used to be commit c758db2709e6f3d8e6c3fb65f4efd3dec3518e51)

16 years agor25887: Build Samba-specific ldb modules as dso's.
Jelmer Vernooij [Wed, 7 Nov 2007 00:32:25 +0000 (01:32 +0100)]
r25887: Build Samba-specific ldb modules as dso's.
(This used to be commit 9d73becbb24fbde2e319e18e84af35d9efaeefda)

16 years agor25886: Try to fix building dso's on hpux with gcc
Jelmer Vernooij [Wed, 7 Nov 2007 00:32:17 +0000 (01:32 +0100)]
r25886: Try to fix building dso's on hpux with gcc
(This used to be commit 146c5226e61235a55155ef4493191a6c5eddea3f)

16 years agor25884: Specify shldflags first, as required by some compilers.
Jelmer Vernooij [Tue, 6 Nov 2007 18:53:33 +0000 (19:53 +0100)]
r25884: Specify shldflags first, as required by some compilers.
(This used to be commit 40a8cd0d2fd4d10110243ee75ff92bef73bb06b9)

16 years agor25883: Fix tdb dependency.
Jelmer Vernooij [Tue, 6 Nov 2007 18:42:56 +0000 (19:42 +0100)]
r25883: Fix tdb dependency.
(This used to be commit af99cd3e00d981e90df4bc61d498704249df1412)

16 years agor25882: Build shared library of talloc as well.
Jelmer Vernooij [Tue, 6 Nov 2007 18:24:12 +0000 (19:24 +0100)]
r25882: Build shared library of talloc as well.
(This used to be commit 3692ba8299d4177289ca401fa467143ad14ccad4)

16 years agor25881: Add ability to build .so of tdb.
Jelmer Vernooij [Tue, 6 Nov 2007 17:58:19 +0000 (18:58 +0100)]
r25881: Add ability to build .so of tdb.
(This used to be commit 03bc4896e6c83d4d01b366cd5ce9e49547ee206c)

16 years agor25880: Try to get some more flags right.
Jelmer Vernooij [Tue, 6 Nov 2007 17:25:34 +0000 (18:25 +0100)]
r25880: Try to get some more flags right.
(This used to be commit bbc36fd3f693480e3ea01c5c9e858008a4f3c229)

16 years agor25879: Don't use shared library for command-line utilities for now - breaks the...
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.
(This used to be commit 9730c2950965d22eace9ad498847581171ebe09a)

16 years agor25878: Fix syntax error.
Jelmer Vernooij [Tue, 6 Nov 2007 15:27:58 +0000 (16:27 +0100)]
r25878: Fix syntax error.
(This used to be commit ffe5a10867a2d2e5eb51c84331fff130e996eda8)

16 years agor25877: Add libreplace macro for soname flags.
Jelmer Vernooij [Tue, 6 Nov 2007 15:23:18 +0000 (16:23 +0100)]
r25877: Add libreplace macro for soname flags.
(This used to be commit 25aa875119622679881cd0e1b3b9dff8d2cf03ee)

16 years agor25876: Attempt to build shard libs everywhere again.
Jelmer Vernooij [Tue, 6 Nov 2007 15:13:02 +0000 (16:13 +0100)]
r25876: Attempt to build shard libs everywhere again.
(This used to be commit b5bcdbbd0c9a6133d15c3a9c01738d9899dbcf8d)

16 years agor25875: Try to fix the build on some HPUX machines.
Jelmer Vernooij [Tue, 6 Nov 2007 13:51:42 +0000 (14:51 +0100)]
r25875: Try to fix the build on some HPUX machines.
(This used to be commit 773a7cf234e08e05bb89072c42353e44915f8146)

16 years agor25874: force specific versions for LEX and YACC.
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
(This used to be commit ad0556cbf7c1b0dfc3180a010f2a14d9597c3222)

16 years agor25873: nss_wrapper: hopefully a better fix for the solaris get*ent_r functions
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
(This used to be commit 084aad79807ba787a5d1560cf6152d4b26e8e1f6)

16 years agor25872: nss_wrapper: revert solaris get*ent_r() functions
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
(This used to be commit e99feb5ff5f22522b902fe523e9aee80856ba422)

16 years agor25871: nss_wrapper: set the destination pointer in the get*_r functions
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
(This used to be commit e68d1c9276a6696efeb7271433072b3cb3ab33cb)

16 years agor25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
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
(This used to be commit c6b6466c33ffab2b59e1a275922b6f3a7f2af98c)

16 years agor25869: selftest: strip newline from `whoami` output, hopefully fix provision on...
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
(This used to be commit c6c62abc07888743b6349b0107ee1b17265bd154)

16 years agor25868: nss_wrapper: add solaris versions of getpwent_r and getgrent_r
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
(This used to be commit 386b28f988e80989f3c0e8acdfb1b66469e0a7a5)

16 years agor25867: libreplace: solaris has different prototypes for getpwent_r and getgrent_r
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
(This used to be commit 44250ac6f987ba98e1efe8cd81b4e7eaa8017ed0)

16 years agor25866: nss_wrapper: not all systems have get*_r calls
Stefan Metzmacher [Tue, 6 Nov 2007 07:06:50 +0000 (08:06 +0100)]
r25866: nss_wrapper: not all systems have get*_r calls

metze
(This used to be commit 6a3f97aeac81cf7dd1a28fd9f17ec2f6e35300dc)

16 years agor25865: libreplace: check for nss passwd|group get*_r functions
Stefan Metzmacher [Tue, 6 Nov 2007 06:26:12 +0000 (07:26 +0100)]
r25865: libreplace: check for nss passwd|group get*_r functions

metze
(This used to be commit 98095b34257847b2fbb5efe343c3630a28170692)

16 years agor25864: libreplace: we should only have one location where we check for required...
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
(This used to be commit 8748516d1668c66663ded50ff28a8d32f1720175)

16 years agor25863: libreplace: we need include <unistd.h> before nss_wrapper.h
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
(This used to be commit a16f0e3cdbb9fb1238e25af8bb911c27b839c89b)

16 years agor25862: Avoid po, causes trouble on BSD systems.
Jelmer Vernooij [Tue, 6 Nov 2007 04:11:16 +0000 (05:11 +0100)]
r25862: Avoid po, causes trouble on BSD systems.
(This used to be commit c7fd5a5172d443034245c58020e379b0ca6234f2)

16 years agor25861: Fix export dynamic for HPUX.
Jelmer Vernooij [Tue, 6 Nov 2007 03:59:50 +0000 (04:59 +0100)]
r25861: Fix export dynamic for HPUX.
(This used to be commit 45ccf09bf96e915380b30150a701735318b67aa0)

16 years agor25860: Remove flag that causes problems on some hosts.
Jelmer Vernooij [Tue, 6 Nov 2007 03:26:57 +0000 (04:26 +0100)]
r25860: Remove flag that causes problems on some hosts.
(This used to be commit 85b332650031b2969f79e6ca85e5d6d10983da91)

16 years agor25859: Wrap native HPUX functions in dl implementation.
Jelmer Vernooij [Tue, 6 Nov 2007 03:26:52 +0000 (04:26 +0100)]
r25859: Wrap native HPUX functions in dl implementation.
(This used to be commit bf1685faa1c941d3ca56b29a1e15b8a134d02068)

16 years agor25858: Clean up po files.
Jelmer Vernooij [Tue, 6 Nov 2007 03:26:47 +0000 (04:26 +0100)]
r25858: Clean up po files.
(This used to be commit af135938c19ef56b56b216b53049012ee7125eec)

16 years agor25857: Indent
Andrew Bartlett [Tue, 6 Nov 2007 02:47:41 +0000 (03:47 +0100)]
r25857: Indent
(This used to be commit f42690a90c2f76e7fc130ebbdbd0f93fefacfad6)

16 years agor25856: If the search fails, it is not valid to steal 'res'.
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
(This used to be commit f4d733c3d00c90ac2e02fcc202240ae7c290463e)

16 years agor25855: Check for HPUX dl functions.
Jelmer Vernooij [Tue, 6 Nov 2007 02:43:50 +0000 (03:43 +0100)]
r25855: Check for HPUX dl functions.
(This used to be commit 478b5ac8d92a23a32349bedfe7c6caf98b67fb39)

16 years agor25854: Link against -ldl properly.
Jelmer Vernooij [Tue, 6 Nov 2007 02:19:07 +0000 (03:19 +0100)]
r25854: Link against -ldl properly.
(This used to be commit 6c46a925288e6be0a0e5f86e5a57ce269dc7a3df)

16 years agor25853: Specify LIBS to sample_module - fixes build for gcov hosts.
Jelmer Vernooij [Tue, 6 Nov 2007 01:44:06 +0000 (02:44 +0100)]
r25853: Specify LIBS to sample_module - fixes build for gcov hosts.
(This used to be commit db9ebea52bf739cc297e94178a3a03548fd5ddfb)

16 years agor25852: Move SHLIBEXT determination into a test as well.
Jelmer Vernooij [Tue, 6 Nov 2007 01:35:46 +0000 (02:35 +0100)]
r25852: Move SHLIBEXT determination into a test as well.
(This used to be commit aaaed5edc06f3055794e55a8038dbbdac47ce5b6)

16 years agor25851: Move system-specific ldflags checks to libreplace so they can be used by...
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.
(This used to be commit d28c8b822e7b571f24542409376bba8701eeef79)

16 years agor25850: Add macro for picflag.
Jelmer Vernooij [Tue, 6 Nov 2007 01:16:55 +0000 (02:16 +0100)]
r25850: Add macro for picflag.
(This used to be commit 9ebc6f2d17349b214618d65b29826867796c12ce)

16 years agor25849: Add test for dfs FlushFtTable.
Günther Deschner [Tue, 6 Nov 2007 00:39:47 +0000 (01:39 +0100)]
r25849: Add test for dfs FlushFtTable.

Guenther
(This used to be commit 5a50aae868b4638fb8f76bb6708ebef9808da8e9)

16 years agor25848: Add IDL and torture test for dfs_SetDcAddress and dfs_GetDcAddress.
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
(This used to be commit 8fb5d36734cb19dcbcf5e22c43e80db7646e82fa)

16 years agor25847: Don't link modules against their subsystem.
Jelmer Vernooij [Tue, 6 Nov 2007 00:05:26 +0000 (01:05 +0100)]
r25847: Don't link modules against their subsystem.
(This used to be commit 7e34e0645c98c3697767dc78dcd22a98d0f2b8fc)

16 years agor25846: Add configure test for -Wl,--export-dynamic.
Jelmer Vernooij [Tue, 6 Nov 2007 00:05:19 +0000 (01:05 +0100)]
r25846: Add configure test for -Wl,--export-dynamic.
(This used to be commit f67040d2a0cb8723f1bf0e9a9d90a821b38697b1)

16 years agor25845: Reformat the dfs test.
Günther Deschner [Mon, 5 Nov 2007 23:49:54 +0000 (00:49 +0100)]
r25845: Reformat the dfs test.

Guenther
(This used to be commit 0b20c04557b84a2935bcb032acf25f8e5ec44f77)

16 years agor25844: Enable soloading by default.
Jelmer Vernooij [Mon, 5 Nov 2007 20:57:44 +0000 (21:57 +0100)]
r25844: Enable soloading by default.
(This used to be commit 8760f81aeae6a3275c6d2e95c72ec5f8b42fbea6)

16 years agor25843: Finish check-soloading.
Jelmer Vernooij [Mon, 5 Nov 2007 20:57:39 +0000 (21:57 +0100)]
r25843: Finish check-soloading.
(This used to be commit 4fd3770f0c3f9a3e586f1a03a759dab782e04ba7)

16 years agor25842: Start working on test for loading dso's in ldb.
Jelmer Vernooij [Mon, 5 Nov 2007 20:57:33 +0000 (21:57 +0100)]
r25842: Start working on test for loading dso's in ldb.
(This used to be commit d41ed7ca8d3954bf586126edd7aba17acc6af8a1)

16 years agor25841: try to fix make install
Stefan Metzmacher [Mon, 5 Nov 2007 15:16:41 +0000 (16:16 +0100)]
r25841: try to fix make install

metze
(This used to be commit 9ff0c3ccc74a190a741b6795bc6ee79ef26a2280)

16 years agor25840: make test: activate nss_wrapper for make test
Stefan Metzmacher [Mon, 5 Nov 2007 14:49:40 +0000 (15:49 +0100)]
r25840: make test: activate nss_wrapper for make test

metze
(This used to be commit 2de9c1c64a2305ca53d8996bcc4332bf9c4d5e90)

16 years agor25839: use nss_wrapper code in samba4 if
Stefan Metzmacher [Mon, 5 Nov 2007 14:47:34 +0000 (15:47 +0100)]
r25839: use nss_wrapper code in samba4 if

--enable-nss-wrapper or --enable-developer is given

metze
(This used to be commit f8bc6b9ad0eec60bff7fdc5653397efd9a044a29)

16 years agor25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
Stefan Metzmacher [Mon, 5 Nov 2007 14:45:08 +0000 (15:45 +0100)]
r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined

metze
(This used to be commit 17f9189fb4b34dbc08f6aded6b0c81ee8eb07a9f)

16 years agor25837: nss_wrapper: add nss_wrapper.pl
Stefan Metzmacher [Mon, 5 Nov 2007 14:42:38 +0000 (15:42 +0100)]
r25837: nss_wrapper: add nss_wrapper.pl

This script will be used to add|delete passwd|group entries

metze
(This used to be commit 1f51a2db0aae05c062fa97c3989c71464b5235a9)

16 years agor25836: nss_wrapper: add support for groups and return EPERM in initgroups()
Stefan Metzmacher [Mon, 5 Nov 2007 14:41:23 +0000 (15:41 +0100)]
r25836: nss_wrapper: add support for groups and return EPERM in initgroups()

The NSS_WRAPPER_GROUP envvar should point to
the /etc/group style file.

Note: NSS_WRAPPER_PASSWD and NSS_WRAPPER_GROUP both
      need non-empty values to enable NSS Wrapper
      support.

metze
(This used to be commit fa255cc4b5c03ffe7b0fcf6c1fe4b61ff303fdd8)

16 years agor25835: nss_wrapper: add support for passwd accounts
Stefan Metzmacher [Mon, 5 Nov 2007 14:39:46 +0000 (15:39 +0100)]
r25835: nss_wrapper: add support for passwd accounts

The NSS_WRAPPER_PASSWD envvar should point to
the /etc/passwd style file.

metze
(This used to be commit c98028458ab451bdde6ec2df6a12babc52ec1625)