summaryrefslogtreecommitdiffstats
path: root/source/include/ntdomain.h
Commit message (Collapse)AuthorAgeFilesLines
* make read/write to internal pipes available externallyVolker Lendecke2008-07-261-8/+6
|
* Refactoring: Make close_internal_rpc_pipe_hnd a talloc destructorVolker Lendecke2008-07-261-9/+0
|
* Refactor make_internal_rpc_pipe_p: connection_struct is not neededVolker Lendecke2008-07-261-2/+5
|
* Simplify the RPC servers: remove get_pipe_fnsVolker Lendecke2008-07-181-1/+1
| | | | | The per-server xxx_get_pipe_fns functions can go once all the RPC servers are converted
* Remove p->vuidVolker Lendecke2008-06-261-2/+0
| | | | | | The users can use p->server_info. Now pipes_struct is decoupled from the SMB transport.
* Now that we have p->server_info, use p->server_info->user_session_keyVolker Lendecke2008-06-261-1/+0
|
* Add server_info to pipes_structVolker Lendecke2008-06-261-0/+2
|
* Remove "conn" from pipes_structVolker Lendecke2008-06-241-1/+2
| | | | For spoolss, we need the client's IP address
* Make pipes_struct its own talloc ctxVolker Lendecke2008-06-211-3/+0
|
* pipes_struct->pipe_user_name is unused, remove itVolker Lendecke2008-05-051-1/+0
|
* Remove namedpipe_transact fn pointer from smb_np_structVolker Lendecke2008-04-141-11/+0
|
* Remove some write-only fstringsVolker Lendecke2008-04-111-7/+0
|
* Replace DOM_CHAL with "struct netr_Credential" where we can right now.Günther Deschner2008-02-151-3/+3
| | | | | | This allows to remove some more old netlogon client calls. Guenther
* Make smb_np_struct talloc'edVolker Lendecke2007-12-161-1/+1
| | | | Convert "name" from string to a talloc'ed char *
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-15/+15
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-testGerald (Jerry) Carter2007-10-101-1/+9
|
* r25118: More pstring elimination.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r19218: With the new RPC server infrastructure all backend functions are ↵Volker Lendecke2007-10-101-0/+6
| | | | | | | | | | | | filled, at least with dummy routines. We need a way to indicate that we do not support a call, so that srv_pipe_hnd.c can return the DCE level RNG_ERROR. This flag can be set in the backend routines for this one. I'll change pidl to generate code to "return False" in srv_lsa.c if this flag is set. Volker
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-9/+1
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r13553: Fix all our warnings at -O6 on an x86_64 box.Jeremy Allison2007-10-101-3/+3
| | | | Jeremy.
* r13407: Change the credentials code to be more like the Samba4 structure,Jeremy Allison2007-10-101-1/+1
| | | | | | | | makes fixes much easier to port. Fix the size of dc->sess_key to be 16 bytes, not 8 bytes - only store 8 bytes in the inter-smbd store in secrets.tdb though. Should fix some uses of the dc->sess_key where we where assuming we could read 16 bytes. Jeremy.
* r12046: Fix typoVolker Lendecke2007-10-101-1/+1
|
* r10722: Remove unused BOOL in struct dcinfo.Jeremy Allison2007-10-101-1/+0
| | | | | | | Ensure that the mach_acct and remote machine entries are set correctly in struct dcinfo - we'll need this as a key for a persistent schannel state later. Jeremy.
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-71/+64
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r6014: rather large change set....Gerald Carter2007-10-101-0/+2
| | | | | | | | | | | | | | pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon).
* r5805: merging spoolss parsing changes from trunk and cleaning up resulting ↵Gerald Carter2007-10-101-0/+1
| | | | segvs
* r2007: Fix typo in Jeremy's copyright. From the output of cvs annotate a yearTim Potter2007-10-101-1/+1
| | | | in the late 1990's may be more appropriate though.
* r1412: Fix password history list in tdbsam. Fix some memory leaks. AddJeremy Allison2007-10-101-60/+50
| | | | | my (C) to a header file that was at least 50% mine :-). Jeremy.
* r196: merging struct uuid from trunkGerald Carter2007-10-101-0/+16
|
* r116: volker's patch for local group and group nestingGerald Carter2007-10-101-7/+0
|
* Changes all over the shop, but all towards:Andrew Bartlett2003-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - NTLM2 support in the server - KEY_EXCH support in the server - variable length session keys. In detail: - NTLM2 is an extension of NTLMv1, that is compatible with existing domain controllers (unlike NTLMv2, which requires a DC upgrade). * This is known as 'NTLMv2 session security' * (This is not yet implemented on the RPC pipes however, so there may well still be issues for PDC setups, particuarly around password changes. We do not fully understand the sign/seal implications of NTLM2 on RPC pipes.) This requires modifications to our authentication subsystem, as we must handle the 'challege' input into the challenge-response algorithm being changed. This also needs to be turned off for 'security=server', which does not support this. - KEY_EXCH is another 'security' mechanism, whereby the session key actually used by the server is sent by the client, rather than being the shared-secret directly or indirectly. - As both these methods change the session key, the auth subsystem needed to be changed, to 'override' session keys provided by the backend. - There has also been a major overhaul of the NTLMSSP subsystem, to merge the 'client' and 'server' functions, so they both operate on a single structure. This should help the SPNEGO implementation. - The 'names blob' in NTLMSSP is always in unicode - never in ascii. Don't make an ascii version ever. - The other big change is to allow variable length session keys. We have always assumed that session keys are 16 bytes long - and padded to this length if shorter. However, Kerberos session keys are 8 bytes long, when the krb5 login uses DES. * This fix allows SMB signging on machines not yet running MIT KRB5 1.3.1. * - Add better DEBUG() messages to ntlm_auth, warning administrators of misconfigurations that prevent access to the privileged pipe. This should help reduce some of the 'it just doesn't work' issues. - Fix data_blob_talloc() to behave the same way data_blob() does when passed a NULL data pointer. (just allocate) REMEMBER to make clean after this commit - I have changed plenty of data structures...
* Add initshutdown pipe commands to rpcclient. Second part of fix to bugJim McDonough2003-10-241-0/+1
| | | | #534
* Attempt at fixing bug #283. There however is no solution.Gerald Carter2003-08-141-2/+18
| | | | | | | | | | | | | | | | | There is a workaround documented in the bug report. This patch does: * add server support for the LSA_DS UUID on the lsarpc pipe * store a list of context_ids/api_structs in the pipe_struct so that we don't have to lookup the function table for a pipe. We just match the context_id. Note that a dce/rpc alter_context does not destroy the previous context so it is possible to have multiple bindings active on the same pipe. Observed from standalone win2k sp4 client. * added server code for DsROleGetPrimaryDOmainInfo() but disabled it since it causes problems enumerating users and groups from a 2ksp4 domain member in a Samba domain.
* Move PAC decoding over from HEAD.Jim McDonough2003-04-161-0/+3
|
* Merge of rpcecho pipe for testing large dcerpc requests and responses.Tim Potter2003-04-141-0/+1
| | | | Only compiled in when --enable-developer argument passed to configure.
* Merge the TNG netlogon schannel from HEAD.Volker Lendecke2003-04-061-0/+7
| | | | | | | | No more XP requiresignorseal anymore! Thanks again to Luke :-) Volker
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-2/+2
| | | | | | warnings. (Adds a lot of const). Andrew Bartlett
* merge of working dsrolegetprimdominfo() client code from APP_HEADGerald Carter2002-10-041-0/+1
|
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-1/+0
|
* Spelling fixes.Tim Potter2002-03-051-1/+1
|
* Matching header files for the last netlogon cleanup.Andrew Bartlett2002-03-031-0/+7
| | | | Andrew Bartlett
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Return correct RPC fault PDU on bad handle incoming.Jeremy Allison2002-01-251-0/+6
| | | | Jeremy.
* Kill off another ugly wart from the side of the passdb subsystem.Andrew Bartlett2002-01-201-0/+2
| | | | | | | | | | | | | This time its the pdb_getsampwuid() function - which was only being used by the SAMR rpc subsystem to gain a 'user session key'. This 'user session key' is actually generated at login time, and the other changes here simply move that data around. This also means that (when I check some details) we will be able to use the user session key, even when we are not actually the DC, becouse its one of the components of the info3 struct returned on logon. Andrew Bartlett
* This is the current patch from Luke Leighton <lckl@samba-tng.org> to add aAndrew Bartlett2002-01-201-8/+85
| | | | | | | | | | | | | | | | | | degree of seperation betwen reading/writing the raw NamedPipe SMB packets and the matching operations inside smbd's RPC components. This patch is designed for no change in behaviour, and my tests hold that to be true. This patch does however allow for the future loadable modules interface to specify function pointers in replacement of the fixed state. The pipes_struct has been split into two peices, with smb_np_struct taking the information that should be generic to where the data ends up. Some other minor changes are made: we get another small helper function in util_sock.c and some of the original code has better failure debugs and variable use. (As per on-list comments). Andrew Bartlett
* Removed CHECK_STRUCT macro - it isn't used anywhere.Tim Potter2001-09-141-12/+0
|
* Merge of struct acct_info from TNG.Tim Potter2001-05-041-1/+2
|
* include/ntdomain.h:Jeremy Allison2001-04-021-1/+0
| | | | | | | | | rpc_server/srv_lsa_hnd.c: Remove back pointer from policy handle list as the pipe that opened the handle may have been closed. We were dereferencing into something that had been closed. rpc_parse/parse_spoolss.c: Sync up with Gerald's changes in 2.2. lib/replace.c: Don't do proto on setlinebuf as it differs between systems. Jeremy.