Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-08 | Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS" | Volker Lendecke | 1 | -4/+3 | |
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80. Conflicts: source3/auth/auth_ntlmssp.c | |||||
2010-06-07 | s3:smbd add utility function to check if there are open pipes | Simo Sorce | 1 | -0/+12 | |
2010-06-07 | s3:rpc make num_pipe_handles get an actual pipe as argument | Simo Sorce | 2 | -4/+4 | |
Let the function abstract out how handles are counted | |||||
2010-06-07 | s3:rpc handles are used by all pipes, use better name | Simo Sorce | 1 | -0/+0 | |
2010-06-07 | s3:rpc fix potential out of bound memory access | Simo Sorce | 1 | -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-07 | s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSP | Andrew Bartlett | 1 | -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-07 | s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS | Andrew Bartlett | 1 | -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-07 | s3:named pipe proxy Improve error messages when named pipes fail to forward | Andrew Bartlett | 1 | -3/+6 | |
I hope this helps the next person who needs to debug this. Andrew Bartlett | |||||
2010-06-07 | s3-privileges: use LUID defines from lsa IDL. | Günther Deschner | 1 | -6/+4 | |
Guenther | |||||
2010-06-04 | s3-rpc: Create a file with all functions for a internal named pipe. | Andreas Schneider | 2 | -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-04 | s3-rpc: Seperate rpc_srv_register for plain connection. | Andreas Schneider | 3 | -125/+274 | |
This will make it possible to create plain rpc named pipe connnections. Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-06-03 | s3-build: only include generated spoolss headers (not ndr headers). | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-06-03 | s3-security: use shared "Standard access rights.". | Günther Deschner | 4 | -15/+15 | |
Guenther | |||||
2010-06-03 | s3-security: use shared "File Object specific access rights". | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-06-03 | s3-security: use shared Security Access Masks Rights. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_DACL define. | Günther Deschner | 2 | -5/+5 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_SACL define. | Günther Deschner | 2 | -2/+2 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_GROUP define. | Günther Deschner | 2 | -3/+3 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_OWNER define. | Günther Deschner | 2 | -3/+3 | |
Guenther | |||||
2010-06-01 | s3-eventlog: try to pass RPC-EVENTLOG during make test as non-root. | Günther Deschner | 1 | -5/+22 | |
Guenther | |||||
2010-05-31 | s3-netlogon: Fix crash bug in _netr_NetrEnumerateTrustedDomains(). | Günther Deschner | 1 | -18/+11 | |
Guenther | |||||
2010-05-31 | s3:smbd map_username() doesn't need sconn anymore | Simo Sorce | 1 | -6/+3 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-31 | s3-netlogon: use LSA in _netr_NetrEnumerateTrustedDomains. | Günther Deschner | 1 | -18/+66 | |
Guenther | |||||
2010-05-31 | s3-netlogon: use SAMR in _netr_ServerAuthenticate3. | Günther Deschner | 1 | -33/+73 | |
Guenther | |||||
2010-05-31 | s3-samr: give the system user a free pass for _samr_QueryUserInfo{2} level 18. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2010-05-31 | s3-netlogon: use SAMR in _netr_ServerPasswordSet{2}. | Günther Deschner | 1 | -111/+165 | |
Guenther | |||||
2010-05-31 | s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet() | Andrew Bartlett | 1 | -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-31 | ntlmssp: Make the ntlmssp.h from source3/ a common header | Andrew Bartlett | 1 | -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-31 | s3:auth Remove AUTH_NTLMSSP_STATE typedef. | Andrew Bartlett | 1 | -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-31 | s3:auth Make AUTH_NTLMSSP_STATE a private structure. | Andrew Bartlett | 1 | -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-31 | s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
See MS-NRPC 3.5.5.6.3. | |||||
2010-05-31 | s3-build: only use ndr_security.h where needed. | Günther Deschner | 3 | -0/+3 | |
Guenther | |||||
2010-05-28 | s3-samr: Fix crash bug in _samr_QueryUserInfo{2} level 18. | Günther Deschner | 1 | -4/+13 | |
Guenther | |||||
2010-05-28 | s3-build: only use ndr_samr.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-28 | s3:auth use info3 in auth_serversupplied_info | Simo Sorce | 2 | -2/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-27 | s3:rpc_server: make use of the npa_tstream code to connect to named pipes | Stefan Metzmacher | 1 | -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-27 | s3:rpc_server: pass down local and remote tsocket_address to np_open() | Stefan Metzmacher | 1 | -1/+15 | |
metze | |||||
2010-05-27 | s3:rpc_server: add np_read_in_progress() function | Stefan Metzmacher | 1 | -0/+22 | |
metze | |||||
2010-05-27 | s3:rpc_server: make sure we don't send uninitialized memory for the ↵ | Stefan Metzmacher | 1 | -1/+1 | |
named_pipe_auth handshake metze | |||||
2010-05-26 | s3-samr: move chgpasswd.c out of smbd and into the samr server. | Günther Deschner | 2 | -0/+1137 | |
Guenther | |||||
2010-05-26 | s3-rpc_server: Created a per connection spoolss pipe. | Simo Sorce | 1 | -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-25 | s3:registry: move reg_objects.h to registry/ and use it only where needed | Michael Adam | 3 | -0/+3 | |
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code. | |||||
2010-05-25 | s3:srv_ntsvcs: use regval_ctr/blob accessor functions | Michael Adam | 1 | -5/+5 | |
2010-05-25 | s3:registry: extract registry_pull/push_value prototypes into own header | Michael Adam | 1 | -0/+1 | |
reg_util_marshalling.h and use them only where needed. | |||||
2010-05-25 | s3:registry: extract reg_perfcount prototypes into header of their own. | Michael Adam | 1 | -0/+1 | |
And use them only when necessary. | |||||
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 3 | -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-20 | s3-services: move services.h closer to services implementation. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-05-18 | s3-passdb: move get_logon_hours_from_pdb() into samr server. | Günther Deschner | 1 | -0/+26 | |
Guenther | |||||
2010-05-18 | s3-rpc_client: move protos to init_spoolss.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-18 | s3-spoolss: Removed the Phantom DeviceMode. | Simo Sorce | 1 | -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> |