This option allows the administrator to chose which backends to retrieve and store passwords with. This allows (for example) both smbpasswd and tdbsam to be used without a recompile. Multiple backends can be specified, separated by spaces. The backends will be searched in the order they are specified. New users are always added to the first backend specified. This parameter is in two parts, the backend's name, and a 'location' string that has meaning only to that particular backed. These are separated by a : character. Available backends can include: smbpasswd - The default smbpasswd backend. Takes a path to the smbpasswd file as an optional argument. smbpasswd_nua - The smbpasswd backend, but with support for 'not unix accounts'. Takes a path to the smbpasswd file as an optional argument. See also non unix account range tdbsam - The TDB based password storage backend. Takes a path to the TDB as an optional argument (defaults to passdb.tdb in the private dir directory. tdbsam_nua - The TDB based password storage backend, with non unix account support. Takes a path to the TDB as an optional argument (defaults to passdb.tdb in the private dir directory. See also non unix account range ldapsam - The LDAP based passdb backend. Takes an LDAP URL as an optional argument (defaults to ldap://localhost) ldapsam_nua - The LDAP based passdb backend, with non unix account support. Takes an LDAP URL as an optional argument (defaults to ldap://localhost) Note: In this module, any account without a matching POSIX account is regarded as 'non unix'. See also non unix account range LDAP connections should be secured where possible. This may be done using either Start-TLS (see ldap ssl) or by specifying ldaps:// in the URL argument. nisplussam - The NIS+ based passdb backend. Takes name NIS domain as an optional argument. Only works with sun NIS+ servers. Default: passdb backend = smbpasswd unixsam Example: passdb backend = tdbsam:/etc/samba/private/passdb.tdb smbpasswd:/etc/samba/smbpasswd guest Example: passdb backend = ldapsam_nua:ldaps://ldap.example.com guest Example: passdb backend = mysql:my_plugin_args tdbsam:/etc/samba/private/passdb.tdb