summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2009-12-29s3:ntlmssp: change get_challange() to return NTSTATUSStefan Metzmacher1-2/+2
metze
2009-12-29s3:ntlmssp: remove unused ntlmssp_stored_response()Stefan Metzmacher2-7/+0
metze
2009-12-29s3:ntlmssp: remove unused ref_count from ntlmssp_stateStefan Metzmacher1-1/+0
metze
2009-12-29s3:ntlmssp: fix whitespace in ntlmssp.hStefan Metzmacher1-1/+1
metze
2009-12-29s3:ntlmssp: fix spellingStefan Metzmacher1-1/+1
metze
2009-12-29s3:ntlmssp: rename NTLM_MESSAGE_TYPE into ntlmssp_message_typeStefan Metzmacher1-1/+1
metze
2009-12-24s3: Remove unused delete_negative_conn_cache()Volker Lendecke1-1/+0
2009-12-24s3: Remove unused flush_negative_conn_cache()Volker Lendecke1-1/+0
2009-12-23The posix acl version of set_nt_acl() could set the stat_exJeremy Allison1-0/+4
struct in the fsp->fsp_name pointer incorrectly for a directory. Fix this. Make map_canon_ace_perms() public. Jeremy.
2009-12-22s3:ntlmssp: only include ntlmssp.h where actually neededAndrew Bartlett1-1/+3
Andrew Bartlett
2009-12-22s3:ntlmssp: remove the typedef NTLMSSP_STATEAndrew Bartlett3-24/+24
Andrew Bartlett
2009-12-22s3:ntlmssp: move to C99 integer types in ntlmssp.hAndrew Bartlett1-5/+5
Andrew Bartlett
2009-12-22s3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_roleAndrew Bartlett1-2/+2
Andrew Bartlett
2009-12-22s3: Move smb_splice_chain to smbd/process.c, its only userVolker Lendecke1-5/+0
2009-12-21Rename reply_doserror() -> reply_force_doserror().Jeremy Allison2-2/+2
Rewrite all calls to reply_nterror(NT_STATUS_DOS()) to reply_force_doserror() and update the comment in smbd/error.c Jeremy.
2009-12-18reply_force_nterror() is not used anywhere. Remove it.Jeremy Allison2-3/+0
Jeremy.
2009-12-16Final part of the fix for 6837 - "Too many open files" when trying to access ↵Jeremy Allison1-12/+12
large number of files Win7 needs a min of 16k file handles to work against a server. Jeremy.
2009-12-10s3: add prototype to fix the buildBjörn Jacke1-0/+1
2009-12-08s3-spoolss: use driver level info8 everywhere in spoolss server internally.Günther Deschner1-5/+5
Guenther
2009-12-03Refactor reply_rmdir to use handle based code. AllJeremy Allison1-3/+0
calls are now handle based. Put rmdir into close.c and make it private. Jeremy.
2009-12-02Remove unneeded argument from can_set_delete_on_close(). EnsureJeremy Allison1-2/+1
can_set_delete_on_close() is correctly called before any setting of the disposition bit (clean up the do_unlink() call). Jeremy.
2009-12-02Restructure the ACL code some more, get the internal semanticsJeremy Allison1-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.
2009-12-02s3: prefer posix_fallocate for doing "strict allocate"Björn Jacke1-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.
2009-12-02Fix bug #6837 - "Too many open files" when trying to access large number of ↵Jeremy Allison1-1/+19
files from Windows 7. Original patch by me fixed up with the correct open files number by jmaggard10@hotmail.com. Jeremy.
2009-12-02s3-spoolss: move MAXDEVICENAME to spoolss idl.Günther Deschner1-2/+0
Guenther
2009-12-01Ensure we don't see the xattr used to store NT security (visible when xattr_tdbJeremy Allison1-2/+0
is used). Allows make test to pass with acl_xattr.so prepended to the vfs modules. Jeremy.
2009-11-29s3: Restore "fake directory create times" as a share parameterVolker Lendecke1-1/+1
2009-11-29s3: Move directory_exist_stat to testparm.c, it only looks at the modeVolker Lendecke1-1/+0
2009-11-29s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers ↵Volker Lendecke1-1/+2
look at the mtime
2009-11-29s3: Pass the "fake dir create times" parameter to sys_*statVolker Lendecke1-3/+6
Step 0 to restore it as a per-share paramter
2009-11-27s3-kerberos: do not include authdata headers before including krb5 headers.Günther Deschner2-3/+0
Guenther
2009-11-27s3-kerberos: only use krb5 headers where required.Günther Deschner4-222/+239
This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner4-60/+5
samba. Guenther
2009-11-26s3-passdb: move some defines out of rpc headers (they really belong to passdb).Günther Deschner2-16/+15
Guenther
2009-11-24s3-registry: remove reg_pull_multi_sz().Günther Deschner1-2/+0
Guenther
2009-11-23Remove unused code.Jeremy Allison1-3/+0
Jeremy.
2009-11-23Proper fix for #6898 - Samba duplicates file content on appending. Pointed ↵Jeremy Allison1-0/+1
out by Volker.Restores the pathname handling for FILE_FLAG_POSIX_SEMANTICS but still prevents the O_APPEND problems. Jeremy.
2009-11-23s3:torture: move the torture-specific headers to new torture/torture.hMichael Adam1-55/+0
Michael
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 Lendecke2-2/+4
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 Lendecke2-3/+2
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea.
2009-11-23s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they ↵Günther Deschner1-67/+0
belong. Guenther
2009-11-23s3-printing: remove unused NT_PRINTER_DRIVER_INFO_LEVEL structs.Günther Deschner1-41/+0
Guenther
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 Lendecke2-3/+3
2009-11-21s3: Make alloc_sub_basic() staticVolker Lendecke1-2/+0
2009-11-21s3: Move the global variable Protocol to struct smbd_server_connectionVolker Lendecke2-2/+3