Andrew Tridgell
2f2fc84a7c
r6720: added support for the remaining 2 types of CLDAP netlogon
...
response.
To work around the fact that the type of the returned data is not
encoded in the packet, this required adding ndr_pull_union_blob()
which allows us to pull a blob into a union with a specified switch
value, in this case the switch value comes from the calling NtVer field.
(This used to be commit bd27e626c2
)
2007-10-10 13:16:37 -05:00
Andrew Tridgell
398a3130f5
r6719: pidl need to be told that the external type netr_SchannelType is an enum, otherwise
...
it will assume its a struct
(This used to be commit 9a8f3e3c4c
)
2007-10-10 13:16:37 -05:00
Rafal Szczesniak
a71af5f83f
r6718: Formatting fixes.
...
rafal
(This used to be commit a784c46dd4
)
2007-10-10 13:16:37 -05:00
Rafal Szczesniak
84f248ec84
r6717: - torture test of async useradd function and monitor messages.
...
- make message handling functions static.
rafal
(This used to be commit 96446e5e1e
)
2007-10-10 13:16:37 -05:00
Andrew Bartlett
b5da6b2c85
r6714: We can only ask GENSEC questions if we are authenticated.
...
Andrew Bartlett
(This used to be commit b429712f1e
)
2007-10-10 13:16:37 -05:00
Andrew Bartlett
369c53ccf4
r6711: Clarify that we are dealing with a salting principal in the kerberos
...
code, which is certainly not in the form of machine$.
Rework the default salt to match what I just added to the heimdal
server (Samba4 is back on speaking terms with lorikeet heimdal now),
from Luke Howard's post to samba-technical in Nov 2004.
Now to test compatability with MS...
Andrew Bartlett
(This used to be commit d719a0093b
)
2007-10-10 13:16:37 -05:00
Rafal Szczesniak
e8eccd22ee
r6709: Add monitor messages to useradd composite useradd function.
...
rafal
(This used to be commit b3fce5b94b
)
2007-10-10 13:16:36 -05:00
Rafal Szczesniak
5cbfca2967
r6708: Another type of monitor message.
...
rafal
(This used to be commit f7aaa0bfca
)
2007-10-10 13:16:36 -05:00
Stefan Metzmacher
fa24196d0d
r6705: let the gensec module decide if messages can be signed and sealed in a different
...
order than a strict request - reply sequence
Note: we should also fix the client code...
metze
(This used to be commit 0a61d1f651
)
2007-10-10 13:16:36 -05:00
Stefan Metzmacher
0b3e651e05
r6704: fix compiler warning
...
metze
(This used to be commit 9d86314c44
)
2007-10-10 13:16:36 -05:00
Stefan Metzmacher
34ae3b1604
r6703: fix the build
...
metze
(This used to be commit 333f9bdf58
)
2007-10-10 13:16:36 -05:00
Andrew Bartlett
1cf8396db4
r6702: Revert -r 6699, as I think this is a win2k v win2k3 issue.
...
Andrew Bartlett
(This used to be commit 77b67da5b8
)
2007-10-10 13:16:36 -05:00
Andrew Bartlett
a21b7de463
r6701: Updates to our server-side ticket verification code, we now use the
...
client credentials code to read the secrets.ldb.
Also clean up error handling, and ensure to always set the
last_error_message stuff.
Andrew Bartlett
(This used to be commit 435d229e5d
)
2007-10-10 13:16:36 -05:00
Andrew Bartlett
69f3a934d7
r6700: Upper case realms in kerberos-specific parts of the code, as this is
...
no longer done globally.
This keeps MIT client libraries happy, because otherwise the windows
KDC will return a different case to what was requested.
Andrew Bartlett
(This used to be commit 9098b9321f
)
2007-10-10 13:16:35 -05:00
Andrew Bartlett
493cab3dbc
r6699: Windows clients seem to ask for CIFS/, ie in upper case, so match it.
...
Andrew Bartlett
(This used to be commit 6d7f1daaf2
)
2007-10-10 13:16:35 -05:00
Andrew Bartlett
e5124bffca
r6698: Our domain join code requires that the secureChannelType be set. Type
...
6 is BDC, which is correct for a self-join.
Andrew Bartlett
(This used to be commit cd61ff80f8
)
2007-10-10 13:16:35 -05:00
Stefan Metzmacher
e4cdc5d750
r6697: fix from Sven (wAmpIre) Velt
...
metze
(This used to be commit db2f5619f8
)
2007-10-10 13:16:35 -05:00
Andrew Tridgell
191c8b5082
r6694: a simple CLDAP torture test
...
interestingly, w2k3 seems to have 4 different varients of the netlogon
cldap response. We decode two of them so far. The other two are tricky
as they aren't distinguished by a command code, they use the same
command codes (0x13 and 0x17) but have quite a different format. Very
strange!
(This used to be commit 58f1c39282
)
2007-10-10 13:16:35 -05:00
Andrew Tridgell
0ac02ed7c3
r6693: first version of cldap client library, with async interface
...
(This used to be commit cbeffe830b
)
2007-10-10 13:16:35 -05:00
Andrew Tridgell
489a6b5591
r6692: used idr_get_new_random() in the nbt client library
...
(This used to be commit a3f64357af
)
2007-10-10 13:16:35 -05:00
Andrew Tridgell
c8177de955
r6691: fixed a comment
...
(This used to be commit a0fa871c3f
)
2007-10-10 13:16:34 -05:00
Andrew Tridgell
76e3954dde
r6690: added ndr_pull_struct_blob_all(), which is like ndr_pull_struct_blob() but checks
...
that all bytes are consumed
(This used to be commit 7951e9bd64
)
2007-10-10 13:16:34 -05:00
Andrew Tridgell
f6c0bee791
r6689: minor ldap client library work
...
- added support for binary encoded search filters
- fixed some const handling
- changed the message type to an enum, to help debugging
(This used to be commit d5353b6342
)
2007-10-10 13:16:34 -05:00
Andrew Tridgell
e1369f8720
r6688: removed unused binary_string() function
...
(This used to be commit 0b48c69e0b
)
2007-10-10 13:16:34 -05:00
Andrew Tridgell
61d95606d0
r6687: added a idr helper function for creating random IDs
...
(This used to be commit ef573df2a0
)
2007-10-10 13:16:34 -05:00
Tim Potter
00f4b34d95
r6677: Unused variables.
...
(This used to be commit 7417f6fa8b
)
2007-10-10 13:16:34 -05:00
Tim Potter
78176b7ee0
r6676: Fix unused variable.
...
(This used to be commit 699e0adf4c
)
2007-10-10 13:16:34 -05:00
Tim Potter
61d53d5d76
r6675: Fix printf warning.
...
(This used to be commit 513fc9c244
)
2007-10-10 13:16:33 -05:00
Tim Potter
1838812454
r6674: Fix some compiler warnings.
...
(This used to be commit c2c563bf98
)
2007-10-10 13:16:33 -05:00
Jelmer Vernooij
8797d0e29b
r6664: Obey overrided CC in the Makefile
...
(should fix build on several buildfarm hosts)
(This used to be commit cbd7af4fcf
)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
238f36b899
r6663: only use -Wall for gcc
...
(This used to be commit b7fbe2173d
)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
3059fb2bc7
r6662: add an installcheck target for talloc
...
(This used to be commit 2f78428cfd
)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
30f817a202
r6661: fix up talloc autoconf to have a chance of working on the build farm
...
(This used to be commit 9318744fd4
)
2007-10-10 13:16:32 -05:00
Volker Lendecke
c1d31ac8fc
r6660: Sorry for the spam... I think now I've got a version that should compile on
...
trunk, 3_0 and 4_0.
Volker
(This used to be commit 777c489cad
)
2007-10-10 13:16:32 -05:00
Simo Sorce
13bb5c3486
r6650: keep style consistent
...
(This used to be commit 34671674ee
)
2007-10-10 13:16:32 -05:00
Simo Sorce
157a32956a
r6645: Add talloc_get_size() function.
...
Sometimes it is usefull to know this data.
Simo.
(This used to be commit df40184782
)
2007-10-10 13:16:32 -05:00
Rafal Szczesniak
e2cec76d85
r6637: Test for asynchronous function and monitor messages.
...
rafal
(This used to be commit 4ac3c145fc
)
2007-10-10 13:16:32 -05:00
Rafal Szczesniak
c19d6aeca7
r6624: I have put monitor function pointer into userinfo call, but I haven't put
...
any possibility to pass such pointer from calling function... :)
rafal
(This used to be commit 08a8878436
)
2007-10-10 13:16:32 -05:00
Jelmer Vernooij
88f0a6e5e2
r6622: Add talloc manpage in DocBook XML, based on SGML version by Garry Williams
...
(This used to be commit 62550eac1e
)
2007-10-10 13:16:32 -05:00
Jelmer Vernooij
6b68d5eb7b
r6621: Warn when the user is trying to use socket wrapper
...
while it is not compiled in.
(This used to be commit d63086918b
)
2007-10-10 13:16:31 -05:00
Andrew Tridgell
f597d6df59
r6620: the type 23 schannel bind uses a workstation name, not an account name
...
(This used to be commit 250f1f69dd
)
2007-10-10 13:16:31 -05:00
Andrew Tridgell
320eeed1ef
r6619: realm should not be forced uppercase
...
(This used to be commit 93e70717c7
)
2007-10-10 13:16:31 -05:00
Andrew Tridgell
7fc9f65318
r6618: only print the netlogon packets we receive if it is an unknown packet type
...
(This used to be commit 8229fe4dd5
)
2007-10-10 13:16:31 -05:00
Jelmer Vernooij
aed008c989
r6617: Let --enable-developer imply --enable-socket-wrapper
...
Add socket-wrapper-enabled test target and use that by
default when the socket wrapper was included
(This used to be commit d3b0ad8b4b
)
2007-10-10 13:16:31 -05:00
Rafal Szczesniak
7285111162
r6616: First (and totally untested) approach to monitoring userinfo
...
composite call.
rafal
(This used to be commit 227c9fb45b
)
2007-10-10 13:16:31 -05:00
Rafal Szczesniak
44f981ad0b
r6615: As usual, I forgot to commit new structure in this file...
...
rafal
(This used to be commit 3389cfb135
)
2007-10-10 13:16:31 -05:00
Rafal Szczesniak
aefd5df199
r6614: Basic approach to monitoring messages for composite functions.
...
rafal
(This used to be commit 47a7a6c3fc
)
2007-10-10 13:16:30 -05:00
Stefan Metzmacher
a0cb1b0a5f
r6612: fix the build
...
metze
(This used to be commit a1c7fe2578
)
2007-10-10 13:16:30 -05:00
Jelmer Vernooij
c531b7f66c
r6611: Add mailslot test program
...
(This used to be commit fae95f740d
)
2007-10-10 13:16:30 -05:00
Tim Potter
8bcfc14d64
r6610: Fix a const warning in the gensec spnego implementation. (A make proto
...
is required after updating to this version).
(This used to be commit 258d03ef92
)
2007-10-10 13:16:30 -05:00