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

Andrew Bartlett abartlet at samba.org
Mon Aug 23 04:37:55 GMT 2004


On Mon, 2004-08-23 at 14:26, Sigmund Straumsnes wrote:
> >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.

Of course, this is not enabled by default for good reason, and MS
doesn't test in this mode.  For this reason, there are a number of bugs
that have been described - starting with the mandatory authentication
popup, and also the nasty 'reconnection' effects.

It is better to setup an smbpasswd file.

Andrew Bartlett

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040823/8d5fff89/attachment.bin


More information about the samba mailing list