summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2010-06-16Remove two unused functions (prs_force_dynamic, prs_set_session_key).Jeremy Allison1-2/+0
Jeremy.
2010-06-16s3-spoolss: Provide a memory context for clean_up_driver_struct().Andreas Schneider1-1/+2
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value.
2010-06-15Remove unused function.Jeremy Allison1-1/+0
2010-06-13s3: Remove fsp_belongs_connVolker Lendecke1-2/+0
check_open_fsp does exactly the same
2010-06-12s3: Explicitly pass sconn to process_blocking_lock_queueVolker Lendecke1-1/+1
2010-06-12s3: Explicitly pass sconn to blocking_lock_was_deferred_smb1Volker Lendecke1-1/+2
2010-06-12s3: Explicitly pass sconn to remove_pending_lock_requests_by_mid_smb1Volker Lendecke1-1/+2
2010-06-12s3: Explicitly pass sconn to the remove_pending_change_notify_request_by_midVolker Lendecke1-1/+2
2010-06-12s3: change_notify_reply() does not need its "conn" argumentVolker Lendecke1-4/+3
2010-06-12s3: Explicitly pass sconn to is_valid_writeX_bufferVolker Lendecke1-1/+2
2010-06-12s3: Pass sconn explicitly to reply_specialVolker Lendecke1-1/+1
2010-06-11s3:rpc improve handles memory hierarchy and use better name.Simo Sorce1-2/+1
While there also cleanup the code a bit. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-10s3:lib make server contexts genericSimo Sorce1-0/+6
Pair-programmed-with: Andreas Schneider <asn@samba.org>
2010-06-10Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added).Jeremy Allison1-0/+12
Jeremy.
2010-06-08Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS"Volker Lendecke1-3/+2
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80. Conflicts: source3/auth/auth_ntlmssp.c
2010-06-07s3:smbd add utility function to check if there are open pipesSimo Sorce1-0/+1
2010-06-07s3:rpc make num_pipe_handles get an actual pipe as argumentSimo Sorce1-2/+2
Let the function abstract out how handles are counted
2010-06-07s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSPAndrew Bartlett1-0/+2
This allows the right hooks to be called in GENSEC when s3compat implements the auth_ntlmssp interface. Otherwise, we can't do the signing or sealing as we have not negoitated it's use. Andrew Bartlett
2010-06-07s3:auth Change auth_ntlmssp_server_info API to return NTSTATUSAndrew Bartlett1-2/+3
It's nicer to have an NTSTATUS return, and in s3compat there may be a reason other than 'no memory' why this can fail. Andrew Bartlett
2010-06-07s3:passdb Export function to calculate the proper primary group sidSimo Sorce1-0/+4
Don't keep it buried in passdb, this function need to be available for use in places where we do not want to construct an artificial samu struct just to play tricks. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07s3:auth create nt token from info3 directlySimo Sorce1-0/+5
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07s3:auth handle unix domain sids in samuSimo Sorce1-1/+2
When we generate a user out of thin air we may end up adding sids that are not part of the sam domain (unix domain sids). Handle the case and preserve these sids as extra sids. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
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>