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
Stefan Metzmacher
b88a0adbed
selftest: fix "none" test
...
metze
2009-01-30 10:31:36 +01:00
Stefan Metzmacher
fd82f593d7
selftest: fix default option name
...
metze
2009-01-30 10:03:45 +01:00
Stefan Metzmacher
27e4032287
s4:fix the build after 380874ef863866c94c999ef53252b9d30df65e88
...
metze
2009-01-30 09:36:58 +01:00
Stefan Metzmacher
52a49b448e
selftest: allow environment options
...
We support "local" and "client" (default) now.
We can decide if we want to run a client against the server
(with a special client.conf) or if we want to run tests localy
on the server with the same config as the server.
metze
2009-01-30 09:36:53 +01:00
Simo Sorce
4e0a619701
Fix standalone configure scripts
2009-01-30 01:02:23 -05:00
Simo Sorce
380874ef86
Fix the mess with ldb includes.
...
Separate again the public from the private headers.
Add a new header specific for modules.
Also add service function for modules as now ldb_context and ldb_module are
opaque structures for them.
2009-01-30 01:02:03 -05:00
Jeremy Allison
a5f0640bf9
Fix coverity CID#117 - resource leak in error path.
...
Jeremy.
2009-01-29 17:56:40 -08:00
Jeremy Allison
08802db8db
Fix coverity CID#116. Resource leak on error path.
...
Jeremy.
2009-01-29 17:31:12 -08:00
Jeremy Allison
734647bd85
Fix coverity CID#115. Resource leak in error path.
...
Jeremy.
2009-01-29 17:27:47 -08:00
Jeremy Allison
77bac5b78c
Fix coverity CID#66. Resource leak in error path.
...
Jeremy.
2009-01-29 17:16:34 -08:00
Jeremy Allison
864852a4ae
Upgrade POSIX inheritance storage to a new format (version 2). Stores
...
the Windows ACL type and flags if "map acl inherit" is set.
Jeremy.
2009-01-29 15:58:50 -08:00
Jeremy Allison
c1332943db
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2009-01-29 15:31:56 -08:00
Tim Prouty
d1ab1b6482
s3 build: Fix "shadows global declaration warning"
2009-01-29 15:29:34 -08:00
Tim Prouty
60d058442e
s3 onefs: Add the OneFS implementation of SMB_VFS_GET_ALLOC_SIZE
2009-01-29 15:29:33 -08:00
Tim Prouty
b8f7cdbd79
s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation
...
This allows module implementors to customize what allocation size is
returned to the client.
2009-01-29 15:29:33 -08:00
Jeremy Allison
164fd3cb33
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2009-01-29 15:27:42 -08:00
Björn Jacke
d177015a6d
add Tru64 sub-second resolution timestamp support
2009-01-29 15:26:13 -08:00
Björn Jacke
ede1732195
add configure check for Tru64 sub-second timestamp resolution
2009-01-29 15:26:13 -08:00
Michael Adam
aeb23872e2
s3:proto.h: remove duplicate prototypes.
...
Michael
2009-01-30 00:17:58 +01:00
Michael Adam
f2224e53b2
s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns.
...
Michael
2009-01-30 00:17:57 +01:00
Michael Adam
a44649cf98
s3:build: fix build on AIX - only test for splice on linux
...
Michael
2009-01-30 00:17:56 +01:00
Volker Lendecke
37da26a06e
Add the strlen to push to smb_bytes_push_str, return the converted size
...
The pushed strlen replaces the STR_TERMINATE flag which I personally always
find very confusing.
2009-01-29 21:38:06 +01:00
Volker Lendecke
89caa0e86b
cli_ucs2
2009-01-29 21:38:06 +01:00
Volker Lendecke
1a87568d99
Fix the build on "opi"
...
It did not like to include "includes.h" twice
2009-01-29 21:38:05 +01:00
Björn Jacke
29ab9ed933
add missing semicolons
...
the fixed configure check led to a missing semicolon in the now activated BSD
code. Then this error was even copypasted into the new AIX code. grrr
2009-01-29 12:12:29 -08:00
Björn Jacke
12f57f95b5
setting mtime setted atime on BSD systems, fix this
2009-01-29 09:51:36 -08:00
Björn Jacke
3639e525a9
add AIX sub-second resolution timestamp support
2009-01-29 09:51:36 -08:00