On Thu, 2004-03-25 at 11:17, [EMAIL PROTECTED] wrote:
> Hi..
> 
>   If  i add these entries to the smb.conf in the GLOBAL parmeters.
> 
>         update encrypted = Yes

This will only work if 'encrypt passwords = no', but 'encrypt passwords
= yes' is the default on Samba 3.0.  

Even if you set 'encrypt passwords = no' you must enforce the registry
hack on your clients.  This may also expose bugs in microsoft's client
implementation, as well as exposing plataintext passwords over the
network.

>         smb passwd file = /etc/shadow

This is *compleatly wrong*.  Bogus.

The smb passwd file is 'smbpasswd', and cannot be in any way shared with
any other program.  It should be /etc/samba/smbpasswd, or any other
file, but it is *not* a shadow file.

>         unix password sync = Yes
> 
>  I was getting following error messages.
> 
> getsmbfilepwent: malformed password entry (uid not number)
> getsmbfilepwent: malformed password entry (no : after uid)
> getsmbfilepwent: malformed password entry (uid not number)
> 
>  Please let me know if any one have seen these error messages.

Only if they do not read any of the documentation, or follow any of the
examples.

Andrew Bartlett

-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to