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

403 Commits

Author SHA1 Message Date
Matthieu Patou
1a143b8a59 s4: allow python code to dump NTACL object as well 2010-01-21 07:11:18 +13:00
Andrew Tridgell
f461a72ec3 idl: switched to using the WSPP names for the 'neighbour' DRS options
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
2010-01-18 07:25:18 +11:00
Andrew Tridgell
93531a52f0 s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context 2010-01-16 14:10:44 +11:00
Andrew Tridgell
c663af8b7b s4-idl: get rid of the operation specific DRS options flags
It was confusing to have several sets of incomplete options when WSPP
uses a single set.
2010-01-14 15:37:59 +11:00
Andrew Tridgell
60c5a5f39f s4-idl: update the DRS_OPTIONS bits based on the latest WSPP docs 2010-01-14 15:37:59 +11:00
Andrew Tridgell
b0090d01e0 s4-idl: give a enum for attribute cn and a 'NONE' attribute
The 'NONE' attribute has value 0xFFFFFFFF. Adding this ensures the
compiler will complain if it is set to use 16 bit enums. We rely on
being able to store 32 bits in an attid enum.
2010-01-09 13:10:28 +11:00
Andrew Tridgell
4c7bf0527a s4-idl: added some more wellknown attributeIDs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08 13:03:04 +11:00
Günther Deschner
be95cb6f83 spoolss: more mork on SetPrinterInfo() levels.
Guenther
2009-12-17 10:43:31 +01:00
Günther Deschner
64e588f868 spoolss: add spoolss_DriverInfo7.
Guenther
2009-12-16 16:09:41 +01:00
Volker Lendecke
0d10efe1fd s3: Allow up to 20480 entries in LookupSids, as mandated by the official IDL
Seen in the wild by putting >1000 users into BUILTIN\Users
2009-12-14 17:00:12 +01:00
Matthieu Patou
8f8613dcef idl: introduce new file: dfsblobs.idl
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 10:58:32 +01:00
Günther Deschner
e316624ddb spoolss: fix spoolss_PrinterData size calculation.
Currently we were crashing in EnumPrinterDataEx when an e.g. an empty (NULL)
string for a separator file was returned.

Guenther
2009-12-14 10:39:34 +01:00
Günther Deschner
5ae61cfbc2 spoolss: trivial fix for spoolss_FormInfo2 IDL.
Guenther
2009-12-14 10:38:53 +01:00
Günther Deschner
835e7d6c98 spoolss: remove unused spoolss_StringArray2.
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
0ecb7f6ab2 spoolss: use spoolss_KeyNames in spoolss_EnumPrinterKey.
Guenther
2009-12-10 17:48:49 +01:00
Günther Deschner
cf2561473f spoolss: add spoolss_KeyNames union.
Guenther
2009-12-10 17:48:49 +01:00
Günther Deschner
fb3b0987f7 spoolss: add more spoolss architectures to IDL.
Guenther
2009-12-08 16:20:51 +01:00
Günther Deschner
1b6c444557 spoolss: fix spoolss_DriverInfo8 IDL.
found by RPC-SPOOLSS torture teset.

Guenther
2009-12-08 11:51:16 +01:00
Günther Deschner
08823166a1 spoolss: rework spoolss_GetPrinterDataEx and spoolss_SetPrinterDataEx.
Guenther
2009-12-07 14:42:12 +01:00
Günther Deschner
f32ccc321a spoolss: hand-marshall the spoolss_StringArray2 struct for spoolss_EnumPrinterKey.
This call is just driving me nuts :-)

Guenther
2009-12-03 01:04:02 +01:00
Günther Deschner
5f60855ba2 samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
This should finally resolve the endian issues we were seeing on sparc and is
much cleaner for spoolss clients and servers.

Guenther
2009-12-02 14:56:17 +01:00
Günther Deschner
292af4fc04 spoolss: add spoolss_StringArray2.
The difference to spoolss_StringArray is that in spoolss_StringArray2 the string
array is put into a subcontext of _ndr_size.

Guenther
2009-12-02 14:37:02 +01:00
Günther Deschner
91bb065977 s3-spoolss: move MAXDEVICENAME to spoolss idl.
Guenther
2009-12-02 14:36:36 +01:00
Günther Deschner
b852a3494a drsuapi: fix build warning of NDR size calculation of drsuapi_DsReplicaObjectIdentifier3Binary.
The generated size actually does not include the size of the binary itself.

Guenther
2009-12-01 00:36:50 +01:00
Matthias Dieter Wallnöfer
2e7ccdcb66 security.idl - Add some more wellknown SIDs/RIDs 2009-11-27 22:36:59 +01:00
Günther Deschner
23d77be6cb misc: mark winreg_Data little-endian except for a REG_DWORD_BIG_ENDIAN.
Guenther
2009-11-27 16:16:00 +01:00
Günther Deschner
800d6b7820 s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they belong.
Guenther
2009-11-23 12:20:24 +01:00
Günther Deschner
366946f29b spoolss: fix spoolss_EnumPrinterKey IDL.
Guenther
2009-11-23 11:44:43 +01:00
Nadezhda Ivanova
a97460d657 Fixed incorrect SID for RAS Servers. 2009-11-17 17:10:23 +02: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
Nadezhda Ivanova
8324dbcb11 Removed the default DACL from token, as we will not be using it. 2009-11-03 10:45:01 +02:00
Stefan (metze) Metzmacher
25f96a4058 Add in Metze's new code to ndr encode the user.DOSATTRIB
blobs. Next I'll change the create timestamp and dos attribute
code to use this.
2009-10-28 15:42:47 -07:00
Günther Deschner
1f9d06a1b0 lsa: add LSA_TRUSTED_DOMAIN access masks.
Guenther
2009-10-28 12:37:38 +01:00
Günther Deschner
80d8b2e180 lsa: add LSA_SECRET access masks.
Guenther
2009-10-28 12:37:21 +01:00
Andrew Tridgell
3f5d535972 idl-drsblobs: mark some more reserved values as value(0)
This prevents valgrind errors when we store these blobs in a database
2009-10-22 12:47:53 +11:00
Kamen Mazdrashki
cf51787382 s4/drs(idl): Redefine drsuapi_DsReplicaOID in drsuapi.idl
Structure redefined to be more similar with OID_t structure
defined in [ref. MS-DRSR.pdf - p.496].
2009-10-16 12:54:13 +03:00
Andrew Tridgell
068e09847a idl: added bit definition for privilege masks
When you have backup or restore privileges, you automatically get
extra access bits in ACL interpretation. This adds definitions for the
bits you get.
2009-10-16 10:12:18 +11:00
Andrew Tridgell
44866f0df4 idl: added WSPP DrsOptions bit names
This should make it much easier to work through the logic in MS-DRSR
2009-10-15 08:20:36 +11:00
Günther Deschner
c2be185793 netlogon: add NL_PASSWORD_VERSION to IDL.
Guenther
2009-10-13 12:13:59 +02:00
Matthias Dieter Wallnöfer
c2685cdedb s3/s4:samr.idl - Corrects the "userPwdChangeFailureInformation" structure
This I've done according to WSPP doc MS-SAMR 2.2.7.23.
2009-10-08 09:49:56 +02:00
Andrew Tridgell
e66fa4645a idl: some lsa vars are uint3264 2009-10-03 18:17:24 +10: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
0d241b0b31 idl: ntsvcs.idl depends on misc.idl, not winreg.idl
The winreg_Type definition comes from misc.idl
2009-09-30 14:44:59 +10:00
Günther Deschner
4365b7b408 winreg: add winreg_Data union to IDL.
Guenther
2009-09-29 23:38:47 +02:00
Andrew Tridgell
f8a09e8fb3 s4-drs: fixed the size of DN binary blobs on the wire
Comparison with w2k8 traces shows the size field of
drsuapi_DsReplicaObjectIdentifier3Binary is taken from
drsuapi_DsReplicaObjectIdentifier3

Thanks to metze for spotting this
2009-09-24 10:36:13 -07:00
Anatoliy Atanasov
c9dc6506e6 s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_CRITICAL_ONLY req in getncchanges 2009-09-23 15:50:51 -07:00
Stefan Metzmacher
5925e2952c Revert "r20074: this values seem to be typos in drsuapi"
This reverts commit 1dfd365d57

This change was from and the flags I was seeing have another meaning.

metze

Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-23 15:50:42 -07:00
Andrew Tridgell
a50672b44b idl: fixed string termination for netlogon GetDomainInfo 2009-09-23 13:57:59 -07:00
Andrew Tridgell
43f7d7e1b1 s4-nbt: added NBT_SERVER_DNS_FOREST 2009-09-23 13:57:59 -07:00
Stefan Metzmacher
1c3a706932 drsblobs.idl: fix repsFromTo2 blob size calculation
metze
2009-09-20 06:36:39 +02:00