summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
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
2010-05-18s3-rpc_client: move protos to init_spoolss.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-spoolss: Removed the Phantom DeviceMode.Simo Sorce1-174/+1
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: Use the spoolss_map_to_os2_driver to modify drivername.Andreas Schneider1-0/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Sorted the builtin forms alphabetically.Andreas Schneider1-85/+85
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner5-30/+30
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner6-7/+7
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner4-4/+4
Guenther
2010-05-18s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner1-2/+2
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij9-82/+69
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner5-0/+5
Guenther
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner2-0/+2
Guenther
2010-05-18s3-samr: move samr helper prototypes outside of proto.hGünther Deschner3-0/+65
Guenther
2010-05-18s3-services: move services.h to where it is actually used.Günther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner5-10/+10
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-05-06s3-spoolss: make several notify functions static.Günther Deschner1-13/+18
Guenther
2010-05-06s3-eventlog: move all eventlog headers to lib/eventlog and only include ↵Günther Deschner1-0/+1
where required. Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner4-0/+4
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-05-05s3-spoolss: remove unused winreg_enumval_to_blob().Günther Deschner1-20/+0
Guenther
2010-05-05s3-spoolss: Create default DsSpooler values.Andreas Schneider1-1/+114
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Fixed the DeviceMode handling in winreg.Andreas Schneider1-115/+97
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added winreg security descriptor functions.Andreas Schneider2-36/+329
Signed-off-by: Günther Deschner <gd@samba.org>