summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2010-07-02s3-registry: remove unused reg_util_marshalling code.Günther Deschner1-1/+0
Guenther
2010-07-02s3-registry: avoid using registry_value union.Günther Deschner2-37/+26
Just pull and push data as is. Guenther
2010-07-01s3:auth Fix switch statement referencing a uninitialized variableSimo Sorce1-1/+1
Looking at the original commit (9a747d500fad699038ecf75615c680a9fd9e4cc7) this seem the right solution. Andrew please check.
2010-07-01s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.Günther Deschner1-7/+15
Guenther
2010-06-30s3-winreg: implement _winreg_QueryMultipleValues().Günther Deschner1-6/+15
Guenther
2010-06-30s3-winreg: implement _winreg_QueryMultipleValues2().Günther Deschner1-5/+114
Guenther
2010-06-28s3-eventlog: Fixed the keyname delimiter for the registry key.Andreas Schneider1-1/+1
2010-06-28s3-eventlog: make sure _eventlog_OpenEventLogW fails when we cannot open the ↵Günther Deschner1-1/+4
registry key. Guenther
2010-06-18Second part of fix converting prs_XX struct and functions to talloc. Remove ↵Jeremy Allison1-4/+0
unneeded prs_mem_free calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-18Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵Jeremy Allison1-28/+29
Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-16Remove an unused chunk of code (will make it easier to talloc'ize prs_XXX).Jeremy Allison1-49/+0
Jeremy.
2010-06-16s3-spoolss: Provide a memory context for clean_up_driver_struct().Andreas Schneider1-1/+1
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value.
2010-06-13s3: Remove the pointless PRINTERNAME macroVolker Lendecke1-2/+2
2010-06-11s3:rpc improve handles memory hierarchy and use better name.Simo Sorce2-79/+91
While there also cleanup the code a bit. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-10s3:misc make use of server_[event/messaging]_context directlyAndreas Schneider1-1/+1
Untangle these functions from smbd specific dependencies so they can be freely used in multiple servers.
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