Günther Deschner
2f1dbddc3f
s4-smbtorture: fix build warning.
...
Guenther
2008-10-23 02:18:09 +02:00
Günther Deschner
dd49f7483b
s4-drsuapi: merge drsuapi_DsGetNCChanges from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:39 +02:00
Günther Deschner
6ddaf5f160
s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:31 +02:00
Günther Deschner
1cdd9e37b0
s4-smbtorture: fix drsuapi_DsGetNT4ChangeLog test.
...
Guenther
2008-10-17 23:06:24 +02:00
Günther Deschner
e941e4ad52
s4: merge from s3 drsuapi.idl.
...
Guenther
2008-10-17 10:54:01 +02:00
Volker Lendecke
af1c802791
The IRIX compiler does not like embedded unnamed unions
2008-10-02 08:09:25 +02:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Stefan Metzmacher
75f594b285
drsuapi: fix samba4 callers after drsuapi.idl changes
...
metze
(This used to be commit 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)
2008-08-20 15:22:05 +02:00
Andrew Bartlett
a0b5ec7797
We can't use ndr_pull_struct_blob_all in combinatin with relative pointers
...
(This used to be commit d0a128f35b259d4891edc68fc24aa04a6da7aab7)
2008-08-08 10:41:48 +10:00
Stefan Metzmacher
8275d511bc
drsuapi: fix callers after idl change
...
metze
(This used to be commit 7dee6fb62d5adbd2eaaaf4d8ba9e87a72ef9f94b)
2008-08-07 19:15:58 +02:00
Andrew Bartlett
358a11c6f3
Print trustAuthOutgoing and trustAuthIncoming in RPC-DSSYNC
...
(This used to be commit 6673a6e62399c4956a44a06685aa91ce8145b92a)
2008-07-31 21:23:48 +10:00
Andrew Bartlett
2cc32c4988
Use the cldap reply to avoid segfaulting in RPC-DSSYNC
...
Also don't fail the test if the server does not implement the NT4
changelog.
Andrew Bartlett
(This used to be commit 514d88580bee3bb17f1032262f5518e3ab2a349a)
2008-07-31 10:51:59 +10:00
Michael Adam
1f20ca14cc
drsuapi: always set the pid field of the outgoing DsBindInfo to 0.
...
This is for debugging and informational purposes only.
The assignment is implementation specific.
(WSPP docs, sec. 5.35).
Michael
(This used to be commit 1f5704e2dee5900e8d1d87699b76f67c0e12854e)
2008-07-23 15:36:13 +02:00
Stefan Metzmacher
734d0c0a5d
RPC-DSSYNC: print 'supplementalCredentials' more verbosely
...
metze
(This used to be commit 6a7637b12e4a34915a53e81a0f47571da21fdc5a)
2008-07-23 14:46:06 +02:00
Michael Adam
a9c3f4700c
smbtorture: add a warning for unknown BindInfo length to the RPC-DSSYNC test
...
Michael
(This used to be commit 7ee99105ea3a50d8ee2c83ecd39e834ed9efb98c)
2008-07-23 12:52:40 +02:00
Michael Adam
935a7b3389
smbtorture: add support for the DSBindInfo48 to the RPC-DSSYNC test.
...
Michael
(This used to be commit 67a99e445871861945fd0a45784cffb358bdccf3)
2008-07-23 12:52:40 +02:00
Michael Adam
7fba6c649b
Change occurrences of the u1 member of DsBindInfo* to pid after idl change.
...
Michael
(This used to be commit b91bbc5fe4a47e5823be6be5f2f203f1f14105de)
2008-07-22 15:35:23 +02:00
Stefan Metzmacher
f0e44c35af
drsuapi: make use of the 'more_data' field in DsGetNCChangesCtr[1|6]
...
metze
(This used to be commit 35c7fa470a7433d081403b2b57a331c7dc287aef)
2008-07-16 14:42:11 +02:00
Stefan Metzmacher
a24fb2b537
drsuapi: get ctr6 out of xpress compressed level
...
metze
(This used to be commit 4e0708148a121bd41a12abf6122d5d6f3f09667a)
2008-07-16 14:42:06 +02:00
Stefan Metzmacher
c88ec856bd
drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)
...
metze
(This used to be commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06)
2008-06-30 17:40:01 +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
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 3045d391626fba169aa26be52174883e18d323e9)
2008-04-21 18:12:33 -04:00
Jelmer Vernooij
c38c2765d1
Remove yet more uses of global_loadparm.
...
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2008-02-21 17:17:37 +01:00
Jelmer Vernooij
b65dba2245
r26355: Eliminate global_loadparm in more places.
...
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
a72c5053c5
r26353: Remove use of global_loadparm.
...
(This used to be commit 17637e4490e42db6cdef619286c4d5a0982e9d1a)
2007-12-21 05:48:57 +01:00
Jelmer Vernooij
4c4323009f
r26327: Explicit loadparm_context for RPC client functions.
...
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21 05:48:41 +01:00
Jelmer Vernooij
da0f222f43
r26271: Remove some more uses of global_loadparm.
...
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
2007-12-21 05:47:53 +01:00
Jelmer Vernooij
1fbdd6ef1d
r26264: pass name resolve order explicitly, use torture context for settings in dssync tests.
...
(This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
2007-12-21 05:47:39 +01:00
Jelmer Vernooij
bbdfbf8d9d
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
...
(This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21 05:47:20 +01:00
Andrew Bartlett
dda00fedd4
r25825: Don't print the user's password hash at level 0.
...
Andrew Bartlett
(This used to be commit 495271588c5ef8ce88826961fa3883506d74ad33)
2007-12-21 05:44:14 +01:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Stefan Metzmacher
f14bd1a90a
r24557: rename 'dcerpc_table_' -> 'ndr_table_'
...
metze
(This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10 15:02:15 -05:00
Andrew Bartlett
5f6b501f21
r24146: It is not an error for a Win2k3-only server not to support the NT4
...
replication call.
Andrew Bartlett
(This used to be commit 59cba32c09f5b014788e4fb0479ed31f26a3d7e2)
2007-10-10 15:01:28 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
4194a55726
r22396: remove unused vars
...
metze
(This used to be commit ff3ad7e5db64a27ec95475c40be094c7d69ae008)
2007-10-10 14:51:13 -05:00
Andrew Bartlett
e936efb26f
r22086: Bail out early on some of these failures.
...
(This used to be commit 8311bdfde92a9efe7730ed4a0f5f70f8e0d25ef6)
2007-10-10 14:49:50 -05:00
Stefan Metzmacher
98fce3d3b5
r21337: add hack option to use DsGetNCChanges level 5 against w2k
...
metze
(This used to be commit 66c8499e5f2f139995be8cb5770d238f383059d6)
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
93690e31c3
r21335: add dssync:save_pwd_blobs_dir=path/ option to store the password blobs
...
in files for inspection with ndrdump
metze
(This used to be commit 54748ef5860ee59b5f84855965c84aa8787fb4b6)
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
9e2b78b96a
r21272: in the history fields each hash is rid crypted on its own
...
metze
(This used to be commit 922cfacde4dcf27829040e12c7fae083bd5b44c2)
2007-10-10 14:44:57 -05:00
Stefan Metzmacher
e2821c4238
r21267: the first 4 bytes in each encrypted attribute is the crc32
...
checksum over the remaining bytes
metze
(This used to be commit c9fe6a867c7e23a60e0f9200b04c31e48ccc11a2)
2007-10-10 14:44:56 -05:00
Stefan Metzmacher
714052a68c
r21261: add support for getting to the plain nthash (and I assume others too)
...
I wonder what the first 4 bytes are, but the last 16 bytes of the 20 bytes
are the rid crypted hash. The lmhash and the history fields are not verified
yet. But I get the administrators nthash in plain.
metze
(This used to be commit 7726d4a0272b29a4eade26c9ae3d929df50897da)
2007-10-10 14:44:56 -05:00
Stefan Metzmacher
2d3eea4531
r21245: combination "c[3] s[1] e[1] d[0]..." was successful!!!!!!!!!!!!!!!!!!!!!!!!!!
...
we now support the session depended password attribute encryption
used in DsGetNCChanges()
the static encryption (something like sam_rid_crypt() is assumed for some attributes
and the format of the attribute values isn't known yet, but some contain
some unicode strings...
metze
(This used to be commit daee739ebba38e54fbdbd7e53d16fd30bc0dd54e)
2007-10-10 14:44:52 -05:00
Stefan Metzmacher
f7959890d4
r21244: fix typo...
...
I was wondering why I got allways 4 times the same decrypted buffer...
metze
(This used to be commit ba168479d5c5710de4252d9b8970ab41b7979411)
2007-10-10 14:44:52 -05:00
Stefan Metzmacher
2bf68b4964
r21243: create the infrastructure to test a lot of crypto combinations
...
to solve the drsuapi password encryption automaticly.
metze
(This used to be commit 7b331b95bf43384e571ecc88ac827f46acd8c20c)
2007-10-10 14:44:52 -05:00
Stefan Metzmacher
cf123e67d5
r21242: prepare trying to decrypt the encrypted attributes
...
metze
(This used to be commit 65a55c8fdecbc212ba2fc2a01c580f30dcc7b54a)
2007-10-10 14:44:51 -05:00
Stefan Metzmacher
08de2da4ea
r21236: store and orint the dcerpc session key, gensec session key and user nthash
...
values for each drsuapi connection in RPC-DSSYNC
metze
(This used to be commit df74c4a88108bd4387d9be4f64619c46c23493e6)
2007-10-10 14:44:51 -05:00