metze/old/v4-0-wb-ndr.git
16 years agogetntacl should depend an LIBSAMBA-ERROR v4-0-libndr-err
Stefan Metzmacher [Mon, 5 Nov 2007 11:14:49 +0000 (12:14 +0100)]
getntacl should depend an LIBSAMBA-ERROR

metze

16 years agondr_pull_union_blob_all() ...
Stefan Metzmacher [Mon, 5 Nov 2007 11:12:34 +0000 (12:12 +0100)]
ndr_pull_union_blob_all() ...

16 years agoremove ndr_map_error2ntstatus
Stefan Metzmacher [Mon, 5 Nov 2007 09:30:44 +0000 (10:30 +0100)]
remove ndr_map_error2ntstatus

16 years agodummy NDR_ERR_TOKEN, NDR_ERR_UNREAD_BYTES
Stefan Metzmacher [Mon, 5 Nov 2007 09:11:30 +0000 (10:11 +0100)]
dummy NDR_ERR_TOKEN, NDR_ERR_UNREAD_BYTES

16 years agodummy move change to enum ndr_err_code
Stefan Metzmacher [Tue, 30 Oct 2007 13:45:39 +0000 (14:45 +0100)]
dummy move change to enum ndr_err_code

metze

16 years agolibndr: implement pointer push and pull functions
Stefan Metzmacher [Mon, 29 Oct 2007 16:42:30 +0000 (17:42 +0100)]
libndr: implement pointer push and pull functions

metze

16 years agolibndr: add stubs for pull functions
Stefan Metzmacher [Mon, 29 Oct 2007 14:32:07 +0000 (15:32 +0100)]
libndr: add stubs for pull functions

metze

16 years agolibndr: add some stubs for push functions
Stefan Metzmacher [Mon, 29 Oct 2007 13:58:50 +0000 (14:58 +0100)]
libndr: add some stubs for push functions

metze

16 years agolibndr: implement ndr_push/pull_error() stubs
Stefan Metzmacher [Mon, 29 Oct 2007 13:30:41 +0000 (14:30 +0100)]
libndr: implement ndr_push/pull_error() stubs

metze

16 years agolibndr: implement NDR_PUSH/PULL_*INT* macros based on the new byteorder.h
Stefan Metzmacher [Thu, 25 Oct 2007 12:36:18 +0000 (14:36 +0200)]
libndr: implement NDR_PUSH/PULL_*INT* macros based on the new byteorder.h

metze

16 years agolibndr: add lgpl'ed byteorder.h
Stefan Metzmacher [Thu, 25 Oct 2007 14:58:19 +0000 (16:58 +0200)]
libndr: add lgpl'ed byteorder.h

metze

16 years agolibndr: add ndr_int_types.c and still pass 'make'
Stefan Metzmacher [Wed, 24 Oct 2007 12:25:21 +0000 (14:25 +0200)]
libndr: add ndr_int_types.c and still pass 'make'

metze

16 years agolibndr: 'make' compiles fine now
Stefan Metzmacher [Wed, 24 Oct 2007 05:58:57 +0000 (07:58 +0200)]
libndr: 'make' compiles fine now

metze

16 years agolibndr: check NTSTATUS in NDR_CHECK() and still compile bin/ndrdump
Stefan Metzmacher [Tue, 23 Oct 2007 10:17:38 +0000 (12:17 +0200)]
libndr: check NTSTATUS in NDR_CHECK() and still compile bin/ndrdump

metze

16 years agolibndr: is no longer NDR_CHECK() a noop
Stefan Metzmacher [Mon, 22 Oct 2007 14:30:59 +0000 (16:30 +0200)]
libndr: is no longer NDR_CHECK() a noop

metze

16 years agolibndr: new LGPL'ed libndr.h to let 'make bin/ndrdump' compile
Stefan Metzmacher [Mon, 22 Oct 2007 14:01:28 +0000 (16:01 +0200)]
libndr: new LGPL'ed libndr.h to let 'make bin/ndrdump' compile

metze

16 years agoremove existing librpc/ndr/ code
Stefan Metzmacher [Mon, 22 Oct 2007 11:36:11 +0000 (13:36 +0200)]
remove existing librpc/ndr/ code

metze

16 years agondr: change NTSTAUS into enum ndr_err_code (samba4 callers)
metze [Fri, 9 Nov 2007 19:24:51 +0000 (19:24 +0000)]
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

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25920 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agondr: change NTSTAUS into enum ndr_err_code (ndrdump)
metze [Fri, 9 Nov 2007 19:24:25 +0000 (19:24 +0000)]
ndr: change NTSTAUS into enum ndr_err_code (ndrdump)

librpc/tools/ndrdump.c

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25919 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agondr: change NTSTAUS into enum ndr_err_code (samba4 handwritten stuff)
metze [Fri, 9 Nov 2007 19:24:10 +0000 (19:24 +0000)]
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

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25918 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agondr: move ndr_map_error2ntstatus to errormap.c
metze [Fri, 9 Nov 2007 19:23:57 +0000 (19:23 +0000)]
ndr: move ndr_map_error2ntstatus to errormap.c

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25917 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agondr: change NTSTAUS into enum ndr_err_code (basic stuff)
metze [Fri, 9 Nov 2007 19:23:40 +0000 (19:23 +0000)]
ndr: change NTSTAUS into enum ndr_err_code (basic stuff)

librpc/ndr/

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25916 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agondr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
metze [Fri, 9 Nov 2007 19:23:25 +0000 (19:23 +0000)]
ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)

Samba4/NDR/Parser.pm
Samba4/NDR/Server.pm
Samba3/ServerNDR.pm
tests/

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25915 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoselftest: fix the module pathes when using --with-selftest-prefix
metze [Fri, 9 Nov 2007 18:33:18 +0000 (18:33 +0000)]
selftest: fix the module pathes when using --with-selftest-prefix

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25914 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agomaybe some platforms have problems with echo -e
metze [Fri, 9 Nov 2007 10:26:32 +0000 (10:26 +0000)]
maybe some platforms have problems with echo -e

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25913 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoTwo patches
metze [Fri, 9 Nov 2007 08:42:55 +0000 (08:42 +0000)]
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

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25912 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove more fstring/pstring bad useage. Go talloc !
metze [Fri, 9 Nov 2007 08:40:05 +0000 (08:40 +0000)]
Remove more fstring/pstring bad useage. Go talloc !
Jeremy.

merge from v3-2-test commit 2a0173743d2cf615d52278f3dd87cc804abe2d16

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25911 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoTry and fix the Solaris build by adding a missing define
metze [Fri, 9 Nov 2007 08:24:36 +0000 (08:24 +0000)]
Try and fix the Solaris build by adding a missing define
(from Jerry).
Jeremy

merge from v3-2-test commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25910 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix the snprintf checks, and fix a typo in pointer indirection.
metze [Fri, 9 Nov 2007 08:22:21 +0000 (08:22 +0000)]
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

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25909 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoadd some wikipedia links about LDAP and LDIF
metze [Fri, 9 Nov 2007 07:52:32 +0000 (07:52 +0000)]
add some wikipedia links about LDAP and LDIF

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25908 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agouse DEBUGADD() to match samba3
metze [Thu, 8 Nov 2007 11:35:28 +0000 (11:35 +0000)]
use DEBUGADD() to match samba3

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25907 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agolibreplace: we need to link to make sure the functions are available
metze [Thu, 8 Nov 2007 11:17:22 +0000 (11:17 +0000)]
libreplace: we need to link to make sure the functions are available

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25906 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agouse data_blob_const() to set the DATA_BLOB
metze [Thu, 8 Nov 2007 09:07:51 +0000 (09:07 +0000)]
use data_blob_const() to set the DATA_BLOB

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25905 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove extra
jelmer [Thu, 8 Nov 2007 00:11:31 +0000 (00:11 +0000)]
Remove extra

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25904 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove more files out of torture/
jelmer [Thu, 8 Nov 2007 00:07:17 +0000 (00:07 +0000)]
Move more files out of torture/

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25903 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove messaging tests to same directory as code.
jelmer [Wed, 7 Nov 2007 23:53:57 +0000 (23:53 +0000)]
Move messaging tests to same directory as code.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25902 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove obsolete --enable-shared option (whether shared libs should be used internally...
jelmer [Wed, 7 Nov 2007 23:39:46 +0000 (23:39 +0000)]
Remove obsolete --enable-shared option (whether shared libs should be used internally can be set using --enable-dso).

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25901 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd WERR_INVALID_FLAGS.
gd [Wed, 7 Nov 2007 20:45:04 +0000 (20:45 +0000)]
Add WERR_INVALID_FLAGS.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25897 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRename netlogon server stubs.
gd [Wed, 7 Nov 2007 18:42:00 +0000 (18:42 +0000)]
Rename netlogon server stubs.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25896 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd torture test for netr_DsRAddressToSitenamesW and
gd [Wed, 7 Nov 2007 18:22:56 +0000 (18:22 +0000)]
Add torture test for netr_DsRAddressToSitenamesW and
netr_DsRAddressToSitenamesExW.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25895 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW.
gd [Wed, 7 Nov 2007 18:21:12 +0000 (18:21 +0000)]
Add IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25894 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix ldb, tdb builds (and one warning).
jra [Wed, 7 Nov 2007 07:13:44 +0000 (07:13 +0000)]
Fix ldb, tdb builds (and one warning).
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25893 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoKeep the tdb code in sync between 3.2.x and 4.0.
jra [Wed, 7 Nov 2007 06:59:02 +0000 (06:59 +0000)]
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.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25892 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoTest that we get the correct return value when we attempt to reference
abartlet [Wed, 7 Nov 2007 05:35:16 +0000 (05:35 +0000)]
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

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25891 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAttempt to fix standalone tdb build.
jelmer [Wed, 7 Nov 2007 01:45:06 +0000 (01:45 +0000)]
Attempt to fix standalone tdb build.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25888 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoBuild Samba-specific ldb modules as dso's.
jelmer [Wed, 7 Nov 2007 01:32:25 +0000 (01:32 +0000)]
Build Samba-specific ldb modules as dso's.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25887 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoTry to fix building dso's on hpux with gcc
jelmer [Wed, 7 Nov 2007 01:32:17 +0000 (01:32 +0000)]
Try to fix building dso's on hpux with gcc

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25886 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoSpecify shldflags first, as required by some compilers.
jelmer [Tue, 6 Nov 2007 19:53:33 +0000 (19:53 +0000)]
Specify shldflags first, as required by some compilers.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25884 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix tdb dependency.
jelmer [Tue, 6 Nov 2007 19:42:56 +0000 (19:42 +0000)]
Fix tdb dependency.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25883 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoBuild shared library of talloc as well.
jelmer [Tue, 6 Nov 2007 19:24:12 +0000 (19:24 +0000)]
Build shared library of talloc as well.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25882 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd ability to build .so of tdb.
jelmer [Tue, 6 Nov 2007 18:58:19 +0000 (18:58 +0000)]
Add ability to build .so of tdb.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25881 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoTry to get some more flags right.
jelmer [Tue, 6 Nov 2007 18:25:34 +0000 (18:25 +0000)]
Try to get some more flags right.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoDon't use shared library for command-line utilities for now - breaks the testsuite...
jelmer [Tue, 6 Nov 2007 16:42:11 +0000 (16:42 +0000)]
Don't use shared library for command-line utilities for now - breaks the testsuite, and there is no portable equivalent of LD_LIBRARY_PATH.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25879 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix syntax error.
jelmer [Tue, 6 Nov 2007 16:27:58 +0000 (16:27 +0000)]
Fix syntax error.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25878 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd libreplace macro for soname flags.
jelmer [Tue, 6 Nov 2007 16:23:18 +0000 (16:23 +0000)]
Add libreplace macro for soname flags.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25877 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAttempt to build shard libs everywhere again.
jelmer [Tue, 6 Nov 2007 16:13:02 +0000 (16:13 +0000)]
Attempt to build shard libs everywhere again.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25876 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoTry to fix the build on some HPUX machines.
jelmer [Tue, 6 Nov 2007 14:51:42 +0000 (14:51 +0000)]
Try to fix the build on some HPUX machines.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25875 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoforce specific versions for LEX and YACC.
metze [Tue, 6 Nov 2007 12:39:47 +0000 (12:39 +0000)]
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

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25874 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agonss_wrapper: hopefully a better fix for the solaris get*ent_r functions
metze [Tue, 6 Nov 2007 12:34:50 +0000 (12:34 +0000)]
nss_wrapper: hopefully a better fix for the solaris get*ent_r functions

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25873 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agonss_wrapper: revert solaris get*ent_r() functions
metze [Tue, 6 Nov 2007 12:15:19 +0000 (12:15 +0000)]
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

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25872 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agonss_wrapper: set the destination pointer in the get*_r functions
metze [Tue, 6 Nov 2007 12:11:35 +0000 (12:11 +0000)]
nss_wrapper: set the destination pointer in the get*_r functions

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25871 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agolibreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
metze [Tue, 6 Nov 2007 10:40:07 +0000 (10:40 +0000)]
libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoselftest: strip newline from `whoami` output, hopefully fix provision on mac os 10
metze [Tue, 6 Nov 2007 09:33:23 +0000 (09:33 +0000)]
selftest: strip newline from `whoami` output, hopefully fix provision on mac os 10

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25869 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agonss_wrapper: add solaris versions of getpwent_r and getgrent_r
metze [Tue, 6 Nov 2007 09:26:42 +0000 (09:26 +0000)]
nss_wrapper: add solaris versions of getpwent_r and getgrent_r

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25868 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agolibreplace: solaris has different prototypes for getpwent_r and getgrent_r
metze [Tue, 6 Nov 2007 09:15:11 +0000 (09:15 +0000)]
libreplace: solaris has different prototypes for getpwent_r and getgrent_r

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agonss_wrapper: not all systems have get*_r calls
metze [Tue, 6 Nov 2007 08:06:50 +0000 (08:06 +0000)]
nss_wrapper: not all systems have get*_r calls

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25866 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agolibreplace: check for nss passwd|group get*_r functions
metze [Tue, 6 Nov 2007 07:26:12 +0000 (07:26 +0000)]
libreplace: check for nss passwd|group get*_r functions

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agolibreplace: we should only have one location where we check for required functions
metze [Tue, 6 Nov 2007 07:01:17 +0000 (07:01 +0000)]
libreplace: we should only have one location where we check for required functions

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25864 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agolibreplace: we need include <unistd.h> before nss_wrapper.h
metze [Tue, 6 Nov 2007 06:54:49 +0000 (06:54 +0000)]
libreplace: we need include <unistd.h> before nss_wrapper.h

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25863 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAvoid po, causes trouble on BSD systems.
jelmer [Tue, 6 Nov 2007 05:11:16 +0000 (05:11 +0000)]
Avoid po, causes trouble on BSD systems.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25862 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix export dynamic for HPUX.
jelmer [Tue, 6 Nov 2007 04:59:50 +0000 (04:59 +0000)]
Fix export dynamic for HPUX.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25861 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove flag that causes problems on some hosts.
jelmer [Tue, 6 Nov 2007 04:26:57 +0000 (04:26 +0000)]
Remove flag that causes problems on some hosts.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25860 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoWrap native HPUX functions in dl implementation.
jelmer [Tue, 6 Nov 2007 04:26:52 +0000 (04:26 +0000)]
Wrap native HPUX functions in dl implementation.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25859 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoClean up po files.
jelmer [Tue, 6 Nov 2007 04:26:47 +0000 (04:26 +0000)]
Clean up po files.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25858 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoIndent
abartlet [Tue, 6 Nov 2007 03:47:41 +0000 (03:47 +0000)]
Indent

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25857 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoIf the search fails, it is not valid to steal 'res'.
abartlet [Tue, 6 Nov 2007 03:46:57 +0000 (03:46 +0000)]
If the search fails, it is not valid to steal 'res'.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25856 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoCheck for HPUX dl functions.
jelmer [Tue, 6 Nov 2007 03:43:50 +0000 (03:43 +0000)]
Check for HPUX dl functions.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25855 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoLink against -ldl properly.
jelmer [Tue, 6 Nov 2007 03:19:07 +0000 (03:19 +0000)]
Link against -ldl properly.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25854 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoSpecify LIBS to sample_module - fixes build for gcov hosts.
jelmer [Tue, 6 Nov 2007 02:44:06 +0000 (02:44 +0000)]
Specify LIBS to sample_module - fixes build for gcov hosts.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25853 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove SHLIBEXT determination into a test as well.
jelmer [Tue, 6 Nov 2007 02:35:46 +0000 (02:35 +0000)]
Move SHLIBEXT determination into a test as well.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25852 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove system-specific ldflags checks to libreplace so they can be used by ldb.
jelmer [Tue, 6 Nov 2007 02:17:05 +0000 (02:17 +0000)]
Move system-specific ldflags checks to libreplace so they can be used by ldb.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25851 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd macro for picflag.
jelmer [Tue, 6 Nov 2007 02:16:55 +0000 (02:16 +0000)]
Add macro for picflag.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25850 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd test for dfs FlushFtTable.
gd [Tue, 6 Nov 2007 01:39:47 +0000 (01:39 +0000)]
Add test for dfs FlushFtTable.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25849 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd IDL and torture test for dfs_SetDcAddress and dfs_GetDcAddress.
gd [Tue, 6 Nov 2007 01:24:07 +0000 (01:24 +0000)]
Add IDL and torture test for dfs_SetDcAddress and dfs_GetDcAddress.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25848 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoDon't link modules against their subsystem.
jelmer [Tue, 6 Nov 2007 01:05:26 +0000 (01:05 +0000)]
Don't link modules against their subsystem.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25847 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd configure test for -Wl,--export-dynamic.
jelmer [Tue, 6 Nov 2007 01:05:19 +0000 (01:05 +0000)]
Add configure test for -Wl,--export-dynamic.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25846 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoReformat the dfs test.
gd [Tue, 6 Nov 2007 00:49:54 +0000 (00:49 +0000)]
Reformat the dfs test.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25845 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoEnable soloading by default.
jelmer [Mon, 5 Nov 2007 21:57:44 +0000 (21:57 +0000)]
Enable soloading by default.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25844 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFinish check-soloading.
jelmer [Mon, 5 Nov 2007 21:57:39 +0000 (21:57 +0000)]
Finish check-soloading.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25843 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoStart working on test for loading dso's in ldb.
jelmer [Mon, 5 Nov 2007 21:57:33 +0000 (21:57 +0000)]
Start working on test for loading dso's in ldb.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25842 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agotry to fix make install
metze [Mon, 5 Nov 2007 16:16:41 +0000 (16:16 +0000)]
try to fix make install

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25841 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agomake test: activate nss_wrapper for make test
metze [Mon, 5 Nov 2007 15:49:40 +0000 (15:49 +0000)]
make test: activate nss_wrapper for make test

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25840 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agouse nss_wrapper code in samba4 if
metze [Mon, 5 Nov 2007 15:47:34 +0000 (15:47 +0000)]
use nss_wrapper code in samba4 if
--enable-nss-wrapper or --enable-developer is given

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25839 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agolibreplace: include nss_wrapper.h if NSS_WRAPPER is defined
metze [Mon, 5 Nov 2007 15:45:08 +0000 (15:45 +0000)]
libreplace: include nss_wrapper.h if NSS_WRAPPER is defined

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agonss_wrapper: add nss_wrapper.pl
metze [Mon, 5 Nov 2007 15:42:38 +0000 (15:42 +0000)]
nss_wrapper: add nss_wrapper.pl

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

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25837 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agonss_wrapper: add support for groups and return EPERM in initgroups()
metze [Mon, 5 Nov 2007 15:41:23 +0000 (15:41 +0000)]
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

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25836 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agonss_wrapper: add support for passwd accounts
metze [Mon, 5 Nov 2007 15:39:46 +0000 (15:39 +0000)]
nss_wrapper: add support for passwd accounts

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

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25835 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agonss_wrapper: add lib/nss_wrapper skeleton
metze [Mon, 5 Nov 2007 15:38:36 +0000 (15:38 +0000)]
nss_wrapper: add lib/nss_wrapper skeleton

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25834 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years ago- we don't need --root twice
metze [Mon, 5 Nov 2007 15:12:54 +0000 (15:12 +0000)]
- we don't need --root twice
- use $unix_name to make more clear what this variable means

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25833 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoremove unused include
metze [Mon, 5 Nov 2007 11:08:35 +0000 (11:08 +0000)]
remove unused include

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25831 0c0555d6-39d7-0310-84fc-f1cc0bd64818