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
Stefan Metzmacher
70ac2cc831
s3:smb2_sesssetup: pass down in_flags to smbd_smb2_session_setup()
...
metze
2012-05-13 14:11:01 +02:00
Stefan Metzmacher
7b359bc615
s3:smb2_sesssetup: pass down in_previous_session_id to all layers
...
metze
2012-05-13 14:11:00 +02:00
Stefan Metzmacher
212e805507
s3:smb2_ioctl: implement FSCTL_VALIDATE_NEGOTIATE_INFO
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat May 12 02:50:42 CEST 2012 on sn-devel-104
2012-05-12 02:50:42 +02:00
Stefan Metzmacher
8963930974
s3:smb2_ioctl: implement FSCTL_VALIDATE_NEGOTIATE_INFO_224
...
metze
2012-05-12 01:01:35 +02:00
Stefan Metzmacher
b3235d483d
s3:smbd: introduce struct smbXsrv_connection
...
This will represent a transport connection for SMB 1 or 2
in the server. smbd_server_connection will slowly be moved
to the SMB_VFS layer to satisfy the existing modules,
but it will hopefully be protocol independend in future.
metze
2012-05-12 01:01:34 +02:00
Stefan Metzmacher
c8a3c0e0f7
s3:smb2_negprot: setup the protocol at the end of the negprot with a real dialect
...
metze
2012-05-12 01:01:34 +02:00
Luk Claes
c140c5e459
s3/libsmb: Generalise cli_state in smb2 logoff calls
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 01:01:33 +02:00
Luk Claes
c7a1292628
s3/libsmb: Generalise cli_state in smb2 write calls
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 01:01:31 +02:00
Luk Claes
50d88c96bc
s3/libsmb: Generalise cli_state in smb2 query_directory calls
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:46:30 +02:00
Luk Claes
5f4a009f4f
s3/libsmb: Generalise cli_state in smb2 ioctl calls
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:46:09 +02:00
Luk Claes
473363a807
s3/libsmb: Generalise cli_state in smb2 flush calls
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:45:53 +02:00
Luk Claes
87d890fdd9
s3/libsmb: Generalise cli_state in smb2 create calls
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:45:21 +02:00
Luk Claes
f6db3d7bef
s3/libsmb: Generalise cli_state in smb2 close calls
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:44:41 +02:00
Luk Claes
14473f37f5
s3-libsmb: Generalise cli_state in smb2 read calls
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:43:53 +02:00
Stefan Metzmacher
c11c4df762
s3:smb2_ioctl: allow functions to disconnect the smb connection
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri May 11 20:15:37 CEST 2012 on sn-devel-104
2012-05-11 20:15:37 +02:00
Stefan Metzmacher
739bd25fe0
s3:smb2_ioctl: FSCTL_SRV_ENUMERATE_SNAPSHOTS is handles in SMB_VFS_FSCTL()
...
metze
2012-05-11 18:19:51 +02:00
Stefan Metzmacher
5e998b805f
s3:smb2_ioctl: call SMB_VFS_FSCTL() as fallback for non SMB2 specific functions
...
metze
2012-05-11 18:19:50 +02:00
Jeremy Allison
0fefe24d6f
Fix bug #8922 .
...
Looking at the do_list status returns was historically
ignored, allowing tar to continue after NT_STATUS_ACCESS_DENIED.
Return to this state.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri May 11 14:55:53 CEST 2012 on sn-devel-104
2012-05-11 14:55:53 +02:00
Karolin Seeger
70feedbfe3
s3-loadparm: Add synonym "private directory".
...
Karolin
Autobuild-User: Karolin Seeger <kseeger@samba.org>
Autobuild-Date: Fri May 11 13:04:03 CEST 2012 on sn-devel-104
2012-05-11 13:04:03 +02:00
Steve Langasek
31db7d2985
Fix bug 8920, null dereference
...
Description: Avoid null dereference in initialize_password_db()
When initialize_password_db() is called with reload=True, it's assumed that
the free_private_data member of pdb_methods is non-null. This is not
necessarily the case, as the tdb backend has no private data and therefore
no free function. Check to see if we have private data that needs freed
before calling.
Author: Steve Langasek <steve.langasek@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/829221
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Thu May 10 11:07:27 CEST 2012 on sn-devel-104
2012-05-10 11:07:27 +02:00
Volker Lendecke
815eb53b33
s3: Fix Coverity ID 242714 Uninitialized scalar variable
...
In an error path we are closing domain_handle without opening it
2012-05-10 09:11:58 +02:00
Volker Lendecke
9b0b60c67e
s3: Fix Coverity ID 242715 Uninitialized scalar variable
...
In an error path we are closing hive_hnd without opening it
2012-05-10 09:11:58 +02:00
Volker Lendecke
6d5bbb9a4b
s3: Fix Coverity ID 242716 Uninitialized scalar variable
...
In an error path we are closing key_hnd without opening it
2012-05-10 09:11:57 +02:00
Volker Lendecke
bd4701d286
s3: Fix Coverity ID 242717 Uninitialized scalar variable
...
In an error path we are closing domain_pol without opening it
2012-05-10 09:11:57 +02:00
Volker Lendecke
2a03d9e42c
s3: Fix Coverity ID 242718 Uninitialized scalar variable
...
In an error path we are closing user_pol without opening it
2012-05-10 09:11:57 +02:00
Volker Lendecke
74ca9cc957
s3: Fix Coverity ID 242719 Uninitialized scalar variable
...
In an error path we are closing domain_pol without opening it
2012-05-10 09:11:57 +02:00
Volker Lendecke
b2ea585c14
s3: Fix Coverity ID 242720 Uninitialized scalar variable
...
In an error path we are closing domain_pol without opening it
2012-05-10 09:11:57 +02:00
Volker Lendecke
a4b7a1eb26
s3: Fix Coverity ID 242721 Uninitialized scalar variable
...
In an error path we are closing domain_pol without opening it
2012-05-10 09:11:57 +02:00
Volker Lendecke
1e3b5ec951
s3: Fix Coverity ID 242722 Uninitialized scalar variable
...
In an error path we are closing domain_handle without opening it
2012-05-10 09:11:57 +02:00