samba howto

Thomas Bork tombork at web.de
Mon Aug 13 12:28:13 GMT 2007


Hi,

there are some incorrect (old) parts in the documentation.

#####################################
http://us4.samba.org/samba/docs/man/Samba3-HOWTO/passdb.html

Samba-3 implements a new capability to work concurrently with multiple 
account backends. The possible new combinations of password backends 
allows Samba-3 a degree of flexibility and scalability that previously 
could be achieved only with MS Windows Active Directory (ADS). This 
chapter describes the new functionality and how to get the most out of it.
#####################################


#####################################
http://us4.samba.org/samba/docs/man/Samba3-HOWTO/passdb.html#id356265

Password Backends

Samba offers the greatest flexibility in backend account database design 
of any SMB/CIFS server technology available today. The flexibility is 
immediately obvious as one begins to explore this capability.

It is possible to specify not only multiple password backends, but even 
multiple backends of the same type. For example, to use two different 
tdbsam databases:
passdb backend = tdbsam:/etc/samba/passdb.tdb 
tdbsam:/etc/samba/old-passdb.tdb

What is possible is not always sensible. Be careful to avoid complexity 
to the point that it may be said that the solution is "too clever by half!"
#####################################


#####################################
http://us4.samba.org/samba/docs/man/Samba3-HOWTO/passdb.html#pdbeditthing

Account Migration

The pdbedit tool allows migration of authentication (account) databases 
from one backend to another. For example, to migrate accounts from an 
old smbpasswd database to a tdbsam backend:

    1.

       Set the passdb backend = tdbsam, smbpasswd.
    2.

       Execute:

       root# pdbedit -i smbpasswd -e tdbsam

    3.

       Remove the smbpasswd from the passdb backend configuration in 
smb.conf.
#####################################


Since 3.0.23 multiple backends are deprecated.


der tom


More information about the samba-technical mailing list