Kai Blin
eb4f101200
s4 dns: Allow more components as part of a domain name
2010-10-23 10:17:06 +00:00
Kai Blin
80f30889e9
s4 dns: Fix a data corruption in the dns_string parsing
2010-10-23 10:17:05 +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
Andrew Tridgell
4fa0ceb751
waf: RPC_NDR_WINBIND is samba4 specific
...
this caused problems with the s3 waf build
2010-10-21 20:56:38 +11:00
Andrew Tridgell
4af59515f6
librpc: added RPC_NDR_SAMBA grouping library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:26 +11:00
Andrew Tridgell
f7aca49e20
librpc: added NDR_XATTR and NDR_UNIXINFO to the NDR_SAMBA grouping library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:26 +11:00
Andrew Tridgell
9bc47cc455
waf-build: create a NDR_SAMBA grouping library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:24 +11: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
203dc4f929
s3-waf: fix the build of smbtorture.
...
Guenther
2010-10-18 15:57:03 +02:00
Stefan Metzmacher
abeef470c4
librpc: Fixed memory context of dcerpc_binding_from_tower.
2010-10-18 14:03:21 +02:00
Andrew Bartlett
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.
This includes (along with other security headers) dom_sid.h and
security_token.h
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-12 05:54:10 +00:00
Jelmer Vernooij
7552dd8d1e
rpc_ndr_netlogon: Add missing dependency on tevent.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 23:04:13 UTC 2010 on sn-devel-104
2010-10-10 23:04:13 +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
Günther Deschner
b75674c2eb
Revert "libndr: fix "excess elements in struct initializer" warning."
...
This reverts commit a416ff26d6
.
2010-10-05 22:55:30 +02:00
Günther Deschner
a416ff26d6
libndr: fix "excess elements in struct initializer" warning.
...
Guenther
2010-10-05 13:09:05 +00:00
Matthieu Patou
52d32e08a4
idl: dfsblobs fix glitches in the implementation
2010-10-05 11:19:40 +04:00
Matthieu Patou
83f3f5e15a
ndr: Handle the case of string array with all null terminated strings
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
ee7ee2c4c2
ndr: Implement push function for IPv6 addresses
...
Thanks to Julien Kerihuel for providing the patch that pushed me to
finish my own IPv6 patches.
2010-10-04 20:59:59 +02:00
Kai Blin
013780b1e1
ndr: Add support for pulling/printing an ipv6address type
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
Andrew Tridgell
9bae4cd3d9
s4-rpc: added target_principal binding handle option
...
this allows you to specify a target SPN for a connection
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01 22:31:57 -07: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
Stefan Metzmacher
bffa192bfe
librpc/ndr: remove 'async' from ndr_interface_call
...
metze
2010-09-28 23:06:47 +02:00
Günther Deschner
48adfb264f
samr: add three new ACB flags to IDL.
...
Guenther
2010-09-28 01:17:16 +02:00
Günther Deschner
f2310cacde
waf: add more NDR subsystems for shared IDL files.
...
Guenther
2010-09-27 07:12:09 +02:00
Günther Deschner
611c8310ab
s4-waf: remove NDR-SRVSVC alias.
...
Thanks tridge, this was driving me nuts...
Guenther
2010-09-27 07:12:08 +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
Günther Deschner
bd5f932eef
s4-waf: add NDR_EVENTLOG.
...
Guenther
2010-09-24 21:10:47 -07:00
Günther Deschner
204ba65772
s4-waf: rename subsystem NDR_LSAPRC to NDR_LSA.
...
Guenther
2010-09-24 21:10:47 -07:00
Günther Deschner
0261b96bd8
s4-waf: move the RPC_NDR subsystems to main librpc wscript_build.
...
Guenther
2010-09-23 14:48:34 -07: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
Günther Deschner
ce6ef803ce
s4-waf: add NDR_LSARPC and NDR_SAMR.
...
Guenther
2010-09-23 08:13:15 -07:00
Günther Deschner
43e3555ed9
s4-waf: move two more NDR_ subsystems to main directory.
...
Guenther
2010-09-23 08:13:14 -07:00
Günther Deschner
7f53773608
waf: fix generated nbt.h path, should fix s4 install.
...
Guenther
2010-09-23 02:15:05 -07:00
Günther Deschner
031dd8cc62
waf: move majority of shared NDR_ subsystems to main wscript_build.
...
(so they can be used by s3 waf later)
Guenther
2010-09-23 01:01:40 -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
Andrew Tridgell
83a24ff2ef
pidl: prevent ndr_print_*() dying on NULL pointers
...
when using ndrdump you can get uninitialised structures containing
pointers. Don't segfault when trying to print them
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
Andrew Tridgell
7ca69f7462
librpc: bitten by the strncasecmp define again
2010-09-07 14:33:20 +10:00
Julien Kerihuel
e5e5a1110f
Add unique IP address binding for client connections (EPM and ncacn_ip_tcp levels)
...
This allows for binding strings like this:
ncacn_ip_tcp:host[localaddress=192.168.2.1,seal]
which will force the connection to be locally bound to the specified
IP address
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-07 09:55:14 +10:00
Stefan Metzmacher
54d2dce7b1
librpc/rpc: add dcerpc_binding_handle_set_timeout()
...
metze
2010-09-04 09:01:19 +02:00
Günther Deschner
e5c7ec6698
winreg: add winreg_RestoreKeyFlags to IDL.
...
Guenther
2010-08-31 23:17:40 +02:00
Stefan Metzmacher
11a3d78951
librpc/ndr: correctly implement ndr_charset_length()
...
Before we ignored the charset type.
metze
2010-08-30 08:44:38 +02:00
Jelmer Vernooij
e260965929
manpages: Avoid using Samba-Team specific DTD, which requires net access
...
or modification of /etc/catalogs.
2010-08-26 04:04:37 +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
7e936e3122
s4-ndr_basic.c: Fix ndr_*_hyper() when [bigendian] data is processed
2010-08-21 00:33:52 +03: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
Stefan Metzmacher
fe7819ae6f
librpc/rpc: move dcerpc_read_ncacn_packet_send/recv() to dcerpc_util.c
...
metze
2010-08-20 18:09:25 +02: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
Stefan Metzmacher
ce60e8d697
librpc/rpc: call do_ndr_print hook in dcerpc_binding_handle_call*()
...
metze
2010-08-18 15:57:52 +02: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
Andrew Tridgell
3828c76c76
ndr: allow ndr_print to print DATA_BLOB
...
this prints DATA_BLOB structures using the ndr->print() calls
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-14 11:58:13 +10:00
Andrew Tridgell
7bb5d353e8
dnsp: dnsp_name is 2 byte aligned
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-14 11:58:12 +10:00
Stefan Metzmacher
b34209006f
s4:librpc/rpc: make struct dcerpc_binding_handle private
...
metze
2010-08-12 14:31:21 +02:00
Stefan Metzmacher
4030bc9b2d
librpc/rpc: add dcerpc_binding_handle abstration
...
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
ad94ae9804
librpc/idl/mgmt.idl: add missing size_is()
...
metze
2010-08-08 11:05:19 +02:00
Andrew Tridgell
1946ab5a1b
s4-dns: ndr_dnsp helper functions
...
these handle the dnsp_name type
2010-08-05 17:31:29 +10: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
Simo Sorce
b20e5eb3aa
dcerpc: Clarify what the arguments of dcerpc_pull_auth_trailer() actually represent.
2010-07-20 08:28:19 -04:00
Andrew Tridgell
a709e423d2
waf-idl: put the gen_ndr/README file for source3 back
...
This was removed by 100d37fc46
, probably
accidentially.
2010-07-19 22:17:17 +10: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
65116adceb
s3-dcerpc: Fix ability to receive Big Endian PDUs
2010-07-16 16:02:39 -04: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
e340aa40d1
dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c file
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13 14:44:10 +02:00
Günther Deschner
716f9d6847
s4-dcerpc: move some util functions up to main librpc directory.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13 14:44:09 +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
Andreas Schneider
e52f3d8637
s3-librpc: Fixed GUID_from_data_blob() with length of 32.
...
If we hit the case that the blob length is 32. The code goes to the end
of the function and generates a GUID with garbage.
So try to convert the blob to the GUID and return.
2010-06-29 11:12:12 +02:00
Andreas Schneider
dc2e41a16a
librpc: Use switch in GUID_from_data_blob().
2010-06-28 10:18:12 +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
Günther Deschner
bcd4077be6
s3: remove unused librpc/ndr/sid.c.
...
Guenther
2010-06-03 01:07:17 +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
7bcd9c5583
libndr: add support for relative_rap_convert.
...
Will not harm anyone, is only used for rare short (2byte) relative pointers, and
relative_rap_convert is always 0 so far (as all init functions using struct
ndr_pull will zero the struct).
Guenther
2010-05-27 23:25:15 +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
Günther Deschner
b75384546a
librpc: finally merge ndr_string.c.
...
Guenther
2010-05-20 13:57:22 +02: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
Matthieu Patou
970cbad79a
librpc/idl: fix errors and improve idl in dfsblobs
...
Fix problems between strings and nstring
Allow get_deferral parameters to be used by ndr_push/pull_blobs
Handle correctly the 16 bytes padding
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:12 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Günther Deschner
ca73e03eb7
security: merge builtin rid tables.
...
Guenther
2010-05-18 00:44:26 +02:00
Günther Deschner
566418f1a1
ntprinting: add ntprinting.idl.
...
This generates convenient unmarshalling routines for pulling out spoolss related
information out of ntprinters.tdb, ntforms.tdb and ntdrivers.tdb.
Guenther
2010-05-14 14:12:57 +02:00
Günther Deschner
732a132c4f
rap: add rap_NetOEMChangePassword() to IDL.
...
Guenther
2010-05-10 21:30:27 +02:00
Matthias Dieter Wallnöfer
f1974fbdf9
librpc:dcerpc_error.c - fix a warning
2010-05-09 10:22:55 +02:00
Günther Deschner
93d2e91b90
rap: add rap_NetUserPasswordSet2() to IDL.
...
Guenther
2010-05-08 01:46:40 +02:00
Björn Jacke
e8c3da1fc0
idl: get the logic of the prevous commit right
2010-05-07 13:45:00 +02:00
Björn Jacke
10e0641e34
idl: fix Unix builds by replacing bashism
...
test -nt is not portable - tridge, please check!
2010-05-07 13:38:00 +02:00
Günther Deschner
e90c874b25
rap: add IDL for rap_NetShareAdd (undocumented in MS-RAP).
...
Guenther
2010-05-05 17:21:05 +02:00
Günther Deschner
ab1d9a923c
rap: add rap_NetPrintDestGetInfo to IDL.
...
Guenther
2010-05-04 15:49:27 +02:00
Günther Deschner
5455e9d77d
rap: add IDL for (undocumented) NetPrintDestEnum.
...
Guenther
2010-05-04 15:47:04 +02:00
Andrew Tridgell
2d13259aef
s3-idl: rebuild IDL files based on all outputs
2010-05-04 13:47:07 +02:00
Andrew Tridgell
f00a9b5715
s4-waf: we don't need the symlink hack for gen_ndr any more
...
we can now generate files into the build directory
2010-05-04 13:47:07 +02:00
Andrew Tridgell
09eb1e3e45
idl: removed the generated gen_ndr/ files from pidl
...
Samba3 will add these to the release tarball instead. See the mail on
samba-technical
2010-05-04 13:47:07 +02:00
Günther Deschner
84aea4784a
s3: re-run make samba3-idl.
...
Guenther
2010-05-03 14:45:05 +02:00
Günther Deschner
d1fe325a76
s3: re-run make samba3-idl.
...
Guenther
2010-05-03 14:42:43 +02:00
Günther Deschner
fced9445d9
rap: add rap_NetPrintJobSetInfo to IDL.
...
Guenther
2010-05-03 14:42:27 +02:00
Günther Deschner
60736f1e05
s3: re-run make samba3-idl.
...
Guenther
2010-04-30 17:06:58 +02:00
Günther Deschner
24a2ddb6e3
rap: add rap_NetPrintJobGetInfo to IDL.
...
Guenther
2010-04-30 17:06:58 +02:00
Günther Deschner
3d5c7909ea
s3: re-run make samba3-idl.
...
Guenther
2010-04-30 13:53:30 +02:00
Günther Deschner
cd90e002bd
s3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).
...
Guenther
2010-04-30 13:52:14 +02:00
Günther Deschner
4da66a3645
s3: re-run make samba3-idl.
...
Guenther
2010-04-30 13:44:41 +02:00
Günther Deschner
fc9c004e7d
rap: use rap_status in IDL.
...
Guenther
2010-04-30 13:44:41 +02:00
Günther Deschner
3bfceafed7
rap: add rap_status to IDL.
...
Guenther
2010-04-30 13:44:41 +02:00
Günther Deschner
3b3e19724c
s3: re-run make samba3-idl.
...
Guenther
2010-04-30 13:44:41 +02:00
Günther Deschner
1cdb1a9df6
rap: add IDL for rap_NetPrintQueue{Pause,Continue,Purge}.
...
it seems like they are not documented (at least not in MS-RAP).
Guenther
2010-04-30 13:44:40 +02:00
Günther Deschner
93a9563a42
s3: re-run make samba3-idl.
...
Guenther
2010-04-30 01:45:24 +02:00
Günther Deschner
a11745f21d
rap: fix rap_PrintQueue2 and rap_PrintQueue4.
...
Guenther
2010-04-30 01:44:58 +02:00
Günther Deschner
6a13c028a9
rap: let the rap print function be autogenerated again.
...
Guenther
2010-04-30 01:27:59 +02:00
Günther Deschner
16e2185731
s3: re-run make samba3-idl.
...
Guenther
2010-04-30 01:27:52 +02:00
Günther Deschner
62ef9ad581
rap: use astring in IDL.
...
Guenther
2010-04-30 01:27:43 +02:00
Günther Deschner
e13f2ed296
s3: re-run make samba3-idl.
...
Guenther
2010-04-30 01:25:34 +02:00
Günther Deschner
7dd67f6d03
rap: fill in rap_PrintQueue4 IDL.
...
Guenther
2010-04-30 01:25:28 +02:00
Günther Deschner
131c51db38
s3: re-run make samba3-idl.
...
Guenther
2010-04-30 01:25:21 +02:00
Günther Deschner
696e554e80
rap: fix jobinfo IDL.
...
Guenther
2010-04-30 01:25:15 +02:00
Günther Deschner
1cb7b8ded6
s3: re-run make samba3-idl.
...
Guenther
2010-04-30 01:25:01 +02:00
Günther Deschner
4fc3aefc51
rap: fix some rap_PrintQueue IDL structures.
...
Guenther
2010-04-30 01:24:53 +02:00
Günther Deschner
d266af79b3
rap: add IDL for NetPrintJob{Pause,Continue,Delete}.
...
Guenther
2010-04-29 14:24:02 +02:00
Günther Deschner
169b72dce4
rap: add rap_NetPrintQGetInfo to IDL.
...
Guenther
2010-04-29 13:47:33 +02:00
Günther Deschner
ce9fde439b
rap: fill in rap_PrintQueue2 IDL.
...
Guenther
2010-04-29 12:05:42 +02:00
Günther Deschner
f85a4ab778
s4-rap: add rap print helpers.
...
Guenther
2010-04-29 12:05:41 +02:00
Andrew Tridgell
2bf23735fa
idl: we only need ndr_rap.[ch] and rap.h
2010-04-29 09:22:21 +10:00
Andrew Tridgell
66e47f393c
s4-idl: added generated files from rap.idl
2010-04-29 08:27:58 +10:00
Günther Deschner
42003e5661
s3: re-run make samba3-idl
...
Guenther
2010-04-28 23:23:37 +02:00
Günther Deschner
b66602898a
rap: add rap_NetPrintQEnum to IDL.
...
Guenther
2010-04-28 23:23:37 +02:00
Matthias Dieter Wallnöfer
eceffe6909
nbt: samlogon/netlogon structures - unify denominations
2010-04-27 18:45:41 +02:00
Günther Deschner
874335c48d
s3: re-run make samba3-idl and add generated header file.
...
Guenther
2010-04-26 22:52:59 +02:00
Günther Deschner
8b287b92fd
rap: add rap idl.
...
Guenther
2010-04-26 22:52:59 +02:00
Günther Deschner
440075247d
spoolss: pretty-print a struct spoolss_Time.
...
Guenther
2010-04-22 11:53:41 +02:00
Günther Deschner
7277668128
spoolss: move up enum spoolss_Build in the IDL.
...
Guenther
2010-04-19 11:53:59 +02:00
Günther Deschner
0277143ca6
s3: re-run make samba3-idl.
...
Guenther
2010-04-19 11:10:11 +02:00
Günther Deschner
5b3c22e96f
spoolss: make spoolss_SetPrinterInfo0 match changes in spoolss_PrinterInfo0.
...
Guenther
2010-04-19 11:10:01 +02:00
Stefan Metzmacher
fed16f4015
librpc/rpc: add dcerpc_fault_to_nt_status()
...
For now this only handles fault codes with we've seen yet
and for which we have explicit torture checks.
metze
2010-04-15 09:34:03 +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
Jelmer Vernooij
e1630ecb11
idl: Use C-style comments, because cpp on some platforms doesn't accept
...
// comments.
2010-04-11 22:19:49 +02:00
Günther Deschner
202d330be6
s3: re-run make samba3-idl.
...
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
347035d61f
winreg: move REG_OPTION_NON_VOLATILE out of option bitmask.
...
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
b9188e4571
winreg: fill in IDL for winreg_QueryMultipleValues2.
...
Guenther
2010-04-09 18:33:45 +02:00
Stefan Metzmacher
718a804613
librpc/rpc: fix typo DERPC_ => DCERPC_
...
metze
2010-04-09 16:28:30 +02:00
Stefan Metzmacher
92d98b6816
librpc: rerun make idl
...
metze
2010-04-09 16:28:30 +02:00
Stefan Metzmacher
ba5825ead8
dcerpc.idl: fix typo DERPC_ => DCERPC_
...
metze
2010-04-09 16:28:29 +02:00
Jelmer Vernooij
673ca04114
s4-build: Fix autoconf build (net_machinepw.c is no longer present)
2010-04-09 14:21:24 +02:00
Günther Deschner
faf2d4988b
s3: re-run make samba3-idl.
...
Guenther
2010-04-09 13:57:18 +02:00
Günther Deschner
eda0aa4b91
winreg: rename winreg_KeyType to winreg_KeyOptions.
...
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
ab27c6d138
s3: re-run make samba3-idl.
...
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
8805490853
winreg: keytype options is a bitmask.
...
Guenther
2010-04-09 13:57:17 +02:00
Kamen Mazdrashki
8dd5705a59
librpc/idl: Use [nopython] attr for types used in decode_PrimaryKerberos method
...
C code generation for python module generates invalid code
(i.e. can not be compiled).
Another reason to 'hide' those types from Python is
that those types are not used at the moment
(and most probably won't be used in the future)
2010-04-09 12:21:28 +03:00
Andrew Bartlett
2ea99c22c3
librpc/idl Use [nopython] on some drsblobs.idl 'functions' as an example
...
It makes little sense to expose these 'functions' to anything other
than ndrdump.
Andrew Bartlett
2010-04-09 12:21:27 +03:00
Kamen Mazdrashki
ffd1d7ee7e
s4/idl: drsblobs IDL regeneration
2010-04-09 12:21:24 +03:00
Kamen Mazdrashki
63e1aae69c
s4/idl: Schema:schemaInfo attribute description
2010-04-09 12:21:24 +03:00
Günther Deschner
e42d5b5ae3
s3: re-run make samba3-idl.
...
Guenther
2010-04-09 00:27:58 +02:00
Günther Deschner
dc4bf5651e
winreg: add IDL for winreg_DeleteKeyEx.
...
Guenther
2010-04-09 00:27:58 +02:00
Günther Deschner
7c54ff5898
s3: re-run make samba3-idl.
...
Guenther
2010-04-08 23:48:43 +02:00
Günther Deschner
e7a157317a
winreg: fill in some winreg IDL gaps.
...
Guenther
2010-04-08 23:48:43 +02:00
Andrew Tridgell
553324bc10
s4-waf: move to a universal method of recursing into subdirs
...
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
aa5e08eb83
s4-waf: install the rest of the headers
2010-04-06 20:27:09 +10:00
Andrew Tridgell
b7cc6d48d5
build: teach samba_pild.py about the --com-header and --dcom-proxy options
2010-04-06 20:26:52 +10:00
Andrew Tridgell
a9ea3d6fa5
build: cope with the common gen_ndr files being in the git tree
2010-04-06 20:26:49 +10:00
Andrew Tridgell
e916aff9e1
build: much nicer pidl rules
2010-04-06 20:26:47 +10:00
Andrew Tridgell
36e6d11dce
build: add README to explain gen_ndr, and ensure directory exists
2010-04-06 20:26:40 +10:00
Andrew Tridgell
9129c3b3b6
build: fixes from ita
2010-04-06 20:26:40 +10:00
Andrew Tridgell
481fde5347
build: mail IDL build rules
2010-04-06 20:26:39 +10:00
Andrew Tridgell
fae84f98e3
libutil: moved the networking defines to util_net.h
...
These were causing thousands of warnings on solaris8
2010-03-26 17:36:02 +11:00
Günther Deschner
fa1245f01c
s3: re-run make samba3-idl.
...
Guenther
2010-03-25 11:04:52 +01:00
Günther Deschner
1ff55500de
drsblobs: remove utf8string2 from ForestTrustData.
...
Simo, it's not really worth to add a new idl type just for being able to omit
the size field. The size field is part of the spec in MS-ADTS 7.1.6.9.3.1 so we
should have it as well.
Guenther
2010-03-25 11:04:52 +01:00
Kamen Mazdrashki
ef6976dad3
idl: drsuapi.idl - fix few more comments
2010-03-24 17:34:45 +02:00
Kamen Mazdrashki
9ad8f808f7
idl: Regenerate DRSUAPI idl files
2010-03-24 17:34:45 +02:00
Kamen Mazdrashki
aa572a4334
s4/drs: Pretty print for drsuapi_SecBufferType
...
It is a type and mask combined in one DRS field so
we have to make a custom ndr_print implementation for this type
2010-03-24 17:34:44 +02:00
Kamen Mazdrashki
842d75613b
s4/idl: DsAddEntry V3 request description
2010-03-24 17:34:43 +02:00
Kamen Mazdrashki
6b3ff0de46
s4/idl: Remove drsuapi_DsAddEntryExtraErrorBuffer - it is not used anymore
2010-03-24 17:34:42 +02:00
Kamen Mazdrashki
3efad5a6d8
s4/idl: Complete drsuapi_DsAddEntryErrorInfo description
...
Members for Security, Service, Update and System errors renamed
to be more descriptive.
All those error types share same description.
2010-03-24 17:34:41 +02:00
Kamen Mazdrashki
0663799275
s4/idl: Add DsAddEntry Referral error definition
2010-03-24 17:34:40 +02:00
Kamen Mazdrashki
61e80fe3eb
s4/idl: Add DsAddEntry Name resolution error definition
2010-03-24 17:34:39 +02:00
Kamen Mazdrashki
fbaf3b3799
s4/drs: pretty print for drsuapi_DsAddEntry_AttrErrListItem_V1
2010-03-24 17:34:38 +02:00
Kamen Mazdrashki
98cbcf809f
s4/idl: redefine drsuapi_DsAddEntryErrorInfo1
...
This actually describes Attribute error during DsAddEntry execution.
Structure is renamed to drsuapi_DsAddEntryErrorInfo_Attr.
And structure to define Attribute error data are all
prefixed with drsuapi_DsAddEntry_AttrErr
2010-03-24 17:34:37 +02:00
Kamen Mazdrashki
7b4341637c
s4/idl: drsuapi_DsAddEntryError refactored
...
Structure description and name was changed to be aligned with
WSPP definition.
Ref: [MS-DRSR] 4.1.1.1.23
2010-03-24 17:34:36 +02:00
Kamen Mazdrashki
fbc1528649
s4/idl: DsAddEntry - refactor DsAddEntryCtr2 structure
...
Reply structure definition was aligned with WSPP documentation
Ref: [MS-DRSR], section 4.1.1.1.7
2010-03-24 17:34:34 +02:00
Kamen Mazdrashki
4cdf4627a1
s4/idl: Update drsuapi_DsAddEntryErrorInfoX definition
...
drsuapi_DsAddEntryErrorInfoX is an extended error
description used by most of the error infos returned
by DsAddEntry RPC method.
2010-03-24 17:34:33 +02:00
Kamen Mazdrashki
818719f7ba
s4/idl: DIRERR error codes definition
...
DIRERR codes specify class of error returned from
DsAddEntry method call.
Ref: [MS-DRSR], section 4.1.1.1.25
2010-03-24 17:34:32 +02:00
Kamen Mazdrashki
a4ed8dc1fd
s4/idl: DsAddEntry - switch types should be unsigned
2010-03-24 17:34:31 +02:00
Simo Sorce
7d89c7c17b
idl: fix comment and convert whitespaces to tabs
2010-03-24 07:46:00 -04:00
Simo Sorce
fd2bc08138
idl: fix forest trust information idl
...
--validate now passes
2010-03-23 18:47:39 -04:00
Karolin Seeger
d05a1bd013
s3: Re-run make samba3-idl.
...
Karolin
2010-03-23 15:24:25 +01:00
Karolin Seeger
18d1821490
security.idl: Add missing builtin groups.
...
Karolin
2010-03-23 15:22:48 +01:00
Stefan Metzmacher
77de23384d
librpc/rpc: fix dcerpc_errstr() to handle all nca_s_* status codes and fallback to WERROR codes
...
metze
2010-03-23 14:37:58 +01:00
Günther Deschner
56180e3d2b
s3:re-run make samba3-idl.
...
Guenther
2010-03-23 14:37:40 +01:00
Stefan Metzmacher
0fa67c8d8f
dcerpc.idl: add nca_s_* status codes from the DCE 1.1 specification
...
metze
2010-03-23 14:37:25 +01:00
Simo Sorce
9f84d72ef1
idl:drsblobs add code to interpret msDS-TrustForestTrustInfo
2010-03-23 01:09:50 -04:00
Simo Sorce
d9e311ddce
s4:lsa Functions to set Domain Trust Information
2010-03-22 21:49:40 -04:00
Andrew Tridgell
55c45110e6
charset: fixed a problem with the global use of the iconv_convenience structure
...
We had a crash bug where a cached copy of a iconv convenience pointer
was used after being freed when loadparm asked for iconv to
reload. This could happen if a python module used a iconv based
function before loadparm was completed.
The fix is to ensure that any use of this pointer remains valid, by
reusing the pointer itself when it has already been initialised, but
filling in the child elements with the updated values.
2010-03-18 14:18:41 +11:00
Günther Deschner
0e47277dd7
s3: re-run make samba3-idl.
...
Guenther
2010-03-16 21:52:29 +01:00
Günther Deschner
4f28afc929
lsa: fix IDL for lsa_SetTrustedDomainInfoByName.
...
Guenther
2010-03-16 21:51:37 +01:00
Günther Deschner
a6d42784d0
s3: re-run make samba3-idl.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-16 15:12:18 +01:00
Simo Sorce
cfa2b7b6bf
s4:idl add lsaRSetForestTrustInformation
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-16 15:12:18 +01:00
Matthias Dieter Wallnöfer
c91afe9596
security.idl - push generated code diff
2010-03-16 15:01:46 +01:00
Simo Sorce
8353aa39b6
s4:idl change level to type in lsa_ForestTrustRecord.
2010-03-16 14:48:40 +01:00
Nadezhda Ivanova
a212c1dedb
Added a net acl ds command for modification of ACLs on directory objects
...
At present the command supports only addition of control access rigts, done
so DRS access checks can be tested. It will be expanded to deal with most
ways to modify and view a DS ACL.
Shifted commands a bit. What used to be net acl is now "net acl nt" as apposed
to this, which is "net acl ds"
./bin/net acl ds set --help
Usage: set --objectdn=objectdn --car=control right --action=[deny|allow] --trusteedn=trustee-dn
Options:
-h, --help show this help message and exit
--host=HOST LDB URL for database or target server
--car=CAR The access control right to allow or deny
--action=ACTION Deny or allow access
--objectdn=OBJECTDN DN of the object whose SD to modify
--trusteedn=TRUSTEEDN
DN of the entity that gets access
Samba Common Options:
-s FILE, --configfile=FILE
Configuration file
Credentials Options:
--simple-bind-dn=DN
DN to use for a simple bind
--password=PASSWORD
Password
-U USERNAME, --username=USERNAME
Username
-W WORKGROUP, --workgroup=WORKGROUP
Workgroup
-N, --no-pass Don't ask for a password
-k KERBEROS, --kerberos=KERBEROS
Use Kerberos
2010-03-16 13:37:48 +02:00