Björn Baumbach
5f494c424c
libcli/smb: move smb2cli_ioctl.c from source3 to the toplevel
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue May 15 20:17:01 CEST 2012 on sn-devel-104
2012-05-15 20:17:01 +02:00
Björn Baumbach
c16e263d0e
libcli/smb: move smb2cli_query_directory.c from source3 to the toplevel
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15 18:26:00 +02:00
Björn Baumbach
b2d9c02665
libcli/smb: move smb2cli_query_info.c from source3 to the toplevel
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15 18:26:00 +02:00
Björn Baumbach
22b76de2ff
libcli/smb: move smb2cli_set_info.c from source3 to the toplevel
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15 18:26:00 +02:00
Björn Baumbach
1d7c6bfd7a
libcli/smb: move smb2cli_flush.c from source3 to the toplevel
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15 18:26:00 +02:00
Björn Baumbach
f50fc00306
libcli/smb: move smb2cli_write.c from source3 to the toplevel
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15 18:26:00 +02:00
Björn Baumbach
269000b1b3
libcli/smb: move smb2cli_read.c from source3 to the toplevel
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15 18:26:00 +02:00
Stefan Metzmacher
4022edc906
libcli/smb: move smb2cli_close.c from source3 to the toplevel
...
metze
2012-05-15 18:25:59 +02:00
Stefan Metzmacher
2674d0c458
libcli/smb: move smb2cli_create.c from source3 to the toplevel
...
metze
2012-05-15 18:25:59 +02:00
Stefan Metzmacher
35b54ae5a9
s3:libsmb: avoid interpret_long_date() in smb2cli_create
...
metze
2012-05-15 18:25:59 +02:00
Stefan Metzmacher
b488567a18
s3:cli_np_tstream: include smbXcli_base.h, because we'll use functions from there
...
metze
2012-05-15 18:25:59 +02:00
Volker Lendecke
8ae354ed4e
s3: Remove some unused code
...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Tue May 15 18:24:10 CEST 2012 on sn-devel-104
2012-05-15 18:24:10 +02:00
Volker Lendecke
c562a534c8
s3: Fix a likely cut&paste error
2012-05-15 16:18:50 +02:00
Andreas Schneider
78af4738e7
s3-auth: Rename to init_system_session_info().
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Tue May 15 13:56:00 CEST 2012 on sn-devel-104
2012-05-15 13:56:00 +02:00
Andreas Schneider
caaebb455c
s3-auth: Don't lookup the system user in pdb.
...
This fixes bug #8944 , ldapsam:trusted and ipasam. It is an additional
fix for bug #8567 (0528cb5f3a
).
2012-05-15 12:08:34 +02:00
Stefan Metzmacher
413e1be773
s3:auth: remove unused auth_server.c
...
metze
2012-05-15 08:18:29 +02:00
Stefan Metzmacher
b4abd3faaf
s3-auth: remove "security=server" (depricated since 3.6)
...
"security=server" has a lot of problems in the world with
modern security (ntlmv2 and krb5). It was also not very
reliable, as it needed a stable connection to the password
server for the lifetime of the whole client connection!
Please use "security=domain" or "security=ads" is you
authentication against remote servers (domain controllers).
metze
--------------
/ \
/ REST \
/ IN \
/ PEACE \
/ \
| SEC_SERVER |
| security=server |
| |
| |
| 12 May |
| |
| 2012 |
*| * * * | *
_________)/\\_//(\/(/\)/\//\/\///|_)_______
2012-05-15 08:18:28 +02:00
Andrew Bartlett
f67cb32b51
selftest: Remove tests for security=server
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15 08:18:27 +02:00
Volker Lendecke
997da4a28b
s3: talloc_zero is not needed for structs we ndr_pull into
...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon May 14 18:59:07 CEST 2012 on sn-devel-104
2012-05-14 18:59:07 +02:00
Stefan Metzmacher
aca64f642d
libcli/smb: move smb2cli_logoff_* from source3 to the top level
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon May 14 17:02:46 CEST 2012 on sn-devel-104
2012-05-14 17:02:46 +02:00
Stefan Metzmacher
ce0d6d89ee
libcli/smb: git mv smb2_session.c smb2cli_session.c
...
metze
2012-05-14 15:12:35 +02:00
Stefan Metzmacher
bf6b2fa96b
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_write.c
...
metze
2012-05-14 15:12:35 +02:00
Stefan Metzmacher
2a39c5f513
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_session.c
...
metze
2012-05-14 15:12:35 +02:00
Stefan Metzmacher
640154c434
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_read.c
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
1395e46a8c
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_query_directory.c
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
f88c60bc70
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_ioctl.c
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
1355552452
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_flush.c
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
820160ca0d
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_create.c
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
b2dcc7a061
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_close.c
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
0cb1fdac4e
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_tcon.c
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
b2c9fe4ad1
lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.c
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
23887fa87e
s3:torture: add #include "lib/util/tevent_ntstatus.h" to test_addrchange.c
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
05e4f24729
s3:lib/util: use map_nt_error_from_unix_common() in tevent_req_poll_ntstatus()
...
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
e7e67962c7
s3:smb2_close: make the top level code async using
...
metze
2012-05-14 15:12:33 +02:00
Stefan Metzmacher
b8d999ce84
s3:smb2_close: add add smbd_smb2_close_send/recv as wrapper
...
metze
2012-05-14 15:12:33 +02:00
Stefan Metzmacher
643e648ed0
s3:smb2_close: don't do any marshalling in smbd_smb2_close() let the caller to it
...
metze
2012-05-14 15:12:33 +02:00
Stefan Metzmacher
302f767fb7
s3:smb2_tcon: make the top level code async using
...
metze
2012-05-14 15:12:33 +02:00
Stefan Metzmacher
b19a9dbb5b
s3:smb2_tcon: add smbd_smb2_tree_connect_send/recv as wrapper
...
metze
2012-05-14 15:12:33 +02:00
Volker Lendecke
46a41d0fbd
s3: Fix Coverity ID 241320 Array compared against 0
...
domain->alt_name is an array, not a pointer
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon May 14 15:11:47 CEST 2012 on sn-devel-104
2012-05-14 15:11:47 +02:00
Volker Lendecke
87542e1310
s3: Make SMB_QUERY_FILE_UNIX_BASIC's devno work for files
...
According to susv3, st_rdev is valid exactly for char and block devices. Normal
files have st_dev set.
2012-05-14 13:16:32 +02:00
Michael Adam
e945511aae
move the dbwrap library to the top level
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon May 14 04:04:55 CEST 2012 on sn-devel-104
2012-05-14 04:04:55 +02:00
Michael Adam
f5e5ed79cc
s3:build: move lib/dbwrap/dbwrap_util.o to the other dbwrap objects...
2012-05-14 01:53:31 +02:00
Michael Adam
e96a842527
s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_tdb.c
2012-05-13 22:41:49 +02:00
Michael Adam
db7a8bf43c
s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_rbt.c
2012-05-13 22:41:49 +02:00
Michael Adam
746548401f
s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_ctdb.c
2012-05-13 22:41:49 +02:00
Michael Adam
03183e3584
s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_file.c
2012-05-13 22:41:48 +02:00
Michael Adam
05afaa8361
s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_util.c
2012-05-13 22:41:48 +02:00
Michael Adam
508a33fc2a
s3:dbwrap: move definition of dbwrap_lock_order to dbwrap.h
...
This is needed in all of the library, not only in the dbwrap_open part.
2012-05-13 22:41:48 +02:00
Stefan Metzmacher
8f887ce164
s3:smb2_sesssetup: make the top level code async using
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun May 13 17:59:39 CEST 2012 on sn-devel-104
2012-05-13 17:59:39 +02:00
Stefan Metzmacher
1b8645b4c8
s3:smb2_sesssetup: add smbd_smb2_session_setup_send/recv as wrapper
...
This just adds smbd_smb2_session_setup_send/recv as wrapper to
the sync smbd_smb2_session_setup function.
This will allow us to change to top level code to work async,
then we can have a 2nd step where we remove the sync
smbd_smb2_session_setup function.
metze
2012-05-13 14:11:02 +02:00