summaryrefslogtreecommitdiffstats
path: root/source3/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume ↵Bo Yang2010-01-061-0/+5
| | | | | | lsa_pipe_tcp is ok but network is down, then send request is ok, but select() on writeable fds loops forever since there is no response. Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Convert cli_ulogoff to the async APIVolker Lendecke2010-01-031-1/+5
|
* s3: Convert cli_tdis to the async APIVolker Lendecke2010-01-031-1/+5
|
* s3:ntlmssp: remove unused ntlmssp_stored_response()Stefan Metzmacher2009-12-291-2/+0
| | | | metze
* s3: Remove unused delete_negative_conn_cache()Volker Lendecke2009-12-241-1/+0
|
* s3: Remove unused flush_negative_conn_cache()Volker Lendecke2009-12-241-1/+0
|
* The posix acl version of set_nt_acl() could set the stat_exJeremy Allison2009-12-231-0/+4
| | | | | | | | struct in the fsp->fsp_name pointer incorrectly for a directory. Fix this. Make map_canon_ace_perms() public. Jeremy.
* s3:ntlmssp: remove the typedef NTLMSSP_STATEAndrew Bartlett2009-12-221-20/+20
| | | | Andrew Bartlett
* Rename reply_doserror() -> reply_force_doserror().Jeremy Allison2009-12-211-1/+1
| | | | | | | Rewrite all calls to reply_nterror(NT_STATUS_DOS()) to reply_force_doserror() and update the comment in smbd/error.c Jeremy.
* reply_force_nterror() is not used anywhere. Remove it.Jeremy Allison2009-12-181-2/+0
| | | | Jeremy.
* s3: add prototype to fix the buildBjörn Jacke2009-12-101-0/+1
|
* s3-spoolss: use driver level info8 everywhere in spoolss server internally.Günther Deschner2009-12-081-5/+5
| | | | Guenther
* Refactor reply_rmdir to use handle based code. AllJeremy Allison2009-12-031-3/+0
| | | | | | calls are now handle based. Put rmdir into close.c and make it private. Jeremy.
* Remove unneeded argument from can_set_delete_on_close(). EnsureJeremy Allison2009-12-021-2/+1
| | | | | | can_set_delete_on_close() is correctly called before any setting of the disposition bit (clean up the do_unlink() call). Jeremy.
* Restructure the ACL code some more, get the internal semanticsJeremy Allison2009-12-021-0/+1
| | | | | | | | | | | | | | | | | right. The previous bugs were due to the fact that get_nt_acl_internal() could return an NTSTATUS error if there was no stored ACL blob, but otherwise would return the underlying ACL from the filysystem. Fix this so it always returns a valid acl if it can, and if it does not its an error to be reported back to the client. This then changes the inherit acl code. Previously we were trying to match Windows by setting a minimal ACL on a new file that didn't inherit anything from a parent directory. This is silly - the returned ACL wouldn't match the underlying UNIX permissions. The current code will correctly inherit from a parent if a parent has any inheritable ACE entries that apply to the new object, but will return a mapping from the underlying UNIX permissions if the parent has no inheritable entries. This makes much more sense for new files/directories. Jeremy.
* s3: prefer posix_fallocate for doing "strict allocate"Björn Jacke2009-12-021-0/+1
| | | | | | | | | | | | | | | | posix_fallocate is more efficient than manual zero'ing the file. When preallocation in kernel space is supported it's extremely fast. Support for preallocation at fs layer via posix_fallocate and fallocate at kernel site can be found in Linux kernel 2.6.23/glibc 2.10 with ext4, XFS and OCFS2. Other systems that I know of which support fast preallocation in kernel space are AIX 6.1 with JFS2 and recent Solaris versions with ZFS maybe UFS2, too. People who have a system with preallocation in kernel space might want to set "strict allocate = yes". This reduces file fragentation and it's also safer for setups with quota being turned on. As of today most systems still don't have preallocation in kernel space, and that's why "strict allocate = no" will stay the default for now.
* s3: Restore "fake directory create times" as a share parameterVolker Lendecke2009-11-291-1/+1
|
* s3: Move directory_exist_stat to testparm.c, it only looks at the modeVolker Lendecke2009-11-291-1/+0
|
* s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers ↵Volker Lendecke2009-11-291-1/+2
| | | | look at the mtime
* s3: Pass the "fake dir create times" parameter to sys_*statVolker Lendecke2009-11-291-3/+6
| | | | Step 0 to restore it as a per-share paramter
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-15/+3
| | | | | | samba. Guenther
* s3-registry: remove reg_pull_multi_sz().Günther Deschner2009-11-241-2/+0
| | | | Guenther
* Remove unused code.Jeremy Allison2009-11-231-3/+0
| | | | Jeremy.
* s3:torture: move the torture-specific headers to new torture/torture.hMichael Adam2009-11-231-55/+0
| | | | Michael
* Revert "s3: Make the implicit reference to Protocol in mask_match() explicit"Volker Lendecke2009-11-231-2/+1
| | | | This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.
* Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵Volker Lendecke2009-11-231-2/+1
| | | | | | explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78.
* Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit"Volker Lendecke2009-11-231-2/+1
| | | | This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3.
* Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵Volker Lendecke2009-11-231-2/+1
| | | | | | explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.
* Revert "s3: Move the global variable Protocol to struct smbd_server_connection"Volker Lendecke2009-11-231-2/+2
| | | | This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea.
* s3-printing: use spoolss types and structs while getting and deleting drivers.Günther Deschner2009-11-231-6/+9
| | | | Guenther
* s3-printing: use spoolss types and structs while adding drivers.Günther Deschner2009-11-231-5/+7
| | | | Guenther
* s3: Remove a struct typedefVolker Lendecke2009-11-211-1/+1
|
* s3: Make alloc_sub_basic() staticVolker Lendecke2009-11-211-2/+0
|
* s3: Move the global variable Protocol to struct smbd_server_connectionVolker Lendecke2009-11-211-2/+2
|
* s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicitVolker Lendecke2009-11-211-1/+2
|
* s3: Make the implicit reference to Protocol in is_in_path() explicitVolker Lendecke2009-11-211-1/+2
|
* s3: Make the implicit reference to Protocol in mask_match_list() explicitVolker Lendecke2009-11-211-1/+2
|
* s3: Make the implicit reference to Protocol in mask_match() explicitVolker Lendecke2009-11-211-1/+2
|
* s3: Convert cli_get_fs_attr_info to the async APIVolker Lendecke2009-11-211-1/+5
|
* s3: Cache brlock.tdb entries for the fast read&write strict locking code pathVolker Lendecke2009-11-211-2/+1
| | | | | For a netbench run this gains around 2% user-space CPU, fetching a 100MB file takes around 4% less.
* s3: Factor timeval_string out of current_timestring()Volker Lendecke2009-11-191-0/+1
|
* s3: Do not talloc in readdirVolker Lendecke2009-11-181-3/+4
| | | | This is a hot codepath (called from the stat cache)
* Remove "store create time" code, cause create time to be storedJeremy Allison2009-11-171-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.
* Don't overwrite a dynamic pointer with the address of a stackJeremy Allison2009-11-161-1/+1
| | | | | variable. Jeremy.
* s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke2009-11-141-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.
* Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/Volker Lendecke2009-11-141-0/+3
|
* s3: Convert cli_set_unix_extensions_capabilities_send to asyncVolker Lendecke2009-11-141-2/+7
|
* s3:passdb: remove the uid_to_rid method - we only need uid_to_sidMichael Adam2009-11-141-1/+0
| | | | Michael
* s3: Convert cli_unix_extensions_version to asyncVolker Lendecke2009-11-131-2/+10
|
* Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison2009-11-121-13/+0
| | | | | initialize return variables. Jeremy.