summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2010-05-13s3:auth Make get_ntlm_challenge more like Samba4Andrew Bartlett1-2/+2
This helps with the upcoming NTLMSSP merge, and allows errors to be returned. Andrew Bartlett
2010-05-11s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATAAndrew Bartlett1-15/+2
All the callers just want the PAC_LOGON_INFO, so search for that in ads_verify_ticket(), and don't bother the callers with the rest of the PAC. This change makes sense on it's own (removing boilerplate wrappers that just confuse the code), but it also makes it much easier to implement a matching ads_verify_ticket() function in Samba4 for the s3compat proposal. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-09s3-proto: add missing protoype for dcerpc_fault_to_nt_status().Günther Deschner1-0/+1
Guenther
2010-05-09s3-spoolss: Make spoolss_Time_to_time_t public.Simo Sorce1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-08s3: move BASE_RID to main includes.h (in preparation to separate passdb).Günther Deschner2-2/+2
Guenther
2010-05-08s3-passdb: moving account_pol.c into passdb.Günther Deschner1-1/+1
Guenther
2010-05-07This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> ↵Jeremy Allison2-20/+20
smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. Jeremy.
2010-05-07Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them ↵Jeremy Allison1-2/+5
next :-). Jeremy.
2010-05-06s3-spoolss: make several notify functions static.Günther Deschner1-69/+0
Guenther
2010-05-06s3-eventlog: move all eventlog headers to lib/eventlog and only include ↵Günther Deschner3-78/+0
where required. Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner4-46/+2
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-05-05s3-spoolss: Added a generic spoolss_create_default_secdesc function.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added a function to create a default spoolss_DeviceMode.Andreas Schneider1-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.Andreas Schneider1-1/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-30Plumb the SMB2 front end into the blocking lock backend.Jeremy Allison2-0/+13
Metze, you'll probably be happier with this work as it doesn't abuse tevent in the way you dislike. This is a first cut at the code, which will need lots of testing but I'm hoping this will give people an idea of where I'm going with this. Jeremy.
2010-04-29Carefully label SMB1-specific locking calls.Jeremy Allison1-3/+3
Jeremy.
2010-04-28Connect set security descriptor into SMB2 code.Jeremy Allison1-0/+2
Jeremy.
2010-04-28s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).Günther Deschner1-1/+2
Guenther
2010-04-28s3-lanman: remove unsupported print_job_set_place().Günther Deschner1-1/+0
Guenther
2010-04-27s3: use shared registry functions.Günther Deschner1-2/+2
Guenther
2010-04-26Plumb in get_nt_acl into SMB2.Jeremy Allison1-0/+7
Jeremy.
2010-04-26s3: remove unused rap.h.Günther Deschner2-507/+0
Guenther
2010-04-26s3: use generated rap header.Günther Deschner1-3/+6
Guenther
2010-04-23s3-smbd: group print relate data in own structureSimo Sorce1-2/+8
2010-04-23Allow smb2 create requests to be cancelled.Jeremy Allison1-3/+6
Jeremy.
2010-04-23s3-spoolss: Move info_ctr conversion to a public helper.Simo Sorce1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Use const values for notify functions.Andreas Schneider1-6/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-time: Added a function to get the startup time of the server.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-22Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.Jeremy Allison1-1/+1
Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy.
2010-04-13Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison1-1/+4
those the client asked for. This fixes a bug when using encrypted transport and DFS links. Found by my basic DFS torture test, which I'll check in next. Testing *rocks* :-). Jeremy.
2010-04-13s3: Cache the username map in gencacheVolker Lendecke1-0/+1
This is for uses with a heavy-weight username map script
2010-04-12Move to using 64-bit mid values in our internal open file database.Jeremy Allison2-31/+48
This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy
2010-04-12s3: Apply some constVolker Lendecke1-3/+5
2010-04-11s3: Move [make|free]_user_info to auth/user_info.cVolker Lendecke1-0/+14
2010-04-11s3: Move sanitize_username to lib/util_str.cVolker Lendecke1-0/+1
2010-04-11s3: Move make_server_info to auth/server_info.cVolker Lendecke1-0/+4
2010-04-11s3: Make check_sam_security publicVolker Lendecke1-0/+4
2010-04-11[Bug 7345] Incomplete description of function return values in libsmbclient.hDerrell Lipman1-8/+14
- Fixed documentation on smbc_fstat(), smbc_statvfs(), and smbc_fstatvfs(): All were missing return value upon success - Fixed documentation on smbc_read: Documented return value upon EOF Derrell
2010-04-11s3: Make "auth_context" its own talloc parentVolker Lendecke1-1/+0
Remove "mem_ctx" from "struct auth_context"
2010-04-09Plumb SMB2 stubs into all the places we defer SMB1 operations.Jeremy Allison2-5/+10
Rename functions to be internally consistent. Next step is to cope queueing single (non-compounded) SMB2 requests to put some code inside the stubs. Jeremy.
2010-04-09s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner1-4/+8
Guenther
2010-04-08Stop smb2 from calling into smb1 blocking lock request code.Jeremy Allison1-0/+6
Allocate a uint16_t internal SMB1 mid for an SMB2 request. Add a back pointer from the faked up smb_request struct to the smb2 request. Getting ready to add restart code for blocking locks, share mode violations and oplocks in SMB2. Jeremy.
2010-04-08Fix bug #7339 - MSDFS is non-functional in 3.5.xJeremy Allison1-0/+1
In the refactoring around filename_convert, the split between the functions resolve_dfspath() and resolve_dfspath_wcard() was lost, leaving us only with resolve_dfspath_wcard(). Internally resolve_dfspath_wcard() calls dfs_redirect() only with a "allow_wcards" flag of true, wheras the old resolve_dfspath() would call with a value of false. The loss of this case causes dfs_redirect to always masquerade DFS links as directories, even when they are being queried directly by a trans2 QPATHINFO call. We should only masquerade DFS links as directories when called from a SMBsearch or trans2 findfirst/findnext - which was the intent of the "allow_wcards" flag. This patch adds back an allow_wcards bool parameter to resolve_dfspath_wcard(). This bool is set from the state of the ucf_flags when filename_convert() is called. I will follow this up with a new smbclient-based torture test that will prevent us from ever regressing our DFS support again. Jeremy.
2010-04-07s3: Fix bug 7327 -- Build fails while building without kerberosVolker Lendecke1-5/+6
libsmb/clikrb5.c has a dummy implementation for the non-kerberos case
2010-04-06Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".Jeremy Allison1-0/+3
Set to 64k by default. Jeremy.
2010-04-05Fix issue with aio where r/w lock wasn't kept across aio read operations.Jeremy Allison1-2/+2
Change schedule_aio_read_and_X/schedule_aio_write_and_X to return NTSTATUS. Move the grant and release of the lock into the aio code. Jeremy
2010-04-01Move initialize_async_io_handler() inside of smbd/aio.c.Jeremy Allison1-1/+0
Call from actual aio read or write. No reason to call this globally on startup. Jeremy.
2010-03-30Fix for bug #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison1-0/+1
Contains for by Sebastian Kloska <oncaphillis@snafu.de>. Submitter confirms this fixes the problem. Jeremy.
2010-03-29s3:rpc_client: remove more unused codeStefan Metzmacher1-4/+0
metze
2010-03-29s3:rpc_client: add set_timeout hook to rpc_cli_transportStefan Metzmacher1-0/+1
metze