summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2009-11-23Revert "s3: Make the implicit reference to Protocol in mask_match() explicit"Volker Lendecke1-2/+1
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.
2009-11-23Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵Volker Lendecke1-2/+1
explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78.
2009-11-23Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit"Volker Lendecke1-2/+1
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3.
2009-11-23Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵Volker Lendecke1-2/+1
explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.
2009-11-23Revert "s3: Move the global variable Protocol to struct smbd_server_connection"Volker Lendecke1-2/+2
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea.
2009-11-23s3-printing: use spoolss types and structs while getting and deleting drivers.Günther Deschner1-6/+9
Guenther
2009-11-23s3-printing: use spoolss types and structs while adding drivers.Günther Deschner1-5/+7
Guenther
2009-11-21s3: Remove a struct typedefVolker Lendecke1-1/+1
2009-11-21s3: Make alloc_sub_basic() staticVolker Lendecke1-2/+0
2009-11-21s3: Move the global variable Protocol to struct smbd_server_connectionVolker Lendecke1-2/+2
2009-11-21s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicitVolker Lendecke1-1/+2
2009-11-21s3: Make the implicit reference to Protocol in is_in_path() explicitVolker Lendecke1-1/+2
2009-11-21s3: Make the implicit reference to Protocol in mask_match_list() explicitVolker Lendecke1-1/+2
2009-11-21s3: Make the implicit reference to Protocol in mask_match() explicitVolker Lendecke1-1/+2
2009-11-21s3: Convert cli_get_fs_attr_info to the async APIVolker Lendecke1-1/+5
2009-11-21s3: Cache brlock.tdb entries for the fast read&write strict locking code pathVolker Lendecke1-2/+1
For a netbench run this gains around 2% user-space CPU, fetching a 100MB file takes around 4% less.
2009-11-19s3: Factor timeval_string out of current_timestring()Volker Lendecke1-0/+1
2009-11-18s3: Do not talloc in readdirVolker Lendecke1-3/+4
This is a hot codepath (called from the stat cache)
2009-11-17Remove "store create time" code, cause create time to be storedJeremy Allison1-5/+3
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-16Don't overwrite a dynamic pointer with the address of a stackJeremy Allison1-1/+1
variable. Jeremy.
2009-11-14s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke1-6/+9
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-14Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/Volker Lendecke1-0/+3
2009-11-14s3: Convert cli_set_unix_extensions_capabilities_send to asyncVolker Lendecke1-2/+7
2009-11-14s3:passdb: remove the uid_to_rid method - we only need uid_to_sidMichael Adam1-1/+0
Michael
2009-11-13s3: Convert cli_unix_extensions_version to asyncVolker Lendecke1-2/+10
2009-11-12Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison1-13/+0
initialize return variables. Jeremy.
2009-11-11Second part of bugfix for 6865 - acl_xattr module: Has dependency that ↵Jeremy Allison1-1/+0
inherit acls = yes or xattrs are removed. We also need dos filemode = true set as well. Jeremy.
2009-11-10s3: Convert libsmb/cli_message to the async APIVolker Lendecke1-7/+8
2009-11-10s3-chgpasswd: split out a check_password_complexity() function.Günther Deschner1-0/+3
Guenther
2009-11-08Revert "s3: Do not directly reference the ndr_table_* in rpcclient"Volker Lendecke1-2/+0
This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
2009-11-08Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"Volker Lendecke1-11/+5
This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a.
2009-11-08Revert "s3: Consolidate getting the name out of a pipes_struct"Volker Lendecke1-1/+0
This reverts commit 9621306351cdb469ef393a6d8cbeea456bc4bd9f.
2009-11-08Revert "s3: Do not reference ndr_table when calling rpc_srv_register"Volker Lendecke1-2/+3
This reverts commit 494b2aff8826947e3bd556aecb175746163da485.
2009-11-08s3: Do not reference ndr_table when calling rpc_srv_registerVolker Lendecke1-3/+2
2009-11-08s3: Consolidate getting the name out of a pipes_structVolker Lendecke1-0/+1
2009-11-08s3: Do not reference ndr_table_<pipe> in the cli_ routines directlyVolker Lendecke1-5/+11
2009-11-08s3: Do not directly reference the ndr_table_* in rpcclientVolker Lendecke1-0/+2
2009-11-07s3: Register the ndr_interfaces dynamicallyVolker Lendecke1-1/+4
2009-11-07s3: get_pipe_name_from_iface -> get_pipe_name_from_syntaxVolker Lendecke1-1/+2
2009-11-06Fix bug 6865 - acl_xattr module: Has dependency that inherit acls = yes or ↵Jeremy Allison1-0/+1
xattrs are removed. Jeremy.
2009-11-06s3-kerberos: add impersonate_principal for kerberos_return_pac_X calls.Günther Deschner1-0/+2
Guenther
2009-11-06s3-kerberos: remove duplicate prototype.Günther Deschner1-4/+0
Guenther
2009-11-05Got the logic simplification worked out so we still passJeremy Allison1-3/+5
BASE-DELAYWRITE and also RAW-CLOSE. Jeremy.
2009-11-05Revert commit "0551284dc08eb93ef7b2b2227a45e5ec21d482fb" - simplifyJeremy Allison1-1/+3
the logic. This was incorrect (I'll revisit this tomorrow). Jeremy.
2009-11-05Simplify the logic - remove extraneous argument and calls to ↵Jeremy Allison1-3/+1
set_close_write_time(). We were treating a file time set on close as a sticky write time set, and I don't think it is. I will add a torture test later to RAW-CLOSE to confirm this. Jeremy.
2009-11-05Get closer to an accurate model of Windows timestamp changes.Jeremy Allison1-2/+3
"Normal" non truncate writes always cause the timestamp to be set on close. Once a close is done on a handle this can reset the sticky write time to current time also. Updated smbtorture4 confirms this. Jeremy.
2009-11-05s3: Add parameter "ctdb timeout"Volker Lendecke1-0/+1
When something in the cluster blocks, it can happen that we wait indefinitely long for ctdb, just adding to the blocking condition. In theory, nothing should block, but as someone said "In practice the difference between theory and practice is larger than in theory". This adds a timeout parameter in seconds, after which we stop waiting for ctdb and panic.
2009-11-04Remove "Protocol" as an extern, and add accessor functions.Jeremy Allison1-0/+2
Jeremy.
2009-11-03s3: Remove debug_ctx()Volker Lendecke1-1/+0
smbd just crashed on me: In a debug message I called a routine preparing a string that itself used debug_ctx. The outer routine also used it after the inner routine had returned. It was still referencing the talloc context that the outer debug_ctx() had given us, which the inner DEBUG had already freed.
2009-10-28Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.SATOH Fumiyasu1-0/+9