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

2362 Commits

Author SHA1 Message Date
Jelmer Vernooij
6d02f0805a Import warning fixes from Samba 3 into libndr, sync more libndr code. 2008-10-13 15:33:40 +02:00
Jelmer Vernooij
58f844ab54 Share uuid implementations. 2008-10-13 15:23:35 +02:00
Jelmer Vernooij
8cae7a5bab Share ndr_misc implementations. 2008-10-13 15:22:27 +02:00
Jelmer Vernooij
390d37187a Share ndr_basic implementation. 2008-10-13 15:20:10 +02:00
Jelmer Vernooij
5ae73c67b5 Import warning fixes from Samba 3. 2008-10-13 15:17:41 +02:00
Jelmer Vernooij
bf768aa1ec Import debug macros from Samba 3's libndr. 2008-10-13 14:30:41 +02:00
Jelmer Vernooij
3994c42f19 Fix number of arguments for file_load() functions. 2008-10-12 19:46:38 +02:00
Jelmer Vernooij
9f2ed1e00f Share RPC binding string utility functions. 2008-10-12 19:05:46 +02:00
Jelmer Vernooij
9565999755 Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
Jelmer Vernooij
caa4e42860 Move lib/util from source4 to top-level libutil.
Conflicts:

	source4/Makefile
2008-10-11 21:05:38 +02:00
Andrew Bartlett
8e1c0470d7 Add in secure channel type used by AD trusts 2008-10-06 14:28:25 -07:00
Andrew Bartlett
8cdb3ebe27 Clarify use of manual parsers in trustInOutBlob (drsblobs.idl) 2008-10-06 14:28:25 -07:00
Andrew Bartlett
8256717c76 Implement 'type unknown' names in the CrackNames code.
This guesses the type by running each of the possible options.

Andrew Bartlett
2008-10-06 14:28:24 -07:00
Andrew Tridgell
ba5ef49f83 updated the LSA and NETLOGON servers with fixes resulting from the AD
plugfest in Redmond
2008-10-03 17:52:59 -07:00
Andrew Tridgell
23ec448f83 Merge commit 'master/master' 2008-10-03 12:23:00 -07:00
Stefan Metzmacher
3c9f3c32d1 s4:drsuapi.idl: fix some fields in drsuapi_DsRemoveDSServer()
metze
2008-10-02 12:20:59 +02:00
Andrew Tridgell
69fe3a5ddd fixed a number of places in our LSA server where we should return the
sid/name array even when all are unmapped. If we don't fill in the
array then the windows client runtime crashes
2008-09-30 13:42:30 -07:00
Andrew Tridgell
f84093df86 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-09-30 13:02:09 -07:00
Jelmer Vernooij
ae38514534 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-09-30 14:57:51 +02:00
Stefan Metzmacher
394f24b374 s4:drsblob: fix the build
metze
2008-09-30 09:05:45 +02:00
Andrew Bartlett
64195b72be Fix parsing of the trust passwords in LSA CreateTrustedDomainEx* 2008-09-29 22:34:35 -07:00
Stefan Metzmacher
eb1de4f0ed s4:librpc/rpc: correctly sign or seal rpc request with an object guid
metze
2008-09-30 06:47:23 +02:00
Stefan Metzmacher
abe0af4ab4 dcerpc.idl: add DCERPC_PFC_OFFSET
metze
2008-09-30 06:47:23 +02:00
Jelmer Vernooij
454122ab09 make sure dcerpc is always initialized. 2008-09-30 06:05:05 +02:00
Jelmer Vernooij
5bbd73c0ff Remove two more uses of global loadparm by remember required
details for secondary DCE/RPC connections.
2008-09-30 04:01:47 +02:00
Jelmer Vernooij
181ee01da6 Pass session options around; saves another use of global_loadparm. 2008-09-30 02:47:19 +02:00
Jelmer Vernooij
9de1472bd1 Remove redundant call. 2008-09-30 01:58:06 +02:00
Andrew Tridgell
c951a881da added new level for lsalookupnames2 2008-09-29 16:51:21 -07:00
Andrew Tridgell
750a848d0d added some more well known SIDs - thanks to the WSPP LSAT test suite 2008-09-29 16:01:07 -07:00
Günther Deschner
1147d05b47 s4-nbt: use moved libcli netlogon helpers.
Guenther
2008-09-23 23:18:00 +02:00
Günther Deschner
a1a92688ba s4-nbt: use ../libcli/nbt
Guenther
2008-09-23 09:37:24 +02:00
Jelmer Vernooij
163292f325 Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs 2008-09-19 16:26:00 +02:00
Jelmer Vernooij
9e8881414b Fix dependencies for nbt python module. 2008-09-19 13:00:11 +02:00
Jelmer Vernooij
c7d069a483 Fix path to ndrdump in blackbox test, don't start smb server for ndrdump
tests.
2008-09-19 12:07:03 +02:00
Jelmer Vernooij
729ffbae08 Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
Conflicts:
	source4/main.mk
2008-09-18 20:29:05 +02:00
Jelmer Vernooij
a0e5f9194a Import ndr_syntax_id_equal from Samba 3. 2008-09-18 16:56:11 +02:00
Jelmer Vernooij
f5b134fb46 Sync more interface descriptions between Samba 3 and Samba 4. 2008-09-17 15:43:04 +02:00
Jelmer Vernooij
5975cbc260 Sync addition of [todo] attribute to Samba 3. 2008-09-17 15:07:24 +02:00
Jelmer Vernooij
94855cd692 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
Jelmer Vernooij
3e5ba883b3 Fix paths to subunit.sh 2008-09-16 18:39:08 +02:00
Jelmer Vernooij
aa09d8a75f Move ndrdump tests closer to the code they test. 2008-09-16 18:16:49 +02:00
Jelmer Vernooij
f594044d79 Remove remaining JavaScript code. 2008-09-16 18:09:34 +02:00
Jelmer Vernooij
5062d4c16a Fix more WMI compilation issues. 2008-09-16 07:22:53 +02:00
Jelmer Vernooij
db872cfe37 Remove more hand-written marshallers. 2008-09-16 05:48:29 +02:00
Jelmer Vernooij
e970efc721 Support restricted. 2008-09-16 04:35:34 +02:00
Jelmer Vernooij
e9d44b2e1c Import proper IDL for interface pointers. 2008-09-16 04:15:39 +02:00
Jelmer Vernooij
c212a65b65 More changes getting WMI code to compile, import manual marshalling. 2008-09-16 02:27:33 +02:00
Jelmer Vernooij
7e239a15b3 Revert accidental changes to lib/basic.mk. 2008-09-15 19:46:11 +02:00
Jelmer Vernooij
51fbc88fc2 Get code closer to compiling without errors, fix formatting, add docstrings. 2008-09-15 17:40:34 +02:00
Jelmer Vernooij
b1b97e39ad Add wikipedia link to WMI. 2008-09-15 17:40:21 +02:00
Jelmer Vernooij
f29220fe11 Allow base classes to be defined in other files. 2008-09-15 17:39:44 +02:00
Jelmer Vernooij
53c9df4da0 Redefine BSTR. 2008-09-15 17:39:40 +02:00
Jelmer Vernooij
feb0ab15b9 Redefine BSTR. 2008-09-15 17:39:39 +02:00
Jelmer Vernooij
9b21042938 Build (D)COM output again. 2008-09-15 17:37:06 +02:00
Jelmer Vernooij
947bde9562 Avoid using unions without discriminants. 2008-09-15 17:36:59 +02:00
Jelmer Vernooij
7b88d09d8d Reimport pidl support for COM. 2008-09-15 17:36:58 +02:00
Jelmer Vernooij
51a613acde Move WMI IDL into separate IDL file. 2008-09-15 17:36:54 +02:00
Andrzej Hajda
323b97f76d Import IDL for WMI. 2008-09-15 17:36:53 +02:00
Jelmer Vernooij
37a38eeff2 Reimport DCOM IDL. 2008-09-15 17:36:51 +02:00
Stefan Metzmacher
48f500edc0 librpc/rpc: don't send auth trailers in level connect
Also ignore auth trailers in level connect on receive.

This fixes [krb5,connect] against windows.

TODO: maybe the gensec mech need to decide if signatures
      are needed in level connect.

metze
(This used to be commit eca0502b86)
2008-09-13 20:37:12 +02:00
Stefan Metzmacher
73ebb58f2d client free credentials when not needed anymore
(This used to be commit d982b69df6)
2008-09-13 20:37:11 +02:00
Stefan Metzmacher
5b70daad7a drsblobs.idl: add parser for ExtendedErrorInfo see [MS-EERR]: ExtendedError Remote Data Structure
metze
(This used to be commit 3edbbb12bd)
2008-09-09 11:29:15 +02:00
Andrew Bartlett
3eb6f79a02 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into trusted-domains
(This used to be commit a057c3ed9d)
2008-09-08 12:54:13 +10:00
Andrew Bartlett
b3cee235f5 More work towards trusted domains support in Samba4's LSA
Make 'lsar_CreateTrustedDomain' consistant with
lsar_CreateTrustedDomainEx{,2} by renaming handle -> policy_handle

Implement LSA server logic to create the cn=users trust account for
incoming trusts.

Andrew Bartlett
(This used to be commit d87b655e20)
2008-09-08 10:55:34 +10:00
Stefan Metzmacher
1efff73068 ndr_compression: add XPRESS compression support
metze
(This used to be commit 1432a96d37)
2008-09-07 19:20:41 +02:00
Stefan Metzmacher
6e0335f864 ndr_compression: fix the build after lzxpress_decompress() prototype change
metze
(This used to be commit b36056aac3)
2008-09-07 19:18:48 +02:00
Stefan Metzmacher
253e222831 ndr_compression: change debug levels
metze
(This used to be commit 83446e22dd)
2008-09-06 16:16:40 +02:00
Stefan Metzmacher
3b8c11b4d9 ndr_compression: use deflateReset() together with defalteSetDictionary()
metze
(This used to be commit dcc57512b0)
2008-09-06 16:16:00 +02:00
Stefan Metzmacher
79cc502e5d ndr_compression: use inflateReset() and inflateSetDictionary() instead of inflateReset2()
Now we can use an unmodified system zlib-1.2.3

metze
(This used to be commit d68e36b485)
2008-09-06 16:15:39 +02:00
Andrew Bartlett
19fb3b0199 More work to implement LSA CreateTrustedDomainEx2
We still don't get the format inside the encrypted blob correct
however.

Andrew Bartlett
(This used to be commit 99a3abda09)
2008-09-04 16:06:38 +10:00
Andrew Bartlett
b936d0f3be Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 9590805bcb)
2008-09-03 15:34:44 +10:00
Andrew Bartlett
a35263e1ab 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
(This used to be commit 82fcd7941f)
2008-09-03 15:30:17 +10:00
Andrew Bartlett
279ca74493 Share IDL between the LSA and drsblob representations of trusts
(This used to be commit e5520706c8)
2008-09-02 11:31:17 +10:00
Andrew Bartlett
81dcc99e9a 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
(This used to be commit c6b8ba893d)
2008-08-29 15:06:30 +10:00
Andrew Bartlett
adb207e903 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
(This used to be commit acfa87f341)
2008-08-28 16:30:17 +10:00
Andrew Bartlett
960bd9df1f 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
(This used to be commit d878643071)
2008-08-27 21:36:27 +10:00
Andrew Bartlett
f08786686c Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
(This used to be commit b706708210)
2008-08-26 16:26:08 +10:00
Andrew Bartlett
291b0dfb2a Update RPC-LSA to (almost) pass against Windows 2008.
(This used to be commit a17cb558c2)
2008-08-26 09:49:54 +10:00
Andrew Bartlett
9eacc3a8f3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit a555334db6)
2008-08-25 08:27:06 +10:00
Andrew Tridgell
e80876ef9e Merge commit 'origin/v4-0-test' into v4-0-test
(This used to be commit 93cf0b3c7e)
2008-08-22 18:39:52 +10:00
Andrew Tridgell
0a27ff953e Merge branch 'abartlet-4-0-local' into v4-0-test
(This used to be commit 469fac2669)
2008-08-22 17:37:43 +10:00
Stefan Metzmacher
9d3add9b9f ndr_compression: implement mszip compression based on deflate()
The output doesn't match the output from windows servers,
but it's a start...

metze
(This used to be commit 8a2f968827)
2008-08-21 12:50:43 +02:00
Stefan Metzmacher
e3319bf849 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
(This used to be commit 6da1d41173)
2008-08-21 12:48:48 +02:00
Stefan Metzmacher
2d2e7f6c48 ndr_compression: add common parts of ndr compression
metze
(This used to be commit 9fe466f84a)
2008-08-21 11:47:40 +02:00
Stefan Metzmacher
8acc7f7da7 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
(This used to be commit adbff0b0f9)
2008-08-20 15:23:25 +02:00
Stefan Metzmacher
9d0db64d24 drsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*
metze
(This used to be commit 4e6937816f)
2008-08-20 15:22:05 +02:00
Stefan Metzmacher
fbeb6d7801 ndr_compression: remove the type serialization handling from the compression layer
metze
(This used to be commit 70a7b1f6c2)
2008-08-20 15:22:05 +02:00
Stefan Metzmacher
17fcc4118f ndr_compression: unify the common handling of mszip and xpress compression
metze
(This used to be commit 925a2066ff)
2008-08-20 15:22:04 +02:00
Stefan Metzmacher
f4e2f3f14c 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
(This used to be commit 98d3568f07)
2008-08-20 15:22:04 +02:00
Matthias Dieter Wallnöfer
bec7a95207 Add extra bits to our 'netlogon' response in CLDAP and NBT.
I've studied now the netlogon attribute from the CLDAP request and
have compared them with the table presented in the WSPP docs
(http://msdn.microsoft.com/en-us/library/cc201036.aspx). The first two
bytes seem to be correct, but that the third and fourth one is
completely clear with SAMBA 4.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
(This used to be commit 3024a43c25)
2008-08-20 12:45:41 +10:00
Andrew Bartlett
5631ebaf78 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit a6146cc14b)
2008-08-19 14:54:30 +10:00
Stefan Metzmacher
4422617f7a librpc: don't build the old mszip decompression code
metze
(This used to be commit f48dfd87ba)
2008-08-18 15:34:54 +02:00
Stefan Metzmacher
6cd8e2bccf ndr_compression: use zlib's inflate() for decompression
metze
(This used to be commit 25876fc4ab)
2008-08-18 15:29:02 +02:00
Matthieu Suiche
ffa18ca49a librpc/ndr: add support for XPRESS decompression
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 6a9720c99d)
2008-08-18 14:52:36 +02:00
Andrew Bartlett
ac503b140d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit b337369d5c)
2008-08-15 07:58:03 +10:00
Andrew Tridgell
0eb1840994 cope with arbitrary unknown pac buffer types, so when MS adds
a new one we don't break our server
(This used to be commit 5e08b28531)
2008-08-14 15:27:48 +10:00
Andrew Bartlett
bf002d1173 Rework the trustAuthInOutBlob with the help of a hand parser.
This produces a C structure that is sane, while still parsing the wire
blobs (as far as I can tell).

Andrew Bartlett
(This used to be commit b5dbe815e5)
2008-08-13 16:16:59 +10:00
Andrew Bartlett
b5a3f45f64 Add GenericInfo level for SamLogon calls from the WSPP IDL.
Andrew Bartlett
(This used to be commit ea58b650a8)
2008-08-12 17:46:01 +10:00
Stefan Metzmacher
0965b22ec5 dcerpc.idl: remove used DCERPC_MAX_SIGN_SIZE
metze
(This used to be commit 54b873e49f)
2008-08-11 18:15:59 +02:00
Stefan Metzmacher
eb81a62d14 librpc/rpc: correct the chunk_size depending on the signature size
metze
(This used to be commit 50eb0e7264)
2008-08-11 18:15:59 +02:00
Stefan Metzmacher
802b4596fe dcerpc.idl: add DCERPC_AUTH_TRAILER_LENGTH
metze
(This used to be commit ce36448d74)
2008-08-11 18:15:58 +02:00
Stefan Metzmacher
8a01bdc99a drsuapi.idl: directly use mszip in level 2
This fixes the push because the switch_level doesn't work
otherwise because the pointer is the same as for
the outer switch_level.

metze
(This used to be commit a4c81ee68c)
2008-08-07 18:44:49 +02:00
Stefan Metzmacher
50f82609b5 librpc/rpc: add support DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN
You can trigger it like this:

ncacn_ip_tcp:172.31.9.234[sign,hdrsign]

or

ncacn_ip_tcp:172.31.9.234[seal,hdrsign]

metze
(This used to be commit 54f1fca582)
2008-08-07 15:40:20 +02:00
Stefan Metzmacher
b3573ce76e librpc/rpc: pass struct dcerpc_pipe to dcerpc_auth3()
metze
(This used to be commit 60b3523da4)
2008-08-07 15:40:20 +02:00
Stefan Metzmacher
b2023570c4 build: remove warning about missing generated include file
metze
(This used to be commit 495d068df5)
2008-08-01 21:10:39 +02:00
Andrew Bartlett
43d2329da6 Update to a working trustAuthIncoming and trustAuthOutgoing parser.
This is based on the docs, as well as testing against a domain trust
in windows.

Clearly it needs to be more general - perhaps a non IDL parser?

Andrew Bartlett
(This used to be commit 816bb64a56)
2008-07-31 23:17:20 +10:00
Andrew Bartlett
2b0ed1832a Update trustAuthInOutBlob in line with MS-ADTS 7.1.6.8.1
(This used to be commit 26c2a34dec)
2008-07-31 07:45:30 +10:00
Stefan Metzmacher
7a633ed96b dcerpc.idl: add DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN flag
metze
(This used to be commit 131a1cfdc9)
2008-07-26 21:44:30 +02:00
Stefan Metzmacher
8a86e3cb45 drsblobs.idl: unify the Primary:Kerberos and Primary:Kerberos-Newer-Keys structs
metze
(This used to be commit 4b79a76785)
2008-07-24 08:24:09 +02:00
Stefan Metzmacher
aaa29d2fa5 drsblobs.idl: give some unknowns a meaning
metze
(This used to be commit 231e6f5ab2)
2008-07-24 08:24:08 +02:00
Stefan Metzmacher
28a7e6f125 drsblobs.idl: add idl for Primary:Kerberos-Newer-Keys blob in supplementalCredentials
metze
(This used to be commit 97b7901afb)
2008-07-23 14:46:10 +02:00
Stefan Metzmacher
e3434f8995 drsblobs.idl: fix unknowns in package_PrimaryKerberos idl
metze
(This used to be commit da9ceb2bf1)
2008-07-23 14:46:09 +02:00
Stefan Metzmacher
ecdd13389f drsblobs.idl: fix idl for supplementalCredentialsSubBlob
metze
(This used to be commit 24c5b10136)
2008-07-23 14:46:08 +02:00
Stefan Metzmacher
bb12c78d44 drsblobs.idl: rename unknown1 -> reserved
metze
(This used to be commit 9a70b2237d)
2008-07-23 14:46:07 +02:00
Andrew Bartlett
768515f4ad The SMB session key must not be more than 16 bytes in SAMR (and
presumably LSA).

Tests show that Vista requires the sesion key to be truncated for a
domain join.

Andrew Bartlett
(This used to be commit af629a3738)
2008-07-23 16:19:54 +10:00
Michael Adam
e184b70768 drsuapi.idl: change the u1 field in DsBindInfo* to "pid".
According to the WSPP docs, section 5.35,
this is the "process identifyer" of the client.
It is meant for informational and debugging purposes
only and its assignment is implementation specific.

Michael
(This used to be commit 579306eb5b)
2008-07-22 15:33:26 +02:00
Michael Adam
901e764fa7 drsuapi.idl: add drsuapi_SupportedExtensionsExt bitfield.
This knowledge is obtained from the wspp-docs (section 5.35).

Michael
(This used to be commit f5afb69504)
2008-07-22 13:16:56 +02:00
Michael Adam
e7785a371a drsuapi.idl: the last 16 bytes in DsBindInfo48 ar the GUID of the config dn.
This bit seems not to be documented in the WSPP docs.

Michael
(This used to be commit 705f79bd0a)
2008-07-22 13:16:40 +02:00
Michael Adam
2abe5e9240 drsuapi.idl: add drsuapi_DsBindInfo48.
This is necessary to make DsGetNcChanges work with win2008.

Michael
(This used to be commit dd278b069b)
2008-07-22 13:16:31 +02:00
Andrew Bartlett
d626a26374 Rename structures to better match the names in the WSPP IDL.
The 'comment' element in a number of domain structures is called
oem_information.  This was picked up actually because with OpenLDAP
doing the schema checking, it noticed that 'comment' was not a valid
attribute.

The rename tries to keep this consistant in both the LDB mappings and
IDL, so we don't make the same mistake in future.

This has no real schema impact, as this value isn't actually used for
anything, as 'comment' was not used in the provision.

Andrew Bartlett
(This used to be commit 65dc0d5365)
2008-07-21 13:42:07 +10:00
Stefan Metzmacher
033683b00e drsuapi.idl: fix unknowns in drsuapi_DsGetNCChangesCtr*
metze
(This used to be commit 9e99e59ca7)
2008-07-16 12:16:55 +02:00
Stefan Metzmacher
e81feb77a2 drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*
metze
(This used to be commit de2aed042d)
2008-07-16 12:15:37 +02:00
Stefan Metzmacher
9827cf832f drsuapi.idl: fix unknowns in drsuapi_DsReplicaCursor[2]
metze
(This used to be commit a681e55067)
2008-07-16 12:12:30 +02:00
Stefan Metzmacher
80fe14a211 drsuapi.idl: correctly handle xpress compressed payload
metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit d9d19eef4f)
2008-07-16 12:12:29 +02:00
Andrew Bartlett
0edce42b36 Fix the build - this element was renamed.
(This used to be commit 60161954ad)
2008-07-16 15:28:54 +10:00
Jeremy Allison
87f1a6c151 (Hopefully) fix the build by re-adding security.NTACL
const char. The deletion earlier was a typo.
Jeremy.
(This used to be commit aa27344b96)
2008-07-09 17:46:11 -07:00
Jeremy Allison
526eaeb1e0 Add in a version2 of the NT security descriptor store
that can store a timestamp along with the SD. Allows
us to check for validity against the POSIX st_ctime.
Keeps the IDL consistent with Samba3.3 IDL.
Jeremy.
(This used to be commit 29843a6b33)
2008-07-09 16:55:51 -07:00
Stefan Metzmacher
a3ea8bcb19 dcerpc_smb: trans->in.max_data should not depend on the smb max size
We now support async multi fragment SMBtrans calls.

metze
(This used to be commit 6813e22e9d)
2008-07-07 20:59:13 +02:00
Stefan Metzmacher
b6327116dd dcerpc.idl: the signing overhead can be more than 32 bytes
Windows seems to use 64 here, so we do now.

Before we got nca_proto_error fault because we send fragments
larger than the negotiated max frag size.

If the max frag size is 5840, we're sending 5837 bytes
when the auth_len is 45 and that matches w2k3 traffic.

metze
(This used to be commit 351947dba3)
2008-07-03 15:49:56 +02:00
Stefan Metzmacher
1eb5756ca5 drsuapi.idl: remove some unknows from DsGetNCChanges()
metze
(This used to be commit 924ef407bd)
2008-06-30 17:40:01 +02:00
Simo Sorce
2daf2897d5 Use a custom init function for samba4 that sets a samba4
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308)
2008-06-14 13:00:53 -04:00
Jelmer Vernooij
230503ad84 Add working Python bindings for NBT.
(This used to be commit 9c88f5e1de)
2008-06-11 00:05:58 +02:00
Andrew Tridgell
3df0fee42d fixed for per session session_key here too
(This used to be commit abcbce004c)
2008-06-07 11:10:23 -07:00
Stefan Metzmacher
0827b08a43 opendb: add write time handling
metze
(This used to be commit 3868d8ce63)
2008-06-03 14:03:49 +02:00
Andrew Tridgell
beaa01e403 implemented client side SMB2 signing
This doessn't work against Windows yet, and I've submitted a WSPP
request for clarification of the docs to try and find out
why. Meanwhile this is no worse than what we had, as it only gets used
when the server demands signing, and we didn't work then anyway.
(This used to be commit b788096add)
2008-05-30 17:03:54 +10:00
Andrew Bartlett
844a7ad15a Add in an enum for two future NTP signing ops.
I hope to extend this code to handle NTP clients getting authenticated
time too.

Andrew Bartlett
(This used to be commit 1854ab058b)
2008-05-29 15:22:01 +10:00
Andrew Bartlett
ce877cafdd Final fixes to for a functional NTP signing deamon.
Andrew Bartlett
(This used to be commit 4dcc0cd06e)
2008-05-29 11:16:03 +10:00
Andrew Bartlett
68ec3006a4 Don't make the NTP signd headers public.
This means we don't have to install them

Andrew Bartlett
(This used to be commit 2f2ba0c68a)
2008-05-29 11:15:18 +10:00
Andrew Tridgell
07b4cafb09 added a newline at the end of the IDL
(This used to be commit 6386155e99)
2008-05-28 18:47:39 +10:00
Andrew Bartlett
93d2f8ff9e Try adding a stub to fix the build
(This used to be commit a529c377ae)
2008-05-28 15:47:27 +10:00
Andrew Bartlett
6bfdc74b92 Fix dependency list for NDR_TABLE
This list must include everything for which we have IDL

Andrew Bartlett
(This used to be commit a6f0b98311)
2008-05-28 14:53:30 +10:00
Andrew Bartlett
51ae2302a6 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
It seems the format of main.mk changed in my sleep...

Conflicts:

	source/main.mk
(This used to be commit 56f2288e4f)
2008-05-28 08:11:05 +10:00
Jelmer Vernooij
52b230141b Allow librpcsrcdir to be an absolute path.
(This used to be commit 8c0b55114f)
2008-05-27 19:47:16 +02:00
Jelmer Vernooij
4053e3c700 Use variables for IDL file paths.
(This used to be commit 683ba6de41)
2008-05-27 18:38:05 +02:00
Andrew Bartlett
5d0d239d1a Start an 'NTP signing server' in Samba4.
I am modifying the ntp.org server to talk to this service, to sign
packets per MS-SNTP.

Andrew Bartlett
(This used to be commit 0c15385e60)
2008-05-27 16:20:18 +10:00
Andrew Tridgell
af4f6f445a add a mask of invalid security bits
(This used to be commit ccbf523876)
2008-05-27 14:06:38 +10:00
Jelmer Vernooij
dce310ef4e Remove evil hack which breaks Python bindings.
(This used to be commit 1c179566cb)
2008-05-26 13:31:57 +02:00
Jelmer Vernooij
40a90e6a55 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pyirpc
(This used to be commit e1af9708c9)
2008-05-26 12:19:09 +02:00
Andrew Tridgell
c5c1b3706a allow larger streams using the TDB backend
(This used to be commit 8c0d756eb8)
2008-05-26 14:59:58 +10:00
Jelmer Vernooij
d5434f0b4b Allow using IRPC functions on the messaging bus from Python.
(This used to be commit 6ecf81ae13)
2008-05-26 04:14:28 +02:00
Jelmer Vernooij
d60d8e57d8 Implement IRPC calls over the internal messaging bus.
(This used to be commit 777dc3a2c7)
2008-05-26 03:07:18 +02:00
Jelmer Vernooij
22778de582 Remove some unused cruft.
(This used to be commit 8f47157f09)
2008-05-26 00:38:12 +02:00
Jelmer Vernooij
eae3658674 Fix compilation errors.
(This used to be commit daae053365)
2008-05-25 23:22:05 +02:00
Jelmer Vernooij
77acb789e2 Trim the size of the Python bindings a bit.
(This used to be commit 717ce0b640)
2008-05-25 23:14:48 +02:00
Jelmer Vernooij
74126bc6d0 Expose transfer and abstract syntax.
(This used to be commit a875e07a37)
2008-05-25 04:54:38 +02:00
Jelmer Vernooij
5211755563 Expose request timeout variable in Python.
(This used to be commit daed1432d2)
2008-05-25 04:38:57 +02:00
Jelmer Vernooij
928ecbaebb Add support for secondary contexts from Python.
(This used to be commit 16d1ad0505)
2008-05-25 04:23:03 +02:00
Jelmer Vernooij
4c1f0641d3 Check for fault codes when connecting.
(This used to be commit 42537b1d52)
2008-05-25 00:04:11 +02:00
Jelmer Vernooij
63c2a19e6e Add helper function to return DCE/RPC fault codes.
(This used to be commit 4716cdfb5d)
2008-05-24 23:39:38 +02:00
Jelmer Vernooij
21b6e9ec9e Add convenience function for creating objects with NDR error codes.
(This used to be commit 991541a78c)
2008-05-24 23:22:49 +02:00
Jelmer Vernooij
5863864f1d Fix memory initialization in raw calls.
(This used to be commit 788b2dbfe4)
2008-05-24 23:07:16 +02:00
Jelmer Vernooij
2a6c4da9d1 Support optional object argument when sending DCE/RPC requests.
(This used to be commit 75ba01a0fa)
2008-05-24 23:02:09 +02:00
Jelmer Vernooij
21ce0ff006 Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.
(This used to be commit e3178d522c)
2008-05-24 22:56:49 +02:00
Jelmer Vernooij
75e7962d2e Add convenience functions for setting Python objects from errors.
(This used to be commit f1de723b89)
2008-05-24 22:13:32 +02:00
Jelmer Vernooij
f9c36fae75 Export functions for setting NTSTATUS and WERRORs in python.
(This used to be commit 4bcb92d2d4)
2008-05-24 21:38:33 +02:00
Jelmer Vernooij
fe5be25547 Allow request() call to do custom calls on DCE/RPC interfaces.
(This used to be commit 9c2eff0289)
2008-05-24 21:20:45 +02:00
Jelmer Vernooij
654be49c01 Use manually written Python bindings for DCE/RPC rather than SWIG based.
Use base class for pidl-generated DCE/RPC interface Python bindings.
(This used to be commit 25e7fc8a2c)
2008-05-24 21:02:56 +02:00
Jelmer Vernooij
515b6ed586 Share struct used for interfaces in Python code.
(This used to be commit 8501a3fc31)
2008-05-24 20:00:37 +02:00
Jelmer Vernooij
05194ccdf8 Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
(This used to be commit 468d35827f)
2008-05-24 19:50:09 +02:00
Jelmer Vernooij
73b789b6d2 Add docstrings to a couple more python modules.
(This used to be commit b4560c90e5)
2008-05-24 04:01:57 +02:00
Jelmer Vernooij
9c109fb51d Disable building of EJS DCE/RPC support.
(This used to be commit c7bc9321b3)
2008-05-23 04:20:30 +02:00
Jelmer Vernooij
4b95f9001b Work around bug adding extra imports in generated file.
(This used to be commit a34de3c619)
2008-05-23 03:56:20 +02:00
Jelmer Vernooij
a46450810b Regenerate with SWIG 1.3.35.
(This used to be commit ce063eca49)
2008-05-23 03:22:56 +02:00
Jelmer Vernooij
d77745e692 Move DCE/RPC python bindings into samba package.
(This used to be commit 8dafd4ce40)
2008-05-22 02:21:25 +02:00
Jelmer Vernooij
059c012656 Fix dependencies and imports.
(This used to be commit 37ef86f8de)
2008-05-22 00:56:36 +02:00
Jelmer Vernooij
49706ab19b Move more modules inside of the samba package.
(This used to be commit 9b39e99f48)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
b1fc7bab11 Move some python files into the samba package.
(This used to be commit ed38c668cd)
2008-05-21 21:50:56 +02:00
Jelmer Vernooij
82bcf967b7 Move CFLAGS overrides for SWIG modules to Makefile.
(This used to be commit 58665a8a8e)
2008-05-21 21:32:53 +02:00
Jelmer Vernooij
2914b0ca04 Remove support for .py files from smb_build - deal with it only in the makefiles.
(This used to be commit b865249efa)
2008-05-21 21:24:48 +02:00
Andrew Bartlett
2f5a1d2b1c Manually handle the NETLOGON_SAM_LOGON_REQUEST too.
With the sid structure being both optional and aligned, it was too
hard to do this in just IDL.

This requried moving some things around, as otherwise we would have a
dependency loop.

Andrew Bartlett
(This used to be commit e28790ba48)
2008-05-21 14:26:38 +10:00
Andrew Bartlett
fdec7fdaf5 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 7594f79db6)
2008-05-21 12:13:45 +10:00
Andrew Bartlett
2f773ff347 Re-add alignment removed by metze in 0e2f6d481b
This manual alignment is required, because the structure is marked as
unaligned.

Andrew Bartlett
(This used to be commit ef5d1c8d32)
2008-05-21 10:23:02 +10:00
Andrew Tridgell
9551d4027d Merge commit 'origin/v4-0-test' into vfs_smb2
(This used to be commit ffbd222d65)
2008-05-20 11:37:23 +10:00
Andrew Bartlett
343fea32cc Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Fix config.mk due to changing syntax.

Conflicts:

	source/libcli/config.mk
	source/nbt_server/config.mk
(This used to be commit 6a1c76f29f)
2008-05-20 08:03:35 +10:00
Andrew Tridgell
03eb236f20 Merge commit 'origin/v4-0-test' into vfs_smb2
(This used to be commit 733937e87a)
2008-05-19 11:40:25 +10:00
Jelmer Vernooij
32dfdae009 Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
(This used to be commit 8328ff7641)
2008-05-19 02:03:00 +02:00
Jelmer Vernooij
60ae8f0657 Fix a bunch of dependencies.
(This used to be commit a63f458462)
2008-05-18 23:40:23 +02:00
Jelmer Vernooij
4c70cda986 Fix a couple (well, little more than that..) of typos.
(This used to be commit a6b5211994)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147 Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
03643aec88 Use variables for source directory in a couple more places.
(This used to be commit c41bd3005f)
2008-05-18 19:54:27 +02:00
Andrew Bartlett
d975cd9d8c Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 60579269d1)
2008-05-17 21:16:22 +10:00
Andrew Bartlett
842040d184 Explain that the sid must be absent on the NTLOGON mailslot.
Andrew Bartlett
(This used to be commit a7983387f7)
2008-05-17 12:44:35 +10:00
Julien Kerihuel
25a82b8fc9 This patch adds remaining padding bytes to the dcerpc_fault IDL structure and adds a const 4 bytes blob to pkt.u.fault.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 652b8c5f15)
2008-05-16 08:54:27 +02:00
Andrew Tridgell
c7d7577fb9 private -> private_data for struct smb2_request
(This used to be commit 67290e0ad6)
2008-05-16 15:03:58 +10:00
Andrew Bartlett
58e7f253ea Rework the CLDAP and NBT netlogon requests and responses.
This now matches section 7.3.3 of the MS-ATDS specification, and all
our current tests pass against windows.  There is still more testing
to do, and the server implementation to complete.

Andrew Bartlett
(This used to be commit 431d0c0396)
2008-05-16 13:03:01 +10:00
Jelmer Vernooij
8c926a34c8 Complete dependencies for python modules (actually matters when built standalone).
(This used to be commit a89b6d8ad7)
2008-05-11 04:36:05 +02:00
Jelmer Vernooij
6267dd7853 Clean up some git merges gone wrong.
(This used to be commit 42eb6b3346)
2008-05-10 20:59:17 +02:00
Jelmer Vernooij
7b45a4d7fa Merge branch 'v4-0-test' into v4-0-gmake3
Conflicts:

	source/auth/config.mk
	source/auth/gensec/config.mk
	source/torture/smbtorture.c
(This used to be commit edfd02e59b)
2008-05-10 18:08:00 +02:00
Jelmer Vernooij
d0096e90ba Fix installation of pidl perl files, torture pc file.
(This used to be commit 32da606e37)
2008-05-10 00:46:25 +02:00
Stefan Metzmacher
3e80085fb0 pvfs: remove XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME code
I'll fix this more correctly very soon,
so that we'll pass the BASE-DELAYWRITE test.

metze
(This used to be commit b09dd6b65d)
2008-05-07 15:46:22 +02:00
Jelmer Vernooij
cc9c4aaa8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/auth/config.mk
	source/auth/gensec/config.mk
	source/build/m4/public.m4
	source/build/make/python.mk
	source/build/make/rules.mk
	source/build/smb_build/header.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/dsdb/samdb/ldb_modules/config.mk
	source/kdc/config.mk
	source/lib/events/config.mk
	source/lib/events/events.c
	source/lib/ldb/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/util/config.mk
	source/libcli/smb2/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/nbt_server/config.mk
	source/ntptr/ntptr_base.c
	source/ntvfs/posix/config.mk
	source/ntvfs/sysdep/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/rpc_server/service_rpc.c
	source/scripting/ejs/config.mk
	source/scripting/python/config.mk
	source/smb_server/config.mk
	source/smbd/server.c
	source/torture/config.mk
	source/torture/smb2/config.mk
	source/wrepl_server/config.mk
(This used to be commit 13bbd42068)
2008-04-25 10:04:20 +01:00
Simo Sorce
c33c614eb2 Revert "Add port number for ncacn_http epmapper."
This reverts commit 1304362b37.

This was causing way too many tests to fail. The dcesrv server was failing
to start as the NCACN_HTTP transport is considered invalid.

Jelmer please check how to properly fix dcesrv server before re-committing
your change.
(This used to be commit 0c59b39ad8)
2008-04-23 08:54:57 -04:00
Jelmer Vernooij
38a4f9df17 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 1e38de4564)
2008-04-22 10:21:22 +02:00
Jelmer Vernooij
54efc107e5 Add port number for ncacn_http epmapper.
(This used to be commit 1304362b37)
2008-04-22 01:34:11 +02:00
Simo Sorce
4e83011f72 Remove more event_context_init() uses from function calls within deep down the code.
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162)
2008-04-21 18:12:33 -04:00
Andrew Tridgell
3180cbbc5b Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit c73a3b837e)
2008-04-17 16:53:36 +02:00
Stefan Metzmacher
e0fe8613a3 nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
metze
(This used to be commit 0e2f6d481b)
2008-04-17 16:28:59 +02:00
Stefan Metzmacher
aa51981e99 libndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ntlogon packets
metze
(This used to be commit 690c12cd2a)
2008-04-17 16:28:40 +02:00
Andrew Tridgell
dc74e0fad6 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 3ab9abf406)
2008-04-17 15:21:08 +02:00
Andrew Tridgell
107ab090e2 use uintptr_t instead of intptr_t where appropriate
(This used to be commit d62f2bcc85)
2008-04-17 14:47:07 +02:00
Jelmer Vernooij
f875669314 Require passing in an event context to endpoint mapper utility function.
(This used to be commit 906b9fe158)
2008-04-17 01:09:33 +02:00
Jelmer Vernooij
1efbd5fbf6 Remove event context tracking from the credentials struct.
(This used to be commit 4d7fc946b2)
2008-04-17 01:03:18 +02:00
Jelmer Vernooij
c47286e57a Fix todo element on actually implemented function.
(This used to be commit dedbeea4d2)
2008-04-16 18:11:37 +02:00
Jelmer Vernooij
d49f94621b Provide stubs when the [todo] attribute is set.
(This used to be commit 356a5d2474)
2008-04-16 17:21:48 +02:00
Jelmer Vernooij
b708a3d1e7 Split binding structure handling out into a separate file.
For easier synchronisation with Samba 3.
(This used to be commit b9cac469f3)
2008-04-15 18:03:09 +02:00
Jelmer Vernooij
08baea013b Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
(This used to be commit 9d0ae012b0)
2008-04-15 02:25:16 +02:00
Jelmer Vernooij
e9017ba418 Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054)
2008-04-14 17:22:58 +02:00
Jelmer Vernooij
5c3e4797b6 Merge branch 'openchange' into cprovision
(This used to be commit 596fc05785)
2008-04-09 03:51:54 +02:00
Jelmer Vernooij
b5d84a74d1 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/makefile.pm
	source/heimdal_build/config.mk
	source/lib/events/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/registry/config.mk
	source/lib/socket_wrapper/config.mk
	source/lib/tdb/config.mk
	source/lib/tls/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/scripting/ejs/config.mk
	source/smbd/process_model.mk
(This used to be commit 760378e029)
2008-04-08 03:45:06 +02:00
Jelmer Vernooij
5cf6c42658 Add python bindings for drsuapi.
(This used to be commit ba3f0312f0)
2008-04-08 03:23:53 +02:00
Jelmer Vernooij
f253c3ad91 Add python bindings for unixinfo.
(This used to be commit 068c2f858a)
2008-04-08 03:18:43 +02:00
Jelmer Vernooij
4fcd6cfb75 Add [todo] for functions that are obviously incomplete.
(This used to be commit b7b46ddd41)
2008-04-08 03:15:55 +02:00
Jelmer Vernooij
57bf8d2e33 Add Python bindings for DFS.
(This used to be commit 4319971ccb)
2008-04-08 02:48:54 +02:00
Jelmer Vernooij
7672cdfe94 Avoid installing unused header file.
(This used to be commit eba5d8b4ce)
2008-04-04 17:25:20 +02:00
Jelmer Vernooij
30ccc36b8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into openchange
Conflicts:

	source/headermap.txt
(This used to be commit 1b084e85c1)
2008-04-04 16:02:17 +02:00
Jelmer Vernooij
adc0985742 Install libevents since it's required by samba-gtk.
(This used to be commit 2073346828)
2008-04-03 02:28:31 +02:00
Jelmer Vernooij
8495d17c1a Fix installation of dcerpc_atsvc and registry as required by samba-gtk.
(This used to be commit 64a6887ecd)
2008-04-03 01:36:03 +02:00
Kai Blin
6ce0781413 wbclient: Add an async winbind client library.
(This used to be commit 3e3563f284)
2008-04-02 23:06:27 +02:00
Jelmer Vernooij
1cf8130e11 Move handle utility functions to public header, remove more public headers.
(This used to be commit 92e71c19f4)
2008-04-02 14:18:31 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf674)
2008-04-02 04:53:27 +02:00
Jelmer Vernooij
bebb7b890c Add warning to public headers.
(This used to be commit 7bfe359c73)
2008-04-01 16:18:31 +02:00
Jelmer Vernooij
4708c66fd2 Fix dependency on samba-hostconfig.
(This used to be commit ba91b609f5)
2008-04-01 15:53:45 +02:00
Jelmer Vernooij
f41b9a9dde Rename libsamba-config to libsamba-hostconfig.
(This used to be commit c46b7e90e3)
2008-04-01 15:08:30 +02:00
Jelmer Vernooij
18d80bdf1f Merge v4.0-test
(This used to be commit 977dbdeaf3)
2008-03-28 00:44:14 +01:00
Stefan Metzmacher
96197fa871 libndr: EXT_NSL doesn't exist anymore, but it wasn't needed anyway
metze
(This used to be commit 33347928e1)
2008-03-18 18:04:23 +01:00
Stefan Metzmacher
59917521e9 opendb: pass down a pointer to the fd in odb_open_file()
This prepares kernel oplock support.

metze
(This used to be commit 9db9b6d85d)
2008-03-12 17:35:04 +01:00
Jelmer Vernooij
e3f6a9a0d4 Move PC_FILE out of the perl code.
(This used to be commit ca8d4260ad)
2008-03-09 02:53:54 +01:00
Jelmer Vernooij
2bf39edc9d Push SOVERSION and VERSION out of perl code.
(This used to be commit 0ba8ac6a14)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
fc2cd5ed63 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit e4da851bd7)
2008-03-07 18:03:54 +01:00
Günther Deschner
7eaa6b5f9a Ignore Kerberos PAC type 12.
Until we worked out the PAC_TYPE_UNKNOWN_12 format (or received documentation)
ignore it so that the PAC parsing can proceed.

Guenther
(cherry picked from commit 3630ec26c9)
(This used to be commit 0c1ccbc183)
2008-03-06 17:40:25 +01:00
Günther Deschner
62af65d1e3 Slowly making progress on PAC_UNKNOWN_12.
unknown1 and unknown2 are offset headers for the strings.

Guenther
(cherry picked from commit 7af70e75b9)
(This used to be commit ad19da7f83)
2008-03-06 17:40:16 +01:00
Günther Deschner
74dba5e33c Add new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).
We need at least to parse this in order to correctly support kerberized session
setup from w2k8 as well as local pam_winbind logons using kerberos.

Guenther
(cherry picked from commit 4ba62d49d7)
(This used to be commit ef0971206c)
2008-03-06 17:40:05 +01:00
Stefan Metzmacher
b7db5f7cb5 opendb: add allow_level_II_oplock parameter to odb_open_file()
Not all clients support a fallback to level II oplocks.

metze
(This used to be commit 146f1fe0b6)
2008-03-06 17:19:12 +01:00
Jelmer Vernooij
6cf92e604d Fix the build.
(This used to be commit 49ef8d0c19)
2008-03-04 13:06:08 +01:00
Jelmer Vernooij
a69acf7cb9 Deal with subsystems with no settings, several other minor fixes.
(This used to be commit 10cf48591e)
2008-03-04 01:37:18 +01:00
Jelmer Vernooij
2d1c06c578 Fix includes.
(This used to be commit 99e61dade2)
2008-03-04 00:43:24 +01:00
Jelmer Vernooij
b29d47edcf Move object file lists to the Makefile.
(This used to be commit a7e6d2a183)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
9817a66733 Use special make variables.
(This used to be commit dfb4ddcd5d)
2008-02-29 15:39:18 +01:00
Jelmer Vernooij
1ada710840 Move public header accumulation out of the perl code.
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.

Conflicts:

	source/auth/config.mk
	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/config_mk.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/lib/charset/config.mk
	source/lib/tdr/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/torture/config.mk
(This used to be commit 6c659689ed)
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
d8d9a6ef04 Move manpage management out of the perl build system.
(This used to be commit 1dd6bea507)
2008-02-29 14:12:23 +01:00