summaryrefslogtreecommitdiffstats
path: root/librpc/idl
Commit message (Collapse)AuthorAgeFilesLines
* smbd: Remove pre-allocation of ACL array in sys_acl_init()Andrew Bartlett2012-09-121-1/+0
| | | | | | | | Instead, this is just handled with realloc in sys_acl_create_entry() This allows us to remove the size element from the SMB_ACL_T. Andrew Bartlett
* smbd-posix_acls: Use a IDL union to store the ACL entryAndrew Bartlett2012-09-121-5/+21
| | | | | | | This is a clearer, long-term-stable structure we can hash without risking it changing. Andrew Bartlett
* s4 dns: Create IDL entry for TSIG-like record needed for signature checkKai Blin2012-09-051-0/+14
|
* s4 dns: Revert erroneous push from wrong branchKai Blin2012-09-051-14/+0
| | | | | | | I've pushed the wrong branch for this, sorry about that. Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Wed Sep 5 14:10:54 CEST 2012 on sn-devel-104
* s4 dns: Handle GSS-TSIG signaturesKai Blin2012-09-051-0/+14
|
* SEC_RIGHTS_DIR_PRIV_BACKUP and SEC_RIGHTS_DIR_PRIV_RESTORE aren't used ↵Jeremy Allison2012-08-311-8/+7
| | | | | | | | anywhere. Remove (can re-add if needed). Ensure the privilege rights are always specific rights, not generic. By the time the privilege rights are examined, we've already mapped from generic to specific in the access_mask.
* librpc/idl: Fix acl array definition in smb_acl_tAndrew Bartlett2012-08-161-1/+1
|
* librpc/idl: Make smb_acl_t public so we can pull/push it as a blobAndrew Bartlett2012-08-151-1/+1
|
* s3-smbd: Move smb_acl_t declaration to smb_acl.idlAndrew Bartlett2012-08-152-1/+64
| | | | | | | | This will allow us to marshall this into and from an NDR blob on disk, which will allow us to fake up ACL support during make test, and to test the NT ACL emulation using python bindings via the VFS. Andrew Bartlett
* ntprinting: make decode_ntprinting helpers public in idl.Günther Deschner2012-07-061-3/+3
| | | | Guenther
* auth: Use only security_token_is_system to determine that a user is SYSTEMAndrew Bartlett2012-06-191-5/+0
| | | | | | | | | | This removes the duplication on how to detect that a user is system in Samba now that the smbd system account is also only SID_NT_SYSTEM we can use the same check everywhere. Andrew Bartlett Signed-off-by: Andreas Schneider <asn@samba.org>
* auth.idl: mark confidential attributes as [noprint]Stefan Metzmacher2012-06-151-4/+4
| | | | | | | | We should allow NDR_PRINT_DEBUG() to log them. TODO: we could add some more magic which logs it at level 100. metze
* idl: add File Server Remote VSS Protocol idlDavid Disseldorp2012-06-082-2/+115
| | | | | MS-FSRVP preview documents used as reference. H_ERROR codes should be moved to a more generic file.
* s4 dns: Add TSIG and TKEY records to idlKai Blin2012-05-081-11/+56
|
* s4-messaging: Fill in the whole server_id in all use casesAndrew Bartlett2012-04-301-0/+3
| | | | | | | | | | | | This started per https://bugzilla.samba.org/show_bug.cgi?id=8872#c4 and avoids any possible collision with a different process. We also need to ensure that across a Samba installation on a single node that id.vnn is the same. Samba4 previously used 0, while Samba3 used NONCLUSTER_VNN. When a message is sent between these 'different' nodes, the error NT_STATUS_INVALID_DEVICE_REQUEST is raised. Andrew Bartlett
* idl: fix the charset for the source_dsa_address in DsReplicaDel callMatthieu Patou2012-04-221-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 22 03:00:06 CEST 2012 on sn-devel-104
* s3: New notify implementationVolker Lendecke2012-04-171-0/+13
| | | | | | | | | | | | From notify_internal.c: /* * The notify database is split up into two databases: One * relatively static index db and the real notify db with the * volatile entries. */ This change is necessary to make notify scale better in a cluster
* idl: add offload data transfer ioctl typesDavid Disseldorp2012-03-151-0/+57
| | | | | | | | | | | | | | | | | For future use in handling FSCTL_OFFLOAD_READ, FSCTL_OFFLOAD_WRITE and IOCTL_STORAGE_QUERY_PROPERTY requests new to Windows 8. Based on preliminary data structure documentation from: http://msdn.microsoft.com/en-us/library/windows/hardware/hh451101%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/hardware/hh451122%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/hh449428%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/hardware/hh451469%28v=vs.85%29.aspx Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Lars Müller <lars@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Thu Mar 15 18:40:11 CET 2012 on sn-devel-104
* idl: dnsserver: Add DNS_RPC_RECORD_STRING data type for TXT DNS recordAmitay Isaacs2012-03-021-2/+8
|
* idl: dnsp: Add dnsp_string_list data type for TXT DNS recordAmitay Isaacs2012-03-021-1/+6
|
* idl: wmi and dcom don't need python bindingsAndrew Tridgell2012-02-081-1/+1
| | | | the python generation for these IDL files is currently broken
* auth: provide private pointer and do not return original PAC signaturesAndrew Bartlett2012-01-291-2/+0
| | | | | | | | | | | There is no need to return the PAC signatures via the special-purpose torture element. Instead, use a private pointer on the auth_context in conjunction with the private PAC processing method. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jan 29 23:52:50 CET 2012 on sn-devel-104
* idl: add to_null attribute to the spoolss devicename arrayDavid Disseldorp2012-01-131-1/+1
| | | | | | | | OpenPrinterEx requests have also been observed in the wild carrying non-utf16 garbage after the device mode devicename field null terminator. Signed-off-by: Jeremy Allison <jra@samba.org>
* idl: add to_null attribute to the spoolss formname arrayDavid Disseldorp2012-01-131-1/+1
| | | | | | | | | | | | | | OpenPrinterEx requests have been observed in the wild carrying a device mode formname "A4" followed by non-utf16 garbage after the null terminator. Such requests currently fail during unmarshalling in the ndr_pull_charset() codepath, causing intermittent print job failures. This change ensures that garbage after the device mode formname null terminator is not processed in unmarshalling. https://bugzilla.samba.org/show_bug.cgi?id=8606 Signed-off-by: Jeremy Allison <jra@samba.org>
* idl:dnsserver: Add DNS_DP_STATE enumeration for diretory partition stateAmitay Isaacs2011-12-231-1/+8
|
* idl: Avoid c++ style commentsVolker Lendecke2011-12-211-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 21 13:36:01 CET 2011 on sn-devel-104
* s4 dns: Implement RFC-compatible update prescanKai Blin2011-12-171-3/+4
|
* Add DRSUAPI_DRS_UPDATE_(x) flagsDave Craft2011-12-081-0/+7
| | | | | | | | | | | | DRSUAPI_DRS_UPDATE flags are used in DRS_MSG_REPMOD_V1 message structure when repsFrom is modified via RPC. The RPCs are currently uncoded but samba_kcc maintains the flags (and uses them to identify what repsFrom changes are to be executed). These are currently helpful to samba_kcc and are intended to ultimately be used in RPCs. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Add NTDSConnection schedule attr blobDave Craft2011-12-081-0/+20
| | | | | | | Add schedule blob to drsblobs to allow NDR unpacking into a python class. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* idl:netlogon.idl - add the Active Directory Web Service bit (DS_SERVER_WEBSERV)Matthias Dieter Wallnöfer2011-11-261-0/+1
| | | | | | MS-NRPC 2.2.1.2.1 Signed-off-by: Stefan Metzmacher <metze@samba.org>
* samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner2011-11-091-1/+1
| | | | | | | | | | | | | The entire marshalling of samr_ChangePasswordUser3 broke with c2685cdedb430ae75a94e86f34484292b4269363. Matthias, the bad effect of this change was that actually all failed password change attempts will always return NT_STATUS_OK because the last 4 bytes (the resulting status code) were not marshalled anymore. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 9 00:41:13 CET 2011 on sn-devel-104
* s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTERKai Blin2011-11-041-1/+1
|
* nbt: trim down header dependencies of nbt.idl.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* s4: add some missing header dependencies.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* nbt: move nbt_string ndr functions to ndr/ndr_nbt.c helper.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* nbt: merge in LIBCLI_NDR_NETLOGON helper into NDR_NBT.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* librpc: remove nbt dependency to svcctl.Günther Deschner2011-11-033-34/+34
| | | | Guenther
* librpc: remove nbt dependency to samr.Günther Deschner2011-11-033-13/+10
| | | | Guenther
* s4-torture: Add tests for the smb2 copychunk ioctlDavid Disseldorp2011-10-311-1/+1
| | | | | | Add idls for parsing of copychunk ioctl args. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* idl: add copychunk and request_resume_key ioctl definitionsDavid Disseldorp2011-10-311-0/+33
|
* idl: Improve MS-PAC IDLSimo Sorce2011-10-241-5/+9
| | | | | | | | | | 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
* s4-dns: Added support for multiple DNS_RPC_RECORDS structuresAmitay Isaacs2011-10-201-2/+4
| | | | | | | | | | Windows returns multiple DNS_RPC_RECORDS structures, but there is no well defined structure in [MS-DNSP] doc. Added hand-written code to parse ndr. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dns: Added more data types for dnsserver implementationAmitay Isaacs2011-10-201-376/+547
| | | | | | Windows uses WERROR on dnsserver pipe. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* dnsp: Added typedefs to interpret dnsProperty attribute for dnsZone objectclassAmitay Isaacs2011-10-201-3/+123
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* dnsserver.idl: avoid '//' commentsStefan Metzmacher2011-10-081-180/+180
| | | | | | The compiler on openindiana doesn't like them. metze
* drsuapi: added ncName attid in enumAndrew Tridgell2011-10-041-0/+1
|
* dns: filled in dnsserver.idl Andrew Tridgell2011-10-042-3/+1334
| | | | | | this fills in the functions and structures for the dnsserver RPC protocol. This protocol is used during a subdomain join to add the NS glue record to the parent domain
* dns: Move the dns_srv_record to the correct place in the idl fileKai Blin2011-10-021-7/+7
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun Oct 2 13:35:49 CEST 2011 on sn-devel-104
* dns: Add support for TXT record to idl fileKai Blin2011-10-021-0/+6
|
* dns: The QCLASS is called IN, not IPKai Blin2011-09-281-1/+1
|