summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2010-06-01s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_infoAndrew Bartlett1-4/+4
2010-06-01s3:param Put 'server_role' functions in another file.Andrew Bartlett1-1/+5
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01s3:param Add helper function to get at Gobals.iDomainMasterAndrew Bartlett1-0/+1
This is needed for a future split out of the server_role code. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-31s3:smbd map_username() doesn't need sconn anymoreSimo Sorce1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3:smbd user_in_list() doesn't need sconn anymoreSimo Sorce1-2/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3:smbd user_in_network() doesn't need sconn anymoreSimo Sorce1-2/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.Andrew Bartlett1-23/+0
This needs a small re-arrangement of the supporting code. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()Andrew Bartlett1-0/+4
This ensures the results can't be easily left to leak. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31s3:auth Remove AUTH_NTLMSSP_STATE typedef.Andrew Bartlett1-1/+0
typedefs are no longer preferred Samba style. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31s3:auth Make AUTH_NTLMSSP_STATE a private structure.Andrew Bartlett1-3/+28
This makes it a little easier for it to writen in terms of GENSEC in future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31s3: Don't announce readraw and writeraw with the async echo responderVolker Lendecke1-0/+2
2010-05-31s3: only use netlogon/nbt header when needed.Günther Deschner1-25/+0
Guenther
2010-05-31s3: remove prototype of non-existsing function idmap_tdb_tdb_close().Michael Adam1-1/+0
2010-05-28s3:lib s3:lib move get_global_sam_name to util_names.cAndrew Bartlett1-1/+1
This doesn't really belong in util_sid.c, and has much more in common with the other functions in util_names.c Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:lib split out global workgroup and netbios name functions.Andrew Bartlett1-4/+7
Having these in their own file allows easier selective inclusion. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3-auth: Added a function to get the server_info from the system user.Andreas Schneider1-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3-build: remove duplicate ndr_krb5pac.h inclusion.Günther Deschner1-1/+0
Guenther
2010-05-28s3-rpc_client: move protos to init_netlogon.hGünther Deschner1-19/+12
Guenther
2010-05-28s3:auth add function to convert wbcAuthUserInfo to netr_SamInfo3Simo Sorce1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3:auth add function to copy a netr_SamInfo3 structureSimo Sorce1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3:auth: add function to convert samu to netr_SamInfo3Simo Sorce1-0/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-27s3:rpc_server: pass down local and remote tsocket_address to np_open()Stefan Metzmacher1-1/+3
metze
2010-05-27s3:rpc_server: add np_read_in_progress() functionStefan Metzmacher1-0/+1
metze
2010-05-26s3-samr: move chgpasswd.c out of smbd and into the samr server.Günther Deschner1-14/+0
Guenther
2010-05-26s3-smbd: remove unused change/check_lanman_password.Günther Deschner1-9/+0
Guenther
2010-05-26s3-rpc_server: Created a per connection spoolss pipe.Simo Sorce1-0/+2
This way all code can reuse the same connection to spoolss and not have to deal with the creation of a new pipe all over the code every time we need to ask a service off spoolss. Signed-off-by: Günther Deschner <gd@samba.org>
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