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

679 Commits

Author SHA1 Message Date
Günther Deschner
c9f4fad75c idl: add file_id idl.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 25 12:27:00 CET 2011 on sn-devel-104
2011-01-25 12:27:00 +01:00
Andrew Tridgell
74493af86f s4-dns: renamed DNS_TYPE_ZERO to DNS_TYPE_TOMBSTONE
we now know that these are tombstone records, with a timestamp

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14 16:39:32 +11:00
Stefan Metzmacher
c39e80094b drsuapi.idl: add some more DRSUAPI_ATTID_* values
These will be use for "net rpc vampire passwd" in source3.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 12 19:51:53 CET 2011 on sn-devel-104
2011-01-12 19:51:53 +01:00
Matthieu Patou
25ae380fab idl: Add IDL for remote key backup protocol (rkbp)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-12 09:08:06 +01:00
Matthieu Patou
9d9c212858 idl: remove protected storage
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-12 09:06:04 +01:00
Günther Deschner
3294ccbb6d netlogon: move netlogon helpers to ../libcli/netlogon.
Guenther
2011-01-07 15:02:24 +01:00
Jelmer Vernooij
9529fdab26 wmi: Remove unnecessary noprint statements. 2011-01-01 02:54:05 +01:00
Andrew Tridgell
987b49c8e2 dns: fixed dns record format
based on new WSPP docs from Bryan Burgin

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Dec 22 04:45:46 CET 2010 on sn-devel-104
2010-12-22 04:45:46 +01:00
Andrew Tridgell
049a16c8ef dns: auto-calculate the wDataLength field in DNS records
we need this for creating new records
2010-12-21 02:42:37 +01:00
Günther Deschner
1b293c90be spoolss: fill in PerMachineConnections add and delete IDL.
Guenther
2010-12-16 10:52:50 +01:00
Stefan Metzmacher
26a37284b9 drsblobs.idl: remove nopython from package_PrimaryKerberosBlob related stuff
This allows parsing and construction of the supplementatlCredentials
attribute in python.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 10 19:08:33 CET 2010 on sn-devel-104
2010-12-10 19:08:33 +01:00
Andrew Bartlett
f681859eb8 s4-lsa Implement kerberos ticket life policy
We now no longer print tickets with a potentially infinite life, and
we report the same life over LSA as we use in the KDC.  We should get
this from group policy, but for now it's parametric smb.conf options.

Andrew Bartlett
2010-12-09 18:02:59 +11:00
Stefan Metzmacher
461d100a35 dcerpc.idl: fix typo 0x800000000 => 0x80000000
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Dec  8 20:13:03 CET 2010 on sn-devel-104
2010-12-08 20:13:03 +01:00
Julien Kerihuel
1bd3bd6e6e Add ncacn_http (RTS) IDL implementation in dcerpc.idl
Signed-off-by: Julien Kerihuel <j.kerihuel@openchange.org>
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Dec  8 14:17:45 CET 2010 on sn-devel-104
2010-12-08 14:17:45 +01:00
Matthias Dieter Wallnöfer
70eaa3fd0c s3/s4:lsa.idl - QueryDomainInformationPolicy - the "unknown6" field is called "reserved"
MS-LSAD 3.1.1.1 - http://msdn.microsoft.com/en-us/library/cc234319(v=PROT.13).aspx
2010-12-03 22:56:19 +01:00
Kamen Mazdrashki
9221c38e16 s4-druspia.idl: rename DRSUAPI_ATTID_NONE to DRSUAPI_ATTID_INVALID
0xFFFFFFFF is actually an invalid value for an ATTID
and *_INVALID will make it more easy to notice in logs
2010-10-31 23:54:04 +00:00
Kamen Mazdrashki
717b1158a6 idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID values
Those values are actually ATTID values and such, they are used
for ATTIDs for Attributes, Classes and Syntaxes.
2010-10-31 23:54:04 +00:00
Kai Blin
cebce2b9a4 s4 dns: More work on updates 2010-10-23 10:17:06 +00:00
Kai Blin
a6305c4a16 s4 dns: Better error handling when parsing invalid or unknown records 2010-10-23 10:17:06 +00:00
Kai Blin
1c25cc7057 dnsp: Can't have two memebers of a union with the same name 2010-10-23 10:17:05 +00:00
Kai Blin
a7b833ec7e s4 dns: Reply to a name request with an A record.
The first real answer to a DNS request. Still uses hardcoded reply.
2010-10-23 10:17:05 +00:00
Kai Blin
719a6bbfed ndr dns: Add simple parser 2010-10-23 10:17:05 +00:00
Kai Blin
caf4196899 dns/nbt: Fix spelling of the "authoritative" flag. 2010-10-23 10:17:05 +00:00
Kai Blin
97868713a0 idl: Add idl describing DNS structures 2010-10-23 10:17:05 +00: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
4a4738b56a misc.idl: add SEC_CHAN_LOCAL and SEC_CHAN_LANMAN
MsvApSecureChannel and UasServerSecureChannel in [MS-NRPC]

metze
2010-10-23 10:58:13 +02:00
Tim Potter
a10b3416e5 Include misc.idl for policy_handle in srvsvc.idl.
Autobuild-User: Tim Potter <tpot@samba.org>
Autobuild-Date: Mon Oct 18 15:35:40 UTC 2010 on sn-devel-104
2010-10-18 15:35:40 +00:00
Günther Deschner
b7683a2c9d samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Oct  7 12:04:32 UTC 2010 on sn-devel-104
2010-10-07 12:04:32 +00:00
Matthieu Patou
52d32e08a4 idl: dfsblobs fix glitches in the implementation 2010-10-05 11:19:40 +04:00
Kai Blin
b5f2633f7a dnsp: Add support for parsing HINFO records
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Mon Oct  4 19:41:38 UTC 2010 on sn-devel-104
2010-10-04 19:41:38 +00:00
Kai Blin
65d2cfdcf1 dnsp: Parse TXT records 2010-10-04 20:59:59 +02:00
Kai Blin
da21f78099 dnsp: Add MX record parsing 2010-10-04 20:59:59 +02:00
Kai Blin
8ff715c3d9 dnsp: Allow parsing of AAAA records 2010-10-04 20:59:59 +02:00
Kai Blin
10a4ea7219 IDL: More types for the DNSP IDL file 2010-10-04 20:59:59 +02:00
Günther Deschner
355849ed4c spoolss: fill in spoolss_DeletePort IDL.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct  4 08:10:16 UTC 2010 on sn-devel-104
2010-10-04 08:10:16 +00:00
Günther Deschner
279e0c9610 spoolss: fill in spoolss_SetPort IDL.
Guenther
2010-10-04 09:29:47 +02:00
Günther Deschner
2ff1c9eb30 spoolss: fill in spoolss_AddPortEx IDL.
Guenther
2010-10-04 09:29:39 +02:00
Stefan Metzmacher
47b3d88a7d netlogon.idl: add missing flags to DSGETDC_VALID_FLAGS
metze
2010-10-02 02:31:05 +00:00
Andrew Tridgell
d690622f37 idl-drsuapi: fixed another replica_flags that should use the bitmap
Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-29 22:12:57 -07:00
Günther Deschner
575ae3ed72 spoolss: use the correct flags for spoolss_PrinterInfo1 struct.
Guenther
2010-09-30 02:59:35 +02:00
Günther Deschner
48adfb264f samr: add three new ACB flags to IDL.
Guenther
2010-09-28 01:17:16 +02:00
Andrew Tridgell
f1c2702b26 idl-pac: add a decoder for the pac info ctr
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> 
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-26 06:29:06 +00:00
Anatoliy Atanasov
411e6bc3f2 s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idl 2010-09-23 13:34:08 -07:00
Anatoliy Atanasov
55fe86bccc s4/eventlog6: Add idl for EventLog6 RPC
The idl is translated from [MS-EVEN6].pdf.
2010-09-23 13:34:08 -07:00
Anatoliy Atanasov
b55853cd64 s4/drs: Added the rest of the enum drsuapi_DsNameFormat values
According to documentation - [MS-DRSR] 4.1.4.1.2 and 4.1.4.1.3
2010-09-20 09:39:44 -07:00
Andrew Tridgell
1c7c1a86ec idl: build python interfaces for winbind and idmap IDL
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17 19:02:19 +10: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
Günther Deschner
567a2e68d6 s4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.
Guenther
2010-09-16 14:42:22 +02:00
Günther Deschner
dfe25088ba s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.
Guenther
2010-09-16 14:31:53 +02: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
Andreas Schneider
14340a45be idl: Added EPMAPPER_STATUS_CANT_PERFORM_OP.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-16 11:52:25 +02:00
Günther Deschner
33da33c59e ntlmssp: when pushing an ntlmssp NEGOTIATE_MESSAGE deal with NULL strings.
Guenther
2010-09-14 18:00:30 +02:00
Andrew Bartlett
bc6a3a2e3f security.idl Clarify that this is not a network structure 2010-09-11 22:32:42 +10:00
Andrew Bartlett
0eea8ecfe2 s4-privs Seperate rights and privileges
These are related, but slightly different concepts.  The biggest difference
is that rights are not enumerated as a system-wide list.

This moves the rights to security.idl due to dependencies.

Andrew Bartlett
2010-09-11 18:46:13 +10:00
Andrew Bartlett
a53a42ffb8 libcli/security Rename all privilege bitmaps constants
The idea here to to make it very clear how they differ from the
enumerated LUID values.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:10 +10:00
Andrew Bartlett
92efe9a86a libcli/security Add an invalid LUID privilege value
This helps code that may not want to specify any privilege

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:09 +10:00
Andrew Bartlett
6a0176b07d security.idl Add comments
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:05 +10:00
Andrew Bartlett
2606dfa9a4 security.idl Update Windows privileges list to Win2008R2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:05 +10:00
Andrew Bartlett
d2883ffde9 security.idl clarify which privilages are LUID and bitmap values
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:04 +10:00
Andrew Bartlett
e655e9f676 s4-privs Remove link between enum sec_privilege and the privilege bitmap
This allows us to set the enum sec_privilege constants to the LUID
values that are seen from windows, which we need to match, in order
to preserve the support for the NT Print Migrator tool after a merge
with the source3/ privileges code.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:04 +10:00
Andrew Bartlett
821b9e61aa privs Move privilege bitmasks to security.idl
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:04 +10:00
Günther Deschner
1217809c46 nbt: add nbt_netlogon_response2 to IDL.
Guenther
2010-09-08 19:35:28 +02:00
Günther Deschner
8f8ff8bb29 nbt: add NETLOGON_LOGON_REQUEST.
Guenther
2010-09-08 19:35:21 +02:00
Günther Deschner
778950ca93 nbt: add decode_nbt_netlogon_packet() to IDL.
Guenther
2010-09-08 19:35:14 +02:00
Günther Deschner
e5c7ec6698 winreg: add winreg_RestoreKeyFlags to IDL.
Guenther
2010-08-31 23:17:40 +02:00
Günther Deschner
e2f15d2a25 s4-trusts: fix trustDomainPasswords drsblobs IDL and server side support.
Also remove bogus trustCurrentPasswords struct which we just had because our IDL
was incorrect.

Guenther
2010-08-25 13:27:50 +02:00
Andrew Tridgell
e5a5ca028e idl-nbt: fixed typo 2010-08-25 08:40:04 +10:00
Andrew Bartlett
6cf29b3e4f s4:security Change struct security_token->sids from struct dom_sid * to struct dom_sid
This makes the structure much more like NT_USER_TOKEN in the source3/
code.  (The remaining changes are that privilages still need to be merged)

Andrew Bartlett
2010-08-23 08:50:55 +10:00
Kamen Mazdrashki
26efea195a s4-drsuapi: Implement custom printing for drsuapi protocol for
drsuapi_DsReplicaAttribute and drsuapi_DsAttributeValueCtr objects

This makes tracing what data has been transferred much easier
2010-08-21 00:33:52 +03:00
Andrew Tridgell
ba079f9d67 idl: added the RODC allow/deny secrets RIDs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-20 20:34:11 +10:00
Andrew Bartlett
7c6ca95bec s4:security Remove use of user_sid and group_sid from struct security_token
This makes the structure more like Samba3's NT_USER_TOKEN
2010-08-18 09:50:38 +10:00
Andrew Tridgell
2688375ffe s4-netlogon: added SEC_CHAN_RODC
This seems to be equivalent to SEC_CHAN_BDC, but for RODCs
2010-08-17 21:21:51 +10:00
Andreas Schneider
53e0421300 waf: Generate the ntprinting ndr functions. 2010-08-16 21:31:31 +02:00
Stefan Metzmacher
ad94ae9804 librpc/idl/mgmt.idl: add missing size_is()
metze
2010-08-08 11:05:19 +02:00
Andrew Tridgell
8892748085 s4-dns: expanded the DNSP code to handle more record type 2010-08-05 17:31:29 +10:00
Andrew Tridgell
2883bc94c7 dns: first version of dsnRecord parser 2010-08-05 17:31:28 +10:00
Andreas Schneider
b6e9d8d406 idl: Fixed a possible crash bug. 2010-08-02 18:33:36 +02:00
Günther Deschner
45952b5679 spoolss: fix potential crash bug in spoolss_PrinterEnumValues push path.
Guenther
2010-08-02 15:52:09 +02:00
Günther Deschner
c5e85a4987 s3-dcerpc: rename SCHANNEL_SIG_SIZE to NL_AUTH_SIGNATURE_SIZE and move to IDL.
Guenther
2010-07-16 23:09:54 +02:00
Simo Sorce
cb3725a931 dcerpc: remove ncacn_packet_header and related functions
ncacn_packet_header was an artifact and it is not necessary anymore

Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16 01:51:17 +02:00
Simo Sorce
0d9b63663f s3:dcerpc Add prs_parse_dcerpc_bind 2010-07-08 01:41:24 -04:00
Günther Deschner
389a677426 dcerpc: add ncacn_packet_header to IDL.
Guenther

Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:27:55 -04:00
Matthias Dieter Wallnöfer
915ddf0dc7 samr.idl:UserInfo structures - fix some names according to MS-SAMR documentation
See MS-SAMR section "FULL IDL"
2010-07-05 15:35:54 +02:00
Nadezhda Ivanova
81240b13b3 s4-dsdb: Implementation of User-Change-Password and User-Force-Password-Change
These CARs need to be checked on password change and password reset operations.
    Apparently the password attributes are not influenced by Write Property.
    Single detele operations and modifications of dBCSPwd are let through to the
    password_hash module. This is determined experimentally.
2010-07-05 00:17:38 +03:00
Günther Deschner
cc8d6d99df s4-smbtorture: fix incorrect IDL for QueryMultipleValue (aka RVALENT).
Found by torture test.

Guenther
2010-06-29 23:10:47 +02:00
Günther Deschner
c02cbaae34 winreg: fix winreg_QueryMultipleValues2 IDL.
Guenther
2010-06-29 12:26:57 +02:00
Günther Deschner
bf07bf2857 winreg: fix winreg_QueryMultipleValues() IDL and torture tests.
Guenther
2010-06-29 11:48:53 +02:00
Günther Deschner
5b17d34d62 ntlmssp: add decode_NTLMv2_RESPONSE to IDL.
Guenther
2010-06-16 14:42:23 +02:00
Nadezhda Ivanova
8823bdc7e2 Added guids for the validated writes. 2010-06-09 12:03:32 +03:00
Günther Deschner
102b0cfe62 security: move generic_mapping and standard_mapping to security.idl.
Guenther
2010-06-03 11:00:26 +02: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
Günther Deschner
e94e13bd8d rap: use rap_LogonHours in rap_NetUserInfo11 as well.
Guenther
2010-05-26 22:55:45 +02:00
Günther Deschner
dd05e173a2 rap: fix typo in IDL.
Guenther
2010-05-26 22:48:32 +02:00
Günther Deschner
fbd1d50824 rap: add rap_NetUserGetInfo IDL.
Guenther
2010-05-26 22:18:07 +02:00
Andrew Bartlett
974ed9cf2c s4:idmap Seperate idmap structures from winbind.idl and match to source3/ idmap
These structures now match those in use in the source3 code.  I'm not
sure if this is the better API or not, but it is far, far safer to
remove a pointer than to add one.

Andrew Bartlett
2010-05-24 23:08:56 +10:00
Günther Deschner
032c051523 rap: fix rap_NetUserPasswordSet2 IDL.
Guenther
2010-05-21 18:10:57 +02:00
Kamen Mazdrashki
a4719a4e12 s4-drsuapi: Sort ATTID definitions by ATTID value 2010-05-21 17:36:40 +03:00
Kamen Mazdrashki
ffc46769b3 s4/drsuapi: Yet another set of predefined ATTIDs 2010-05-21 17:36:40 +03:00
Jeremy Allison
b0d7a3d123 Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the correct way.
No more magic blobs :-). Use ndr_push_struct_blob() to
push a properly formatted VERSION struct.

Jeremy.
2010-05-19 10:36:39 -07:00
Kamen Mazdrashki
ad9050a6ff s4/drsuapi: Add another set of predefined ATTIDs
Very useful for debugging/dumping purposes
2010-05-19 02:49:05 +03:00