summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2010-06-07s3-privileges: use LUID defines from lsa IDL.Günther Deschner1-3/+3
Guenther
2010-06-04Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). SimplifiesJeremy Allison1-1/+1
the code and eliminates find_aio_ex(). Jeremy.
2010-06-04s3-rpc: Create a file with all functions for a internal named pipe.Andreas Schneider1-0/+4
This makes it possible to use the samr rpc server in winbind without linking in smbd. Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-03s3-build: only include generated spoolss headers (not ndr headers).Günther Deschner1-2/+0
Guenther
2010-06-03s3: remove unused librpc/ndr/sid.c.Günther Deschner1-4/+0
Guenther
2010-06-02s3: Allow previous password to be stored and use it to check ticketsMatthieu Patou1-0/+1
This patch is to fix bug 7099. It stores the current password in the previous password key when the password is changed. It also check the user ticket against previous password. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-01s3: remove unused prototype for lp_idmap_domains().Michael Adam1-1/+0
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