summaryrefslogtreecommitdiff
path: root/source4/gtk/tools
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7633: this patch started as an attempt to make the dcerpc code use a givenAndrew Tridgell4-5/+6
event_context for the socket_connect() call, so that when things that use dcerpc are running alongside anything else it doesn't block the whole process during a connect. Then of course I needed to change any code that created a dcerpc connection (such as the auth code) to also take an event context, and anything that called that and so on .... thus the size of the patch. There were 3 places where I punted: - abartlet wanted me to add a gensec_set_event_context() call instead of adding it to the gensec init calls. Andrew, my apologies for not doing this. I didn't do it as adding a new parameter allowed me to catch all the callers with the compiler. Now that its done, we could go back and use gensec_set_event_context() - the ejs code calls auth initialisation, which means it should pass in the event context from the web server. I punted on that. Needs fixing. - I used a NULL event context in dcom_get_pipe(). This is equivalent to what we did already, but should be fixed to use a callers event context. Jelmer, can you think of a clean way to do that? I also cleaned up a couple of things: - libnet_context_destroy() makes no sense. I removed it. - removed some unused vars in various places (This used to be commit 3a3025485bdb8f600ab528c0b4b4eef0c65e3fc9)
2007-10-10r7530: Simply calling convention of lp_load().Andrew Bartlett4-4/+4
This always loads all the services, as we now don't have an easy way to split out smbd. Andrew Bartlett (This used to be commit 990e061939c76b559c4f5914c5fc6ca1b13e19dd)
2007-10-10r6795: Make some functions static and remove some unused ones.Jelmer Vernooij4-58/+35
(This used to be commit 46509eb89980bfe6dabd71264d570ea356ee5a22)
2007-10-10r6600: Rework of the GTK credentials system; the credentials information isJelmer Vernooij4-9/+22
now in a seperate (optional) dialog rather then in the binding dialog; also supports specifying anonymous connections (which we didn't before). (This used to be commit 8671e1a1fa8ef416c1819f811653eff190d3074a)
2007-10-10r6045: Couple of small GTK+ fixesJelmer Vernooij2-2/+9
Use uint32_t and uint16_t rather then DWORD and WORD in the NT4 backend. Add some more unknown fields.. (This used to be commit 6c3b1ec3296c7ab1ddfdcee86162f2eb0d73f5a8)
2007-10-10r5989: Display authentication information (list of available auth protocolsJelmer Vernooij1-5/+42
+ principal names per endpoint) to gepdump. Still need to fix memory management in the GTK+ utilities... (This used to be commit b48a0af0b0fbf1234627ec785699896a44b23e75)
2007-10-10r5941: Commit this patch much earlier than I would normally prefer, but ↵Andrew Bartlett3-5/+9
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-10r5932: Use cli_credentials somewhat more in the Gtk+ codeJelmer Vernooij4-28/+28
Support ncacn_spx in DCE/RPC bindings. (This used to be commit a0233a3a9a83176ae46873d3a25ed601758a1511)
2007-10-10r5928: Use cli_credentials in:Jelmer Vernooij4-11/+6
- gtk+ (returned by GtkHostBindingDialog as well now) - torture/ - librpc/ - lib/com/dcom/ (This used to be commit ccefd782335e01e8e6ecb2bcd28a4f999c53b1a6)
2007-10-10r5902: A rather large change...Andrew Bartlett3-15/+19
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-10r5598: GTK+ cleanups, remove some globalsJelmer Vernooij2-55/+44
(This used to be commit 12bfb37e1b633e8176286601fa38e565dd1f85e2)
2007-10-10r5409: - add a gtk events pluginStefan Metzmacher4-35/+33
- this is used in our gtk apps - make the main() functions of the gtk apps look more simular (we need to get rid of the globals in gregedit!) metze (This used to be commit 1051f9b32f4a5c69a1a6928e6849c8ada047032e)
2007-10-10r5300: more uint32 and system/filesys.h build fixes when developer mode is ↵Andrew Tridgell1-1/+1
enabled (This used to be commit 93931b1a741a3722c311ada80c4c9d3d670f91b2)
2007-10-10r5209: Fix the endpoint mapper to work with IPX endpoints (whichJelmer Vernooij1-1/+4
accidently have the same protocol id as UUID's) Before this, Samba would give NDR errors when contacting a remote server that has IPX support enabled. This one was on my long due bugs list. (This used to be commit 7b847de64f35b8e897b64ad047d8aea3813214f8)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell4-16/+16
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r4959: fix compiler warningStefan Metzmacher1-2/+2
metze (This used to be commit e849db13dce1233a37c5b175cf8bea0a473ba6d7)
2007-10-10r4787: Clean up gepdump code somewhat.Jelmer Vernooij1-64/+59
(This used to be commit 128e97cef614bc62ff3327aa15cd5eb636e67a58)
2007-10-10r4526: - much simpler (and more accurate!) ndr_size_*() code generation. ItAndrew Tridgell1-1/+1
is less efficient, but I really doubt that matters. - use enum in epmapper.idl for protocol type - added support for "enum8bit" flag, used in epmapper.idl (This used to be commit 1a24a50384b7f588844cd012f1218ca242ca4507)
2007-10-10r4390: Registry value and key names are case-insensitiveJelmer Vernooij1-9/+30
Nicer menu layout in gregedit (This used to be commit 2948b9750d756880c3af7fb352f0a684a1fae9c9)
2007-10-10r4373: Support setting values and fix a segfaultJelmer Vernooij1-18/+82
(This used to be commit cdb6980cdcf4b093e98b3b025f784333d46ac957)
2007-10-10r4371: Add "Create Key", "Delete Key" and "Delete Value" buttons.Jelmer Vernooij1-20/+82
gregedit now can do the same things as regedt32 except for finding data and setting values. (and a few segfaults...) (This used to be commit ada16f31e4da919731767ce31000aa270f22ffd5)
2007-10-10r4302: fixed all of the annoying gtk warnings. The code all seems to still ↵Andrew Tridgell4-14/+14
work, but given my lack of gtk experience, there are no guarantees. (This used to be commit 11277b38a473022eb59f896d5e23aa1e56786008)
2007-10-10r4200: Fix some more warnings.Tim Potter1-3/+3
(This used to be commit 0359bc408f8b3a9f743553f98d0fa1f57021701c)
2007-10-10r4155: More destinction between hives and predefined keysJelmer Vernooij1-1/+1
(This used to be commit c37d6f3c581673d74e7ec6a644ab6a7d13a55535)
2007-10-10r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXTJelmer Vernooij1-1/+1
Hives and predefined keys (HKEY_*) are not necessarily the same thing. (This used to be commit 217e4e5841cfedb2b18dce3f89dd88ea4a36fe8f)
2007-10-10r4132: - Bunch of rather large fixes in the registryJelmer Vernooij1-55/+43
- Added some README files Not everything works yet, e.g. the EnumValue test appears to be broken. (This used to be commit c169e86c1f52763b83e77e509f89cb91f9b69071)
2007-10-10r4035: more effort on consistent naming of the access mask bits.Andrew Tridgell1-1/+1
This removes the duplicate named SEC_RIGHTS_MAXIMUM_ALLOWED and SEC_RIGHTS_FULL_CONTROL, which are just other names for SEC_FLAG_MAXIMUM_ALLOWED and SEC_RIGHTS_FILE_ALL. The latter names match the new naming conventions in security.idl Also added names for the generic->specific mappings for files are directories (This used to be commit 17a4e0b3aca227b40957ed1e0c57e498debc6ddf)
2007-10-10r3724: Rename a number of structures, for better consistance between SAMR andAndrew Bartlett1-1/+1
NETLOGON. In particular, rename samr_Name to samr_String - given that many strings in this pipe are not 'names', the previous was just confusing. (I look forward to PIDL turning these into simple char * some day...). Also export out a few changes from testjoin.c to allow for how I have written the new RPC-SAMSYNC test. Andrew Bartlett (This used to be commit 9cd666bcfb1fc752a4717010a7c4f05131dc728e)
2007-10-10r3722: - add userdomain in the binding dialogStefan Metzmacher2-5/+16
- print samba_version_string() on Help->About - some minor format fixes metze (This used to be commit b11bcb2704e39415ffb11defb0e04c8b34784011)
2007-10-10r3586: Fix some of the issues with the module init functions.Jelmer Vernooij4-0/+5
Both subsystems and modules can now have init functions, which can be specified in .mk files (INIT_FUNCTION = ...) The build system will define : - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on This removes the hack with the "static bool Initialised = " and the "lazy_init" functions (This used to be commit 7a8244761bfdfdfb48f8264d76951ebdfbf7bd8a)
2007-10-10r3501: More work towards MGMT support in gepdumpJelmer Vernooij1-136/+235
(This used to be commit adeb0cd26757078ffe0a4838417169a6e4a67f6f)
2007-10-10r3494: got rid of include/rewrite.h, and split out the dynconfig.h headerAndrew Tridgell4-3/+7
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)
2007-10-10r3464: split out registry.h, rap.h and ldap_server.hAndrew Tridgell1-0/+1
(This used to be commit 70d2090f6bf2c7e0caf1e9c020f330de88871f8e)
2007-10-10r3453: - split out the auth and popt includesAndrew Tridgell1-0/+1
- tidied up some of the system includes - moved a few more structures back from misc.idl to netlogon.idl and samr.idl now that pidl knows about inter-IDL dependencies (This used to be commit 7b7477ac42d96faac1b0ff361525d2c63cedfc64)
2007-10-10r3445: made the gtk tooks use minimal includes. This approximately halves theAndrew Tridgell5-4/+9
total include lines in compiling C files in Samba (the .gch file is now 5M instead of 12M) This also gets rid of the silly gtk compile warning for non-gtk code (This used to be commit 8ebd20cf551c8c1fad98ec723d91873fa202b85a)
2007-10-10r3428: switched to using minimal includes for the auto-generated RPC code.Andrew Tridgell3-0/+3
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10r3374: Couple of bug fixesJelmer Vernooij1-22/+43
(This used to be commit f8e45e143087d333da4afc193b4fa1991ba04c63)
2007-10-10r3370: Initial work on Add Key/Delete Key/Add Value/Mod Value/Del Value ↵Jelmer Vernooij1-33/+232
support in gregedit (This used to be commit 33f429c61f2859e3ad60fa38823174bbd331d91a)
2007-10-10r3301: Simplify codeJelmer Vernooij5-156/+35
(This used to be commit dcdc6666d55c1ad006a5a4e58b337874478a66a4)
2007-10-10r3214: Load the config file (required for ncacn_np:)Jelmer Vernooij1-1/+4
(This used to be commit 636d209814d5b837af76acf88fa8ad5b449a0fdd)
2007-10-10r3213: Make credentials in a binding dialog optionalJelmer Vernooij1-10/+9
Small fixes in gepdump (This used to be commit a9473750f65d331c52acde58485aca66b16d1f75)
2007-10-10r3211: Add a graphical endpoint mapper view toolJelmer Vernooij1-0/+314
(This used to be commit 71dfc27b8efb3057c4b7383feca0ba35ab5768a4)
2007-10-10r3166: Bunch of small GUI updates. gwcrontab works again, as does selecting aJelmer Vernooij2-3/+17
domain in gwsam (This used to be commit 575e380ab45787cbe0fa2bdda6e1164e3e36f2b8)
2007-10-10r3165: Support local connections in Gtk+ toolsJelmer Vernooij1-1/+3
(This used to be commit 3de0cf22ddd6b7fb4a2214f3f99d37174c54840f)
2007-10-10r3033: Use the C struct directly if we can instead of generating a bindingJelmer Vernooij2-2/+2
string and parsing that. (This used to be commit 1977932b5471f20a788adb1b99d60953f4e12470)
2007-10-10r2920: Support passing a handle to a SAMR pipe to a RPC Binding or SelectJelmer Vernooij3-4/+22
Host dialog so that one can select a domain from the list of known domains. (This used to be commit 5e0bab891199c888bdf87faa29acc38d9ca5151b)
2007-10-10r2915: Open domain first before enumerating users and groupsJelmer Vernooij1-4/+6
(This used to be commit 9560a6c8cc650c3a519b14c79f497e6bd9ef387e)
2007-10-10r2683: Fix a couple of compile warnings, depend on gtk+-2.4Jelmer Vernooij3-26/+32
(This used to be commit 4668384717eda878583477b8f455809056885120)
2007-10-10r2594: Remove call to Gtk+ 2.4 specific codeJelmer Vernooij1-25/+8
(This used to be commit fa29cecb12def7f5c74dbcd9a525a858323e6327)
2007-10-10r2531: Fix crashbugJelmer Vernooij1-1/+1
(This used to be commit 80294f799f83fb98a5e5f1099fdfa95d9ddaac7b)