summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gwcrontab.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5928: Use cli_credentials in:Jelmer Vernooij1-4/+1
- 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 Bartlett1-6/+7
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-10r5409: - add a gtk events pluginStefan Metzmacher1-2/+2
- 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-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell1-6/+6
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r4302: fixed all of the annoying gtk warnings. The code all seems to still ↵Andrew Tridgell1-3/+3
work, but given my lack of gtk experience, there are no guarantees. (This used to be commit 11277b38a473022eb59f896d5e23aa1e56786008)
2007-10-10r3722: - add userdomain in the binding dialogStefan Metzmacher1-4/+10
- 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 Vernooij1-0/+1
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-10r3494: got rid of include/rewrite.h, and split out the dynconfig.h headerAndrew Tridgell1-0/+1
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)
2007-10-10r3445: made the gtk tooks use minimal includes. This approximately halves theAndrew Tridgell1-1/+2
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 Tridgell1-0/+1
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-10r3301: Simplify codeJelmer Vernooij1-35/+1
(This used to be commit dcdc6666d55c1ad006a5a4e58b337874478a66a4)
2007-10-10r3166: Bunch of small GUI updates. gwcrontab works again, as does selecting aJelmer Vernooij1-1/+7
domain in gwsam (This used to be commit 575e380ab45787cbe0fa2bdda6e1164e3e36f2b8)
2007-10-10r2920: Support passing a handle to a SAMR pipe to a RPC Binding or SelectJelmer Vernooij1-1/+1
Host dialog so that one can select a domain from the list of known domains. (This used to be commit 5e0bab891199c888bdf87faa29acc38d9ca5151b)
2007-10-10r2683: Fix a couple of compile warnings, depend on gtk+-2.4Jelmer Vernooij1-16/+12
(This used to be commit 4668384717eda878583477b8f455809056885120)
2007-10-10r1907: init the configurationStefan Metzmacher1-1/+5
and fix compiler warning metze (This used to be commit c358f11406e8aca68325a40c6bbed78c53ac024f)
2007-10-10r1699: Formatting update, bugfixesJelmer Vernooij1-304/+304
(This used to be commit d13d2068313680ade2c2fb986b6a5ea8ed8f2aef)
2007-10-10r1465: always do a full C prototype, even if its only (void).Andrew Tridgell1-1/+1
this declaration: int foo(); is *not* the same as this one: int foo(void); the first means "I don't know what arguments it takes". The second means "it takes no arguments" (This used to be commit 6724932810772a10e7e51d2f6f2b106c02eafb73)
2007-10-10r1455: More Gtk+ updates:Jelmer Vernooij1-14/+4
- Start working on 'gwsam' - Add GtkSelectDomainDialog and GtkSelectHostDialog (This used to be commit bea47671aa791f3c4d22263f9444aea1a73f47f1)
2007-10-10r1433: Properly use GtkTreeView:Jelmer Vernooij1-1/+11
- When a key is selected the values are immediately shown in gregedit - Only allow deleting jobs if one is selected. (This used to be commit afb5f4d765cb15ba8824d8db19879bad83829561)
2007-10-10r1432: - Move the various Gtk-specific parts from the registry code into a ↵Jelmer Vernooij1-0/+529
directory gtk/ - Move common "Samba-Gtk" code into gtk/common/ ("Connect to RPC pipe"-dialog, etc) - Add a new utility 'gwcrontab' that can currently list, delete and add 'atsvc' jobs. It still displays times and dates as integers though, will fix that later. Some screenshots available at: http://samba.org/~jelmer/gwcrontab/ (This used to be commit d321cf20f1f0ff33603b013c26d370669f255868)