Franky

From SambaWiki
Revision as of 21:45, 28 May 2008 by Obnox (talk | contribs) (add a first headline)

A Hybrid Samba Active Directory Controller

On May 8, 2008, a couple of samba developers came together in a sambaXP followup meeting in Göttingen at SerNet, and the idea was born to combine the best parts of Samba3 and Samba4 to form a complete Samba Active Directory server that is also a performant file server and a print server.


The Idea

The Samba4 and Samba3 daemons should run in parallel and the tasks should be distributed among the processes. The various deamons should communicate via unix domain sockets.

One essential part for the feasibility of the project is Volker Lendecke's recent work on Samba 3 on adding the ability to delegate named pipes (dcerpc services) to external programs over unix domain sockets.


The plumbing design

This is the basic idea of how to distribute the tasks:

  • The main daemon to be run is the Samba4 smbd.
  • It listens on the Kerberos, LDAP, CLDAP, GC, Endpoint mapper and WINS ports.
  • smbd4 offers the named pipes samr, lsa, netlogon, epm, and drsuapi
  • smbd4 forks smbd3 (and other samba3 daemons)
  • smbd3 listens on the smb ports (139/445)
  • smbd3 offers the named pipes spoolss and possibly winreg
  • nmbd3 offers browsing (138)
  • samba3 winbindd talks to trusted domains

The daemons have to talk to each other in order for the scenario to work.

See the notes from the meeting for more details.

Name of the game

The codename Franky was coined for the combined Samba branch.

TODOs

  • unify the build system to have a common build and install (almost completed by Jelmer)
  • make smbd4 talk to samba3 winbind.
  • either add browsing support to samba4 or disable all but browsing in samba3 nmbd.
  • extend the samba4 endpoint mapper to allow registering external services dynamically

Branches

People

These people were at the conspirative meeting (in alphabetic order):

  • Michael Adam
  • Kai Blin
  • Günther Deschner
  • Julien Kerihuel
  • Volker Lendecke
  • Stefan Metzmacher
  • Lars Müller
  • Karolin Seeger
  • Rafal Szczesniak
  • Jelmer Vernooij

Notes