summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2010-06-10s3:cleaunp reformatting for readabilitySimo Sorce1-85/+160
2010-06-10s3:cleanup remove trailing spacesSimo Sorce1-11/+11
2010-06-08Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS"Volker Lendecke1-4/+3
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/+12
2010-06-07s3:rpc make num_pipe_handles get an actual pipe as argumentSimo Sorce2-4/+4
Let the function abstract out how handles are counted
2010-06-07s3:rpc handles are used by all pipes, use better nameSimo Sorce1-0/+0
2010-06-07s3:rpc fix potential out of bound memory accessSimo Sorce1-1/+1
memcpy copies memory unconditionally, we are passing "" in some cases here. Use strncpy which will stop reading from src if the null byte is found and will fill with nulls the destination.
2010-06-07s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSPAndrew Bartlett1-0/+21
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-3/+4
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:named pipe proxy Improve error messages when named pipes fail to forwardAndrew Bartlett1-3/+6
I hope this helps the next person who needs to debug this. Andrew Bartlett
2010-06-07s3-privileges: use LUID defines from lsa IDL.Günther Deschner1-6/+4
Guenther
2010-06-04s3-rpc: Create a file with all functions for a internal named pipe.Andreas Schneider2-203/+242
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-04s3-rpc: Seperate rpc_srv_register for plain connection.Andreas Schneider3-125/+274
This will make it possible to create plain rpc named pipe connnections. Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-03s3-build: only include generated spoolss headers (not ndr headers).Günther Deschner1-0/+1
Guenther
2010-06-03s3-security: use shared "Standard access rights.".Günther Deschner4-15/+15
Guenther
2010-06-03s3-security: use shared "File Object specific access rights".Günther Deschner1-2/+2
Guenther
2010-06-03s3-security: use shared Security Access Masks Rights.Günther Deschner1-2/+2
Guenther
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner2-5/+5
Guenther
2010-06-03s3-security: use shared SECINFO_SACL define.Günther Deschner2-2/+2
Guenther
2010-06-03s3-security: use shared SECINFO_GROUP define.Günther Deschner2-3/+3
Guenther
2010-06-03s3-security: use shared SECINFO_OWNER define.Günther Deschner2-3/+3
Guenther
2010-06-01s3-eventlog: try to pass RPC-EVENTLOG during make test as non-root.Günther Deschner1-5/+22
Guenther
2010-05-31s3-netlogon: Fix crash bug in _netr_NetrEnumerateTrustedDomains().Günther Deschner1-18/+11
Guenther
2010-05-31s3:smbd map_username() doesn't need sconn anymoreSimo Sorce1-6/+3
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3-netlogon: use LSA in _netr_NetrEnumerateTrustedDomains.Günther Deschner1-18/+66
Guenther
2010-05-31s3-netlogon: use SAMR in _netr_ServerAuthenticate3.Günther Deschner1-33/+73
Guenther
2010-05-31s3-samr: give the system user a free pass for _samr_QueryUserInfo{2} level 18.Günther Deschner1-0/+5
Guenther
2010-05-31s3-netlogon: use SAMR in _netr_ServerPasswordSet{2}.Günther Deschner1-111/+165
Guenther
2010-05-31s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()Andrew Bartlett1-7/+9
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-31ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett1-1/+1
The code is not yet in common, but I hope to fix that soon. 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-7/+7
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-26/+27
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/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" resultMatthias Dieter Wallnöfer1-7/+7
See MS-NRPC 3.5.5.6.3.
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner3-0/+3
Guenther
2010-05-28s3-samr: Fix crash bug in _samr_QueryUserInfo{2} level 18.Günther Deschner1-4/+13
Guenther
2010-05-28s3-build: only use ndr_samr.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-28s3:auth use info3 in auth_serversupplied_infoSimo Sorce2-2/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-27s3:rpc_server: make use of the npa_tstream code to connect to named pipesStefan Metzmacher1-192/+152
This way we use the newest protocol, which is able to pass the local and remote address of the SMB connection. And we correctly support message mode named pipes without the hack that analyzes the content for DCERPC pdus. metze
2010-05-27s3:rpc_server: pass down local and remote tsocket_address to np_open()Stefan Metzmacher1-1/+15
metze
2010-05-27s3:rpc_server: add np_read_in_progress() functionStefan Metzmacher1-0/+22
metze
2010-05-27s3:rpc_server: make sure we don't send uninitialized memory for the ↵Stefan Metzmacher1-1/+1
named_pipe_auth handshake metze
2010-05-26s3-samr: move chgpasswd.c out of smbd and into the samr server.Günther Deschner2-0/+1137
Guenther
2010-05-26s3-rpc_server: Created a per connection spoolss pipe.Simo Sorce1-0/+33
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-25s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam3-0/+3
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
2010-05-25s3:srv_ntsvcs: use regval_ctr/blob accessor functionsMichael Adam1-5/+5
2010-05-25s3:registry: extract registry_pull/push_value prototypes into own headerMichael Adam1-0/+1
reg_util_marshalling.h and use them only where needed.
2010-05-25s3:registry: extract reg_perfcount prototypes into header of their own.Michael Adam1-0/+1
And use them only when necessary.
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett3-44/+44
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-20s3-services: move services.h closer to services implementation.Günther Deschner1-1/+1
Guenther
2010-05-18s3-passdb: move get_logon_hours_from_pdb() into samr server.Günther Deschner1-0/+26
Guenther