summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-148/+148
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 typesAndrew Bartlett1-57/+57
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-20Fix bug #7410 - samba sends "raw" inode number as uniqueid with unix ↵Jeremy Allison1-0/+1
extensions. Move to a consistent get_FileIndex() function for all inode returns, that checks if st_dev on the file is identical to the top directory dev_t of the exported share, and if so uses the raw 64-bit inode number. If it isn't (we've traversed a mount point) - return what we used to do for Windows which is the concatination of the bottom 32-bits of the inode with the 32-bit device number. We can get more creative with this over time (hashing?) if we want as now all inode returns go through this single function. Jeremy.
2010-05-20s3-libads: add ads_set_sasl_wrap_flags().Günther Deschner1-0/+1
Guenther
2010-05-20s3-build: add missing prototype for regtype_by_string().Günther Deschner1-0/+1
Guenther
2010-05-18Implement missing info level SMB_FILE_LINK_INFORMATION.Jeremy Allison1-1/+3
Fix bug #7435 - SMB2 hardlink fails (invalid level). Found at the Microsoft plugsharing plugfest. Jeremy.
2010-05-18s3-passdb: move get_logon_hours_from_pdb() into samr server.Günther Deschner1-2/+1
Guenther
2010-05-18s3-rpc_client: move protos to init_samr.hGünther Deschner1-9/+0
Guenther
2010-05-18s3-rpc_client: move protos to init_spoolss.hGünther Deschner1-13/+0
Guenther
2010-05-18s3-rpc_client: move protos to cli_spoolss.hGünther Deschner1-125/+0
Guenther
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner1-44/+0
Guenther
2010-05-18s3-rpc_client: move protos to cli_netlogon.hGünther Deschner1-49/+0
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner1-33/+0
Guenther
2010-05-18s3:split secrets.c to put machine account secrets in a new fileAndrew Bartlett1-7/+7
This helps the s3compat effort by allowing these functions to be replaced by functions that query the cli_credentials and secrets.ldb APIs. Also, this changes a couple of DOM_SID to struct dom_sid along the way. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Removed the Phantom DeviceMode.Simo Sorce1-3/+0
This was a hack that required a special client from HP. The client code has never been released and was discontinued, so this code was just dead weight. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Create a spoolss_map_to_os2_driver function.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-35/+35
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner1-3/+3
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner1-2/+2
Guenther
2010-05-18s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner1-6/+6
Guenther
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-8/+4
2010-05-17Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code.Jeremy Allison1-0/+1
Jeremy.
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-221/+0
Guenther
2010-05-18s3-samr: move samr helper prototypes outside of proto.hGünther Deschner1-40/+0
Guenther
2010-05-17s3-libgpo: move group policy protos to where they belong.Günther Deschner1-78/+0
Guenther
2010-05-17s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().Günther Deschner1-1/+2
Guenther
2010-05-14Make pcap headers privateSimo Sorce1-34/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14Move standard printcap parsing to print_standard.cSimo Sorce1-0/+4
Signed-off-by: Günther Deschner <gd@samba.org>
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-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 Allison1-16/+16
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 Deschner1-36/+0
where required. Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-18/+0
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 Allison1-0/+6
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: use generated rap header.Günther Deschner1-3/+6
Guenther
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>