summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2008-06-28Let send_trans_reply work on only the inbufVolker Lendecke1-1/+1
It does not really need the whole smb_request (This used to be commit d3facf4cbdb2915168e91d64c2d8320f67524df8)
2008-06-28Factor out create_outbuf, creating an outbuf just given an inbufVolker Lendecke1-0/+2
(This used to be commit 50427cbf6345d3f671e9ea321089c4b4244df972)
2008-06-27libads: Add API call to connect to a global catalog server.Gerald W. Carter1-1/+0
Extends ads_connect() to a new call ads_connect_gc() which connects on port 3268 rather than port 389. Also makes ads_try_connect() static and only used internally to ldap.c (This used to be commit f4c37dbe2c986fb7bfe510cdff3b4a9fbc06d079)
2008-06-26Remove current_user reference from printfsp.cVolker Lendecke1-1/+1
(This used to be commit 510f45d01a19ce1c226755ac42a328241098b2e0)
2008-06-26Change print_access_check to take auth_serversupplied_info instead of ↵Volker Lendecke1-8/+16
current_user Reason: This is the main user of p->current_user which I would like to remove (This used to be commit fd43059b3dfa8cdac9814de1c76f963ba5de9bcb)
2008-06-26Add server_info to pipes_structVolker Lendecke1-0/+2
(This used to be commit d621867bb8767e1c4236d28dd9294a61db6cbb10)
2008-06-25rpc_client: add rpccli_samr_chgpasswd_user() call.Günther Deschner1-0/+5
Guenther (This used to be commit 10fd2baa8320f96286d53b677cf38f3ca3aa88a7)
2008-06-25rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.Günther Deschner1-7/+7
Guenther (This used to be commit b1209a039b45985e0b28777e04cba5bcc3de061e)
2008-06-25rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.Günther Deschner1-5/+5
Guenther (This used to be commit 5b4650d56c04be0c498413f17afb2cf6d0e7d548)
2008-06-25rpc_client: let cli_get_session_key() return talloced session key.Günther Deschner1-1/+2
Thanks, Volker, for pointing this out. Guenther (This used to be commit b47899195e0c190445953243fe80da4e92994dd1)
2008-06-24rpc_client: add cli_get_session_key().Günther Deschner1-0/+3
Guenther (This used to be commit 93b56755f739889da3a67b18a6430b14306d84f7)
2008-06-24crypto: add decrypt_drsuapi_blob from samba4.Günther Deschner1-0/+5
Guenther (This used to be commit 3b6352a60e6683963af1641786f9c230d49ebfb5)
2008-06-24libads: add ads_connect_user_creds() that won't overwrite given user creds.Günther Deschner1-0/+1
Guenther (This used to be commit 026018c9f1ed0680b3ca5b26dd6b8dc466e27e0d)
2008-06-23time: move uint64s_nt_time_to_unix_abs() to lib/time.cGünther Deschner1-0/+1
Guenther (This used to be commit 58f54f180f0a942776455ab6e813628422493dac)
2008-06-22Remove the "exists" parameter from create_msdfs_linkVolker Lendecke1-2/+1
Jeremy, setting "exists" to True in _dfs_Add prevented the initial creation of a new symlink for me, because the SMB_VFS_UNLINK failed. This also exists in 3.2. I only check it into 3.3 as I would like you to look at it first. Thanks, Volker (This used to be commit f58b098a4172949018e84c4d0c722d6eb9bba514)
2008-06-19Remove current_user references from trans2.cVolker Lendecke1-0/+2
This involved replacing the CHECK_NTQUOTA_HANDLE_OK macro by a function. (This used to be commit 5595cdf837edb82db69a3e57bcf3108be7feeeb8)
2008-06-19Remove the "current_user" arg from fsp_belongs_connVolker Lendecke1-1/+1
fsp_belongs_conn only used the vuid struct member anyway, and this is available in the smb_request structure as well. (This used to be commit 64e9372ab997739d46669c0cc4a4c6edb11d5e64)
2008-06-19Remove the "current_user" arg from check_fspVolker Lendecke1-2/+2
check_fsp only used the vuid struct member anyway, and this is available in the smb_request structure as well. (This used to be commit 8d364c4c3311b406847158fc37e9208d298cf8ba)
2008-06-17file_access: remove unneeded stat buf parameter from can_access_file_acl().Michael Adam1-1/+1
This is a security descriptor level function only. Michael (This used to be commit 5931540fa1681f026fed42df387d17e43c493c47)
2008-06-17libads: add ads_get_machine_kvno() to make ads_get_kvno() a bit more generic.Günther Deschner1-1/+2
Guenther (This used to be commit cb7ace209c2051ae02647188715fa6ee324c2bf6)
2008-06-15Add forgotten protoypesVolker Lendecke1-1/+2
(This used to be commit dee60935d443bd215e384e626d1114ae65c1a62d)
2008-06-15Remove the current_user reference from fake_file.cVolker Lendecke1-0/+1
The current vuid is not only available there, it is also in the current smb_request structure. (This used to be commit c8fd5eef32a86888c7a28317f0fdf717a26b7d4c)
2008-06-07Add prototype for delete_negative_conn_cacheVolker Lendecke1-0/+1
(This used to be commit 097446c3c82c42ca4a7909201119c0cf431321ba)
2008-06-04util_str: add talloc_asprintf_strlower_m().Günther Deschner1-0/+1
Guenther (This used to be commit 7f8b0b4d151fa4d07758b6fd7b47b0b7c07dda17)
2008-06-03build: fix the build (missing protoype for lp_ldap_connection_timeout()).Günther Deschner1-0/+1
Guenther (This used to be commit 06b597213a25c3370d3b7e29cf80ddd42fa35e0c)
2008-05-28Security fix for CVE-2008-1105: Boundary failure when parsing SMB responsesJeremy Allison1-2/+6
can result in a buffer overrun. Jeremy. (This used to be commit 23b825e9d2c74c5b940cf4d3aa56c18692259972)
2008-05-28fix build: add missing prototype of msg_close_file()Michael Adam1-0/+5
Michael (This used to be commit 1a6f91755c412ab683c09f54e8ce76a66ed2bd19)
2008-05-28fix the build after prototype change.Michael Adam1-1/+1
Michael (This used to be commit d96634d037c76c36519bc9cac14dfa29c37a3213)
2008-05-28build: Fix the build after prototype change.Günther Deschner1-1/+1
Guenther (This used to be commit 68327e577dd12c157b0d7581b38c7a8dc06e08c7)
2008-05-26Remove unused function is_trusted_domain_situation().Michael Adam1-1/+0
This combined check has been replaced by is_dc_trusted_domain_situation() which does not check for lp_allow_trusted_domains(). Michael (This used to be commit 0a24c038b7bc6edef0021eb121a072cc7e8f9165)
2008-05-26Add function is_dc_trusted_domain_situation().Michael Adam1-0/+1
This is like is_trusted_domain_situation() except that it does not check for lp_allow_trusted_domains(). Michael (This used to be commit a284c8843528972904d142b573f1170a08c97751)
2008-05-25Move ber_[read|write]_OID_String protypes to proto.hVolker Lendecke1-0/+2
(This used to be commit 2dbbd81677af9c470ee9370ca5414876d21c6b9b)
2008-05-25Remove the reference to current_user_info from share_access.cVolker Lendecke1-1/+4
This required to pass around the domain a bit (This used to be commit 17b0db20d28d1b737c5e86b78106657e8ca5ce9c)
2008-05-23Manually merge Steven Danneman's patch for SPNEGO auth to a trustedGerald W. Carter1-1/+3
Win2008 domain (merged from v3-0-test). commit 8dc4e979776aae0ecaa74b51dc1eac78a7631405 Author: Steven Danneman <sdanneman@isilon.com> Date: Wed May 7 13:34:26 2008 -0700 spnego SPN fix when contacting trusted domains cli_session_setup_spnego() was not taking into consideration the situation where we're connecting to a trusted domain, specifically one (like W2K8) which doesn't return a SPN in the NegTokenInit. This caused two problems: 1) When guessing the SPN using kerberos_get_default_realm_from_ccache() we were always using our default realm, not the realm of the domain we're connecting to. 2) When falling back on NTLMSSP for authentication we were passing the name of the domain we're connecting to for use in our credentials when we should be passing our own workgroup name. The fix for both was to split the single "domain" parameter into "user_domain" and "dest_realm" parameters. We use the "user_domain" parameter to pass into the NTLM call, and we used "dest_realm" to create an SPN if none was returned in the NegTokenInit2 packet. If no "dest_realm" is provided we assume we're connecting to our own domain and use the credentials cache to build the SPN. Since we have a reasonable guess at the SPN, I removed the check that defaults us directly to NTLM when negHint is empty. (This used to be commit b78b14c88e8354aadf9ba7644bdb1c29245fe419)
2008-05-22rpc_client: make rpc_pipe_open_tcp_port and rpc_pipe_get_tcp_port static.Michael Adam1-7/+0
Slim the interface... Michael (This used to be commit 9971118c23900d81e885a013e738a67df790c90c)
2008-05-22rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp().Michael Adam1-1/+7
Michael (This used to be commit f7db445c828c0eef2c08b538bd07d485dc248689)
2008-05-21Add client support for NCACN_UNIX_STREAMVolker Lendecke1-0/+3
(This used to be commit 24ac40518f79fd480baaedc1d42f3b6fe8ea1c94)
2008-05-21rpccli_schannel_bind_data only needs the schannel keyVolker Lendecke1-1/+1
(This used to be commit be5d54a363a57113e494202a2d22dd9bbcf13b41)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty1-13/+20
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
2008-05-19Remove conn_find_byname now it's no longer used inJeremy Allison1-1/+0
the msdfs.c code. Jeremy (This used to be commit 54556df561d03d30b2fc21b9eaabe56b8c758301)
2008-05-18build: freeze proto.hMichael Adam1-0/+10475
Michael (This used to be commit ff7f0cad2eb108daa61a910cd9171ab0811a5f60)
2001-06-22auto-build proto.h if its not there, but don't make it dependAndrew Tridgell1-4702/+0
on anything. Delete proto.h from CVS (This used to be commit 8a37df73ec4d8d1a7db60a49cd5d7d22c4704a88)
2001-06-21Merging Gerry's spoolss changes.Jeremy Allison1-613/+614
Jeremy. (This used to be commit 6b4a70cd8285c1e4d452e3af7df070b4c446ff54)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell1-4/+2
but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-06-21Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually doesAndrew Tridgell1-613/+612
send unaligned unicode strings sometimes! Fixed our handling of the workgroup name tacked on the end of the NT1 negprot response (a unaligned unicode) fixed a couple of places where we should be using the message_end fns instead of pre-calculated buffer lengths (This used to be commit 86613493a9b2e56523153486931d0bf8d39beb7a)
2001-06-20initial support for paramter type P_LISTSimo Sorce1-618/+622
it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
2001-06-20make protoTim Potter1-0/+2
(This used to be commit d0b37d1a623acce2ae4509aebda85ad1280dc8ac)
2001-06-20added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell1-610/+611
(to allow unmount) (This used to be commit 15b17a80db605a55f667c95fb7e316877a441887)
2001-06-19INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to notJeremy Allison1-4/+5
depend on it... Jeremy. (This used to be commit 0fe11c329f7b379299be65795031e4f1b14e0bec)
2001-06-18Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison1-630/+609
generic Linux ACL code. rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created. Jeremy. (This used to be commit db5b82e53a7061c4764d39ceb3df82e706aad42f)