[Samba] plaintext backend
Gerald (Jerry) Carter
jerry at samba.org
Tue Aug 31 13:31:54 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Karel Kulhavy wrote:
| Hello
|
| I would like to use plaintext backend with a
| simple Samba 3.0.6 configuration to get rid of
| the system of double passwords and rely just
| on the plain old unix /etc/passwd ones.
The just set 'encrypt passwords = no'. It should
be pretty simple really.
|
| However I couldn't find any information about it in
| 1) man smb.conf
| 2) online Samba official HOWTO
There's a reason why you can't find any
information about it. There's no such thing as
a 'plaintext' passdb backend.
$ grep smb_register_passdb *.c | grep -v ^NT
pdb_guest.c: return smb_register_passdb(PASSDB_INTERFACE_VERSION,
"guest", pdb_init_guestsam);
pdb_interface.c:NTSTATUS smb_register_passdb(int version, const char
*name, pdb_init_function init)
pdb_ldap.c: if (!NT_STATUS_IS_OK(nt_status =
smb_register_passdb(PASSDB_INTERFACE_VERSION, "ldapsam", pdb_init_ldapsam)))
pdb_ldap.c: if (!NT_STATUS_IS_OK(nt_status =
smb_register_passdb(PASSDB_INTERFACE_VERSION, "ldapsam_compat",
pdb_init_ldapsam_compat)))
pdb_mysql.c: return smb_register_passdb(PASSDB_INTERFACE_VERSION,
"mysql", mysqlsam_init);
pdb_pgsql.c: return smb_register_passdb( PASSDB_INTERFACE_VERSION,
"pgsql", pgsqlsam_init ) ;
pdb_smbpasswd.c: return
smb_register_passdb(PASSDB_INTERFACE_VERSION, "smbpasswd",
pdb_init_smbpasswd);
pdb_tdb.c: return smb_register_passdb(PASSDB_INTERFACE_VERSION,
"tdbsam", pdb_init_tdbsam);
pdb_xml.c: return smb_register_passdb(PASSDB_INTERFACE_VERSION,
"xml", xmlsam_init);
| I tried putting passdb backend = plaintext into a
| smb.conf file with security=share and the Samba server
| doesn't seem to work at all:
My recommendation is to never use 'security = share'.
99% of the the time, it is better to use 'security = user'
and 'map to guest = bad user'
cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBNH3KIR7qMdg1EfYRAtVUAKCfRAmuEC88Kxon37VJV73QY+trUgCfaNFW
QLzeKKLmMp439beSYubDBRg=
=gf5E
-----END PGP SIGNATURE-----
More information about the samba
mailing list