[Samba] how to use /etc/passwd and /etc/shadow for samba passwords?

Sigmund Straumsnes Sigmund.Straumsnes at iu.hio.no
Mon Aug 23 04:26:36 GMT 2004


>How can i configure samba to use /etc/passwd and /etc/shadow for the samba
>passwords?
>I dont want to use smbpasswd for samba and would like it to just get its
>passwords from unix OS.
>
>Im running solaris8 and samba 3.
>
>thanks!

Add
	encrypt passwords = no
to smb.conf.

If you have Windows clients, you may have to add a registry key
(EnablePlainTextPasswords=1 under
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP or
something similar). This ensures that the Windows clients don't encrypt
the passwords before transfering them.

Regards,
Sigmund


More information about the samba mailing list