1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

48 Commits

Author SHA1 Message Date
Stefan Metzmacher
2251186b5b r5409: - add a gtk events plugin
- 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-10 13:10:43 -05:00
Andrew Tridgell
8674eaa5cc r5300: more uint32 and system/filesys.h build fixes when developer mode is enabled
(This used to be commit 93931b1a741a3722c311ada80c4c9d3d670f91b2)
2007-10-10 13:09:39 -05:00
Jelmer Vernooij
60d9b40ba4 r5209: Fix the endpoint mapper to work with IPX endpoints (which
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-10 13:09:31 -05:00
Andrew Tridgell
759da3b915 r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for
consistency.
(This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10 13:09:15 -05:00
Stefan Metzmacher
56e4f0db34 r4959: fix compiler warning
metze
(This used to be commit e849db13dce1233a37c5b175cf8bea0a473ba6d7)
2007-10-10 13:09:10 -05:00
Jelmer Vernooij
0a5fd5421c r4787: Clean up gepdump code somewhat.
(This used to be commit 128e97cef614bc62ff3327aa15cd5eb636e67a58)
2007-10-10 13:08:55 -05:00
Andrew Tridgell
58d9adf409 r4526: - much simpler (and more accurate!) ndr_size_*() code generation. It
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-10 13:08:18 -05:00
Jelmer Vernooij
f05bc12213 r4390: Registry value and key names are case-insensitive
Nicer menu layout in gregedit
(This used to be commit 2948b9750d756880c3af7fb352f0a684a1fae9c9)
2007-10-10 13:07:42 -05:00
Jelmer Vernooij
dcff66281c r4373: Support setting values and fix a segfault
(This used to be commit cdb6980cdcf4b093e98b3b025f784333d46ac957)
2007-10-10 13:07:39 -05:00
Jelmer Vernooij
b0e6ce645a r4371: Add "Create Key", "Delete Key" and "Delete Value" buttons.
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-10 13:07:39 -05:00
Andrew Tridgell
47021d0c69 r4302: fixed all of the annoying gtk warnings. The code all seems to still work, but
given my lack of gtk experience, there are no guarantees.
(This used to be commit 11277b38a473022eb59f896d5e23aa1e56786008)
2007-10-10 13:07:32 -05:00
Tim Potter
b8c47b9b96 r4200: Fix some more warnings.
(This used to be commit 0359bc408f8b3a9f743553f98d0fa1f57021701c)
2007-10-10 13:07:25 -05:00
Jelmer Vernooij
969e14eae9 r4155: More destinction between hives and predefined keys
(This used to be commit c37d6f3c581673d74e7ec6a644ab6a7d13a55535)
2007-10-10 13:07:20 -05:00
Jelmer Vernooij
6cf13f4d72 r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXT
Hives and predefined keys (HKEY_*) are not necessarily the same thing.
(This used to be commit 217e4e5841cfedb2b18dce3f89dd88ea4a36fe8f)
2007-10-10 13:07:19 -05:00
Jelmer Vernooij
444a867924 r4132: - Bunch of rather large fixes in the registry
- 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-10 13:06:29 -05:00
Andrew Tridgell
cc8f4358cc r4035: more effort on consistent naming of the access mask bits.
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-10 13:06:16 -05:00
Andrew Bartlett
50916c8f2f r3724: Rename a number of structures, for better consistance between SAMR and
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-10 13:05:47 -05:00
Stefan Metzmacher
eabdfac14e r3722: - add userdomain in the binding dialog
- print samba_version_string() on Help->About

- some minor format fixes

metze
(This used to be commit b11bcb2704e39415ffb11defb0e04c8b34784011)
2007-10-10 13:05:46 -05:00
Jelmer Vernooij
71db46ea66 r3586: Fix some of the issues with the module init functions.
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-10 13:05:36 -05:00
Jelmer Vernooij
a4a475bcfa r3501: More work towards MGMT support in gepdump
(This used to be commit adeb0cd26757078ffe0a4838417169a6e4a67f6f)
2007-10-10 13:05:22 -05:00
Andrew Tridgell
6f214cc510 r3494: got rid of include/rewrite.h, and split out the dynconfig.h header
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)
2007-10-10 13:05:22 -05:00
Andrew Tridgell
a42142439a r3464: split out registry.h, rap.h and ldap_server.h
(This used to be commit 70d2090f6bf2c7e0caf1e9c020f330de88871f8e)
2007-10-10 13:05:17 -05:00
Andrew Tridgell
edbfc0f6e7 r3453: - split out the auth and popt includes
- 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-10 13:05:13 -05:00
Andrew Tridgell
f20f1f994a r3445: made the gtk tooks use minimal includes. This approximately halves the
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-10 13:05:12 -05:00
Andrew Tridgell
90067934cd r3428: switched to using minimal includes for the auto-generated RPC code.
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-10 13:05:09 -05:00
Jelmer Vernooij
3ab24d0d22 r3374: Couple of bug fixes
(This used to be commit f8e45e143087d333da4afc193b4fa1991ba04c63)
2007-10-10 13:05:03 -05:00
Jelmer Vernooij
def0a74030 r3370: Initial work on Add Key/Delete Key/Add Value/Mod Value/Del Value support in
gregedit
(This used to be commit 33f429c61f2859e3ad60fa38823174bbd331d91a)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
4eda9e51b3 r3301: Simplify code
(This used to be commit dcdc6666d55c1ad006a5a4e58b337874478a66a4)
2007-10-10 13:04:51 -05:00
Jelmer Vernooij
1444d2148d r3214: Load the config file (required for ncacn_np:)
(This used to be commit 636d209814d5b837af76acf88fa8ad5b449a0fdd)
2007-10-10 13:04:42 -05:00
Jelmer Vernooij
00f43d5eeb r3213: Make credentials in a binding dialog optional
Small fixes in gepdump
(This used to be commit a9473750f65d331c52acde58485aca66b16d1f75)
2007-10-10 13:04:42 -05:00
Jelmer Vernooij
883fdf1a17 r3211: Add a graphical endpoint mapper view tool
(This used to be commit 71dfc27b8efb3057c4b7383feca0ba35ab5768a4)
2007-10-10 13:04:41 -05:00
Jelmer Vernooij
36db6faff3 r3166: Bunch of small GUI updates. gwcrontab works again, as does selecting a
domain in gwsam
(This used to be commit 575e380ab45787cbe0fa2bdda6e1164e3e36f2b8)
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
026bae22de r3165: Support local connections in Gtk+ tools
(This used to be commit 3de0cf22ddd6b7fb4a2214f3f99d37174c54840f)
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
a03a7d0aea r3033: Use the C struct directly if we can instead of generating a binding
string and parsing that.
(This used to be commit 1977932b5471f20a788adb1b99d60953f4e12470)
2007-10-10 13:00:00 -05:00
Jelmer Vernooij
8e1ffff226 r2920: Support passing a handle to a SAMR pipe to a RPC Binding or Select
Host dialog so that one can select a domain from the list of known
domains.
(This used to be commit 5e0bab891199c888bdf87faa29acc38d9ca5151b)
2007-10-10 12:59:48 -05:00
Jelmer Vernooij
8caf54869e r2915: Open domain first before enumerating users and groups
(This used to be commit 9560a6c8cc650c3a519b14c79f497e6bd9ef387e)
2007-10-10 12:59:47 -05:00
Jelmer Vernooij
8c039e5c91 r2683: Fix a couple of compile warnings, depend on gtk+-2.4
(This used to be commit 4668384717eda878583477b8f455809056885120)
2007-10-10 12:59:21 -05:00
Jelmer Vernooij
9dd6674a6c r2594: Remove call to Gtk+ 2.4 specific code
(This used to be commit fa29cecb12def7f5c74dbcd9a525a858323e6327)
2007-10-10 12:59:11 -05:00
Jelmer Vernooij
d472d2e107 r2531: Fix crashbug
(This used to be commit 80294f799f83fb98a5e5f1099fdfa95d9ddaac7b)
2007-10-10 12:59:02 -05:00
Jelmer Vernooij
32561fa70c r2530: Don't put main in proto.h
(This used to be commit eb3f65c6e9d0c76feea648951dea96b82f5b3c73)
2007-10-10 12:59:02 -05:00
Jelmer Vernooij
369a5d64e4 r2518: Some long overdue changes:
- Samba4-style code in lib/registry (struct registry_key instead of REG_KEY, etc)
 - Use hives (like Windows has drives) instead of one root key (like a Unix FS)
 - usability fixes in the GTK utilities (autodetect the username,
	enable/disable options, etc)
 - fix gwsam compile
 - several bugfixes in the registry rpc code
 - do charset conversion in nt4 registry backend
(This used to be commit 2762ed3b9bf1d67dd54d63e02cddbfd71ea89892)
2007-10-10 12:59:01 -05:00
Jelmer Vernooij
9c69fe6522 r2254: Fix a couple of compiler warnings...
(This used to be commit 8056f4a9a7f5065eeb3a3bec81977c5e4163bf8e)
2007-10-10 12:58:35 -05:00
Stefan Metzmacher
e60139b81f r1907: init the configuration
and fix compiler warning

metze
(This used to be commit c358f11406e8aca68325a40c6bbed78c53ac024f)
2007-10-10 12:58:10 -05:00
Jelmer Vernooij
90cc0956a4 r1699: Formatting update, bugfixes
(This used to be commit d13d2068313680ade2c2fb986b6a5ea8ed8f2aef)
2007-10-10 12:57:49 -05:00
Andrew Tridgell
1d5ff7fc31 r1465: always do a full C prototype, even if its only (void).
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-10 12:57:33 -05:00
Jelmer Vernooij
805ebe1084 r1455: More Gtk+ updates:
- Start working on 'gwsam'
 - Add GtkSelectDomainDialog and GtkSelectHostDialog
(This used to be commit bea47671aa791f3c4d22263f9444aea1a73f47f1)
2007-10-10 12:56:58 -05:00
Jelmer Vernooij
a25651cd22 r1433: Properly use GtkTreeView:
- 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-10 12:56:55 -05:00
Jelmer Vernooij
e3fd2d0492 r1432: - Move the various Gtk-specific parts from the registry code into a 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)
2007-10-10 12:56:55 -05:00