summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2009-09-24vfs catia: Fix the double translation that was happening with createfile and ↵Aravind Srinivasan2-6/+13
open. Since the catia translation is implemented for open, it should not also be done in createfile. By removing createfile from catia, translation is now done correctly for the primary open path. In order to support systems that have custom createfile implementations that don't eventually call SMB_VFS_OPEN, SMB_VFS_TRANSLATE_NAME has been expanded to take an additional argument that specifies direction. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-09-23s3:gencache: Add a "was_expired" argument to gencache_get_data_blobVolker Lendecke1-1/+1
This is set to true if the routine returns failure due to an existing but expired entry.
2009-09-19libcli:nbt move prototypes of lmhosts functions to libnbt.hAndrew Bartlett1-4/+0
2009-09-17We now pass the Microsoft SMB2 fileio test with EA's and streams...Jeremy Allison1-0/+1
Jeremy.
2009-09-17spnego: share spnego_parse.Günther Deschner4-88/+6
Guenther
2009-09-16s3-netlogon: support validation level 6 in netr_SamLogon calls.Günther Deschner1-0/+4
Guenther
2009-09-16s3-dcerpc: remove more obsolete or duplicate headers.Günther Deschner2-44/+2
Guenther
2009-09-16s3-schannel: remove unused schannel_decode/schannel_encode.Günther Deschner1-7/+0
Guenther
2009-09-16schannel: fully share schannel sign/seal between s3 and 4.Günther Deschner3-3/+3
Guenther
2009-09-15libcli:nbt put util_net.c protos in new header fileAndrew Bartlett1-0/+1
This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett
2009-09-15s3-dcerpc: remove unsed auth type defines as seen on the wire.Günther Deschner1-13/+0
Guenther
2009-09-15s3-dcerpc: remove more unused structs.Günther Deschner1-12/+0
Guenther
2009-09-15s3-dcerpc: remove duplicate RPC_AUTH_LEVEL flags.Günther Deschner1-9/+0
Guenther
2009-09-15s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner3-20/+13
Guenther
2009-09-15libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett1-9/+0
This starts the process to have Samba4 use lmhosts. Andrew Bartlett
2009-09-14Fix bug 6494 - Incorrect FileStatus returned in NT_CREATE_ANDX.Jeremy Allison1-0/+9
Lookup the EA and Stream status on CreateX. Jeremy.
2009-09-14s3-rpc_client: add rpccli_lsa_lookup_sids3 wrapper.Günther Deschner1-0/+8
Guenther
2009-09-14s3-rpc_client: add rpccli_lsa_lookup_names4 wrapper.Günther Deschner1-0/+9
Guenther
2009-09-11s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel().Günther Deschner1-0/+3
Guenther
2009-09-11s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp ↵Günther Deschner1-0/+2
and cli_rpc_pipe_open_ntlmssp. Guenther
2009-09-11s3-rpc_client: add cli_rpc_pipe_open_noauth_transport.Günther Deschner1-0/+4
Guenther
2009-09-11s3-schannel: remove last schannel hand-marshalling function.Günther Deschner1-3/+0
Guenther
2009-09-11s3-schannel: use NL_AUTH_SIGNATURE for schannel sign & seal (client & server).Günther Deschner2-2/+3
Guenther
2009-09-11s3-schannel: remove unused code.Günther Deschner2-12/+0
Guenther
2009-09-11s3-util: add get/set_cmdline_auth_info_domain to user_auth_info struct.Günther Deschner2-0/+4
Guenther
2009-09-11s3-rpc_client: add enum dcerpc_transport_t to rpc_cli_transport struct.Günther Deschner1-0/+2
Guenther
2009-09-08s3: remove unused RPC_AUTH_SCHANNEL_NEG struct and parsing functions.Günther Deschner2-14/+0
Guenther
2009-09-08s3-schannel: Fix Bug #6697. Interdomain trusts with Windows 2008 R2 DCs.Günther Deschner1-1/+1
The Schannel verifier (aka NL_AUTH_SIGNATURE) structure (32 byte) sent from a W2k8r2 DC is passed in a buffer with the size of a NL_AUTH_SHA2_SIGNATURE (56 byte). We should just ignore the remaining 12 zeroed bytes and proceed. Guenther
2009-09-06Fix bug 6673 - smbpasswd does not work with "unix password sync = yes".Jeremy Allison1-1/+1
Revert change from 3.3 -> 3.4 with read_socket_with_timeout changed from sys_read() to sys_recv(). read_socket_with_timeout() is called with non-fd's (with a pty in chgpasswd.c and with a disk file in lib/dbwrap_file.c via read_data()). recv works for the disk file, but not the pty. Change the name of read_socket_with_timeout() to read_fd_with_timeout() to make this clear (and add comments). Jeremy.
2009-08-28s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAMEAravind Srinivasan3-1/+16
This vop is designed to work in tandem with SMB_VFS_READDIR to allow vfs modules to make modifications to arbitrary filenames before they're consumed by callers. Subsequently the core directory enumeration code in smbd is now changed to free the memory that may be allocated in a module. This vop enables the new version of catia in the following patch. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner3-32/+1
Guenther
2009-08-27s3:smbd: add is_fake_file_path() that takes only the raw path as stringStefan Metzmacher1-0/+1
metze
2009-08-27s3-ntlmssp: remove trailing whitespace.Günther Deschner1-12/+12
Guenther
2009-08-27s3-schannel: remove remaining code that was using "struct dcinfo".Günther Deschner2-25/+0
Guenther
2009-08-27s3-credentials: remove unused code.Günther Deschner2-19/+0
Guenther
2009-08-27s3-netlogon: use shared credential and schannel storage infrastructure for ↵Günther Deschner1-0/+3
netlogon server. Guenther
2009-08-27s3-schannel: add simple wrappers to fetch and store schannel auth info.Günther Deschner1-0/+8
Guenther
2009-08-27s3-schannel: make open_schannel_session_store() public.Günther Deschner1-0/+1
Guenther
2009-08-26s3/smbd: open the share_info.tdb on startup instead of tconxSteven Danneman1-0/+1
This is a small performance optimization. Instead of opening the tdb on every smb connection in the forked child process, we now open it in the parent and share the fd. This also reduces the total fd usage in the system.
2009-08-26Add a parameter to disable the automatic creation of krb5.conf filesVolker Lendecke1-0/+1
This is necessary because MIT 1.5 can't deal with certain types (Tree Root) of transitive AD trusts. The workaround is to add a [capaths] directive to /etc/krb5.conf, which we don't automatically put into the krb5.conf winbind creates. The alternative would have been something like a "krb5 conf include", but I think if someone has to mess with /etc/krb5.conf at this level, it should be easy to add the site-local KDCs as well. Next alternative is to correctly figure out the [capaths] parameter for all trusted domains, but for that I don't have the time right now. Sorry :-)
2009-08-25Add some const to dsgetdcnameVolker Lendecke1-1/+1
2009-08-24Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵Jeremy Allison5-13/+23
Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy.
2009-08-24Second part of fix for 6529 - Offline files conflict with Vista and Office 2003.Jeremy Allison1-0/+1
ext4 may be able to store ns timestamps, but the only API to *set* timestamps takes usec, not nsec. Round to usec on set requests. Jeremy.
2009-08-21Fix bug 6529 - Offline files conflict with Vista and Office 2003Jeremy Allison2-0/+4
On filesystems that can't store less than one second timestamps, round the incoming timestamp set requests so the client can't discover that a time set request has been truncated by the filesystem. Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0. Jeremy
2009-08-21Add missing CreateFile flags to smb.hSteve French1-1/+12
2009-08-19s3:smbd: store a dirptr on the files_struct for SMB2 Query DirectoryStefan Metzmacher1-0/+2
metze
2009-08-16s3: Add talloc_dict.[ch]Volker Lendecke2-0/+61
2009-08-12Add "store create time" parameter (docs to follow)Jeremy Allison2-2/+12
that stores the create time in the user.DosTimestamps EA. Jeremy.
2009-08-12s3: refomat definitions of some generic access rights for better readabilityMichael Adam1-8/+19
Michael
2009-08-10Refactor the use of create_time and change time to goJeremy Allison1-0/+6
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy.