1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

50960 Commits

Author SHA1 Message Date
Stefan Metzmacher
ea157f495f s4:repl_meta_data: fix segfault after ldb changes
metze
2009-01-31 09:44:27 +01:00
Stefan Metzmacher
412b89afba lib/replace: move MAXHOSTNAMELEN to system/network.h
Some platforms define it in netdb.h, so we should
define the replace after including metdb.h.

metze
2009-01-31 09:32:14 +01:00
Stefan Metzmacher
21522e4a9a s4:heimdal_build: fix the build of asn1_compile and compile_et
We should not link in heimdal_build/replace.ho twice.
HEIMDAL_ROKEN has everything we need....

metze
2009-01-31 09:04:12 +01:00
Stefan Metzmacher
ae19f5acdd s4:build: require ldb 0.9.3 when building against an external library
metze
2009-01-31 08:55:49 +01:00
Stefan Metzmacher
6028e8f346 heimdal: void functions should not return a value
metze
2009-01-31 08:54:01 +01:00
Simo Sorce
0245b9b973 Explicitly include ldb_handlers.h where necessary 2009-01-30 20:12:50 -05:00
Simo Sorce
0498a30b22 Install mising public headers 2009-01-30 20:12:50 -05:00
Simo Sorce
de4f7c0787 Do not install private headers 2009-01-30 20:12:50 -05:00
Simo Sorce
7acea5a032 Fix proxy module 2009-01-30 20:12:50 -05:00
Tim Prouty
8b7a1394aa s3 onefs: Fix onefs ACLs to work with updated ACL syscall 2009-01-30 15:44:07 -08:00
Simo Sorce
15cfc38c25 Bump up ldb version to 0.9.3 after latest changes 2009-01-30 18:17:47 -05:00
Tim Prouty
2c2545d45a s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warnings 2009-01-30 14:41:07 -08:00
Simo Sorce
d4aeed879b Fix all other modules to use ldb_module.h instead of ldb_private.h
The only 2 modules escaping the rule so far are rootdse and partitions
2009-01-30 17:07:25 -05:00
Stefan Metzmacher
4519eae158 s4:lib/socket: don't use gethostbyname2()
metze
2009-01-30 22:26:08 +01:00
Stefan Metzmacher
03bd9b2683 s4:heimdal_build: heimdal requires u_int32_t and u_char
metze
2009-01-30 22:21:11 +01:00
Volker Lendecke
f6d08849e1 Fix memleaks 2009-01-30 21:29:35 +01:00
Volker Lendecke
aef749b53f pass NULL to prs_give_memory, that is a pointer 2009-01-30 21:29:35 +01:00
Stefan Metzmacher
40b67c3426 selftest: pass down the path to python for provisioning samba4
metze
2009-01-30 20:39:44 +01:00
Stefan Metzmacher
c96534cd6e s3:selftest: run the same tests as 'make test'
Only the tests with samba4's smbtorture are missing.

metze
2009-01-30 19:48:00 +01:00
Stefan Metzmacher
c0fdc71ecd s3:tests: add a guard arround . $incdir/test_functions.sh
So that caller can overwrite the functions.

metze
2009-01-30 19:48:00 +01:00
Stefan Metzmacher
50db8ede23 s3:smbconftort: don't use reserved words ('test:', 'failure:', 'success:')
Temporary results printfs should not contain reserved subunit words.

metze
2009-01-30 19:47:59 +01:00
Stefan Metzmacher
2fe137e7bc heimdal:hdb: always include "config.h" first
metze
2009-01-30 19:44:20 +01:00
Stefan Metzmacher
d129507ee4 s4:lib/ldb: include replace.h in pyldb.c
This fixes the build on Tru64.

metze
2009-01-30 19:41:33 +01:00
Stefan Metzmacher
84ca20a6b5 lib/tevent: include replace.h in pytevent.c
This fixes the build on Tru64.

metze
2009-01-30 19:39:34 +01:00
Stefan Metzmacher
3718cf294a lib/tdb: include replace.h and system/filesys.h in pytdb.c
This fixes the build on Tru64.

metze
2009-01-30 19:38:59 +01:00
Stefan Metzmacher
2f8a398296 lib/talloc: include replace.h in pytalloc.c
This fixes the build on Tru64.

metze
2009-01-30 19:38:09 +01:00
Stefan Metzmacher
55f663a04b heimdal:camellia: include roken.h
metze
2009-01-30 19:37:06 +01:00
Stefan Metzmacher
e8c2ed1d48 Revert "s4:heimdal_build: include "system/network.h" via config.h wrapper"
This reverts commit 334c6e6b78de8529fce0061efd5249f8fe2d256f.

This breaks the build later in the ntvfs code...

metze
2009-01-30 19:24:50 +01:00
Stefan Metzmacher
9fa2e56488 s4:heimdal_build: add a dummy define for dirfd()
metze
2009-01-30 18:42:09 +01:00
Stefan Metzmacher
c28952c555 lib/replace: check if we have dirfd()
Note: we only use this internally and don't replace it by default.

metze
2009-01-30 18:42:08 +01:00
Stefan Metzmacher
24a1b556fc s4:lib/util: fix the build
metze
2009-01-30 18:42:08 +01:00
Stefan Metzmacher
e592718c43 heimdal:roken: arg_match_long() should return a value
This should fix a build problem on IRIX.

metze
2009-01-30 18:02:21 +01:00
Stefan Metzmacher
3f09dd0d82 heimdal:roken: arg_printusage() should not try to return a value.
This should fix problems with the IRIX build.

metze
2009-01-30 17:58:57 +01:00
Stefan Metzmacher
334c6e6b78 s4:heimdal_build: include "system/network.h" via config.h wrapper
This fixes build problems on Tru64.

metze
2009-01-30 17:53:04 +01:00
Stefan Metzmacher
9cf1175d33 heimdal:camellia-ntt.c: include config.h as first header
metze
2009-01-30 17:52:37 +01:00
Stefan Metzmacher
cdca75dee6 heimdal: don't include <sys/cdefs.h> without knowing it's there
metze
2009-01-30 17:38:41 +01:00
Stefan Metzmacher
73dbbe0d54 heimdal: don't include <ifaddrs.h> without knowing it's there
metze
2009-01-30 17:38:40 +01:00
Stefan Metzmacher
94cb0835ca s4:build: kill DEFAULT_HEADERS variable
metze
2009-01-30 17:38:40 +01:00
Simo Sorce
1f2b5ea97c Add helper function to get a module name, may be useful for debugging. 2009-01-30 10:18:52 -05:00
Simo Sorce
d93634b7dd Fix misfiled headers.
Some public functions were mistakenly put into ldb_private.h
Revert all modules to only include ldb_module.h
2009-01-30 09:24:48 -05:00
Stefan Metzmacher
01f30a5e8e s4:selftest: run RPC-COUNTCALLS as dc:local
metze
2009-01-30 13:34:28 +01:00
Stefan Metzmacher
3f967153c0 s4:selftest: run ncalrpc tests in dc:local mode
metze
2009-01-30 13:34:27 +01:00
Stefan Metzmacher
6b128f03d5 selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
metze
2009-01-30 13:33:34 +01:00
Stefan Metzmacher
4b541c6f03 pidl: fix samba3-cli test after change to cli->dispatch()
metze
2009-01-30 13:24:26 +01:00
Volker Lendecke
22e3004829 Add the "SMBD" rpc transport
The idea of this is that all client utils like smbpasswd and also for example
"net join" do not access our internal databases like passdb and secrets.tdb
directly anymore but pass everything throught the well-established RPC
interfaces.

The way you use this is the following: With rpc_cli_smbd_conn_init() or its
async variant you initialize a "struct rpc_cli_smbd_conn". This structure is
the link to a freshly forked smbd, ready to be used for RPC services. You
should only ever have one such structure in your program. More don't hurt, but
are plainly unnecessary.

If you want to use the SAMR pipe to change a passwort, you connect to that pipe
with rpc_pipe_open_local. Do you normal rpccli_samr calls on that and your
locally forked smbd will connect to passdb for you.

GD, this might make the distinction between the _l and _r calls in libnetapi
mostly unnecessary. At least it is intended to do so... :-)
2009-01-30 12:48:00 +01:00
Volker Lendecke
b873ede89d Make rpc_transport_np_init async 2009-01-30 12:47:59 +01:00
Volker Lendecke
a0d52e7d54 Add async cli_ntcreate 2009-01-30 12:47:59 +01:00
Volker Lendecke
0bd92281e4 Make cli_tcon_andx async 2009-01-30 12:47:59 +01:00
Volker Lendecke
7b934c6af3 Make cli_session_setup_guest async 2009-01-30 12:47:59 +01:00
Günther Deschner
fb7b92abc2 s3-docs: fix typo in eventlogadm manpage.
Guenther
2009-01-30 11:23:08 +01:00