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

50 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
2c73eb4204 idl:netlogon.idl - add the Active Directory Web Service bit (DS_SERVER_WEBSERV)
MS-NRPC 2.2.1.2.1

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-26 10:16:16 +01:00
Simo Sorce
8870daeb8d idl: Improve MS-PAC IDL
Change some misleading variable names to reflect the actual function.
Add missing field name/types previously marked as unkown.

Signed-off-by: Günther Deschner <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 24 19:19:28 CEST 2011 on sn-devel-104
2011-10-24 19:19:28 +02:00
Stefan Metzmacher
d63e7506f0 netlogon.idl: remove pointless union arms of netr_DELTA_UNION
These were just padding, which was needed as we didn't have
'ms_union' support.

metze
2011-02-02 11:58:26 +01:00
Stefan Metzmacher
46348c34b7 netlogon.idl: use 'ms_union' as specified in [MS-NRPC]
metze
2011-02-02 11:58:26 +01:00
Stefan Metzmacher
64ea7bd2c4 netlogon.idl: add missing [default]; union arms
metze
2011-02-02 11:58:26 +01:00
Günther Deschner
6957109e8d s4-smbtorture: add NDR tests for netr_LogonSamLogon.
Guenther
2011-01-28 15:37:10 +01:00
Kai Blin
4ffdf09623 netlogon.idl: Switch to explicit constants to remove dependency on nbt.idl 2010-10-23 10:17:05 +00:00
Stefan Metzmacher
47b3d88a7d netlogon.idl: add missing flags to DSGETDC_VALID_FLAGS
metze
2010-10-02 02:31:05 +00:00
Andrew Bartlett
39bd61e018 s4-winbind Add a proxy method to update DNS records with a read-write DC
This must be done in winbindd as it already has the schannel connection
and the credential chain.  If we re-established that elsewhere, we
would break the chain in winbindd.

Andrew Bartlett

Signed-Off-By: Andrew Tridgell <tridge@samba.org>
2010-09-17 19:02:18 +10:00
Andrew Tridgell
dc59de5627 s4-netlogon: added IDL for netr_DsrUpdateReadOnlyServerDnsRecords
this is used by a RODC to do DNS updates, as TSIG updates are not
allowed by RODCs

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 21:09:17 +10:00
Matthias Dieter Wallnöfer
11e2608ba9 s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result
See MS-NRPC 3.5.5.6.3.
2010-05-31 12:08:59 +02:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
Matthias Dieter Wallnöfer
1a27343366 s3/s4:netlogon IDL - fix up "struct netr_SamInfo6" regarding the "forest" attribute
According to MS-NRPC 2.2.1.4.13 this should be the DNS domainname, not the
forest one.
2010-04-12 18:49:01 +02:00
Simo Sorce
d4b8be513c s4:netlogon GetTrustedDomainInformation
start implementing calls related to trusted domain information
2010-02-22 18:49:16 -05:00
Stefan Metzmacher
66198b085a netlogon.idl: fix ndr_pull_netr_DatabaseRedo()
We can't use subcontext_size() here, as
change_log_entry_size is encoded after the subcontext.

metze
2009-11-17 09:00:48 +01:00
Günther Deschner
c2be185793 netlogon: add NL_PASSWORD_VERSION to IDL.
Guenther
2009-10-13 12:13:59 +02:00
Andrew Tridgell
2b332e6dfe idl: use common netlogon bit definitions
The DS_ bits had got a bit ahead of the NBT_ bits.

Ideally we'd make these a single set of bits at some point.

This also removes NBT_SERVER_DNS_FOREST as this bit doesn't exist. I
think it came from someone mis-reading the docs, which show the bits
in reverse order within bytes (one of the worst bit table
representations I have ever seen!)
2009-10-02 12:01:00 +10:00
Andrew Tridgell
a50672b44b idl: fixed string termination for netlogon GetDomainInfo 2009-09-23 13:57:59 -07:00
Matthieu Patou
c6dd2c9552 s4: Fix parsing of CSDVersion: treat this field as an string null terminated.
CDSVersion field contains one utf16 string and then garbage which pertubated the parsing.
 We use subcontext to clearly define the size of the whole blob and then let the parser to find
 the real length of the string.
 This is a fix for bug 6706, many thanks to Gunter for the PIDL guidelines.
2009-09-11 19:16:58 +02:00
Matthias Dieter Wallnöfer
049c780c59 netlogon.idl: indent correctly 2009-09-11 13:38:29 +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
Günther Deschner
a0b1968167 s3-netlogon: use WERRORs in NETLOGON_INFO structures.
Guenther
2009-09-02 15:29:44 +02: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
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
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
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
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
Stefan Metzmacher
8339969ed3 netlogon.idl: add idl for netr_LogonGetCapabilities()
metze
2009-02-16 10:59:16 +01:00
Stefan Metzmacher
a096a4c2ae netlogon.idl: add NETLOGON_REG_SUPPORTS_AES_SHA2 flags and use correct names for some other flags
metze
2009-02-16 09:53:50 +01:00
Jelmer Vernooij
08259c1c52 Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
Günther Deschner
ab082b9749 netlogon: remove netr_BinaryString (duplicate of lsa_BinaryString).
Guenther
2008-12-17 23:23:51 +01:00
Günther Deschner
7148c0daff netlogon: fill in remaining levels in netr_CONTROL_DATA_INFORMATION.
Guenther
2008-12-17 23:06:48 +01:00
Günther Deschner
7317bc1eba netlogon: fix IDL for netr_LogonControl2Ex.
Guenther
2008-12-17 23:06:48 +01:00
Günther Deschner
ef6bf7f385 netlogon: add netr_NETLOGON_INFO_4.
Guenther
2008-12-17 23:06:48 +01:00
Günther Deschner
e01026cd4b netlogon: add all documented netlogon control codes.
Guenther
2008-12-17 23:06:48 +01:00
Günther Deschner
5903206bab netlogon: fill in netr_ServerGetTrustInfo IDL.
Guenther
2008-12-10 11:58:27 +01:00
Jelmer Vernooij
58db2befbd Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems with
forward enum declarations when compiled with C++.
2008-11-26 18:20:51 +01:00
Günther Deschner
e004307000 s4-netlogon: change parameters string to lsa_BinaryString.
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
7bd12a878b netlogon: use 8bit SamDatabaseID and DeltaEnum in netr_ChangeLogEntry.
Guenther
2008-11-06 18:50:24 +01:00
Günther Deschner
c353c53692 netlogon: add 8bit varients of netr_SamDatabaseID8Bit and netr_DeltaEnum.
Guenther
2008-11-06 18:50:12 +01:00
Günther Deschner
e721e3b7f5 netlogon-idl: use netr_ChangeLogEntry subcontext in netr_DatabaseRedo.
Guenther
2008-11-06 18:50:03 +01:00
Günther Deschner
64fff239e0 netlogon-idl: add netr_ChangeLogObject union.
Guenther
2008-11-06 18:49:55 +01:00
Günther Deschner
bc6cb550ed netlogon-idl: add netr_ChangeLogFlags.
Guenther
2008-11-06 18:49:45 +01:00
Günther Deschner
66abdaac95 netlogon-idl: add netr_ChangeLogEntry.
Guenther
2008-11-06 18:49:36 +01:00
Günther Deschner
9dd4abd780 netlogon: fix IDL for netr_DatabaseRedo.
Guenther
2008-11-04 02:45:36 +01:00
Günther Deschner
8be9cefd98 netlogon: merge netlogon.idl between s3 and s4.
Guenther
2008-10-29 08:57:53 +01:00