kai/samba.git
13 years agoMake SMB signing work with Windows 2008 and kerberos.
Andrew Bartlett [Fri, 5 Sep 2008 23:07:41 +0000 (09:07 +1000)]
Make SMB signing work with Windows 2008 and kerberos.

Pinched from b53e6387e30010509034835acf88b91b380ff44a by metze.

Andrew Bartlett

13 years agoAdd a new error code
Andrew Bartlett [Fri, 5 Sep 2008 06:46:12 +0000 (16:46 +1000)]
Add a new error code

13 years agoUpdate copyright
Andrew Bartlett [Fri, 5 Sep 2008 06:45:58 +0000 (16:45 +1000)]
Update copyright

13 years agoUpdate copyright, I've been working here many long years...
Andrew Bartlett [Fri, 5 Sep 2008 06:45:37 +0000 (16:45 +1000)]
Update copyright, I've been working here many long years...

13 years agoMove our DC to implement mandetory signing.
Andrew Bartlett [Fri, 5 Sep 2008 06:45:10 +0000 (16:45 +1000)]
Move our DC to implement mandetory signing.

(this does not change the file server role, and only really changes
what 'server signing = auto' means)

Optional signing really isn't any benifit to network security.

In doing so, allow anonymous clients (if permitted by policy) to log
in without signing, as Samba3 does not sign these connections (which
would use an all-zero key, so pointless).

Andrew Bartlett

13 years agoWith a windows 2008 client, even anonymous requires signing...
Andrew Bartlett [Fri, 5 Sep 2008 06:24:44 +0000 (16:24 +1000)]
With a windows 2008 client, even anonymous requires signing...

Andrew Bartlett

13 years agoMore work to implement LSA CreateTrustedDomainEx2
Andrew Bartlett [Thu, 4 Sep 2008 06:06:38 +0000 (16:06 +1000)]
More work to implement LSA CreateTrustedDomainEx2

We still don't get the format inside the encrypted blob correct
however.

Andrew Bartlett

13 years agoMerge commit 'origin/v4-0-test' into trusted-domains
Andrew Bartlett [Thu, 4 Sep 2008 01:32:32 +0000 (11:32 +1000)]
Merge commit 'origin/v4-0-test' into trusted-domains

13 years agoRegenerate SWIG file.
Jelmer Vernooij [Wed, 3 Sep 2008 20:55:24 +0000 (22:55 +0200)]
Regenerate SWIG file.

13 years agoAvoid using version call for version string.
Jelmer Vernooij [Wed, 3 Sep 2008 20:29:53 +0000 (22:29 +0200)]
Avoid using version call for version string.

13 years agoAllow overriding shared library policy using environment variable.
Jelmer Vernooij [Wed, 3 Sep 2008 20:26:02 +0000 (22:26 +0200)]
Allow overriding shared library policy using environment variable.

13 years agoFix embedding of Samba 4.
Jelmer Vernooij [Wed, 3 Sep 2008 12:10:35 +0000 (14:10 +0200)]
Fix embedding of Samba 4.

13 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 3 Sep 2008 05:34:44 +0000 (15:34 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet

13 years agoImplement NETLOGON PAC verfication on the server-side
Andrew Bartlett [Wed, 3 Sep 2008 05:30:17 +0000 (15:30 +1000)]
Implement NETLOGON PAC verfication on the server-side

This is implemented by means of a message to the KDC, to avoid having
to link most of the KDC into netlogon.

Andrew Bartlett

13 years agoMerge krb5_cksumtype_to_enctype from Heimdal svn -r 23719
Andrew Bartlett [Wed, 3 Sep 2008 04:20:30 +0000 (14:20 +1000)]
Merge krb5_cksumtype_to_enctype from Heimdal svn -r 23719

13 years agoTest a few more error cases in RPC-PAC
Andrew Bartlett [Wed, 3 Sep 2008 04:19:16 +0000 (14:19 +1000)]
Test a few more error cases in RPC-PAC

13 years agoStart testing CreateTrustedDomainEx2
Andrew Bartlett [Tue, 2 Sep 2008 01:31:46 +0000 (11:31 +1000)]
Start testing CreateTrustedDomainEx2

Andrew Bartlett

13 years agoShare IDL between the LSA and drsblob representations of trusts
Andrew Bartlett [Tue, 2 Sep 2008 01:31:17 +0000 (11:31 +1000)]
Share IDL between the LSA and drsblob representations of trusts

13 years agoFollow MS-LSAD 3.1.4.7.12 and set defaults when creating a trust.
Andrew Bartlett [Mon, 1 Sep 2008 04:43:00 +0000 (14:43 +1000)]
Follow MS-LSAD 3.1.4.7.12 and set defaults when creating a trust.

Also check we get the defaults correct with a query in the torture
suite.

Andrew Bartlett

13 years agoStart implementing the server-sde NETLOGON PAC verification.
Andrew Bartlett [Fri, 29 Aug 2008 08:05:06 +0000 (18:05 +1000)]
Start implementing the server-sde NETLOGON PAC verification.

13 years agoIt turns out that the Netlogon PAC verification is encrypted.
Andrew Bartlett [Fri, 29 Aug 2008 05:06:30 +0000 (15:06 +1000)]
It turns out that the Netlogon PAC verification is encrypted.

This test now passes against Win2k3, and a implementation in the
Samba4 server should follow shortly.

Andrew Bartlett

13 years agoUpdate packaging per suggestions on the review
Andrew Bartlett [Fri, 29 Aug 2008 03:01:52 +0000 (13:01 +1000)]
Update packaging per suggestions on the review

Also make the build more C++ friendly with a patch from Brad Hards.

Andrew Bartlett

13 years agoFurther rework the RPC-PAC test.
Andrew Bartlett [Thu, 28 Aug 2008 06:30:17 +0000 (16:30 +1000)]
Further rework the RPC-PAC test.

This would seem to match the documentation requirements for the PAC
verfication over NETLOGON, but I can't get Win2k3 to accept it so far.

Andrew Bartlett

13 years agoHeimdal provides Kerberos PAC parsing routines. Use them.
Andrew Bartlett [Thu, 28 Aug 2008 06:28:47 +0000 (16:28 +1000)]
Heimdal provides Kerberos PAC parsing routines.  Use them.

This uses Heimdal's PAC parsing code in the:
 - LOCAL-PAC test
 - gensec_gssapi server
 - KDC (where is was already used, the support code refactored from here)

In addition, the service and KDC checksums are recorded in the struct
auth_serversupplied_info, allowing them to be extracted for validation
across NETLOGON.

Andrew Bartlett

13 years agoDon't wipe the PAC checksums, the caller may actually need them.
Andrew Bartlett [Thu, 28 Aug 2008 06:19:16 +0000 (16:19 +1000)]
Don't wipe the PAC checksums, the caller may actually need them.

13 years agoAdd missing file - netlogon.h
Andrew Bartlett [Wed, 27 Aug 2008 12:26:25 +0000 (22:26 +1000)]
Add missing file - netlogon.h

This file allows the remote_pac.c code to call into netlogon.c's setup
credentials code.

Andrew Bartlett

13 years agoAdd a test to explore Netlogon PAC validation
Andrew Bartlett [Wed, 27 Aug 2008 11:36:27 +0000 (21:36 +1000)]
Add a test to explore Netlogon PAC validation

However, I have still not figured out this protocol yet, and the docs
are rather unclear... :-(

Andrew Bartlett

13 years agoPut the internal gensec_gssapi state into a header.
Andrew Bartlett [Wed, 27 Aug 2008 06:24:05 +0000 (16:24 +1000)]
Put the internal gensec_gssapi state into a header.

This will allow a torture suite to inspect some otherwise internal
details.

Andrew Bartlett

13 years agoFix the build on Win32, and use NEGOTIATE security (to allow kerberos)
Andrew Bartlett [Wed, 27 Aug 2008 06:22:45 +0000 (16:22 +1000)]
Fix the build on Win32, and use NEGOTIATE security (to allow kerberos)

13 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
Andrew Bartlett [Wed, 27 Aug 2008 01:01:55 +0000 (11:01 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify

13 years agoAdd definition for NT_STATUS_DOWNGRADE_DETECTED
Andrew Bartlett [Wed, 27 Aug 2008 00:29:54 +0000 (10:29 +1000)]
Add definition for NT_STATUS_DOWNGRADE_DETECTED

13 years agoheimdal: add missing heimdal/lib/hcrypto/{evp-aes-cts.c,evp-hcrypto.c}, sorry...
Stefan Metzmacher [Tue, 26 Aug 2008 19:36:09 +0000 (21:36 +0200)]
heimdal: add missing heimdal/lib/hcrypto/{evp-aes-cts.c,evp-hcrypto.c}, sorry...

metze

13 years agoheimdal_build: include heimdal's new EVP code to fix the build
Stefan Metzmacher [Tue, 26 Aug 2008 09:31:57 +0000 (11:31 +0200)]
heimdal_build: include heimdal's new EVP code to fix the build

metze

13 years agoheimdal: import heimdal's trunk svn rev 23697 + lorikeet-heimdal patches
Stefan Metzmacher [Tue, 26 Aug 2008 17:35:52 +0000 (19:35 +0200)]
heimdal: import heimdal's trunk svn rev 23697 + lorikeet-heimdal patches

This is based on f56a3b1846c7d462542f2e9527f4d0ed8a34748d in my heimdal-wip repo.

metze

13 years agoheimdal_build: fix parse.h lex.c dependencies
Stefan Metzmacher [Tue, 26 Aug 2008 17:33:23 +0000 (19:33 +0200)]
heimdal_build: fix parse.h lex.c dependencies

metze

13 years agoheimdal_build: autogenerate the heimdal private/proto headers
Stefan Metzmacher [Tue, 26 Aug 2008 09:20:54 +0000 (11:20 +0200)]
heimdal_build: autogenerate the heimdal private/proto headers

Now it's possible to just use a plain heimdal tree in source/heimdal/
without any pregenerated files.

metze

13 years agoheimdal_build: autogenerate table files in heimdal/lib/wind/
Stefan Metzmacher [Tue, 26 Aug 2008 09:22:17 +0000 (11:22 +0200)]
heimdal_build: autogenerate table files in heimdal/lib/wind/

metze

13 years agoheimdal_build: autogenerate heimdal/lib/roken/roken.h
Stefan Metzmacher [Tue, 26 Aug 2008 08:49:40 +0000 (10:49 +0200)]
heimdal_build: autogenerate heimdal/lib/roken/roken.h

metze

13 years agoheimdal_build: add fallback for AC_WARNING_ENABLE()
Stefan Metzmacher [Tue, 26 Aug 2008 09:29:33 +0000 (11:29 +0200)]
heimdal_build: add fallback for AC_WARNING_ENABLE()

metze

13 years agoheimdal: remove unused old files
Stefan Metzmacher [Tue, 26 Aug 2008 09:25:10 +0000 (11:25 +0200)]
heimdal: remove unused old files

metze

13 years agoheimdal_build: split heimdal/lib/asn1 file lists
Stefan Metzmacher [Tue, 26 Aug 2008 13:30:18 +0000 (15:30 +0200)]
heimdal_build: split heimdal/lib/asn1 file lists

metze

13 years agoheimdal_build: split handwritten and generated hx509 file lists
Stefan Metzmacher [Tue, 26 Aug 2008 09:57:29 +0000 (11:57 +0200)]
heimdal_build: split handwritten and generated hx509 file lists

metze

13 years agoheimdal_build: split out gssapi_spnego and gssapi_krb5 file lists
Stefan Metzmacher [Tue, 26 Aug 2008 09:56:37 +0000 (11:56 +0200)]
heimdal_build: split out gssapi_spnego and gssapi_krb5 file lists

metze

13 years agoheimdal_build: add a fake sqlite keytab implementation
Stefan Metzmacher [Tue, 26 Aug 2008 10:19:52 +0000 (12:19 +0200)]
heimdal_build: add a fake sqlite keytab implementation

This remove a difference against lorikeet-heimdal.

metze

13 years agoheimdal_build: split glue.c into krb5 and gssapi parts
Stefan Metzmacher [Tue, 26 Aug 2008 09:42:13 +0000 (11:42 +0200)]
heimdal_build: split glue.c into krb5 and gssapi parts

metze

13 years agokdc: move references to heimdal internals into heimdal_build/kpasswd-glue.h
Stefan Metzmacher [Mon, 25 Aug 2008 14:12:42 +0000 (16:12 +0200)]
kdc: move references to heimdal internals into heimdal_build/kpasswd-glue.h

metze

13 years agoRevert "gsskrb5: add support for DCE_STYLE and des and des3 keys"
Stefan Metzmacher [Tue, 26 Aug 2008 10:25:54 +0000 (12:25 +0200)]
Revert "gsskrb5: add support for DCE_STYLE and des and des3 keys"

This reverts commit 86848dd0f217774faed81af8fbf68618013e20a1.

This should come back via a merge from heimdal's trunk later.

metze

13 years agoRevert "gsskrb5: always return an acceptor subkey"
Stefan Metzmacher [Tue, 26 Aug 2008 10:23:13 +0000 (12:23 +0200)]
Revert "gsskrb5: always return an acceptor subkey"

This reverts commit 6a8b07c39558f240b89e833ecba15d8b9fc020e8.

This isn't strictly needed and will come back in the next merge
from heimdal's trunk.

metze

13 years agobuild: generate :: rules for automatic dependencies
Stefan Metzmacher [Tue, 26 Aug 2008 08:32:28 +0000 (10:32 +0200)]
build: generate :: rules for automatic dependencies

metze

13 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
Andrew Bartlett [Tue, 26 Aug 2008 06:28:59 +0000 (16:28 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify

13 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Tue, 26 Aug 2008 06:27:10 +0000 (16:27 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet

13 years agoDon't use lsa_Delete any more, as smbd now refuses it.
Andrew Bartlett [Tue, 26 Aug 2008 06:26:46 +0000 (16:26 +1000)]
Don't use lsa_Delete any more, as smbd now refuses it.

13 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
Andrew Bartlett [Tue, 26 Aug 2008 06:26:08 +0000 (16:26 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify

13 years agoMore LSA server and testuite work.
Andrew Bartlett [Tue, 26 Aug 2008 02:18:26 +0000 (12:18 +1000)]
More LSA server and testuite work.

 - Implement QueryDomainInformationPolicy in Samba4

 - Allow RPC-LSA to pass against Windows 2008 (which does not allow
   the Audit privilage to be removed)

Andrew Bartlett

13 years agoMake RPC-LSA test deterministic with an msleep(200).
Andrew Bartlett [Tue, 26 Aug 2008 00:56:16 +0000 (10:56 +1000)]
Make RPC-LSA test deterministic with an msleep(200).

13 years agoImplement matching logic to Windows 2008 on handling of secrets.
Andrew Bartlett [Tue, 26 Aug 2008 00:33:41 +0000 (10:33 +1000)]
Implement matching logic to Windows 2008 on handling of secrets.

This is enforced by the new RPC-LSA test.

Andrew Bartlett

13 years agoFix LSA server to pass more of RPC-LSA and match Windows 2008
Andrew Bartlett [Tue, 26 Aug 2008 00:32:49 +0000 (10:32 +1000)]
Fix LSA server to pass more of RPC-LSA and match Windows 2008

This fixes some info levels in the QueryTrustedDomainInfo call, and
changes from implementing lsa_Delete to lsa_DeleteObject (which has an
explicit close and reutrns a NULL handle).

Andrew Bartlett

13 years agoOnly allow the trust in the correct direction (per the flags).
Andrew Bartlett [Tue, 26 Aug 2008 00:27:00 +0000 (10:27 +1000)]
Only allow the trust in the correct direction (per the flags).

13 years agoUpdate RPC-LSA to (almost) pass against Windows 2008.
Andrew Bartlett [Mon, 25 Aug 2008 23:49:54 +0000 (09:49 +1000)]
Update RPC-LSA to (almost) pass against Windows 2008.

13 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Sun, 24 Aug 2008 22:27:06 +0000 (08:27 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

13 years agofixed the data in SAVEFILE op in RAW-OFFLINE
Andrew Tridgell [Sun, 24 Aug 2008 07:42:29 +0000 (17:42 +1000)]
fixed the data in SAVEFILE op in RAW-OFFLINE

13 years agoshow the bad data in RAW-OFFLINE
Andrew Tridgell [Sun, 24 Aug 2008 07:38:43 +0000 (17:38 +1000)]
show the bad data in RAW-OFFLINE

also show the worst case latencies so far, matching tsm_torture

13 years agodon't use zero data for the first file in RAW-OFFLINE
Andrew Tridgell [Sat, 23 Aug 2008 01:54:02 +0000 (11:54 +1000)]
don't use zero data for the first file in RAW-OFFLINE

the most likely bugs in HSM involve zero data, due to the
dm_punch_hole() request

13 years agodisable the anr== tests until they are understood
Andrew Tridgell [Fri, 22 Aug 2008 11:54:21 +0000 (21:54 +1000)]
disable the anr== tests until they are understood

13 years agonow that ldap integers are 32 bit, we need to put the right 32 bit
Andrew Tridgell [Fri, 22 Aug 2008 11:26:32 +0000 (21:26 +1000)]
now that ldap integers are 32 bit, we need to put the right 32 bit
value in for group type to avoid sign extension, otherwise we don't
find the builtin groups

13 years agofixed the DomainDNS searches in the netlogon code
Andrew Tridgell [Fri, 22 Aug 2008 10:50:07 +0000 (20:50 +1000)]
fixed the DomainDNS searches in the netlogon code

13 years agoMerge commit 'origin/v4-0-test' into v4-0-test
Andrew Tridgell [Fri, 22 Aug 2008 08:39:52 +0000 (18:39 +1000)]
Merge commit 'origin/v4-0-test' into v4-0-test

13 years agofixed the GUID and objectSID canonicalisation functions
Andrew Tridgell [Fri, 22 Aug 2008 08:37:34 +0000 (18:37 +1000)]
fixed the GUID and objectSID canonicalisation functions

13 years agofixed a speellling erra
Andrew Tridgell [Fri, 22 Aug 2008 08:37:11 +0000 (18:37 +1000)]
fixed a speellling erra

13 years agoMerge branch 'abartlet-4-0-local' into v4-0-test
Andrew Tridgell [Fri, 22 Aug 2008 07:37:43 +0000 (17:37 +1000)]
Merge branch 'abartlet-4-0-local' into v4-0-test

13 years agofixed a problem with length limited ldap values
Andrew Tridgell [Fri, 22 Aug 2008 07:36:56 +0000 (17:36 +1000)]
fixed a problem with length limited ldap values

The core ldb code for string matching assumed NULL terminated strings,
whereas the anr module used data_blob_const() to effectively truncate
a ldb_val by changing its length. The ldb code is supposed to be based
around length limited blobs, not NULL terminated strings, so the
correct fix was to change the string comparison functions to be length
limited

13 years agofixed error handling in ANR code
Andrew Tridgell [Fri, 22 Aug 2008 04:32:27 +0000 (14:32 +1000)]
fixed error handling in ANR code

when we can't process an ANR request we need to continue with the
parse tree we were given, not a NULL tree

13 years agondr_compression: implement mszip compression based on deflate()
Stefan Metzmacher [Wed, 20 Aug 2008 13:48:00 +0000 (15:48 +0200)]
ndr_compression: implement mszip compression based on deflate()

The output doesn't match the output from windows servers,
but it's a start...

metze

13 years agodrsuapi.idl: use hand written push functions for the compressed blobs
Stefan Metzmacher [Wed, 20 Aug 2008 19:53:21 +0000 (21:53 +0200)]
drsuapi.idl: use hand written push functions for the compressed blobs

This isn't really the final solution, as we compress the data twice,
but it works.

metze

13 years agondr_compression: add common parts of ndr compression
Stefan Metzmacher [Thu, 7 Aug 2008 16:26:45 +0000 (16:26 +0000)]
ndr_compression: add common parts of ndr compression

metze

13 years agoDon't walk past the end of ldb values.
Andrew Bartlett [Thu, 21 Aug 2008 09:24:58 +0000 (19:24 +1000)]
Don't walk past the end of ldb values.

This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb.  There is much more work to do in
this area.

Andrew Bartlett

13 years agoPush loading the objectGUID and objectSID handlers earlier.
Andrew Bartlett [Thu, 21 Aug 2008 07:29:47 +0000 (17:29 +1000)]
Push loading the objectGUID and objectSID handlers earlier.

Andrew Bartlett

13 years agoStop every ldb startup doing a write to the database.
Andrew Bartlett [Thu, 21 Aug 2008 06:42:03 +0000 (16:42 +1000)]
Stop every ldb startup doing a write to the database.

Something in the search stack adds a distinguisedName record, which
isn't in the message we generate.  So we compare, fail and rewrite the
record - every time ldb starts up...

Andrew Bartlett

13 years agoValidate input in the CLDAP and DGRAM 'netlogon' responder.
Andrew Bartlett [Thu, 21 Aug 2008 06:09:42 +0000 (16:09 +1000)]
Validate input in the CLDAP and DGRAM 'netlogon' responder.

13 years agoHandle error cases in attribute handlers better.
Andrew Bartlett [Thu, 21 Aug 2008 05:10:40 +0000 (15:10 +1000)]
Handle error cases in attribute handlers better.

We don't need to just bail, for all these error cases there is still
real result that can be made - just fall back to binary copy/compare.

Andrew Bartlett

13 years agoThe index handling is now configured from the schema load, not by a
Andrew Bartlett [Thu, 21 Aug 2008 02:59:16 +0000 (12:59 +1000)]
The index handling is now configured from the schema load, not by a
template.

Andrew Bartlett

13 years agoSet both attributes and indexes into the database on schema load.
Andrew Bartlett [Thu, 21 Aug 2008 02:58:00 +0000 (12:58 +1000)]
Set both attributes and indexes into the database on schema load.

This ensures that a rudementary schema is always present (for
bootstrapping), and that the indexes are maintained equal to the
schema (rather than hard-coded).

Andrew Bartlett

13 years agoAll these syntaxes are now handled by the schema.
Andrew Bartlett [Thu, 21 Aug 2008 02:56:34 +0000 (12:56 +1000)]
All these syntaxes are now handled by the schema.

13 years agoDon't hardcode attributes to be treated as a DN
Andrew Bartlett [Thu, 21 Aug 2008 02:56:04 +0000 (12:56 +1000)]
Don't hardcode attributes to be treated as a DN

This is now handled by reading the schema into the attributes.

Also, when we do set something here, mark it as FIXED, so the schema
and any reload from @ATTRIBUTES won't touch it.

Andrew Bartlett

13 years agoCorrect anr search commants and error messages in ldap.js
Andrew Bartlett [Thu, 21 Aug 2008 02:51:55 +0000 (12:51 +1000)]
Correct anr search commants and error messages in ldap.js

13 years agoDon't allow a NULL syntax
Andrew Bartlett [Thu, 21 Aug 2008 02:51:06 +0000 (12:51 +1000)]
Don't allow a NULL syntax

13 years agoDon't maniplate control entries in samldb
Andrew Bartlett [Thu, 21 Aug 2008 02:50:22 +0000 (12:50 +1000)]
Don't maniplate control entries in samldb

13 years agokrb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type Serialization...
Stefan Metzmacher [Tue, 19 Aug 2008 06:51:45 +0000 (08:51 +0200)]
krb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type Serialization header

Now we should be able to handle bigendian PAC_LOGON_INFO buffers.

metze

13 years agokdc/pac-glue: pull/push the logon_info via the PAC_INFO union
Stefan Metzmacher [Tue, 19 Aug 2008 11:23:09 +0000 (13:23 +0200)]
kdc/pac-glue: pull/push the logon_info via the PAC_INFO union

This prepares the next commit...

metze

13 years agodrsuapi: fix samba4 callers after drsuapi.idl changes
Stefan Metzmacher [Tue, 19 Aug 2008 08:36:24 +0000 (10:36 +0200)]
drsuapi: fix samba4 callers after drsuapi.idl changes

metze

13 years agodrsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*
Stefan Metzmacher [Tue, 19 Aug 2008 08:35:15 +0000 (10:35 +0200)]
drsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*

metze

13 years agondr_compression: remove the type serialization handling from the compression layer
Stefan Metzmacher [Tue, 19 Aug 2008 08:33:03 +0000 (10:33 +0200)]
ndr_compression: remove the type serialization handling from the compression layer

metze

13 years agondr_compression: unify the common handling of mszip and xpress compression
Stefan Metzmacher [Tue, 19 Aug 2008 08:29:40 +0000 (10:29 +0200)]
ndr_compression: unify the common handling of mszip and xpress compression

metze

13 years agolibrpc/ndr: add support for Type Serialization Version 1 to subcontext
Stefan Metzmacher [Mon, 18 Aug 2008 15:10:59 +0000 (17:10 +0200)]
librpc/ndr: add support for Type Serialization Version 1 to subcontext

We use the header size 0xFFFFFC01 as magic for constructed types.

See [MS-RPCE] 2.2.6 Type Serialization Version 1 for more details.

metze

13 years agopidl/NDR::Parser: pass typedefs through the ParseElement*Level() functions
Stefan Metzmacher [Wed, 20 Aug 2008 12:41:38 +0000 (14:41 +0200)]
pidl/NDR::Parser: pass typedefs through the ParseElement*Level() functions

metze

13 years agopidl/NDR: generate a LEVELS array for typedefs
Stefan Metzmacher [Wed, 20 Aug 2008 12:41:05 +0000 (14:41 +0200)]
pidl/NDR: generate a LEVELS array for typedefs

metze

13 years agopidl/NDR: correctly check for valid properties
Stefan Metzmacher [Wed, 20 Aug 2008 08:18:42 +0000 (10:18 +0200)]
pidl/NDR: correctly check for valid properties

grep($str, @array) returns the number of elements in @array!
We need grep(/^$str$/, @array) to the only the amount of matches.

Also fix unitialized vars for the error case.

metze

13 years agopidl/NDR::Parser: pass $ndr to ->start_flags() and ->end_flags()
Stefan Metzmacher [Tue, 19 Aug 2008 18:53:18 +0000 (20:53 +0200)]
pidl/NDR::Parser: pass $ndr to ->start_flags() and ->end_flags()

metze

13 years agopidl/NDR::Parser: pass $ndr to ParseMemCtxPull*()
Stefan Metzmacher [Tue, 19 Aug 2008 18:51:27 +0000 (20:51 +0200)]
pidl/NDR::Parser: pass $ndr to ParseMemCtxPull*()

metze

13 years agopidl/NDR::Parser: pass $ndr to ParsePtrPush()
Stefan Metzmacher [Tue, 19 Aug 2008 18:48:53 +0000 (20:48 +0200)]
pidl/NDR::Parser: pass $ndr to ParsePtrPush()

metze