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

1076 Commits

Author SHA1 Message Date
Andrew Bartlett
cfeceedfab librpc make ndr-standard a common library 2011-02-18 18:41:00 +11:00
Andrew Bartlett
177ddcb084 librpc push NDR_SECURITY and NDR_DCERPC to the top level wscript files
There isn't any reson to keep these private to source3 and source4 and
more, and doing so creates problems for the top level build.

Andrew Bartlett
2011-02-18 18:41:00 +11:00
Andrew Tridgell
5debcb1027 idl: naming a structure 'VERSION' is not a good idea!
this renames it to ntlmssp_VERSION

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17 00:55:23 +01:00
Günther Deschner
0aed229710 libndr: remove prototype for nonexisting function ndr_print_ipv4_addr().
Guenther
2011-02-17 00:54:16 +01:00
Günther Deschner
3722f65359 librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).
Simo, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 18:54:38 CET 2011 on sn-devel-104
2011-02-14 18:54:38 +01:00
Matthieu Patou
f8a156dbe6 librpc: add bindings for dnsp in python 2011-02-13 01:23:05 +03:00
Andrew Tridgell
5507d6850f s4-build: fixed export of krb5pac.h, needed by other public headers
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Feb 11 01:45:55 CET 2011 on sn-devel-104
2011-02-11 01:45:55 +01:00
Günther Deschner
ad0a3185ce librpc: move preg.idl to main directory.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104
2011-02-10 13:56:49 +01:00
Andrew Tridgell
172e0a177d s4-auth: install gen_ndr/auth.h, used by public session.h
needed for openchange. Thanks to Brad for reporting this.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10 06:51:07 +01:00
Andrew Bartlett
d66150c14d libcli/named_pipe_auth Change from 'info3' to auth_session_info_transport
This changes the structure being used to convey the current user state
from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built
structure that matches the internals of the Samba auth subsystem and
contains the final group list, as well as the final privilege set and
session key.

These previously had to be re-created on the server side of the pipe
each time.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10 06:51:06 +01:00
Andrew Bartlett
248c821780 auth.idl fix size_is() reference in IDL
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10 06:51:06 +01:00
Andrew Bartlett
543ef3b5bf libcli/named_pipe_auth Remove support for unused levels 0-2.
The only client and server for this code uses level 3 exclusively.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10 06:51:06 +01:00
Andrew Bartlett
f1c0e9532d s4-auth Add auth.idl to encode auth subsystem structures in IDL
This is not only a useful way to encode stuff, it also allows python
to handle the structures, and natrually allows them to be NDR encoded.

Andrew Bartlett
2011-02-09 01:11:06 +01:00
Günther Deschner
4086c1e382 s4-waf: split out wscript_build for ndrdump binary.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 14:50:54 CET 2011 on sn-devel-104
2011-02-08 14:50:54 +01:00
Günther Deschner
56fe080d87 lib/compression: add shared wscript_build.
Guenther
2011-02-08 14:05:36 +01:00
Günther Deschner
947ba448a4 libndr: apply some const and make is_valid_policy_hnd a callback to policy_handle_empty.
Guenther
2011-02-08 14:05:36 +01:00
Günther Deschner
be5edba117 libndr: share some uuid helpers.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 09:52:56 CET 2011 on sn-devel-104
2011-02-08 09:52:56 +01:00
Günther Deschner
84dbc2a82d ndr: merge ndr_map_error2string and ndr_errstr.
Guenther
2011-02-08 08:58:31 +01:00
Günther Deschner
8b55ae1785 ndr: move null_ndr_syntax_id to the common libndr location.
Guenther
2011-02-08 08:58:21 +01:00
Günther Deschner
724c982131 ndr: merge duplicate ndr_map_error2ntstatus() functions.
Guenther
2011-02-08 08:58:11 +01:00
Andrew Bartlett
4ae013c01b s4-waf Don't include ../librpc in paths
The paths here are relative to the librpc directory the wscript_build
file is in, and so these don't actually change anything.

Andrew Bartlett
2011-02-07 13:22:01 +11:00
Günther Deschner
885887ac1b s3-waf: no need to call pidl with --samba3-ndr-client anymore.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  2 21:38:23 CET 2011 on sn-devel-104
2011-02-02 21:38:23 +01:00
Günther Deschner
2534e01a3a s3-build: remove --samba3-ndr-client from build_idl.sh script.
Guenther
2011-02-02 20:53:15 +01: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
1537f5dab1 s4-smbtorture: add samr_changepassworduser3 ndr torture tests.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 31 16:07:14 CET 2011 on sn-devel-104
2011-01-31 16:07:14 +01:00
Stefan Metzmacher
4d66e0ef93 librpc/rpc: add dcerpc_fault_to_nt_status() mapping from DCERPC_FAULT_SEC_PKG_ERROR
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Jan 30 18:24:04 CET 2011 on sn-devel-104
2011-01-30 18:24:04 +01:00
Stefan Metzmacher
8d07deaeaa dcerpc.idl: add DCERPC_FAULT_SEC_PKG_ERROR
metze
2011-01-30 17:36:24 +01:00
Günther Deschner
6957109e8d s4-smbtorture: add NDR tests for netr_LogonSamLogon.
Guenther
2011-01-28 15:37:10 +01:00
Andreas Schneider
eacc9d659a idl: Added missing endpoint mapper defines.
[MS-RPCE] 2.2.1.2.4 ept_lookup Method
2011-01-27 14:41:40 +01:00
Andreas Schneider
da3e057b6f librpc: Added support to accept netbios names.
If we have a NCACN_NP pipe, the binding host is the netbios name an not
an IP address.
2011-01-27 14:41:40 +01:00
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
Günther Deschner
dd35fe181c waf: share libndr.so between samba3 and samba4.
Guenther
2011-01-25 11:42:46 +01:00
Günther Deschner
7eac3100ea libndr: move ndr_print_bool to ndr_basic.c
Guenther
2011-01-25 11:42:46 +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
e7b1acaddf dns: cope with trailing '.' in dns_name 2010-12-21 11:18:20 +01:00
Matthias Dieter Wallnöfer
464b8fa317 librpc/ndr/ndr_*.c - remove "const" from OIDs 2010-12-21 15:10:37 +11:00
Andrew Tridgell
4820c97e9e dns: fixed the padding for dnsp_name fields in LDAP
all names are NUL terminated, but may have additional padding as well

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Dec 21 03:26:26 CET 2010 on sn-devel-104
2010-12-21 03:26:26 +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
Andrew Tridgell
b9a2852fdd dnsp: fixed parsing of dns_name structures
its not a pad byte, its a trailing zero
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