summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5941: Commit this patch much earlier than I would normally prefer, but ↵Andrew Bartlett53-452/+493
metze needs a working tree... The main volume of this patch was what I started working on today: - Cleans up memory handling around DCE/RPC pipes, to have a parent talloc context. - Uses sepereate inner loops for some of the DCE/RPC tests The other and more important part of this patch fixes issues surrounding the new credentials framwork: This makes the struct cli_credentials always a talloc() structure, rather than on the stack. Parts of the cli_credentials code already assumed this. There were other issues, particularly in the DCERPC over SMB handling, as well as little things that had to be tidied up before test_w2k3.sh would start to pass. Andrew Bartlett (This used to be commit 0453f9d05d2e336fba1f85dbf2718d01fa2bf778)
2007-10-10r5940: fix schannel against w2k, it skips the confounder in the signature ↵Stefan Metzmacher1-1/+2
(24 bytes) for singed packets but it accepts 32 bytes from the client. (w2k3 accept it the otherway arround too) metze (This used to be commit 08d4c3b9f8558ee40c73a22b3ec110b052f28110)
2007-10-10r5939: improve talloc_realloc() docs after feedback from lifelessAndrew Tridgell1-1/+5
(This used to be commit 301cbb0d12919f83d6b735c2e23b49fb49d5394d)
2007-10-10r5938: - allow NULL string argument to talloc_vasprintf_append()Andrew Tridgell1-1/+9
- default to using va_copy(), thus assuming a modern libc (This used to be commit 3060b26c9e745330682f6209d97e723113b65b56)
2007-10-10r5937: - performance improvement to talloc_asprintf_append()Andrew Tridgell2-5/+10
- allow standalone talloc to use gcc printf attributes (This used to be commit e25aa54e962796e6e7385afed57aa287ef6f869d)
2007-10-10r5932: Use cli_credentials somewhat more in the Gtk+ codeJelmer Vernooij9-53/+59
Support ncacn_spx in DCE/RPC bindings. (This used to be commit a0233a3a9a83176ae46873d3a25ed601758a1511)
2007-10-10r5930: Fix initialisation of dcerpc_binding->authserviceJelmer Vernooij1-0/+2
(This used to be commit f8cf161e0e59bd6b2a62135be8511403f4e9ca70)
2007-10-10r5929: Use cli_credentials for the SMB functions as well.Jelmer Vernooij11-95/+52
Fix a couple of bugs in the new cli_credentials code (This used to be commit 4ad481cfe5cde514d2ef9646147239f3faaa6173)
2007-10-10r5928: Use cli_credentials in:Jelmer Vernooij31-278/+186
- gtk+ (returned by GtkHostBindingDialog as well now) - torture/ - librpc/ - lib/com/dcom/ (This used to be commit ccefd782335e01e8e6ecb2bcd28a4f999c53b1a6)
2007-10-10r5924: Use cli_credentials in libnet/.Jelmer Vernooij6-24/+10
(This used to be commit e5bc6f4f1716568ae7022d61b5b35ee047b58414)
2007-10-10r5917: First step in using the new cli_credentials structure. This patchJelmer Vernooij25-351/+479
puts support for it into popt_common, adds a few utility functions (in lib/credentials.c) and the callback functions for the command-line (lib/cmdline/credentials.c). Comments are welcome :-) (This used to be commit 1d49b57c50fe8c2683ea23e9df41ce8ad774db98)
2007-10-10r5906: Fix the usage of the internal popt (make proto should ignore it)Jelmer Vernooij15-662/+2207
Updated included popt to 1.7. (This used to be commit d60cb643e8a46771f3d836307ea45b869f34dc9b)
2007-10-10r5903: While I can't test IPv6, metze asked me to commit a matching changeAndrew Bartlett1-0/+3
for unknown hosts that I just did for IPv4. Andrew Bartlett (This used to be commit 7e1d82a200b3c679b727e0ef28a245389708ae2f)
2007-10-10r5902: A rather large change...Andrew Bartlett44-542/+714
I wanted to add a simple 'workstation' argument to the DCERPC authenticated binding calls, but this patch kind of grew from there. With SCHANNEL, the 'workstation' name (the netbios name of the client) matters, as this is what ties the session between the NETLOGON ops and the SCHANNEL bind. This changes a lot of files, and these will again be changed when jelmer does the credentials work. I also correct some schannel IDL to distinguish between workstation names and account names. The distinction matters for domain trust accounts. Issues in handling this (issues with lifetime of talloc pointers) caused me to change the 'creds_CredentialsState' and 'struct dcerpc_binding' pointers to always be talloc()ed pointers. In the schannel DB, we now store both the domain and computername, and query on both. This should ensure we fault correctly when the domain is specified incorrectly in the SCHANNEL bind. In the RPC-SCHANNEL test, I finally fixed a bug that vl pointed out, where the comment claimed we re-used a connection, but in fact we made a new connection. This was achived by breaking apart some of the dcerpc_secondary_connection() logic. The addition of workstation handling was also propogated to NTLMSSP and GENSEC, for completeness. The RPC-SAMSYNC test has been cleaned up a little, using a loop over usernames/passwords rather than manually expanded tests. This will be expanded further (the code in #if 0 in this patch) to use a newly created user account for testing. In making this test pass test_rpc.sh, I found a bug in the RPC-ECHO server, caused by the removal of [ref] and the assoicated pointer from the IDL. This has been re-added, until the underlying pidl issues are solved. (This used to be commit 824289dcc20908ddec957a4a892a103eec2da9b9)
2007-10-10r5901: Add another option to the test script - the realm, which must matchAndrew Bartlett1-3/+4
the real ream, not just the short domain name. Andrew Bartlett (This used to be commit d585e1a759888df01cfabfec2d6d5506cf3bd426)
2007-10-10r5900: Use flatname to specify the netbios domain name (matches what win2k3Andrew Bartlett2-5/+5
uses for trusted domain records) in the secrets join records. Andrew Bartlett (This used to be commit a6c502832c4ef471bd423b795f210abf3bb96ca5)
2007-10-10r5899: Fix spelling.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 50af206477d8834d58629131e8cc994fb194adfe)
2007-10-10r5898: Handle errors in the 'sync' name and IP address handling code.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 6b8b40f73bd8b7ce23effc8eb1d808db77bcbf8b)
2007-10-10r5895: Remove old auth_domain code - to be replaced with entirely new ↵Andrew Bartlett1-552/+0
implementation. Andrew Bartlett (This used to be commit a16339729d25fc5b12846207afe3800df7fca8d5)
2007-10-10r5879: Rename SAMR_FIELD_WORKSTATION to SAMR_FIELD_WORKSTATIONS - it is a list.Andrew Bartlett3-5/+6
Andrew Bartlett (This used to be commit 7822101cb5213f192f3195648970784a9de4fac4)
2007-10-10r5878: Be clear which machine name (We have one worksation, and one BDC) weAndrew Bartlett1-7/+7
are doing logins with. Andrew Bartlett (This used to be commit b7297c44faea0ae8b38fb9a90c22c5be3c8f689f)
2007-10-10r5877: It is not an error to have a zero-length secret, after decryption.Andrew Bartlett1-3/+5
Andrew Bartlett (This used to be commit b484776cc4d48690d45c668f9253015eb0d6207d)
2007-10-10r5876: Add a test account for the duration of the samsync - to ensure we haveAndrew Bartlett2-19/+62
a good variety of things to test against. Add code to testjoin to handle this just like test machine accounts Soon I'll remove the 'must change password' flag, so we can do logins with it. Andrew Bartlett (This used to be commit 08b47e2dc067f7e4a52b982d358ff1b0209cc1df)
2007-10-10r5871: Remove file with unused function (that uses fstring)Jelmer Vernooij3-54/+3
Remove fstring usage from version.c (This used to be commit d25163159c19d6f948551438f459d161ba6ea4ac)
2007-10-10r5867: winreg depends on initshutdown now (uses initshutdown_String)Jelmer Vernooij1-1/+1
(This used to be commit ff478d44bed302f4a27edea56e9b7e897e62c769)
2007-10-10r5866: Add InitShutdown IDL and torture test.Jelmer Vernooij10-12/+244
Implement push side of NDR_LEN4|NDR_NOTERM strings (pull side was already present) (This used to be commit ea61ec1122841716ed5d90085ba79e7bf691bd6a)
2007-10-10r5853: Move some of the functions not specific to the Samba NDR parser generatorJelmer Vernooij3-179/+254
to a new ndr.pm. Add function that can generate a "OrderTable" describing the order in which the NDR data will be pushed/pulled. (This used to be commit 2603a7326d7e54a012a95e37fd54433b85d8acc4)
2007-10-10r5852: Rename ndr.pm to ndr_parser.pmJelmer Vernooij3-2/+2
I'm going to add a ndr.pm later on that'll generate a tree with necessary information for the two NDR backends (eparser, ndr_parser) containing alignment info, etc. (This used to be commit 5162daa9464cd64930f5a8fd0d7b381b122c931d)
2007-10-10r5850: enable parsing of revision 4 security acl'sStefan Metzmacher2-16/+40
metze (This used to be commit 2a6a075c7da2da7bb62fb42936252717bb9d0593)
2007-10-10r5839: add LDAP DirSync control idlStefan Metzmacher1-0/+26
metze (This used to be commit 29d898a338e20c76a2270557b0c401a9672af094)
2007-10-10r5830: start to analyse the attribute values, depending on the attribute typeStefan Metzmacher2-23/+189
metze (This used to be commit 63229b9503950847fbecd6ec22171d8c18d7ac91)
2007-10-10r5828: add some idl for DsAddEntry()Stefan Metzmacher3-11/+68
metze (This used to be commit 3e6ec811288d74921bf3e393213e75d928156772)
2007-10-10r5827: Make ndrdump accept a uuid as well as a pipe name to specifyTim Potter1-3/+9
which rpc interface to use. (This used to be commit d59bc9dc9bb3a11dd07b7862ea10d1b32e670598)
2007-10-10r5800: fix recursiv printing in ndr_print_DsGetNCChangesInfo1()Stefan Metzmacher4-6/+61
metze (This used to be commit 1084ad4bfce6bc20537f5bfccb5a25b60f503b32)
2007-10-10r5799: more DsGetNCChanges updates, I'm starting to understand it...Stefan Metzmacher3-35/+205
also add a really simple torture test for DsGetNCChanges metze (This used to be commit bcde67a7eff9ad82919e90fd64c02a17610c6f0e)
2007-10-10r5798: limit the size of an sid, 28 bytes complete is the biggest SIDStefan Metzmacher1-1/+1
that can be handled. tridge: do you think it would make sense to change the sub_auth[num_auths] to sub_auth[5], so we can copy the struct by sid1 = sid2; comments please metze (This used to be commit 2fc8a604b003a6c3425eb7bbf77fbe467c956085)
2007-10-10r5797: - add idl property [subcontext_size()]Stefan Metzmacher3-33/+74
this can be used like this [subcontext_size(28),subcontext(0)] dom_sid sid; this descripes a fixed 28 byte buffer which contains a dom_sid, and the rest of the buffer is padded with zero bytes if the dom_sid doesn't need all 28 byte in it's ndr encoding. - only push and pull the subcontext when we are in the NDR_SCALARS section (tridge, jelmer: I hope this is correct for all cases...!?:-) metze (This used to be commit 483bb1418fd5c70c418142ade80c1e286adfa05a)
2007-10-10r5796: add ndr_* function for int8 and int16Stefan Metzmacher1-24/+75
metze (This used to be commit 8ac0928a914c1cee3f0493b515f03c6422a8b71a)
2007-10-10r5785: Fix subcontext pushesJelmer Vernooij1-1/+1
(This used to be commit 0d590906cd7706ebd8c6d5921546291e98067864)
2007-10-10r5783: Test renaming of accounts in the RPC-SAMR test, and add support intoAndrew Bartlett3-18/+49
the SAMR server. Andrew Bartlett (This used to be commit fd748f9d2f8f354f76587d92b94de83bffe1c6dc)
2007-10-10r5782: Use standard input for reading packet data if filename not specified.Tim Potter1-4/+38
(This used to be commit c3c6dafc3120ed5018a27a882cbc09e9d05fac33)
2007-10-10r5781: Fix build.Tim Potter2-2/+2
(This used to be commit 35354456b2ab2fa173359fa16d8accb13a8fac7d)
2007-10-10r5780: Remove unused arguments.Tim Potter2-7/+7
(This used to be commit 1ee84e373e2b44c96f9353f194b766d6a144e7ce)
2007-10-10r5779: Remove signal and timeout gubbage from tdb.Tim Potter3-127/+4
(This used to be commit dbb56e9a59cf00d57b09ded6d60bf9424d5f1f4c)
2007-10-10r5778: Remove tdb_set_lock_alarm() function from wrappers at tridge's request.Tim Potter1-8/+0
(This used to be commit 8b83eca265b6ad5f33e90beac67f3e1621010764)
2007-10-10r5777: At some stage SIG_ATOMIC_T was renamed to sig_atomic_t. This shouldTim Potter1-7/+4
fix abartlet's compile problem. (This used to be commit 170139035ab1e7659a82e1e2d40990f4d7f146c3)
2007-10-10r5775: Remove some unused functions (unions are no longer as special as they ↵Jelmer Vernooij8-33/+29
used to be) Add oxid mapping table support in DCOM (This used to be commit e193555f0eec2dda8c8760e9668181200fef0a1e)
2007-10-10r5769: Fix unused variable warning.Tim Potter1-1/+1
(This used to be commit 80dfac3640443a41f7e45e9164ca1a6749494011)
2007-10-10r5766: get some more DsGetNCChanges stuff parsing correctStefan Metzmacher1-16/+83
metze (This used to be commit 1a4560997d99f2401903f8e466208c001d3ab6c1)
2007-10-10r5765: remove unused varStefan Metzmacher1-1/+0
metze (This used to be commit a8f7c3e59f35127b51d4afc551b71f21886f4565)