Volker Lendecke
8b480b52ce
Remove unused np_write sync wrapper
2009-01-31 17:50:18 +01:00
Volker Lendecke
2d5ec28b3b
Make reply_pipe_write async
2009-01-31 17:50:18 +01:00
Volker Lendecke
8ef92f7e32
Make reply_pipe_write_and_X async
2009-01-31 17:50:18 +01:00
Volker Lendecke
e8b2b46cae
Make-np_write-handle-0-byte-writes-as-NT_STATUS_OK
2009-01-31 17:50:18 +01:00
Volker Lendecke
c2fe28ba59
Convert api_rpc_trans_reply to async np_*
2009-01-31 17:50:18 +01:00
Volker Lendecke
b797c056a6
Add an async np_read wrapper
2009-01-31 17:50:18 +01:00
Volker Lendecke
e60d69d67d
Add an async np_write wrapper
2009-01-31 17:50:18 +01:00
Volker Lendecke
cee0d85e0b
make send_file_readbraw static
2009-01-31 11:09:39 +01:00
Volker Lendecke
d94e9c802c
Remove the global variable "chain_size"
2009-01-31 11:09:39 +01:00
Volker Lendecke
b99859b948
Make is_andx_req non-static
2009-01-31 11:09:39 +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
Tim Prouty
8b7a1394aa
s3 onefs: Fix onefs ACLs to work with updated ACL syscall
2009-01-30 15:44:07 -08: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
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
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
6b128f03d5
selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
...
metze
2009-01-30 13:33:34 +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
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
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
Björn Jacke
11f32204f8
add configure check for AIX style sub-second resolution support
2009-01-29 09:51:36 -08:00
Björn Jacke
f9926a4944
rather cosmetic fix for failed birthtime configure checks
2009-01-29 09:51:35 -08:00
Björn Jacke
bc84bd7b71
give configure check "sub-second timestamps without struct timespec" a chance to succeed
2009-01-29 09:51:35 -08:00
Stefan Metzmacher
11163720e6
s3:configure: autodetect ctdb/cluster support
...
We need to make sure ctdb has transaction support
and we autodetect ipv6 support.
metze
2009-01-29 17:40:13 +01:00
Stefan Metzmacher
7540d13956
s3:ctdbd_conn: canonicalize ips before sending them to ctdbd
...
This makes samba work with older ctdb versions.
metze
2009-01-29 17:40:13 +01:00
Michael Adam
ba482e6b8d
s3:smbd: make smbd_open_one_socket() static
...
Michael
2009-01-29 15:42:10 +01:00