1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

710 Commits

Author SHA1 Message Date
Volker Lendecke
51597d8780 r11526: And another warning...
(This used to be commit 16467008c6)
2007-10-10 13:45:48 -05:00
Andrew Tridgell
d59807eba4 r11476: finally fixed the intermittent registry server bug! This has been
cropping up occasionally for ages. The problem was the generic reg
code setting up a backend_data value, which it has no business doing
(backend_data is for backends ...)
(This used to be commit 9d6d03fd1d)
2007-10-10 13:45:42 -05:00
Andrew Tridgell
66caa3234d r11472: use talloc_get_type() to try to catch an intermittent failure I'm seeing in the ldb winreg backend
(This used to be commit a56a3696cc)
2007-10-10 13:45:41 -05:00
Jelmer Vernooij
a4e7bf3a89 r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
(This used to be commit 875eb8f4cc)
2007-10-10 13:45:29 -05:00
Jelmer Vernooij
67c808f5ff r11304: Add support back in for loading shared modules (not used yet)
(This used to be commit 90f49b6f70)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
8ee1ee66ed r11303: Support defining and installing public headers for libraries.
Support installing libraries.
Get rid of pkg-config file (will be autogenerated later on).
(This used to be commit b4745032a2)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
bf300c8687 r11300: Treat libraries as a special kind of subsystem
(one that can also be built as a library and installed).
(This used to be commit 98d1f9b1dc)
2007-10-10 13:45:15 -05:00
Tim Potter
9759d435ca r11261: Rename access_required field in winreg idl to access_mask so it matches
the other interfaces.
(This used to be commit 8eb582b578)
2007-10-10 13:45:09 -05:00
Jelmer Vernooij
fff24f9ebd r11249: More OpenBSD make fixes...
(This used to be commit 118e3bc507)
2007-10-10 13:45:08 -05:00
Jelmer Vernooij
e19a291e21 r11246: Another fix for OpenBSD's make
(This used to be commit f04072f7a9)
2007-10-10 13:45:07 -05:00
Jelmer Vernooij
4c5a4a7e02 r11244: Relative path names in .mk files
(This used to be commit 24e1030090)
2007-10-10 13:45:06 -05:00
Jelmer Vernooij
f4d590662e r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c917)
2007-10-10 13:45:03 -05:00
Andrew Tridgell
a599edf04c r10913: This patch isn't as big as it looks ...
most of the changes are fixes to make all the ldb code compile without
warnings on gcc4. Unfortunately That required a lot of casts :-(

I have also added the start of an 'operational' module, which will
replace the timestamp module, plus add support for some other
operational attributes

In ldb_msg_*() I added some new utility functions to make the
operational module sane, and remove the 'ldb' argument from the
ldb_msg_add_*() functions. That argument was only needed back in the
early days of ldb when we didn't use the hierarchical talloc and thus
needed a place to get the allocation function from. Now its just a
pain to pass around everywhere.

Also added a ldb_debug_set() function that calls ldb_debug() plus sets
the result using ldb_set_errstring(). That saves on some awkward
coding in a few places.
(This used to be commit f6818daecc)
2007-10-10 13:39:41 -05:00
Jelmer Vernooij
9cbafc42ee r10605: Forgot one file...
(This used to be commit 441419a08f)
2007-10-10 13:39:11 -05:00
Jelmer Vernooij
5e7a0fb534 r10604: Put in the new registry "patchfile" code (similar to ldif
for LDB); not finished yet.
(This used to be commit b405b27ba4)
2007-10-10 13:39:11 -05:00
Jelmer Vernooij
4abb479761 r10588: Remove more unused files, macros
(This used to be commit d2f80c0457)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
5058f4b9e8 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
(This used to be commit b53313dc51)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
4be0ae794e r10456: More SCons fixes:
- Add framework for fallback generating code
 - Move pread / pwrite replacement functions to libreplace
 - Support pidl builds correctly
 - Support asn1 builds correctly
 - Move OS-specific checks to lib/replace/SConscript
(This used to be commit fbbfad0a1f)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
8db177b652 r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of works now
(This used to be commit 22f18a8424)
2007-10-10 13:38:32 -05:00
Jelmer Vernooij
6812c73534 r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
(This used to be commit 4f0d7f75b9)
2007-10-10 13:38:30 -05:00
Tim Potter
96745cbfc0 r10328: Add more emacs python-mode markers.
(This used to be commit 540a3649e8)
2007-10-10 13:38:28 -05:00
Jelmer Vernooij
523034b9fb r10323: Add first bits required for getting compile with scons working. This does
not work yet and can exist parallel with the existing build system.
(This used to be commit 829568d759)
2007-10-10 13:38:25 -05:00
Jelmer Vernooij
86acf90e43 r10294: Generate Makefile directly rather then thru Makefile.in. Autoconf
substitution variables are now no longer used.

This is one more step towards a (hopefully) perl-based configure
(This used to be commit 6f9956a1dd)
2007-10-10 13:38:14 -05:00
Jelmer Vernooij
5d2c2edc19 r10207: Add some const
(This used to be commit b1ad340b47)
2007-10-10 13:38:08 -05:00
Jelmer Vernooij
8b5a953725 r10111: Make pidl by default assume the input file is an IDL file rather
then a .pidl file.
(This used to be commit d8a31d3048)
2007-10-10 13:38:00 -05:00
Tim Potter
289127b026 r10104: Fix code before declaration.
(This used to be commit 05c0201815)
2007-10-10 13:37:59 -05:00
Rafal Szczesniak
a769fa3467 r10089: Fix a typo breaking the Makefile generator and therefore - the build.
rafal
(This used to be commit d6936185d5)
2007-10-10 13:37:52 -05:00
Jelmer Vernooij
c070fd6222 r10074: Pass CPP to pidl via environment variables rather then config.pm. This fixes the
standalone pidl build (as used for ethereal)
(This used to be commit 9c9ebd2214)
2007-10-10 13:37:50 -05:00
Jelmer Vernooij
db400b4a58 r10052: Add 'print' command
(This used to be commit d99c9e2817)
2007-10-10 13:36:33 -05:00
Jelmer Vernooij
e3a1ee4788 r10043: Only recompile subsystems that actually need recompilation
(This used to be commit de98309797)
2007-10-10 13:36:32 -05:00
Jelmer Vernooij
a3e0e69196 r10030: Add hierarchical memory allocation to TDR's pull functions
(This used to be commit 0e358de93a)
2007-10-10 13:36:31 -05:00
Jelmer Vernooij
a487b6c19c r10028: More registry fixes.
Remove save_hive() function (there is a flush_key function already).
Fixes for the allocation mechanism in the REGF backend
(This used to be commit 499d03bc90)
2007-10-10 13:36:31 -05:00
Jelmer Vernooij
ff7342a4ad r10026: Move registry header file to lib/registry
Add support for showing security descriptor in regshell
Add support for saving files in NT4 registry backend
(This used to be commit 47cecd4726)
2007-10-10 13:36:30 -05:00
Jelmer Vernooij
4729c3db26 r10025: Add some utility functions for storing/loading tdr encoded data
(This used to be commit bcd433bfc1)
2007-10-10 13:36:30 -05:00
Jelmer Vernooij
23e6e07b28 r10020: Support for malloc / realloc / free in HBIN blocks
Initial support for adding keys (still broken though)
(This used to be commit ff8d3a27c1)
2007-10-10 13:36:30 -05:00
Jelmer Vernooij
eac7fe4ebc r10016: Support reading security descriptors on keys.
(This used to be commit b349e902c7)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
40cbd4625a r10015: Change the NT4 registry backend to use the IDL-generate parse functions.
(This used to be commit 0ad46ef804)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
02b3abec25 r10007: Merge data_blk and data_len member of registry_value into a DATA_BLOB.
Fix handling of REG_DWORD in the LDB backend.
Fix a couple of warnings
(This used to be commit 709fdc7ebf)
2007-10-10 13:36:28 -05:00
Jelmer Vernooij
201fd3bd72 r9995: Add file describing the REGF file format in IDL.
(used in reg_backend_nt4.c rewrite)
(This used to be commit 5e1a16eda2)
2007-10-10 13:36:27 -05:00
Andrew Tridgell
649882d8d5 r9567: fixed the winreg IDL for CreateKey, including a security
descriptor. To keep it simple I just use normal IDL buffers for now,
avoiding the complex methods metze used in spoolss. We might change
that later

Also added decoding of the security_descriptor in
winreg_GetKeySecurity() in smbtorture
(This used to be commit 439f34a962)
2007-10-10 13:34:29 -05:00
Andrew Tridgell
a92e61c452 r9503: removed duplicate REG_* defines from registry.h now that they are
generated in winreg.h
(This used to be commit fc15e1b003)
2007-10-10 13:34:23 -05:00
Simo Sorce
3e4c4cff21 r9391: Convert all the code to use struct ldb_dn to ohandle ldap like distinguished names
Provide more functions to handle DNs in this form
(This used to be commit 692e35b779)
2007-10-10 13:33:32 -05:00
Andrew Tridgell
a8d51f8762 r9390: fixed mixing of code and data
(This used to be commit ae2122e76a)
2007-10-10 13:33:32 -05:00
Andrew Tridgell
6195932b42 r9387: regedit uses "New Key #nn" for newly created keys, which conflicts with the stricter
DN rules in ldb. Escape the DN components to cope.

Simo, sorry for making a change in ldb_dn.c while you have changes
pending. Please feel free to revert these and switch reg_backend_ldb.c
to use the new dn construction code.
(This used to be commit 136ecf5cb2)
2007-10-10 13:33:31 -05:00
Andrew Tridgell
6c1dde71f4 r9386: OpenKey with a bad name must return WERR_BADFILE (w2k3 regedit relies on this)
(This used to be commit ae42976590)
2007-10-10 13:33:31 -05:00
Tim Potter
09085941d1 r9381: Line wrapping.
(This used to be commit 2cebdd5938)
2007-10-10 13:33:30 -05:00
Andrew Tridgell
20b6f0a11b r9378: initialise the last_mod attribute in the ldb backend. Better to return
0 than an uninitialised value, but we should put proper last_modified
time support into the ldb winreg backend in the future
(This used to be commit 899bf07908)
2007-10-10 13:33:30 -05:00
Tim Potter
878e139f09 r9357: Remove DBGC_CLASS cruft copied over from Samba 3. I would like to
replace this with something funkier.
(This used to be commit 8d376d56c7)
2007-10-10 13:33:27 -05:00
Andrew Tridgell
9fffd12799 r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValue
calls. The previous IDL was just a workaround for the limitations of
our older rpc infrastructure. Now that Jelmer has added much improved
string support using the charset keyword we can correctly implemenent
the unusual winreg string buffers.

Jelmer, note the little comment I put on winreg_StringBuf() about why
I couldn't use [value()] for the length field.

This also fixes EnumKey() and EnumValue() to use NTTIME fields for the
last_changed_time. I don't know why we were using a pair of uint32's,
as it is just a NTTIME.
(This used to be commit 8354b01612)
2007-10-10 13:33:25 -05:00
Andrew Tridgell
a689b968b6 r9209: - fixed the ldb registry backend to work with the new provision ldif
- default to ldb backend if none specified
(This used to be commit 8c3f57f791)
2007-10-10 13:31:31 -05:00
Jelmer Vernooij
9f611ffdde r8966: Simplify the makefile generation system a bit.
Autogenerate list of binaries (rather then having them hardcoded in build/smb_build/makefile.pm)
Add INSTALLDIR keyword to .mk files
(This used to be commit ce0935112b)
2007-10-10 13:31:00 -05:00
Andrew Tridgell
e835621799 r8520: fixed a pile of warnings from the build farm gcc -Wall output on
S390. This is an attempt to avoid the panic we're seeing in the
automatic builds.

The main fixes are:

 - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats

 - use of NULL format statements to perform dn searches.

 - assumption that sizeof() returns an int
(This used to be commit a58ea6b385)
2007-10-10 13:29:34 -05:00
Tim Potter
372f3fae88 r8171: According to Samba 3 and Ethereal, the winreg_OpenUnkown stuff is
actually a uint16 * without the [string] attribute, a la the the
system_name argument to samr_Connect().

Initialising the pointer to NULL is sufficient and we still pass the
RPC-WINREG test against win2k3.
(This used to be commit 407d962dac)
2007-10-10 13:19:16 -05:00
Jelmer Vernooij
fa8d539e0f r7943: Add 'make manpages', fix 'make installman' and 'make uninstallman'.
Not part of the "all" make target yet, as it requires xsltproc
(This used to be commit fd3f463643)
2007-10-10 13:18:53 -05:00
Andrew Tridgell
af237084ec r7633: this patch started as an attempt to make the dcerpc code use a given
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 3a3025485b)
2007-10-10 13:18:15 -05:00
Andrew Bartlett
2b4791ae73 r7525: Unify lp_load(), load_interfaces and logging setup into popt().
There is now a new --debug-stderr option to enable debug to STDERR.

popt isn't perfect, but the callbacks are used in all the main Samba
binaries, and should be used in the rest.  This avoids duplicated
code, and ensures every binary is setup correctly.

This also ensures the setup happens early enough to have -s function,
and have a correct impact on the credentials code.  (Fixing a bug that
frustrated tridge earlier today).

The only 'subtle' aspect of all this is that I'm pretty sure that the
SAMBA_COMMON popt code must be above the CREDENTIALS code, in the
popt tables.

Andrew Bartlett
(This used to be commit 50f3c2b3a2)
2007-10-10 13:18:06 -05:00
Jelmer Vernooij
c6a3ee8bab r7373: Disable reg_gconf by default, allow building it with --enable-reg-gconf
(This used to be commit 6596f619c0)
2007-10-10 13:17:47 -05:00
Jelmer Vernooij
77c3d463c8 r7248: Remove enum that is causing trouble on AIX
(This used to be commit 512536c916)
2007-10-10 13:17:31 -05:00
Jelmer Vernooij
dde05bc787 r7113: Move manpages from docs repository to source repository
(This used to be commit f16d346032)
2007-10-10 13:17:18 -05:00
Tim Potter
4867378592 r6951: Fix all calls to setup_logging() that use 'True' as a second argument.
In Samba4 this is now an enum.  Possibly by accident, True just happens
to map to the right value in this case.  (-:
(This used to be commit affacc5398)
2007-10-10 13:17:00 -05:00
Jelmer Vernooij
5b18cf2268 r6795: Make some functions static and remove some unused ones.
(This used to be commit 46509eb899)
2007-10-10 13:16:44 -05:00
Tim Potter
1403bb7e62 r6520: Fix unused variable warning.
(This used to be commit 36de31a631)
2007-10-10 13:16:21 -05:00
Simo Sorce
fe4d985b6f r6470: Remove ldb_search_free() it is not needed anymore.
Just use talloc_free() to release the memory after an ldb_search().
(This used to be commit 4f0948dab0)
2007-10-10 13:11:40 -05:00
Jelmer Vernooij
2fa732c625 r6045: Couple of small GTK+ fixes
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 6c3b1ec329)
2007-10-10 13:11:16 -05:00
Andrew Bartlett
645711c602 r5941: Commit this patch much earlier than I would normally prefer, but 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 0453f9d05d)
2007-10-10 13:11:11 -05:00
Jelmer Vernooij
05bc2d7b2c r5928: Use cli_credentials in:
- gtk+ (returned by GtkHostBindingDialog as well now)
 - torture/
 - librpc/
 - lib/com/dcom/
(This used to be commit ccefd78233)
2007-10-10 13:11:08 -05:00
Jelmer Vernooij
02075be0bb r5917: First step in using the new cli_credentials structure. This patch
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 1d49b57c50)
2007-10-10 13:11:08 -05:00
Andrew Bartlett
df64302213 r5902: A rather large change...
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 824289dcc2)
2007-10-10 13:11:07 -05:00
Jelmer Vernooij
3e88cae57b r5680: Don't crash if none of the predefined keys is available (reported by Alexander)
(This used to be commit 0d789872a8)
2007-10-10 13:10:59 -05:00
Simo Sorce
b1b14817ea r5585: LDB interfaces change:
changes:
- ldb_wrap disappears from code and become a private structure of db_wrap.c
  thanks to our move to talloc in ldb code, we do not need to expose it anymore

- removal of ldb_close() function form the code
  thanks to our move to talloc in ldb code, we do not need it anymore
  use talloc_free() to close and free an ldb database

- some minor updates to ldb modules code to cope with the change and fix some
  bugs I found out during the process
(This used to be commit d58be9e74b)
2007-10-10 13:10:55 -05:00
Andrew Tridgell
a5bd1ccada r5307: removed db_wrap.h from includes.h
(This used to be commit 826baec7b3)
2007-10-10 13:09:40 -05:00
Andrew Tridgell
8fb475f626 r5303: fixed build of gconf registry backend
(This used to be commit b4993c738b)
2007-10-10 13:09:39 -05:00
Andrew Tridgell
e82aad1ce3 r5298: - got rid of pstring.h from includes.h. This at least makes it a bit
less likely that anyone will use pstring for new code

 - got rid of winbind_client.h from includes.h. This one triggered a
   huge change, as winbind_client.h was including system/filesys.h and
   defining the old uint32 and uint16 types, as well as its own
   pstring and fstring.
(This used to be commit 9db6c79e90)
2007-10-10 13:09:38 -05:00
Jelmer Vernooij
480ee7243c r5240: Don't return WERR_OK when no values were found (reported by Matt Cobb)
(This used to be commit f2e6d71584)
2007-10-10 13:09:33 -05:00
Stefan Metzmacher
73a0b6ea47 r5134: - fix types to always use _t types
- add #include "system/filesys.h" where needed

metze
(This used to be commit 6bb07a0ed8)
2007-10-10 13:09:25 -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 ec32b22ed5)
2007-10-10 13:09:15 -05:00
Jelmer Vernooij
1303f51099 r4623: Convert values from UTF8 to UTF16 in gconf registry backend (caught
by Andrew Bartlett)
(This used to be commit da3c7712d2)
2007-10-10 13:08:35 -05:00
Andrew Tridgell
11ce2cfd70 r4591: - converted the other _p talloc functions to not need _p
- added #if TALLOC_DEPRECATED around the _p functions

- fixes the code that broke from the above

while doing this I fixed quite a number of places that were
incorrectly using the non type-safe talloc functions to use the type
safe ones. Some were even doing multiplies for array allocation, which
is potentially unsafe.
(This used to be commit 6e7754abd0)
2007-10-10 13:08:30 -05:00
Andrew Tridgell
ddc10d4d37 r4549: got rid of a lot more uses of plain talloc(), instead using
talloc_size() or talloc_array_p() where appropriate.

also fixed a memory leak in pvfs_copy_file() (failed to free a memory
context)
(This used to be commit 89b74b5354)
2007-10-10 13:08:25 -05:00
Andrew Tridgell
f4b349127b r4479: added the function talloc_autofree_context() which returns a talloc context that
will automatically be freed on program exit. This is useful for reducing
clutter in leak reports
(This used to be commit cf73dda652)
2007-10-10 13:08:10 -05:00
Andrew Tridgell
500d5523d2 r4475: fixed smbd to work with the small changes in the ldb API (the most important
change was in the ldb_msg_add_*() routines, which now use the msg as a context,
and thus it needs to be a talloc ptr)
(This used to be commit 1a4713bfd0)
2007-10-10 13:07:55 -05:00
Jelmer Vernooij
f05bc12213 r4390: Registry value and key names are case-insensitive
Nicer menu layout in gregedit
(This used to be commit 2948b9750d)
2007-10-10 13:07:42 -05:00
Jelmer Vernooij
dcff66281c r4373: Support setting values and fix a segfault
(This used to be commit cdb6980cdc)
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 ada16f31e4)
2007-10-10 13:07:39 -05:00
Jelmer Vernooij
9547649006 r4299: Store REG_SZ, REG_EXPAND_SZ and REG_DWORD values in human-readable (and human-editable) format in
the ldb registry backend.
(This used to be commit 6eafd055d1)
2007-10-10 13:07:32 -05:00
Jelmer Vernooij
616cf70128 r4298: Update to credentials.h after feedback from Andrew Bartlett
Move pack/unpack of values in ldb registry backend to seperate functions
(This used to be commit ceb4e92735)
2007-10-10 13:07:32 -05:00
Jelmer Vernooij
efdf83f4a6 r4213: Store REG_SZ in UTF16, not the unix charset..
It is now possible to use the "Add..." button in the Security
tab of the File Properties Dialog box.
(This used to be commit 9fa25260d3)
2007-10-10 13:07:27 -05:00
Jelmer Vernooij
d8c3428b3b r4209: Fix several smaller bugs
Add "predef" and "set" commands in regshell

Some of the remote calls from a Windows box work now.
(This used to be commit f3e0578280)
2007-10-10 13:07:27 -05:00
Jelmer Vernooij
1a340869c4 r4204: Arguments to reg_del_key more like the RPC for more efficient usage
Fix small bug in regpatch
Fix segfault in regshell cmdline completion
Implement set_value and del_value in ldb backend
(This used to be commit 8e2aa58abe)
2007-10-10 13:07:26 -05:00
Jelmer Vernooij
4c202a20fa r4167: Fix CreateKey
Support CreateKey in the RPC registry backend
(This used to be commit ad8d9e6f73)
2007-10-10 13:07:21 -05:00
Jelmer Vernooij
47fa1d33e4 r4166: More small API fixes, keep registry structs as small as possible.
Implement DelValue in the RPC server
(This used to be commit f6b9ec89af)
2007-10-10 13:07:21 -05:00
Jelmer Vernooij
969e14eae9 r4155: More destinction between hives and predefined keys
(This used to be commit c37d6f3c58)
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 217e4e5841)
2007-10-10 13:07:19 -05:00
Jelmer Vernooij
0bde7a2944 r4141: Fix crash bug in ldb backend
(This used to be commit 5f64a60374)
2007-10-10 13:06:30 -05:00
Jelmer Vernooij
f0eff2525b r4140: Get rid of close_hive (replace it with talloc destructors).
(This used to be commit bcbfce7b01)
2007-10-10 13:06:30 -05:00
Jelmer Vernooij
a9fa37d618 r4137: Make *_open_key take a registry_key instead of a hive (more efficient
in some cases)
(This used to be commit ddf7a331c5)
2007-10-10 13:06:30 -05:00
Andrew Tridgell
6fb6174007 r4135: improve a debug message
(This used to be commit 4b45d3d2e8)
2007-10-10 13:06:29 -05:00
Jelmer Vernooij
1cd129b102 r4133: Cache results of subkey and value queries
(This used to be commit 1e12971137)
2007-10-10 13:06:29 -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 c169e86c1f)
2007-10-10 13:06:29 -05:00
Andrew Tridgell
2f1193715f r4116: fixed compilation of EnumValue code in winreg rpc backend
thanks to volker for pointing this out
(This used to be commit 2b67f18bdb)
2007-10-10 13:06:28 -05:00
Jelmer Vernooij
4b533a9070 r4106: Add full name of two more hives
(This used to be commit c1023db5e8)
2007-10-10 13:06:27 -05:00
Stefan Metzmacher
9922c2d035 r4064: use the same name for type on both ends
for long term we should remove all typedef's

metze
(This used to be commit 4b3f552cb3)
2007-10-10 13:06:21 -05:00
Andrew Tridgell
2f9e170f45 r4058: added a type safe version of smb_xmalloc()
(This used to be commit 1235afa5fe)
2007-10-10 13:06:20 -05:00
Andrew Tridgell
6e6374cb5b r4055: fixed more places to use type safe allocation macros
(This used to be commit eec698254f)
2007-10-10 13:06:20 -05:00
Andrew Tridgell
4183b2ac38 r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile
(This used to be commit 0928b1f5b6)
2007-10-10 13:06:16 -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 17a4e0b3ac)
2007-10-10 13:06:16 -05:00
Jelmer Vernooij
d95a256d1b r3881: Split up the LIBNDR_GEN subsystem into NDR_* and RPC_NDR_* subsystems.
This reduces the total size of the samba binaries from 119 Mb to 73 Mb.
Next step will be to have the build system obtain some of this information
by itself, so that we don't have to write ~10 lines per interface manually.
(This used to be commit 16d905f6b0)
2007-10-10 13:06:01 -05:00
Stefan Metzmacher
8a18778286 r3783: - don't use make proto for ldb anymore
- split ldh.h out of samba's includes.h

- make ldb_context and ldb_module private to the subsystem

- use ltdb_ prefix for all ldb_tdb functions

metze
(This used to be commit f5ee40d6ce)
2007-10-10 13:05:52 -05:00
Jelmer Vernooij
31ded4901b r3737: - Get rid of the register_subsystem() and register_backend() functions.
- Re-disable tdbtool (it was building fine on my Debian box but other
					machines were having problems)
(This used to be commit 0d7bb2c40b)
2007-10-10 13:05:48 -05:00
Jelmer Vernooij
836f6ea0bf r3734: Fix some incorrect dependencies
(This used to be commit 3add9e7de5)
2007-10-10 13:05:47 -05:00
Jelmer Vernooij
8e16d8a76f r3733: More build system fixes/features:
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure
 - Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities)
(This used to be commit 64826da834)
2007-10-10 13:05:47 -05:00
Jelmer Vernooij
7367d23713 r3730: More build system fixes and simplifications
the hierarchy in the init functions is correct now
will also make it easier to implement some other features
(This used to be commit cbe819a755)
2007-10-10 13:05:47 -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 7a8244761b)
2007-10-10 13:05:36 -05:00
Andrew Tridgell
3a7eff64f2 r3546: including includes.h twice causes gcc 3.4 to crash with pch
(This used to be commit 51c1c2af68)
2007-10-10 13:05:30 -05:00
Andrew Tridgell
e8010adffe r3543: fixed some #include lines to make them more consistent, and fixed
conditional compilation of xattr client code
(This used to be commit 321fb06a62)
2007-10-10 13:05:30 -05:00
Andrew Tridgell
6f214cc510 r3494: got rid of include/rewrite.h, and split out the dynconfig.h header
(This used to be commit 558de54ec6)
2007-10-10 13:05:22 -05:00
Andrew Tridgell
c2c0443861 r3472: fixed build of reg_backend_gconf
(This used to be commit d8a4af5282)
2007-10-10 13:05:18 -05:00
Andrew Tridgell
a42142439a r3464: split out registry.h, rap.h and ldap_server.h
(This used to be commit 70d2090f6b)
2007-10-10 13:05:17 -05:00
Andrew Tridgell
3643fb1109 r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ioctl.h)
(This used to be commit b97e395c81)
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 7b7477ac42)
2007-10-10 13:05:13 -05:00
Andrew Tridgell
ead3508ac8 r3447: more include/system/XXX.h include files
(This used to be commit 264ce91810)
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 b8f5fa8ac8)
2007-10-10 13:05:09 -05:00
Jelmer Vernooij
3ab24d0d22 r3374: Couple of bug fixes
(This used to be commit f8e45e1430)
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 33f429c61f)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
9dc3f789c4 r3369: More registry updates
We now pass the RPC-WINREG torture test.
Also, constructions like the following work now:

regtree <-> smbd <-> NTUSER.DAT
(This used to be commit df952e95cd)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
9ba6c3885a r3368: Default to rpc backend with binding "ncalrpc:" if no backend was specified in the various registry tools.
Allow opening a remote registry to partly fail (I.e. if not all hives could be opened)
(This used to be commit 313034b10d)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
a29c24f180 r3367: More registry updates.
Add support flush_key and close_hive.
(This used to be commit c526273df2)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
7ce7137ad4 r3348: More registry fixes and additions. The following functions work right now against samba 4, at least with a ldb backend:
winreg_Open*
winreg_OpenKey
winreg_EnumKey
winreg_DeleteKey
winreg_CreateKey
(This used to be commit a71d51dd3b)
2007-10-10 13:04:58 -05:00
Jelmer Vernooij
479bf22c81 r3340: Various fixes in the registry code. Implement the EnumKey call
in the server.
(This used to be commit da65a248c2)
2007-10-10 13:04:57 -05:00
Andrew Tridgell
a6ae640313 r3323: more warning reductions
(This used to be commit 5921587ec2)
2007-10-10 13:04:55 -05:00
Jelmer Vernooij
b9956de1b1 r3164: Look up ncalrpc identifiers using the EPMAPPER. ncalrpc now works nicely :-)
The various interface that support ncalrpc work nicely when tested
with smbtorture and ncalrpc.

Running RPC-SAMR against local smbd here is slightly faster using ncalrpc:
ncalrpc: 		1.8 sec
ncacn_ip_tcp:	1.9 sec
ncacn_np:		2.5 sec
(This used to be commit 2cfc8f24ce)
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
fe8aaa5d07 r2914: ... and support enumerating values (data is not handled yet, only the names)
(This used to be commit b3bc055ac7)
2007-10-10 12:59:47 -05:00
Jelmer Vernooij
aed95ba66f r2913: - Don't print hive name if it is NULL (regtree)
- Initialise hive name (reg_interface)
- Fix LDB backend (enumerating keys works now!)
(This used to be commit 5086d6b249)
2007-10-10 12:59:47 -05:00
Jelmer Vernooij
6df5d77c89 r2911: Fix bug in opening relative keys
(This used to be commit e7c256a92c)
2007-10-10 12:59:47 -05:00
Jelmer Vernooij
e2a4771909 r2898: - Support enumerating remote registry values
- Some LDB updates
(This used to be commit 4b5bf739f5)
2007-10-10 12:59:45 -05:00
Jelmer Vernooij
ffa0cf3af0 r2897: Fix double registration (of the registry subsystem) bug
(This used to be commit f4860afc48)
2007-10-10 12:59:45 -05:00
Andrew Tridgell
7d32679e96 r2857: this commit gets rid of smb_ucs2_t, wpstring and fpstring, plus lots of associated functions.
The motivation for this change was to avoid having to convert to/from
ucs2 strings for so many operations. Doing that was slow, used many
static buffers, and was also incorrect as it didn't cope properly with
unicode codepoints above 65536 (which could not be represented
correctly as smb_ucs2_t chars)

The two core functions that allowed this change are next_codepoint()
and push_codepoint(). These functions allow you to correctly walk a
arbitrary multi-byte string a character at a time without converting
the whole string to ucs2.

While doing this cleanup I also fixed several ucs2 string handling
bugs. See the commit for details.

The following code (which counts the number of occuraces of 'c' in a
string) shows how to use the new interface:

size_t count_chars(const char *s, char c)
{
	size_t count = 0;

	while (*s) {
		size_t size;
		codepoint_t c2 = next_codepoint(s, &size);
		if (c2 == c) count++;
		s += size;
	}

	return count;
}
(This used to be commit 814881f0e5)
2007-10-10 12:59:39 -05:00
Stefan Metzmacher
f63e3ae1f7 r2686: remove unused gtk+ check
metze
(This used to be commit d1e8b340a9)
2007-10-10 12:59:22 -05:00
Andrew Tridgell
d13bbcf9e3 r2672: don't call a variable "dup" as that conflicts with a standard system call name
(This used to be commit 015db2ed8c)
2007-10-10 12:59:20 -05:00
Andrew Tridgell
5b44130afa r2671: we're getting too many errors caused by the talloc_realloc() API not
taking a context (so when you pass a NULL pointer you end up with
memory in a top level context). Fixed it by changing the API to take a
context. The context is only used if the pointer you are reallocing is
NULL.
(This used to be commit 8dc23821c9)
2007-10-10 12:59:20 -05:00
Andrew Tridgell
368802bc86 r2623: don't do pointer arithmetic on void*, as it doesn't work with non-GNU compilers
(This used to be commit c2be7b696c)
2007-10-10 12:59:13 -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 2762ed3b9b)
2007-10-10 12:59:01 -05:00
Jelmer Vernooij
93454ff3d8 r2257: Tab completion support in regshell (complete command names and key names
in the current key)
(This used to be commit 83f9f8eaa4)
2007-10-10 12:58:35 -05:00
Jelmer Vernooij
9c69fe6522 r2254: Fix a couple of compiler warnings...
(This used to be commit 8056f4a9a7)
2007-10-10 12:58:35 -05:00
Andrew Bartlett
dcd43a4cbe r1990: Fix breakage caused by the recent talloc changes. (Failure to process
an SPNEGO login from WinXP at least).

talloc_asprintf_append() lost an argument, but because TALLOC_CTX is
now a void*, this was not picked up by the compiler.

I've tested the login (asn1), but not the registry/gtk changes.

Andrew Bartlett
(This used to be commit 4294be4405)
2007-10-10 12:58:15 -05:00
Andrew Tridgell
b83ba93eae r1983: a completely new implementation of talloc
This version does the following:

  1) talloc_free(), talloc_realloc() and talloc_steal() lose their
     (redundent) first arguments

  2) you can use _any_ talloc pointer as a talloc context to allocate
     more memory. This allows you to create complex data structures
     where the top level structure is the logical parent of the next
     level down, and those are the parents of the level below
     that. Then destroy either the lot with a single talloc_free() or
     destroy any sub-part with a talloc_free() of that part

  3) you can name any pointer. Use talloc_named() which is just like
     talloc() but takes the printf style name argument as well as the
     parent context and the size.

The whole thing ends up being a very simple piece of code, although
some of the pointer walking gets hairy.

So far, I'm just using the new talloc() like the old one. The next
step is to actually take advantage of the new interface
properly. Expect some new commits soon that simplify some common
coding styles in samba4 by using the new talloc().
(This used to be commit e35bb094c5)
2007-10-10 12:58:14 -05:00
Volker Lendecke
664f50e81c r1894: Convert // to /* */
(This used to be commit 5dc793b2b4)
2007-10-10 12:58:09 -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 d321cf20f1)
2007-10-10 12:56:55 -05:00
Jelmer Vernooij
0b817ae851 r1147: Support enumerating values
(This used to be commit 3af8419fa4)
2007-10-10 12:56:41 -05:00
Jelmer Vernooij
8dcb4aa084 r1119: Saner keyboard shortcuts
(This used to be commit 971941acc7)
2007-10-10 12:56:38 -05:00
Jelmer Vernooij
9503af8d64 r1118: Read-only enumeration of keys in the LDB backend works now :-)
(This used to be commit 456f97eed0)
2007-10-10 12:56:38 -05:00
Andrew Tridgell
7ea6a0b1fc r1040: make sure main() doesn't get auto-prototyped
(This used to be commit 7c2279e4bc)
2007-10-10 12:56:33 -05:00
Jelmer Vernooij
39e465a096 r1035: Support shared modules again
(This used to be commit 7949dc25ab)
2007-10-10 12:56:31 -05:00
Jelmer Vernooij
fe3bcd4588 r1032: Fix RPC backend segfault
(This used to be commit db902bff3c)
2007-10-10 12:56:31 -05:00
Stefan Metzmacher
fa2e9ec311 r960: convert 'unsigned int' to uint_t in the most places
metze
(This used to be commit 18062d2ed9)
2007-10-10 12:56:23 -05:00
Stefan Metzmacher
b88fc7a391 r959: - a static WERROR function should return a WERROR:-)
- some minor format fixes

metze
(This used to be commit 72d9c70fdd)
2007-10-10 12:56:23 -05:00
Jelmer Vernooij
9fba08b621 r955: Update debian package rules... builds now
(This used to be commit 3df8ff6cf1)
2007-10-10 12:56:22 -05:00
Stefan Metzmacher
45e93c19ef r943: change samba4 to use 'uint8_t' instead of 'unsigned char'
metze
(This used to be commit b5378803fd)
2007-10-10 12:56:21 -05:00
Andrew Tridgell
47864891ff r893: a few more _t conversions
(This used to be commit 66eb46dbb1)
2007-10-10 12:56:18 -05:00
Stefan Metzmacher
fcd718c7d8 r890: convert samba4 to use [u]int8_t instead of [u]int8
metze
(This used to be commit 2986c5f08c)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f9d8f8843d r884: convert samba4 to use [u]int32_t instead of [u]int32
metze
(This used to be commit 0e5517d937)
2007-10-10 12:56:15 -05:00
Andrew Tridgell
579c13da43 r873: converted samba4 to use real 64 bit integers instead of
structures. This was suggested by metze recently.

I checked on the build farm and all the machines we have support 64
bit ints, and support the LL suffix for 64 bit constants. I suspect
some won't support strtoll() and related functions, so we will
probably need replacements for those.
(This used to be commit 9a9244a1c6)
2007-10-10 12:56:14 -05:00
Stefan Metzmacher
69e40486f9 r857: fix the build of gregedit (typo:-)
metze
(This used to be commit 44de741038)
2007-10-10 12:56:12 -05:00
Stefan Metzmacher
d17ca56aed r851: convert lib/registry/ to a config.mk file
metze
(This used to be commit b556760146)
2007-10-10 12:56:12 -05:00
Jelmer Vernooij
25ed82e7ee r834: Fix gconf and dir backends
(This used to be commit fe5166ee88)
2007-10-10 12:53:54 -05:00
Jelmer Vernooij
f0d7ae39c0 r833: Compile error
(This used to be commit e4f6ca8522)
2007-10-10 12:53:54 -05:00
Jelmer Vernooij
b4c23f5a52 r832: Only show menu items for backends if they're present
(This used to be commit 9228aeeafd)
2007-10-10 12:53:54 -05:00
Jelmer Vernooij
a64be8dbdd r830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.
(This used to be commit ad88561bec)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
4a137a7cf1 r829: Implement 'hive' command
(This used to be commit 2a87981bd0)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
f371d24542 r828: Some fixes in the core and regshell concerning hives and
unicode
(This used to be commit 25c27b176c)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
bf52e242f5 r825: - Introduce support for multiple roots (or 'hives')
- Clean up rpc backend (possible now that multiple hives are supported)
(This used to be commit 8cd1b6bc70)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
1ca75ec3bb r819: Fix seg fault in rpc backend, found by Andrew Bartlett
(This used to be commit d4cc4b3d68)
2007-10-10 12:53:52 -05:00
Jelmer Vernooij
53f2f8254b r734: Fix crash bug
(This used to be commit 178cd902fc)
2007-10-10 12:53:45 -05:00
Stefan Metzmacher
77c30ebe9e r700: fix SMB_LIBRARY() to disable the lib by default
metze
(This used to be commit b6ac3021f2)
2007-10-10 12:53:43 -05:00
Jelmer Vernooij
072ef868c3 r693: Make static
(This used to be commit 30d3915c76)
2007-10-10 12:53:43 -05:00
Jelmer Vernooij
76d50e0d26 r692: Add libwinregistry
(This used to be commit 0ace3bf289)
2007-10-10 12:53:43 -05:00
Jelmer Vernooij
0048335d9e r686: - Add SMB_EXT_LIB_FROM_PKGCONFIG()
- Build gregedit and registry_gconf again if the required libs are found (gconf and gtk)
(This used to be commit a63b704c36)
2007-10-10 12:53:42 -05:00
Stefan Metzmacher
14832874ee r681: don't init r.out.result.v
metze
(This used to be commit f7ded36699)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
0b7f81e0f6 r673: disable registry_gconf for now
metze
(This used to be commit 5bbf0c2407)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
0a690c12a1 r672: disable gregedit for now
metze
(This used to be commit 63600a2a9b)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
9c4a451463 r668: fix the build
metze
(This used to be commit ba5e71f59e)
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
f236700ef6 r665: merge over the new build system from my tmp branch
to the main SAMBA_4_0 tree.

NOTE: that it's not completely ready, but it's functional:-)

metze
(This used to be commit c78a2ddb28)
2007-10-10 12:53:36 -05:00
Jelmer Vernooij
b2d1f78907 r655: Fix if() logic
(This used to be commit 09096cfc3e)
2007-10-10 12:51:56 -05:00
Stefan Metzmacher
6a8355a628 r467: hopefully get the buildfarm compiling fine now...
metze
(This used to be commit d15f0e18bb)
2007-10-10 12:51:44 -05:00
Stefan Metzmacher
4c991c6edd r425: add some comments to ugly code parts
we should take care of 'char *' and 'const char *' and DO NOT mix them!

Jelmer: please fix this

metze
(This used to be commit cd609eb2fe)
2007-10-10 12:51:38 -05:00
Tim Potter
f3d3b3c809 r355: Fix a bunch of compiler warnings in the registry code.
(This used to be commit 0be7a866dc)
2007-10-10 12:51:34 -05:00
Jelmer Vernooij
6de32ddc2d r274: Be somewhat more POSIX compatible
(This used to be commit c98a234d02)
2007-10-10 12:51:18 -05:00
Herb Lewis
c7a60a178f r200: fix compile errors
(This used to be commit c64132ddc6)
2007-10-10 12:51:16 -05:00
Jelmer Vernooij
2199a6ffa9 r199: More registry rpc updates
(This used to be commit 02ddf78e55)
2007-10-10 12:51:16 -05:00
Jelmer Vernooij
17ddb68b54 r190: More RPC updates
(This used to be commit 0a67057e96)
2007-10-10 12:51:16 -05:00
Jelmer Vernooij
198a92cb77 r187: RPC registry backend fixes
(This used to be commit f832d6776c)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
b4d6cbd380 r183: More bugfixes
(This used to be commit 88911bbcca)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
4019324f76 r182: Fix a couple of segfaults
(This used to be commit db5d7062e6)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
49d54f0298 r181: Parsing windows '95 registry files now works (including values)
(This used to be commit 4d6ce64856)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
24cd656ab0 r174: Win95 registry files (like USER.DAT) can now be partially parsed
(This used to be commit dd31d3bcbf)
2007-10-10 12:51:15 -05:00
Jelmer Vernooij
9d6a284567 r169: Fix gregedit
(This used to be commit 32036375de)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
639afabf40 r168: - Cleanups in rpc backend
- Small fixess in nt4 and dir backends
- Start on w95 file backend
(This used to be commit aa739e8d3c)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
c60c5ebb91 r166: Fix enumerating values in nt4 backend
(This used to be commit 1a7de762c6)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
07afafd45d r165: Add support for viewing registry values in gregedit
(This used to be commit 1d8a6d762a)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
6df152f964 r164: Viewing remote registries with gregedit works now
(This used to be commit 697560a117)
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
491ce98cc4 r162: Minor bugfixes:
- Don't keep windows open after errors
 - Don't build ldb backend by default
(This used to be commit 1bb64782c6)
2007-10-10 12:51:12 -05:00
Andrew Tridgell
42889e5e1e r134: - added ldb to the build of smbd
- fixed build of the ldb registry backend
(This used to be commit 0b66590330)
2007-10-10 12:51:10 -05:00
Jelmer Vernooij
9cbbf2d552 r129: Convert other utilities to new API
(This used to be commit 95c9852b16)
2007-10-10 12:51:09 -05:00
Jelmer Vernooij
aebfb3b9f4 r128: Another registry update. Changes:
- Start with the LDB backend
- The API is now more windows-like, which should make it easier to use
  in rpc_server
- Added a GTK+ front-end
- Added some more IDL

More updates will follow, especially in the RPC field..
(This used to be commit 3adffa0217)
2007-10-10 12:51:09 -05:00
Stefan Metzmacher
509bbf4383 r125: use AC_CONFIG_FILES() instead of AC_OUTPUT()
we should have only one AC_OUTPUT() at the end of configure.in

metze
(This used to be commit 60aa14d463)
2007-10-10 12:51:09 -05:00
Jelmer Vernooij
b96025eb15 r61: - Implement first call in the winreg rpc server
- Add some initial implementation of the ldb backend
- More checks in the winreg torture test
(This used to be commit ae2b63b6f1)
2007-10-10 12:50:41 -05:00
Jelmer Vernooij
2542ed0ac7 r46: Add CreateKey function (still working on it)
(This used to be commit 9f13b7c60c)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
5c49a23a29 r36: - Start using memory pools in the registry library
- Remove obsolete file
(This used to be commit d85b8fb3b7)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
69c19afb62 r31: More registry updates. regdiff/regpatch work now.
(This used to be commit 98224f5436)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
c424c2b857 r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7)
2007-10-10 12:50:33 -05:00