1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

387 Commits

Author SHA1 Message Date
Günther Deschner
2b16380a0e ntlmssp: add some void decode calls (useful for ndrdump).
Guenther
2009-09-08 22:27:41 +02:00
Günther Deschner
4fd9a9d6de schannel: add NL_AUTH_MESSAGE and both NL_AUTH_SIGNATURE structs.
These actually belong netlogon but we for now want to keep netlogon as a security
providor separate.

Guenther
2009-09-08 14:55:10 +02:00
Matthieu Patou
a915575158 Return a correct value for Supported Encryption Type
Vista and upper version use this value to check wether they should ask the DC
 to change the msDS-SupportedEncryptionTypes attribute or not.
 Declare the different value as a bitmap in Netlogon idl
2009-09-08 22:44:50 +10:00
Andrew Tridgell
5cd6b460ff s4: added the structure for repsTo
This structure is stored in NDR format in the repsTo attribute of each
partition. It is updated by the DSUpdateRefs DSRUAPI call
2009-09-08 11:52:45 +10:00
Andrew Tridgell
9a3db7e331 s4: fixed updaterefs options bitmap 2009-09-08 11:52:45 +10:00
Günther Deschner
a0b1968167 s3-netlogon: use WERRORs in NETLOGON_INFO structures.
Guenther
2009-09-02 15:29:44 +02:00
Andrew Tridgell
132242fe7e add a ref to the WSPP docs 2009-09-02 18:19:55 +10:00
Günther Deschner
792b544e37 netlogon: fill in more details for the netr_LogonControlX family of calls.
Guenther
2009-08-31 20:24:04 +02:00
Günther Deschner
94f7c98430 s3-netlogon: add DS_WEB_SERVICE_REQUIRED bit for dsgetdcname calls.
Guenther
2009-08-31 20:23:08 +02:00
Günther Deschner
9b844e7ff3 ntlmssp: add NTLMSSP_MESSAGE_SIGNATURE to IDL.
Guenther
2009-08-28 10:05:26 +02:00
Günther Deschner
b4a860ba81 ntlmssp: add AUTHENTICATE_MESSAGE to idl.
Guenther
2009-08-28 10:05:19 +02:00
Günther Deschner
e65a3cb0db ntlmssp: add CHALLENGE_MESSAGE to IDL.
Guenther
2009-08-28 10:05:13 +02:00
Günther Deschner
c3a6f28847 ntlmssp: add NEGOTIATE_MESSAGE to IDL.
Guenther
2009-08-28 10:05:06 +02:00
Günther Deschner
d4d2b42a92 ntlmssp: add ntlmssp helper skeleton.
Guenther
2009-08-28 10:04:52 +02:00
Günther Deschner
ff7958394c ntlmssp: add IDL.
Guenther
2009-08-28 10:04:43 +02:00
Günther Deschner
5a15778848 schannel: add netlogon_creds_CredentialState to IDL.
Guenther
2009-08-27 15:55:18 +02:00
Günther Deschner
aabe577396 schannel: move schannel.idl to main directory.
Guenther
2009-08-26 15:43:05 +02:00
Günther Deschner
91ef692d7d netlogon: make netr_NegotiateFlags a public bitmap.
Guenther
2009-08-26 15:42:57 +02:00
Günther Deschner
d896fb2dab netlogon: give netlogon w7/w2k8r2 AES negotiate flag proper name (see bug #6099 for details).
Guenther
2009-08-25 11:12:45 +02:00
Günther Deschner
2840902692 netlogon: add (yet) undocumented netlogon negotiate bit to bitmap.
This bit is set by the Win7 client while joining.

Guenther
2009-08-24 23:09:58 +02:00
Günther Deschner
0447af26b6 spoolss: add more spoolss calls to IDL
(spoolss_GetPrinterDriverPackagePath and spoolss_GetCorePrinterDrivers).

Guenther
2009-08-20 14:25:41 +02:00
Günther Deschner
abe7648609 netlogon: document some more MSVC flags.
Some of these were observed during password changing
from win7 using a samba 3.4 PDC.

Guenther
2009-08-17 18:24:24 +02:00
Günther Deschner
559dd0d304 spoolss: fill in more details of the spoolss_DeviceMode.
Guenther
2009-08-10 11:32:26 +02:00
Stefan Metzmacher
2823757912 epmapper.idl: avoid usage of 'pipe', this is a reserved word in IDL
We now use 'named_pipe' instead.

metze
2009-08-07 11:50:23 +02:00
Matthias Dieter Wallnöfer
721402b8de netlogon.idl: Prework to enhance the "netr_LogonGetDomainInformation" call correctly
This enhances the "netlogon.idl" file to allow enhancements on the mentioned call.
Therefore this is also the base for fixing up bug #4888.
2009-08-03 09:46:30 +02:00
Matthias Dieter Wallnöfer
e14b2ed8df netlogon.idl: Removes the form "str[]" for string declarations
In this file two different forms are used to explain the same datatype ("str[]" and "*str").
I didn't find this very nice and unified the occurrences to always use "*str".

This patch is of cosmetic nature.
2009-08-03 09:46:30 +02:00
Stefan Metzmacher
b676e63a52 frstrans.idl: add definition of frstrans_InitializeFileTransferAsync()
metze
2009-07-27 17:51:36 +02:00
Stefan Metzmacher
826e6a83a0 frstrans.idl: add definition of frstrans_AsyncPoll()
metze
2009-07-27 17:51:35 +02:00
Stefan Metzmacher
3142f76e2d frstrans.idl: add definition of frstrans_RequestVersionVector()
metze
2009-07-27 17:51:35 +02:00
Stefan Metzmacher
2a797731a0 frstrans.idl: add definition of frstrans_RequestUpdates()
metze
2009-07-27 17:51:35 +02:00
Stefan Metzmacher
a2d0c6cec8 frstrans.idl: add definition of frstrans_EstablishSession
metze
2009-07-27 17:51:34 +02:00
Stefan Metzmacher
e31a92c44e frstrans.idl: add definition of frstrans_EstablishConnection()
metze
2009-07-27 17:51:34 +02:00
Stefan Metzmacher
8860a03671 frstrans.idl: add definition of frstrans_CheckConnectivity()
metze
2009-07-27 17:51:33 +02:00
Jeremy Allison
d373f0b77c For some strange reason using :
uint8 hash[XATTR_SD_HASH_SIZE];
doesn't have the same effect as :
uint8 hash[64];
Jeremy.
2009-07-24 14:13:42 -07:00
Jeremy Allison
1bab4fdaaf Fix hash function in acl_xattr to be SHA256, make
the hash function selectable. Upgrade version.
Compiles but not fully tested yet (coming). Make
vfs_acl_tdb.c compile - this needs updating to
match acl_xattr (also coming soon).
Jeremy.
2009-07-24 14:09:42 -07:00
Stefan Metzmacher
6c99345dd3 frsrpc.idl: add definition of frsrpc_FrsNOP()
metze
2009-07-23 18:04:20 +02:00
Stefan Metzmacher
9e154b6b35 frsrpc.idl: add idl for frsrpc_FrsVerifyPromotionParent()
metze
2009-07-23 17:55:28 +02:00
Stefan Metzmacher
2cc4a43d0e frstrans.idl: add new DFS-R FrsTransport interface with dummy functions
metze
2009-07-22 21:33:10 +02:00
Stefan Metzmacher
109b9dcad9 frsrpc.idl: add definition for frsrpc_FrsStartPromotionParent()
metze
2009-07-22 21:33:10 +02:00
Stefan Metzmacher
424e763695 frsrpc.idl: make the chunk array in frsrpc_CommPktChunkCtr dynamic
We add an extra num_chunks to the frsrpc_CommPktChunkCtr structure
and use hand modified ndr_push/pull functions to let it not appear
on the wire.

metze
2009-07-21 19:11:24 +02:00
Stefan Metzmacher
9d148f75c7 frsrpc.idl: almost complete the idl for the frsrpc_FrsSendCommPkt() function
TODO: The amount of chunks is dynamic, we need to fix that

metze
2009-07-21 19:11:22 +02:00
Stefan Metzmacher
b91156d4ae frsapi.idl: fill the frsapi_WriterCommand() function
metze
2009-07-21 19:11:22 +02:00
Stefan Metzmacher
1436256613 frsapi.idl: fix some unknown field names
metze
2009-07-21 19:11:21 +02:00
Günther Deschner
1a7a8d4330 spoolss: fill in some unknowns in spoolss_OSVersion and spoolss_OSVersionEx.
Guenther
2009-07-17 17:20:30 +02:00
Günther Deschner
11bea731ae spoolss: fill in spoolss_Create/DeletePrinterIC + rerun make samba3-idl.
Guenther
2009-07-17 15:40:06 +02:00
Günther Deschner
9ac5f5c8ce lsa: fill in lsa_StorePrivateData and lsa_RetrievePrivateData and rerun make samba3-idl.
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
05bec77e00 lsa: fix typo in lsa_TrustDomInfoEnum enum in IDL.
Guenther
2009-07-16 03:05:45 +02:00
Günther Deschner
0595963632 samr: add missing samr_ValidationStatus codes.
Guenther
2009-07-14 12:09:56 +02:00
Günther Deschner
cb39ba3d40 spoolss: fill in spoolss_GetPrinterDriver IDL.
Guenther
2009-07-03 22:05:37 +02:00
Günther Deschner
c5415e7e09 spoolss: the flags in spoolss_SetPrinterInfo1 are in fact spoolss_PrinterAttributes.
Guenther
2009-07-03 22:05:29 +02:00
Günther Deschner
80b62f579f spoolss: fill in spoolss_AddPrinter IDL.
Guenther
2009-07-03 22:05:10 +02:00
Günther Deschner
c4416684f1 spoolss: the flags in spoolss_PrinterInfo1 are in fact spoolss_PrinterAttributes.
Guenther
2009-07-02 22:00:42 +02:00
Günther Deschner
ed8c0ed6bd samr: add samr_UserInfoLevel and samr_DomainInfoClass enums based on MS-SAMR.
Guenther
2009-06-23 11:08:36 +02:00
Matthias Dieter Wallnöfer
efe6552f0c NETLOGON pipe improvements
Patch for bug #4939

This refactors the NETLOGON code related to this bug:

- Introduces a new "SYNCSTATE" enum required by the "DatabaseSync2" call (acc.
to WSPP)
- Make "DatabaseSync" dependant from "DatabaseSync2" (acc. to WSPP)
- Let "DatabaseSync2" return NT_STATUS_NOT_IMPLEMENTED (I'm not sure if this is
also true when a domain is running in mixed mode)
- Make "LogonControl" and "LogonControl2" dependant form "LogonControl2Ex"
(acc. to WSPP)
- Let "LogonControl2Ex" return WERR_NOT_SUPPORTED for now
2009-06-18 13:49:25 +10:00
Günther Deschner
54fb170689 lsa: use the lsa access masks in idl.
Guenther
2009-06-09 15:15:47 +02:00
Andrew Kroeger
c9b6e9fd03 s4: Add additional well-known SID's/RID's.
Information was found at http://support.microsoft.com/kb/243330

Not all well-known identifiers were included - only those necessary for
enhancing the 2-letter mappings used in SDDL strings were added.
2009-05-29 12:37:25 +10:00
Andrew Bartlett
2e573a7cf4 Fix incorrect RID for KRBTGT. (was incorectly 514, should be 502)
Requires recompile of source4/kdc/*

Found by Andrew Kroeger <andrew@id10ts.net>

Andrew Bartlett
2009-05-29 10:40:22 +10:00
Andrew Bartlett
8c871706e0 Add DOMAIN_RID_KRBTGT define to security.idl 2009-05-27 07:58:07 +10:00
Günther Deschner
9a13af9a99 s4: try to fix privileges implementation in order to pass the RPC-SAMR-USERS-PRIVILEGES test.
Guenther
2009-05-20 13:35:05 +02:00
Jeremy Allison
f8da7f5d74 Added mapping table for account object in lsa.
Jeremy.
2009-05-19 14:47:25 -07:00
Günther Deschner
7c22eed419 lsa: add access_masks for accounts, secrets and trusted domains to IDL.
Guenther
2009-05-19 02:05:10 +02:00
Günther Deschner
7403dd39d6 s3-spoolss: move SPL_ARCH_X defines to IDL.
Guenther
2009-05-13 01:56:40 +02:00
Günther Deschner
a4f558da79 spoolss: add SPOOLSS_ARCHITECTURE_ALL to IDL.
Guenther
2009-05-13 01:56:40 +02:00
Günther Deschner
c07f4a1299 initshutdown: add shutdown reason codes.
Guenther
2009-05-13 01:56:40 +02:00
Stefan Metzmacher
6d27b48b3f named_pipe_auth.idl: add level 2 and pass the client/server info and session key
We also return can return the named pipe mode now.

metze
2009-05-01 17:42:03 +02:00
Günther Deschner
26b9c9370c wkssvcs: add WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS join flag.
Guenther
2009-04-30 23:36:24 +02:00
Günther Deschner
67ca76c288 samr: fix samr_ConnectVersion enum which is 32bit not 16bit.
Volker, please check.
Rafal, haven't we seen this in your tests at sambaxp as well ?

Guenther
2009-04-29 01:59:03 +02:00
Günther Deschner
a23fb4663d svcctl: Fix IDL for svcctl_StartServiceW().
Guenther
2009-04-29 01:59:03 +02:00
Andrew Bartlett
9b33766fbb Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel 2009-04-21 15:19:50 +02:00
Andrew Bartlett
47ec66bda3 Add the implicit [ref] to the connect_handle in EnumDomains 2009-04-21 15:14:02 +02:00
Günther Deschner
38264bb3b8 s3-secdesc: move all winreg access bits to IDL.
Guenther
2009-04-21 12:42:51 +02:00
Andrew Bartlett
1856b999c8 python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__. 2009-04-21 11:14:11 +02:00
Jeremy Allison
6fc8ed7b1f Fix IDL licensing file that got missed when IDL files were moved.
Jeremy.
2009-04-16 12:09:16 -07:00
Jeremy Allison
d9804ae3cc Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+
What a difference a name makes... :-). Just because something is missnamed
SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN,
don't automatically use it for a security check in _samr_OpenDomain().
Jeremy.
2009-04-15 15:40:00 -07:00
Günther Deschner
63b22a74f6 spoolss: add spoolss_DriverAttributes bitmask.
Guenther
2009-04-13 16:14:01 +02:00
Günther Deschner
3918ee8870 spoolss: fix order of strings in PrinterInfo1 structs.
Guenther
2009-04-13 16:10:31 +02:00
Günther Deschner
7f74f27d6c eventlog: make EVENTLOG_FULL_INFORMATION a public struct.
Guenther
2009-04-10 13:15:24 +02:00
Günther Deschner
7065b2b2ad ntsvcs: add PNP_GetIdListFlags flags.
Guenther
2009-04-10 01:06:51 +02:00
Günther Deschner
af32ab94eb svcctl: use svcctl_ServiceState type for dependent calls in IDL.
Guenther
2009-04-09 16:41:55 +02:00
Günther Deschner
f0d045be4f svcctl: Fix IDL for svcctl_QueryServiceObjectSecurity and Set call.
Guenther
2009-04-09 14:41:29 +02:00
Günther Deschner
8e3145e551 svcctl: use offered/needed for buffer sizes as in spoolss.
Guenther
2009-04-08 11:03:53 +02:00
Günther Deschner
557f38326b svcctl: Fix svcctl_ControlsAccepted bitmask.
Never ever have 0 value in a bitmask...

pidl should generate at least a warning about those things.

Guenther
2009-04-07 01:16:52 +02:00
Günther Deschner
8d901caf35 move dcerpc.idl to main directory.
Guenther
2009-03-24 11:14:06 +01:00
Günther Deschner
f9ddc6ae4a spoolss: make spoolss_Field a nodiscriminant union of 2 sets of notify flag enums.
Guenther
2009-03-18 16:45:59 +01:00
Günther Deschner
19ea2a5486 spoolss: add spoolss_EnumPrinterDataEx triple call.
Guenther
2009-03-18 01:19:26 +01:00
Günther Deschner
4fb79b4fe7 spoolss: fix spoolss_PrinterEnumValues w.r.t. size calculation of PrinterData.
Guenther
2009-03-18 01:12:16 +01:00
Günther Deschner
b12c3178ef spoolss: add spoolss_PrinterEnumValues.
Guenther
2009-03-17 22:11:17 +01:00
Günther Deschner
289cfb269b spoolss: use PRINTER_NOTIFY_TYPE and JOB_NOTIFY_TYPE in favor of "old" s4 defines.
Guenther
2009-03-17 19:07:35 +01:00
Günther Deschner
a264bc68f0 spoolss: add SPL Port definitions to IDL.
Guenther
2009-03-17 19:07:35 +01:00
Günther Deschner
f94a6f4801 spoolss: add range checks for priority element in spoolss_JobInfo structs.
Guenther
2009-03-17 19:07:35 +01:00
Günther Deschner
3a6b5fe6c1 spoolss: use nstring_array in spoolss_EnumPrinterKey.
Guenther
2009-03-17 12:15:16 +01:00
Günther Deschner
849254d24c spoolss: use winreg_Type instead of spoolss_PrinterDataType for XPrinterData calls.
Guenther
2009-03-17 11:14:53 +01:00
Günther Deschner
28c6f1fb47 spoolss: use uint8 array instead of DATA_BLOB in EnumPrinterData IDL out pointer.
Guenther
2009-03-17 11:14:53 +01:00
Günther Deschner
2b0a0b25e2 spoolss: fix IDL for spoolss_SetPrinterData.
Guenther
2009-03-17 10:58:35 +01:00
Günther Deschner
92e6525ae1 spoolss: make spoolss_GetPrinterData out.data ref pointers.
Guenther
2009-03-17 10:57:57 +01:00
Günther Deschner
d0902e2945 spoolss: flag PrinterInfo union and levels as [public,gensize].
Guenther
2009-03-13 09:25:24 +01:00
Günther Deschner
86ed4dc890 spoolss: add [gensize] flag to spoolss_DriverInfo union.
Guenther
2009-03-13 09:25:22 +01:00
Günther Deschner
dfe90763c1 spoolss: flag spoolss_JobInfo union and structures [public,gensize].
Guenther
2009-03-13 09:25:21 +01:00
Günther Deschner
45a22eab52 spoolss: flag spoolss_MonitorInfo structs [public,gensize].
Guenther
2009-03-07 00:55:37 +01:00
Günther Deschner
34f469f19f spoolss: flag spoolss_PortInfo structs as [public,gensize].
Guenther
2009-03-07 00:55:35 +01:00