1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

1420 Commits

Author SHA1 Message Date
Andrew Bartlett
2b0ed1832a Update trustAuthInOutBlob in line with MS-ADTS 7.1.6.8.1
(This used to be commit 26c2a34dec26890230dfa86827804d8160061ce5)
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 131a1cfdc9a1228d9263c77bcd31b05d2946fd50)
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 4b79a7678571ac2f7d5f827913fdcb419f5d2e20)
2008-07-24 08:24:09 +02:00
Stefan Metzmacher
aaa29d2fa5 drsblobs.idl: give some unknowns a meaning
metze
(This used to be commit 231e6f5ab2dc8a3e991a9872be252cffff6f14c6)
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 97b7901afbccc9647ad2958d4cf12300de2655d1)
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 da9ceb2bf17f964334d9317829d40483e2c04b10)
2008-07-23 14:46:09 +02:00
Stefan Metzmacher
ecdd13389f drsblobs.idl: fix idl for supplementalCredentialsSubBlob
metze
(This used to be commit 24c5b10136f6e640832193aaf9e6d7e865c288bc)
2008-07-23 14:46:08 +02:00
Stefan Metzmacher
bb12c78d44 drsblobs.idl: rename unknown1 -> reserved
metze
(This used to be commit 9a70b2237d4fdd523edfbca0329ad35e71faf998)
2008-07-23 14:46:07 +02: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 579306eb5b58b6c1142b3c489e4bcf6da50810d6)
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 f5afb695045b1a2f3b8c00a4d82d40e8e50726c9)
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 705f79bd0a5e93daa0cb11b5dcca36e75c75df93)
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 dd278b069b8683a0e3721ebb7d0de06d2bc1c86f)
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 65dc0d536590d055a5ee775606ac90ee5fcaee9a)
2008-07-21 13:42:07 +10:00
Stefan Metzmacher
033683b00e drsuapi.idl: fix unknowns in drsuapi_DsGetNCChangesCtr*
metze
(This used to be commit 9e99e59ca7e56bf74417ec85339e09e86f50d17e)
2008-07-16 12:16:55 +02:00
Stefan Metzmacher
e81feb77a2 drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*
metze
(This used to be commit de2aed042d09ae7a31ddc4cd920c8fcf193ba06a)
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 a681e55067a83f06e465b81afb2b0b870b674dca)
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 d9d19eef4f67da89e7d818d23a2372bee6f86dba)
2008-07-16 12:12:29 +02: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 aa27344b96929c925b30965a1cd20e69c3dbd515)
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 29843a6b339a581de714924219632390b156aa4f)
2008-07-09 16:55:51 -07: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 351947dba3f7a26ac871d4aa7b6bba4cd472383a)
2008-07-03 15:49:56 +02:00
Stefan Metzmacher
1eb5756ca5 drsuapi.idl: remove some unknows from DsGetNCChanges()
metze
(This used to be commit 924ef407bd20331cc94f5aeb58f53a5838ae00a4)
2008-06-30 17:40:01 +02:00
Stefan Metzmacher
0827b08a43 opendb: add write time handling
metze
(This used to be commit 3868d8ce630c71e2c70aae442fcdbd68ba1eb708)
2008-06-03 14:03:49 +02: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 1854ab058b42ce4530324cb8f40eb64e6e32267b)
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 4dcc0cd06ef2f6c496e2112f6378088a1c27d2f2)
2008-05-29 11:16:03 +10:00
Andrew Tridgell
07b4cafb09 added a newline at the end of the IDL
(This used to be commit 6386155e99628377046e23342bc640710567afd0)
2008-05-28 18:47:39 +10:00
Andrew Bartlett
93d2f8ff9e Try adding a stub to fix the build
(This used to be commit a529c377ae7a4a70a99d60b7817a751ab4fdd551)
2008-05-28 15:47:27 +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 56f2288e4f4f1aa70d11fc5f118458baf5803627)
2008-05-28 08:11:05 +10: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 0c15385e6068d2f70ff11aa5837adbd6d78410ae)
2008-05-27 16:20:18 +10:00
Andrew Tridgell
af4f6f445a add a mask of invalid security bits
(This used to be commit ccbf5238767605f020ede66c8027731487c8cf00)
2008-05-27 14:06:38 +10:00
Jelmer Vernooij
dce310ef4e Remove evil hack which breaks Python bindings.
(This used to be commit 1c179566cb39eb09e522dbce69230472a5d4e655)
2008-05-26 13:31:57 +02:00
Andrew Tridgell
c5c1b3706a allow larger streams using the TDB backend
(This used to be commit 8c0d756eb887477da867e069dbde3a7ad98d4ae0)
2008-05-26 14:59:58 +10:00
Jelmer Vernooij
05194ccdf8 Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
(This used to be commit 468d35827fd055c82c6d43d6ce6d3d561abed54d)
2008-05-24 19:50:09 +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 e28790ba4884277f310be1b8bd3fba4fd47dbbdb)
2008-05-21 14:26:38 +10:00
Andrew Bartlett
2f773ff347 Re-add alignment removed by metze in 0e2f6d481b3e35ed392b2b3340b244c77593819c
This manual alignment is required, because the structure is marked as
unaligned.

Andrew Bartlett
(This used to be commit ef5d1c8d320d45b78a1e709964eaada4f5acda59)
2008-05-21 10:23:02 +10: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 60579269d1e0bebce5b595ef95d68fd4bf781cfd)
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 a7983387f7a624f6bf5c2fbfa41f849ac4471147)
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 652b8c5f156b357e231057a5a0fbded88f4f9c5f)
2008-05-16 08:54:27 +02: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 431d0c03965cbee85691cd0dc1e2a509c1a2b717)
2008-05-16 13:03:01 +10: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 b09dd6b65d533832a025a51509dcc84f84b048aa)
2008-05-07 15:46:22 +02:00
Simo Sorce
c33c614eb2 Revert "Add port number for ncacn_http epmapper."
This reverts commit 1304362b3754960f68fb56e0915c3d80cace6e60.

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 0c59b39ad8edcaf9f06a2d1393e11e06e4b2f18f)
2008-04-23 08:54:57 -04:00
Jelmer Vernooij
54efc107e5 Add port number for ncacn_http epmapper.
(This used to be commit 1304362b3754960f68fb56e0915c3d80cace6e60)
2008-04-22 01:34:11 +02:00
Stefan Metzmacher
e0fe8613a3 nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
metze
(This used to be commit 0e2f6d481b3e35ed392b2b3340b244c77593819c)
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 690c12cd2afd0fba626576fbae3f28ffdae63be2)
2008-04-17 16:28:40 +02:00
Jelmer Vernooij
c47286e57a Fix todo element on actually implemented function.
(This used to be commit dedbeea4d28ae10a15766e38e59593a2799183f3)
2008-04-16 18:11:37 +02:00
Jelmer Vernooij
d49f94621b Provide stubs when the [todo] attribute is set.
(This used to be commit 356a5d24747bb5e1ef9774c690a5ec386a4a165e)
2008-04-16 17:21:48 +02:00
Jelmer Vernooij
4fcd6cfb75 Add [todo] for functions that are obviously incomplete.
(This used to be commit b7b46ddd412bd106655c2a7b96a322d9f6ac3019)
2008-04-08 03:15:55 +02:00
Kai Blin
6ce0781413 wbclient: Add an async winbind client library.
(This used to be commit 3e3563f2840e7cd795f5fc157003af3c932cb4d1)
2008-04-02 23:06:27 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-02 04:53:27 +02: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 9db9b6d85d80a8aaa8bd432afaef9bb634d7364d)
2008-03-12 17:35:04 +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 3630ec26c99fdea46c47117d026f9bffb2c4590a)
(This used to be commit 0c1ccbc183c1d2967da2d9a17033f3b116ff7387)
2008-03-06 17:40:25 +01:00