summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* s3: Make guest_user_info() staticVolker Lendecke2010-02-051-1/+0
|
* Change uint_t to unsigned int in source3Matt Kraai2010-02-021-4/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Fix bug #7079 - cliconnect gets realm wrong with trusted domains.Jeremy Allison2010-01-301-0/+2
| | | | | | | | | | | Passing NULL as dest_realm for cli_session_setup_spnego() was always using our own realm (as for a NetBIOS name). Change this to look for the mapped realm using krb5_get_host_realm() if the destination machine name is a DNS name (contains a '.'). Could get fancier with DNS name detection (length, etc.) but this will do for now. Jeremy.
* Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to ↵Jeremy Allison2010-01-261-1/+2
| | | | | | | | | respond to a read or write. Only works on Linux kernels 2.6.26 and above. Grants CAP_KILL capability to allow Linux threads under different euids to send signals to each other. Jeremy.
* s3-libsmbclient: Add smbc_setOptionUseCCache()Volker Lendecke2010-01-241-0/+11
| | | | | | | Can we enable this by default? This would be a change in behaviour, but this feature is just too cool for everyone to catch up in the apps. The patch would be
* s3: Add CLI_FULL_CONNECTION_USE_CCACHEVolker Lendecke2010-01-241-0/+1
|
* s3: Add -C (--use-ccache) to popt_common_credentialsVolker Lendecke2010-01-242-0/+4
|
* s3: Add ccache use to cli_session_setup_ntlmsspVolker Lendecke2010-01-241-0/+1
|
* s3: Add NTLMSSP_FEATURE_CCACHEVolker Lendecke2010-01-241-0/+2
| | | | Uses the winbind ccache to do authentication if asked to do so
* s3: Remove string_sid_tallocVolker Lendecke2010-01-231-1/+0
| | | | All but one call were pointless, so I think this API should go
* s3: Make "init_smb_request" static to process.cVolker Lendecke2010-01-211-4/+0
|
* s3: Move "yesno" to the only place where it is used: client.cVolker Lendecke2010-01-211-1/+0
|
* s3:smbldap: add smbldap_talloc_first_attribute()Stefan Metzmacher2010-01-141-0/+3
| | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit c992127f8a96c37940a6d298c7c6859c47f83d9b)
* Fix bug #6876 - Delete of an object whose parent folder does not have delete ↵Jeremy Allison2010-01-121-0/+1
| | | | | | | | | | rights fails even if the delete right is set on the object. Final fix for the vfs_acl_xattr and vfs_acl_tdb code. Ensure we can delete a file even if the underlying POSIX permissions don't allow it, if the Windows permissions do. Jeremy.
* s3: Remove unused samr_make_sam_obj_sdVolker Lendecke2010-01-101-1/+0
|
* s3: Remove the typedef for "auth_serversupplied_info"Volker Lendecke2010-01-102-10/+12
|
* s3: Remove the typedef for "auth_usersupplied_info"Volker Lendecke2010-01-102-11/+11
|
* s3: Factor password_in_history() out of check_passwd_history()Volker Lendecke2010-01-071-0/+3
|
* s3:lib/time: remoce null_mtime() - use null_time()Björn Jacke2010-01-071-1/+0
|
* s3:lib/time: remove unused nt_time_equalsBjörn Jacke2010-01-071-1/+0
| | | | we have nt_time_equal doing the same in lib/util/
* 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: Happy New Year 2010Stefan Metzmacher2010-01-041-1/+1
| | | | metze
* 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: change get_challange() to return NTSTATUSStefan Metzmacher2009-12-291-2/+2
| | | | metze
* s3:ntlmssp: remove unused ntlmssp_stored_response()Stefan Metzmacher2009-12-292-7/+0
| | | | metze
* s3:ntlmssp: remove unused ref_count from ntlmssp_stateStefan Metzmacher2009-12-291-1/+0
| | | | metze
* s3:ntlmssp: fix whitespace in ntlmssp.hStefan Metzmacher2009-12-291-1/+1
| | | | metze
* s3:ntlmssp: fix spellingStefan Metzmacher2009-12-291-1/+1
| | | | metze
* s3:ntlmssp: rename NTLM_MESSAGE_TYPE into ntlmssp_message_typeStefan Metzmacher2009-12-291-1/+1
| | | | 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: only include ntlmssp.h where actually neededAndrew Bartlett2009-12-221-1/+3
| | | | Andrew Bartlett
* s3:ntlmssp: remove the typedef NTLMSSP_STATEAndrew Bartlett2009-12-223-24/+24
| | | | Andrew Bartlett
* s3:ntlmssp: move to C99 integer types in ntlmssp.hAndrew Bartlett2009-12-221-5/+5
| | | | Andrew Bartlett
* s3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_roleAndrew Bartlett2009-12-221-2/+2
| | | | Andrew Bartlett
* s3: Move smb_splice_chain to smbd/process.c, its only userVolker Lendecke2009-12-221-5/+0
|
* Rename reply_doserror() -> reply_force_doserror().Jeremy Allison2009-12-212-2/+2
| | | | | | | 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-182-3/+0
| | | | Jeremy.
* Final part of the fix for 6837 - "Too many open files" when trying to access ↵Jeremy Allison2009-12-161-12/+12
| | | | | | | | | large number of files Win7 needs a min of 16k file handles to work against a server. 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.
* Fix bug #6837 - "Too many open files" when trying to access large number of ↵Jeremy Allison2009-12-021-1/+19
| | | | | | | | files from Windows 7. Original patch by me fixed up with the correct open files number by jmaggard10@hotmail.com. Jeremy.
* s3-spoolss: move MAXDEVICENAME to spoolss idl.Günther Deschner2009-12-021-2/+0
| | | | Guenther
* Ensure we don't see the xattr used to store NT security (visible when xattr_tdbJeremy Allison2009-12-011-2/+0
| | | | | is used). Allows make test to pass with acl_xattr.so prepended to the vfs modules. Jeremy.