summaryrefslogtreecommitdiffstats
path: root/source/include/rpc_dce.h
Commit message (Collapse)AuthorAgeFilesLines
* This is a merge of the NETLOGON schannel server code from SambaVolker Lendecke2003-04-041-2/+37
| | | | | | | | | | | | | | | | | | | | TNG. Actually, it exists in the main Samba cvs tree in APPLIANCE_TNG as I found out later :-) It adds a new parameter: server schannel = yes/auto/no defaulting to auto. What does this mean to the user: No requireSignOrSeal registry patch for XP anymore. Many thanks for this code to Luke Leighton, Elrond and anybody else I forgot to mention. My next thing will be to see if this applies cleanly to 3_0. Please test and comment! Volker
* Updates to our NTLMSSP code:Andrew Bartlett2003-01-131-32/+0
| | | | | | | | | | | | | | | | | | This tries to extract our server-side code out of sessetup.c, and into a more general lib. I hope this is only a temporay resting place - I indend to refactor it again into an auth-subsystem independent lib, using callbacks. Move some of our our NTLMSSP #defines into a new file, and add two that I found in the COMsource docs - we seem to have a double-up, but I've verified from traces that the NTLMSSP_TARGET_TYPE_{DOMAIN,SERVER} is real. This code also copes with ASCII clients - not that we will ever see any here, but I hope to use this for HTTP, were we can get them. Win2k authenticates fine under forced ASCII, btw. Tested with Win2k, NTLMv2 and Samba's smbclient. Andrew Bartlett
* BIG patch...Andrew Bartlett2003-01-021-2/+2
| | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett
* merge of working dsrolegetprimdominfo() client code from APP_HEADGerald Carter2002-10-041-0/+1
|
* Added some comments for NTLMSSP negotiation flags.Tim Potter2002-05-301-4/+4
|
* Add support for NTLMv2 (tested!) with NTLMSSP.Andrew Bartlett2002-05-261-3/+10
| | | | | | | | | | | | | | | | The problem was the NTLMv2 uses extra data in order to make reply/lookup more difficult. That extra data includes the hostname, and the domain. This matches Win2k (sort of) by sending this information. Win2k connects with LMCompatibilityLevel=5 without a problem. We can change the negotiation bits if we want, this should allow us to make NTLMv2 the default for other clients as well. Some of the extra #defines were found in the squid source. Andrew Bartlett
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-271-1/+1
|
* Fixed some more client SPOOLSS functions. The followingGerald Carter2000-07-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | functions work now: - spoolenum - spoolopen - spoolgetprinter - spoolgetprinterdriver Items todo: - track down memory bug with spoolenumdata - fix spoolgetprinterdriverdir - fix spoolgetdata - fix display_job_info_ctr in spooljobs All part of the ongoing rpcclient work. Also included a new generic list ADT. Cleaner and simplier than the stuff in util_array.c i think (but then that's why I wrote it). --jerry
* Fixes from Luke, back-ported from TNG to Win2k. Correctly return FAULT_PDU onJeremy Allison2000-02-291-0/+10
| | | | | unknown rpc calls. Win2k now correctly shows the owners of files. Jeremy.
* spoolss include definitionsJean-François Micouleau2000-02-071-0/+2
| | | | J.F.
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-21/+53
|
* - added DCE/RPC "fault" PDU support.Luke Leighton1999-11-151-0/+9
| | | | | | | | | - disabled (AGAIN) the GETDC "if (MAILSLOT\NTLOGON)" code that will get NT5rc2 to work but WILL break win95 (AGAIN). this needs _not_ to be re-enabled but to be replaced with a better mechanism. - added SMBwrite support (note: SMBwriteX already existed) as NT5rc2 is sending DCE/RPC over SMBwrite not SMBwriteX.
* renaming AUTH VERIFIER to AUTH NTLMSSP VERIFIER. ready for addingLuke Leighton1999-07-261-4/+3
| | | | another RPC authentication system.
* improving authentication code (tidyup).Luke Leighton1999-06-291-2/+2
|
* added 2 more (unknown) NTLMSSP negotiation bitsLuke Leighton1999-05-061-0/+2
|
* rpc_parse/parse_misc.c : defined a new BUFFER5 structJean-François Micouleau1999-04-271-0/+2
| | | | | | | | | | | | | | | | | | | | include/ntdomain.h : added rpc_spoolss.h include statement include/proto.h include/rpc_dce.h : added definition of RPC_ALTER_CONTEXT request & reply param/loadparm.c : 2 new options for NT printing support and some changes to initial values in the LPRNG case. rpc_parse/parse_prs.c : added prs_uint16s() rpc_parse/parse_rpc.c : added SYNT_SPOOLSS_V1 and code for the alter-context support. rpc_server/srv_pipe.c : alter-context support smbd/nttrans.c smbd/server.c include/rpc_misc.h Makefile.in include/smb.h Jean Francois
* rpcclient registry commands.Luke Leighton1998-11-101-0/+1
|
* dce/rpcLuke Leighton1998-10-141-1/+1
|
* dce/rpcLuke Leighton1998-10-081-1/+8
|
* removed extra comma (some compilers don't like it).Andrew Tridgell1998-10-081-1/+1
| | | | Luke, I fixed this yesterday as well! grumble.
* dce/rpcLuke Leighton1998-10-071-11/+29
|
* dce/rpcLuke Leighton1998-10-071-10/+12
|
* remoevd a misplaced commaAndrew Tridgell1998-10-071-1/+1
|
* dce/rpcLuke Leighton1998-10-061-23/+64
|
* includes.h: Moved HPUX undefine of SEMMSL to where it actually does something.Jeremy Allison1998-04-101-5/+13
| | | | | | | | | | | | | | | ipc.c: Added Luke's debug statement. locking_slow.c: Added FTRUNCATE_NEEDS_ROOT code for broken systems that need it (not sure what these are yet). membuffer.c ntdomain.h proto.h lib/rpc/include/rpc_dce.h lib/rpc/include/rpc_srvsvc.h lib/rpc/parse/parse_prs.c lib/rpc/parse/parse_rpc.c lib/rpc/server/srv_pipe_hnd.c lib/rpc/server/srv_util.c: Re-merge of Luke's NTDOM changes 'cos he's a lazy git with carpel tunnel syndrome :-). Jeremy.
* "For I have laboured mightily on Luke's code, and hath brokenJeremy Allison1998-03-111-0/+211
all I saw" - the book of Jeremy, chapter 1 :-). So here is the mega-merge of the NTDOM branch server code. It doesn't include the new client side pieces, we'll look at that later. This should give the same functionality, server wise, as the NTDOM branch does, only merged into the main branch. Any fixes to domain controler functionality should be added to the main branch, not the NTDOM branch. This code compiles without warnings on gcc2.8, but will need further testing before we are sure all the working functionality of the NTDOM server branch has been correctly carried over. I hereby declare the server side of the NTDOM branch dead (and all who sail in her :-). Jeremy.