1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

80386 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
5e6357b421 lib/ccan: add a missing dependency to 'execinfo' for 'backtrace()'
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue May 15 16:12:54 CEST 2012 on sn-devel-104
2012-05-15 16:12:53 +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
Guy Harris
a66865dd28 Use ENC_ values for proto_tree_add_item() calls.
It appears that the integral value containing the bits in a bitmap should be
dissected according to the data representation, as the individual fields are
fetched by dissect_ndr_XXX, which is passed the data representation and
extracts the value appropriately for the data representation, so the patch
replaces TRUE (which meant "always little-endian" when the last argument to
proto_tree_add_item() was a byte-order Boolean) with DREP_ENC_INTEGER(drep)
(which means "ENC_BIG_ENDIAN or ENC_LITTLE_ENDIAN, depending on the data
representation").

For structures, I'm just using ENC_NA.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=8942
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue May 15 12:07:06 CEST 2012 on sn-devel-104
2012-05-15 12:07:06 +02:00
Stefan Metzmacher
8588d10861 s4:ntvfs/smb2: remove misleading comment regarding security=server
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue May 15 10:12:53 CEST 2012 on sn-devel-104
2012-05-15 10:12:52 +02:00
Stefan Metzmacher
12ce84f0cf s4:ntvfs/cifs: remove misleading comment regarding security=server
metze
2012-05-15 08:18:29 +02:00
Stefan Metzmacher
7cb4acd5dd s4:auth: remove unused auth_server.c
metze
2012-05-15 08:18:29 +02:00
Stefan Metzmacher
413e1be773 s3:auth: remove unused auth_server.c
metze
2012-05-15 08:18:29 +02:00
Stefan Metzmacher
0239f680a7 docs-xml: remove documentation of "SECURITY = SERVER"
metze
2012-05-15 08:18:28 +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
Stefan Metzmacher
053fcfef0f s4:param/tests: remove "security=server" test
metze
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
Amitay Isaacs
747e539ad0 samba-upgradedns: Use the correct magic incantation of sys.path.insert()
This replaces "bin/python" with the correct path for python libraries. The
pattern requires double quotes (") instead of single quotes (').

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue May 15 05:19:46 CEST 2012 on sn-devel-104
2012-05-15 05:19:46 +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
b4f2184a29 lib/util: add missing 'errors' dependency to 'tevent-util'
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
bf8829b56f s4:lib/events: no longer define TEVENT_COMPAT_DEFINES
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
d41db7247f s4:lib/events: remove unused event_context_find() prototype
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
99a72e913b libcli/nbt: no longer use old 'event_' tevent compat symbols
metze
2012-05-14 15:12:33 +02:00
Stefan Metzmacher
e05b54ea32 lib/tevent/testsuite: no longer use 'compat' symbols
metze
2012-05-14 15:12:33 +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