At 01:42 AM 11/21/98 PST, you wrote:
>Dear People,
>
>I have appended the smb.conf file to accept encrypted passwords.  But 
>still no luck.  Somebody said that i should be using /etc/smbpasswd .  
>When I try and run smbpasswd , redhat can't find certain files and 
>doesn't change smbpasswd.  Is there a manual way of doing it?
>Do i just copy the contents of /etc/passwd to /etc/smbpasswd ?  Well, 
>thanks for your help.
>
>Tom Kay
>
Did you run mksmbpasswd.sh to create it?  The usual form is:

For samba installed from a rpm -
cat /etc/passwd | mksmbpasswd.sh > /etc/smbpasswd

For the stock Samba -
cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd

You should edit the resulting smbpasswd file to remove root, bin, etc.

You can also use smbpasswd -add <user>.  I am not sure if it will create
the smbpasswd file but it will add a user to the password file, so if
it doesn't create it, try making an empty file...

Mikkel
 

---
    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to