Günther Deschner
3d679a3b5f
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
...
Guenther
2009-11-26 20:03:17 +01:00
Günther Deschner
86f4536b7a
s3-passdb: move some defines out of rpc headers (they really belong to passdb).
...
Guenther
2009-11-26 19:21:33 +01:00
Günther Deschner
d4e06596d5
s3-registry: remove reg_pull_multi_sz().
...
Guenther
2009-11-24 15:47:59 +01:00
Jeremy Allison
4b8859840b
Remove unused code.
...
Jeremy.
2009-11-23 18:00:36 -08:00
Jeremy Allison
f8bd0559ad
Proper fix for #6898 - Samba duplicates file content on appending. Pointed out by Volker.Restores the pathname handling for FILE_FLAG_POSIX_SEMANTICS but still prevents the O_APPEND problems. Jeremy.
2009-11-23 15:05:23 -08:00
Michael Adam
63a801e5c9
s3:torture: move the torture-specific headers to new torture/torture.h
...
Michael
2009-11-23 23:51:07 +01:00
Volker Lendecke
a1a81ef785
Revert "s3: Make the implicit reference to Protocol in mask_match() explicit"
...
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.
2009-11-23 16:35:00 +01:00
Volker Lendecke
d6e55d8ec0
Revert "s3: Make the implicit reference to Protocol in mask_match_list() explicit"
...
This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78.
2009-11-23 16:35:00 +01:00
Volker Lendecke
5c4885a26b
Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit"
...
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3.
2009-11-23 16:35:00 +01:00
Volker Lendecke
7930206f5c
Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicit"
...
This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.
2009-11-23 16:34:59 +01:00
Volker Lendecke
0f8e2a6ebb
Revert "s3: Move the global variable Protocol to struct smbd_server_connection"
...
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea.
2009-11-23 16:34:59 +01:00
Günther Deschner
800d6b7820
s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they belong.
...
Guenther
2009-11-23 12:20:24 +01:00
Günther Deschner
6364c271c4
s3-printing: remove unused NT_PRINTER_DRIVER_INFO_LEVEL structs.
...
Guenther
2009-11-23 12:19:19 +01:00
Günther Deschner
ec56895bde
s3-printing: use spoolss types and structs while getting and deleting drivers.
...
Guenther
2009-11-23 12:19:11 +01:00
Günther Deschner
68cc1166d9
s3-printing: use spoolss types and structs while adding drivers.
...
Guenther
2009-11-23 12:19:04 +01:00
Volker Lendecke
384f303c2c
s3: Remove a struct typedef
2009-11-21 23:19:50 +01:00
Volker Lendecke
cf2febf3d1
s3: Make alloc_sub_basic() static
2009-11-21 20:54:10 +01:00
Volker Lendecke
c85a4c9ba4
s3: Move the global variable Protocol to struct smbd_server_connection
2009-11-21 20:49:17 +01:00
Volker Lendecke
6a14902297
s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicit
2009-11-21 20:49:17 +01:00
Volker Lendecke
f7b4151a64
s3: Make the implicit reference to Protocol in is_in_path() explicit
2009-11-21 20:49:17 +01:00
Volker Lendecke
1e22899d26
s3: Make the implicit reference to Protocol in mask_match_list() explicit
2009-11-21 20:49:17 +01:00
Volker Lendecke
e23d8a3d1f
s3: Make the implicit reference to Protocol in mask_match() explicit
2009-11-21 20:49:16 +01:00
Volker Lendecke
37e4e387db
s3: Convert cli_get_fs_attr_info to the async API
2009-11-21 14:01:56 +01:00
Volker Lendecke
f0a933d140
s3: Cache brlock.tdb entries for the fast read&write strict locking code path
...
For a netbench run this gains around 2% user-space CPU, fetching a 100MB file
takes around 4% less.
2009-11-21 11:40:13 +01:00
Volker Lendecke
d3d37acb99
s3: Factor timeval_string out of current_timestring()
2009-11-19 19:04:38 +01:00
Volker Lendecke
f6650f5d19
s3: Do not talloc in readdir
...
This is a hot codepath (called from the stat cache)
2009-11-18 23:16:13 +01:00
Jeremy Allison
a770caed0f
Remove "store create time" code, cause create time to be stored
...
in the "user.DOSATTRIB" EA. From the docs:
In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store
the create time for a file as well as the DOS attributes. This is done in a backwards compatible
way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this
extended attribute by earlier versions of Samba, but they will not be able to read the create
time stored there. Storing the create time separately from the normal filesystem meta-data
allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem.
Passes make test but will need more testing.
Jeremy.
2009-11-17 14:55:02 -08:00
Jeremy Allison
a2a8dc515c
Don't overwrite a dynamic pointer with the address of a stack
...
variable.
Jeremy.
2009-11-16 14:55:21 -08:00
Volker Lendecke
f4cf1c56a2
s3: Add min_setup, min_param and min_data to cli_trans_recv
...
Every caller that expects to receive something needs to check if enough was
sent. Make this check mandatory for everyone.
Yes, this makes the parameter list for cli_trans a bit silly, but that's just
the way it is: A silly protocol request :-)
While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
2009-11-14 12:20:12 +01:00
Volker Lendecke
4a777ec4d7
Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/
2009-11-14 11:32:38 +01:00
Volker Lendecke
f668e4104f
s3: Convert cli_set_unix_extensions_capabilities_send to async
2009-11-14 11:03:28 +01:00
Michael Adam
7e418bf736
s3:passdb: bump interface VERSION 18->19 (removed uid_to_rid)
...
Michael
2009-11-14 01:28:57 +01:00
Michael Adam
30ab3a762e
s3:passdb: remove the uid_to_rid method - we only need uid_to_sid
...
Michael
2009-11-14 01:28:50 +01:00
Volker Lendecke
f9ad5cd133
s3: Convert cli_unix_extensions_version to async
2009-11-13 09:30:30 +01:00
Jeremy Allison
5363d6e62c
Ensure all callers to the rpc_client/cli_pipe functions correctly
...
initialize return variables.
Jeremy.
2009-11-12 13:56:33 -08:00
Günther Deschner
b4e40958b7
s3-kerberos: add smb_krb5_principal_get_realm().
...
Guenther
2009-11-12 10:22:39 +01:00
Jeremy Allison
a8769e6675
Second part of bugfix for 6865 - acl_xattr module: Has dependency that inherit acls = yes or xattrs are removed.
...
We also need dos filemode = true set as well.
Jeremy.
2009-11-11 18:35:18 -08:00
Volker Lendecke
2b75933960
s3: Convert libsmb/cli_message to the async API
2009-11-10 23:48:22 +01:00
Günther Deschner
46784b4d99
s3-chgpasswd: split out a check_password_complexity() function.
...
Guenther
2009-11-10 13:08:28 +01:00
Volker Lendecke
bb283af16f
Revert "s3: Do not directly reference the ndr_table_* in rpcclient"
...
This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
2009-11-08 19:43:47 +01:00
Volker Lendecke
e181b88978
Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"
...
This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a.
2009-11-08 19:43:47 +01:00
Volker Lendecke
27847e8386
Revert "s3: Consolidate getting the name out of a pipes_struct"
...
This reverts commit 9621306351cdb469ef393a6d8cbeea456bc4bd9f.
2009-11-08 19:43:47 +01:00
Volker Lendecke
47455b4d1a
Revert "s3: Do not reference the ndr_tables in the server calls directly"
...
This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761.
2009-11-08 19:43:46 +01:00
Volker Lendecke
82c35e460e
Revert "s3: Do not reference ndr_table when calling rpc_srv_register"
...
This reverts commit 494b2aff8826947e3bd556aecb175746163da485.
2009-11-08 19:43:46 +01:00
Volker Lendecke
494b2aff88
s3: Do not reference ndr_table when calling rpc_srv_register
2009-11-08 13:12:15 +01:00
Volker Lendecke
98fb71782e
s3: Do not reference the ndr_tables in the server calls directly
...
This involves storing the interface table in the pipes_struct
2009-11-08 13:12:14 +01:00
Volker Lendecke
9621306351
s3: Consolidate getting the name out of a pipes_struct
2009-11-08 13:12:14 +01:00
Volker Lendecke
daa964013b
s3: Do not reference ndr_table_<pipe> in the cli_ routines directly
2009-11-08 13:12:13 +01:00
Volker Lendecke
70c698fd54
s3: Do not directly reference the ndr_table_* in rpcclient
2009-11-08 00:28:36 +01:00
Volker Lendecke
cd16e38e32
s3: Register the ndr_interfaces dynamically
2009-11-07 09:14:16 +01:00