1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

46 Commits

Author SHA1 Message Date
Jelmer Vernooij
7b847de64f 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.
2007-10-10 13:09:31 -05:00
Andrew Tridgell
ec32b22ed5 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.
2007-10-10 13:09:15 -05:00
Stefan Metzmacher
e849db13dc r4959: fix compiler warning
metze
2007-10-10 13:09:10 -05:00
Jelmer Vernooij
128e97cef6 r4787: Clean up gepdump code somewhat. 2007-10-10 13:08:55 -05:00
Andrew Tridgell
1a24a50384 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
2007-10-10 13:08:18 -05:00
Jelmer Vernooij
2948b9750d r4390: Registry value and key names are case-insensitive
Nicer menu layout in gregedit
2007-10-10 13:07:42 -05:00
Jelmer Vernooij
cdb6980cdc r4373: Support setting values and fix a segfault 2007-10-10 13:07:39 -05:00
Jelmer Vernooij
ada16f31e4 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...)
2007-10-10 13:07:39 -05:00
Andrew Tridgell
11277b38a4 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.
2007-10-10 13:07:32 -05:00
Tim Potter
0359bc408f r4200: Fix some more warnings. 2007-10-10 13:07:25 -05:00
Jelmer Vernooij
c37d6f3c58 r4155: More destinction between hives and predefined keys 2007-10-10 13:07:20 -05:00
Jelmer Vernooij
217e4e5841 r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXT
Hives and predefined keys (HKEY_*) are not necessarily the same thing.
2007-10-10 13:07:19 -05:00
Jelmer Vernooij
c169e86c1f 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.
2007-10-10 13:06:29 -05:00
Andrew Tridgell
17a4e0b3ac 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
2007-10-10 13:06:16 -05:00
Andrew Bartlett
9cd666bcfb 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
2007-10-10 13:05:47 -05:00
Stefan Metzmacher
b11bcb2704 r3722: - add userdomain in the binding dialog
- print samba_version_string() on Help->About

- some minor format fixes

metze
2007-10-10 13:05:46 -05:00
Jelmer Vernooij
7a8244761b 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
2007-10-10 13:05:36 -05:00
Jelmer Vernooij
adeb0cd267 r3501: More work towards MGMT support in gepdump 2007-10-10 13:05:22 -05:00
Andrew Tridgell
558de54ec6 r3494: got rid of include/rewrite.h, and split out the dynconfig.h header 2007-10-10 13:05:22 -05:00
Andrew Tridgell
70d2090f6b r3464: split out registry.h, rap.h and ldap_server.h 2007-10-10 13:05:17 -05:00
Andrew Tridgell
7b7477ac42 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
2007-10-10 13:05:13 -05:00
Andrew Tridgell
8ebd20cf55 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
2007-10-10 13:05:12 -05:00
Andrew Tridgell
b8f5fa8ac8 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.
2007-10-10 13:05:09 -05:00
Jelmer Vernooij
f8e45e1430 r3374: Couple of bug fixes 2007-10-10 13:05:03 -05:00
Jelmer Vernooij
33f429c61f r3370: Initial work on Add Key/Delete Key/Add Value/Mod Value/Del Value support in
gregedit
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
dcdc6666d5 r3301: Simplify code 2007-10-10 13:04:51 -05:00
Jelmer Vernooij
636d209814 r3214: Load the config file (required for ncacn_np:) 2007-10-10 13:04:42 -05:00
Jelmer Vernooij
a9473750f6 r3213: Make credentials in a binding dialog optional
Small fixes in gepdump
2007-10-10 13:04:42 -05:00
Jelmer Vernooij
71dfc27b8e r3211: Add a graphical endpoint mapper view tool 2007-10-10 13:04:41 -05:00
Jelmer Vernooij
575e380ab4 r3166: Bunch of small GUI updates. gwcrontab works again, as does selecting a
domain in gwsam
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
3de0cf22dd r3165: Support local connections in Gtk+ tools 2007-10-10 13:02:28 -05:00
Jelmer Vernooij
1977932b54 r3033: Use the C struct directly if we can instead of generating a binding
string and parsing that.
2007-10-10 13:00:00 -05:00
Jelmer Vernooij
5e0bab8911 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.
2007-10-10 12:59:48 -05:00
Jelmer Vernooij
9560a6c8cc r2915: Open domain first before enumerating users and groups 2007-10-10 12:59:47 -05:00
Jelmer Vernooij
4668384717 r2683: Fix a couple of compile warnings, depend on gtk+-2.4 2007-10-10 12:59:21 -05:00
Jelmer Vernooij
fa29cecb12 r2594: Remove call to Gtk+ 2.4 specific code 2007-10-10 12:59:11 -05:00
Jelmer Vernooij
80294f799f r2531: Fix crashbug 2007-10-10 12:59:02 -05:00
Jelmer Vernooij
eb3f65c6e9 r2530: Don't put main in proto.h 2007-10-10 12:59:02 -05:00
Jelmer Vernooij
2762ed3b9b 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
2007-10-10 12:59:01 -05:00
Jelmer Vernooij
8056f4a9a7 r2254: Fix a couple of compiler warnings... 2007-10-10 12:58:35 -05:00
Stefan Metzmacher
c358f11406 r1907: init the configuration
and fix compiler warning

metze
2007-10-10 12:58:10 -05:00
Jelmer Vernooij
d13d206831 r1699: Formatting update, bugfixes 2007-10-10 12:57:49 -05:00
Andrew Tridgell
6724932810 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"
2007-10-10 12:57:33 -05:00
Jelmer Vernooij
bea47671aa r1455: More Gtk+ updates:
- Start working on 'gwsam'
 - Add GtkSelectDomainDialog and GtkSelectHostDialog
2007-10-10 12:56:58 -05:00
Jelmer Vernooij
afb5f4d765 r1433: Properly use GtkTreeView:
- When a key is selected the values are immediately shown in gregedit
 - Only allow deleting jobs if one is selected.
2007-10-10 12:56:55 -05:00
Jelmer Vernooij
d321cf20f1 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/
2007-10-10 12:56:55 -05:00