Difference between revisions of "SoC/2011/smbconf"

(tmp)
Line 17: Line 17:
  
 
net rpc conf --> libsmbconf --> remote registry backend:winreg --> remote server --> registry database
 
net rpc conf --> libsmbconf --> remote registry backend:winreg --> remote server --> registry database
 +
 +
similar:
 +
compare "net registry" to "net rpc registry"
 +
(source3/utils/net_registry.c and source3/utils/net_rpc_registry.c)

Revision as of 14:42, 21 June 2011

RPC support for samba configuration

Student name: Vicentiu Ciorbaru

intro

Samba has a registry based configuration backend: Configuration data is stored inside the registry key HKEY_LOCAL_MACHINE\Software\Samba\smbconf. A tool for reading and writing this registry stored configuration is "net conf". Access to the registry-stored configuration is performed through a module that makes use of the "reg_api" module which is the backend code for direct local access to the registry database. The reg_api interface is similar to the WINREG rpc interface. The basic goal of this project is to develop a remote variant of the "net conf" tool that allows for configuring a remote samba server with the same convenience as offered by the "net conf" tool.


temp

layering:

net conf --> libsmbconf --> registry backend:reg_api --> registry database

possible for "net rpc conf":

net rpc conf --> libsmbconf --> remote registry backend:winreg --> remote server --> registry database

similar: compare "net registry" to "net rpc registry" (source3/utils/net_registry.c and source3/utils/net_rpc_registry.c)