1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

39095 Commits

Author SHA1 Message Date
Gregor Beck
a719ce7c11 s3:dbwrap: do not burden the user of db_open_ctdb with ifdef voodoo
Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-25 13:24:34 +01:00
Gregor Beck
90eb2eb178 s3:lib fix output of hex escapes > 0x7F with cbuf_print_quoted
(cherry picked from commit a1fcb7e37a23dcc035686486d4afe32a67082ae1)
2011-11-25 13:24:34 +01:00
Gregor Beck
2d9b4015d6 s3:net registry check: improve console output
Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-25 13:24:34 +01:00
Volker Lendecke
47a94f7f81 s3: user_domain is not used in wb_getpwsid
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Nov 25 13:23:30 CET 2011 on sn-devel-104
2011-11-25 13:23:30 +01:00
Volker Lendecke
29735327f6 s3: Add some const
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Nov 25 10:21:07 CET 2011 on sn-devel-104
2011-11-25 10:21:07 +01:00
Stefan Metzmacher
bfbfcd1a51 s3:torture: test smb2cli_logoff and smb2cli_tdis
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Nov 24 20:36:31 CET 2011 on sn-devel-104
2011-11-24 20:36:31 +01:00
Stefan Metzmacher
b01d80a25e s3:smb2cli: zero tid in smb2cli_tdis*
metze
2011-11-24 19:02:33 +01:00
Stefan Metzmacher
cc67f7e548 s3:smb2cli: free session in smb2cli_logoff*
metze
2011-11-24 19:02:33 +01:00
Stefan Metzmacher
a5322366d8 s3:torture: add SMB2-SESSION-REAUTH
metze
2011-11-24 19:02:33 +01:00
Stefan Metzmacher
2a04959ba1 s3:torture: add SMB2-MULTI-CHANNEL test
metze
2011-11-24 19:02:33 +01:00
Michael Adam
4c29389c04 s3:torture: add a new test SMB2-TCON-DEPENDENCE
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24 19:02:33 +01:00
Michael Adam
1fef161d2a s3:torture:smb2: add SMB2-SESSION-RECONNECT test
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24 19:02:33 +01:00
Stefan Metzmacher
a312a8c788 s3:torture: use cli_tree_connect() instead of smb2cli_tcon()
metze
2011-11-24 19:02:33 +01:00
Stefan Metzmacher
694b7d6f77 s3:client: make use of cli_tree_connect()
metze
2011-11-24 19:02:33 +01:00
Stefan Metzmacher
ee36217c40 s3:libsmb: make use of cli_tree_connect()
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
b378abe455 s3:nmbd: make use of cli_tree_connect()
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
2d9a8898f2 s3:torture: make use of cli_tree_connect()
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
c6ed8e3211 s3:utils: make use of cli_tree_connect()
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
c53a52a264 s3:winbindd_cm: make use of cli_tree_connect()
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
665593d6ac s3:libsmb: add cli_tree_connect() for a generic tree connect
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
8428db0a17 s3:smb2cli: remove unused smb2cli_sesssetup_ntlmssp*
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
5c97bbf3ef s3:torture: replace smb2cli_sesssetup_ntlmssp() with the more generic cli_session_setup()
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
8a9bfd61b7 s3:libsmb: add SMB2 support to cli_session_setup()
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
dd28b28ede s3:libsmb: implement cli_trans* on top of smb1cli_trans*
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
da2027faf7 smbXcli: rework smb1cli_trans.c to use smbXcli_conn/smbXcli_req
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
9f5a7f5063 s3:selftest: run SMB2-NEGPROT
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
773d0a6add s3:torture: add SMB2-NEGPROT test
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
f60b768df4 s3:smb2cli: remove unused smb2cli_negprot()
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
628dd727cf s3:SMB2-BASIC: use smbXcli_negprot() directly
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
6ab3f8cedb s3:smb2cli: pass struct smbXcli_conn directly to smb2cli_req_create/_send()
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
9ebdee2817 s3:libsmb: implement cli_state based functions on top of smbXcli_conn/smbXcli_req
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
bf1ff0572d s3:smb2cli: add forward declaration for struct cli_state
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
3327c1e86e s3:smb2cli: make smb2cli_session_setup_send/recv non-static
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
99b3d57fc3 s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 signing
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
7e7bca4188 s3:smb2cli: implement smb2cli_negprot() on top of smbXcli_negprot()
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
1cfeb3f8a0 smbXcli: pass client_guid to smbXcli_conn_create()
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
349977e1a0 s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c code
metze
2011-11-24 19:02:30 +01:00
Christian Ambach
53ad886f75 security: add local authority well-known SIDs
add the S-1-2 well-known SID family

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Thu Nov 24 19:01:08 CET 2011 on sn-devel-104
2011-11-24 19:01:08 +01:00
Christian Ambach
717a27ba22 s3:smb2 report access_based_dir_enum in tcon reply
let the client know when hide unreadable or hide unwriteable files
is set for a share
2011-11-24 17:26:02 +01:00
Christian Ambach
faf8b9bba0 s3:smb2 do not set allow_namespace_caching flag for a share
this matches Win7/2002R2 behavior and clients also must ignore
this flag when set (MS-SMB 2.2.10), so we should not set it at all
2011-11-24 17:25:58 +01:00
Christian Ambach
94229435e8 s3:vfs:gpfs remove non-working code
when development of vfs_gpfs was started a long time ago it was
considered a good idea to have it compileable even if GPFS is not
around and then the module would complain in the logs that libgpfs
is not there

Nowadays this does not work any more as the code contains GPFS
specific types that need the GPFS header files.

Instead of making it compile again by adding GPFS typedefs, this
removes the whole approach. Other VFS modules also do not even
compile when necessary headers are not around, so do the same for
the GPFS module code.
2011-11-24 17:25:04 +01:00
Christian Ambach
6753656c74 s3:vfs:gpfs fix some compiler warnings 2011-11-24 17:24:58 +01:00
Christian Ambach
db1abd4d2d s3:vfs:gpfs convert syncio parameter
convert syncio parameter to be stored in the VFS handle data
this removes the need to go through lp_parm_bool() on each open
2011-11-24 15:52:09 +01:00
Volker Lendecke
b1f7164aa8 s3: Fix a valgrind error
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 23 19:17:20 CET 2011 on sn-devel-104
2011-11-23 19:17:20 +01:00
Volker Lendecke
d126414b47 s3: Move server_info_struct to nmbd
That's the only place where it's used.
2011-11-23 16:17:03 +01:00
Volker Lendecke
b4ca1fa538 s3: Replace delete_token_list by an array
This will make it easier to convert locking.tdb to IDL, and I don't think there
will be enough entries to justify a linked list over an array.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 23 09:02:12 CET 2011 on sn-devel-104
2011-11-23 09:02:10 +01:00
Jeremy Allison
7ef4d08a98 Remove the setting of the inherited ACL on new files/directories. This is
now done correctly in the main codepath. The vfs_acl_XXXX modules are
now thin shims that simply store/retrieve ACLs as they should be.
2011-11-22 12:33:54 -08:00
Jeremy Allison
de3ab9bd05 Move setting the inherited ACL into the main open code path. Next will
remove it from the ACL modules.
2011-11-22 12:33:27 -08:00
Jeremy Allison
6795432f27 Move the "set SD" code into provided SD and "inherit acls" branches. 2011-11-22 11:53:51 -08:00
Jeremy Allison
7b275c551b Only add the SD if it's not a new stream file. 2011-11-22 10:37:56 -08:00