GSoC - ncurses registry editor

Michael Adam obnox at samba.org
Thu Mar 29 10:01:28 MDT 2012


Hi C,

C. Davis wrote:
> Hello,
> 
> I'm interested in applying for the ncurses registry editor project for
> GSoC.
> 
> Should the user interface resemble Windows' regedit to allow users to
> fully enumerate/edit the registry on a remote Windows system, or should it
> be more geared towards just configuring Samba (by providing an interface
> for managing shares, etc)?

It is meant as a general purpose editor for registry.

> >From tracing how "net registry" and "net rpc registry" work, it appears
> all the code for accessing the registry locally and remotely already
> exists (code in registry/ for local access, and rpc_client/ for winreg
> RPC). I assume not much (if anything) would have to be done here for the
> ncurses editor.

Right. We have "net [rpc] registry" as a command line tool
for reading and writing the registry (locally for samba
and remotely via RPC on a server that supports the winreg
RPC protocol, like windows and samba).

The basic idea is to have a full featured curses based registry
editor to use instead of these tools for a much less clumsy user
experience.

> The project hint on the Wiki page mentions using "plugins" for registry
> backends, which makes me think of something like browser plugins that are
> dlopen'd on the fly. Would something like that really be required for this
> project, or am I confusing what was meant?

Well I think of different "backends". One backend would be the
local samba db access used by "net registry" (called reg_api).
Another backend would be samba3's winreg RPC api to access a
remote server. It is thinkable to add more backends. (like the
registry implementation of samba4 (source4/) that is still
separat from samba3's implementation at this very moment.
Or some completely different backend / api.

Whether these are to be linked in or loaded at runtime, is not
completely clear yet. This is still to be discussed and also
partly subject to the implementer's phantasy... :-)

Cheers - Michael


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 206 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120329/e241788d/attachment.pgp>


More information about the samba-technical mailing list