Re: Passwords, Shadow Password and Samba Passwords
A few month ago I had the same problem, and a lot of people here solved
all my doubts... there are the abstract of the 'Samba Passwords Amazing
History':
Situation:
1. Samba allows the use of PAM (aka shadow passwords if you
configure it) and authentification through smbpasswd.
2. Win98 by default, only allows encripted authentification
3. Encripted authentification only can be done under samba using
smbpasswd, 'cos the encription mechanism is diferent between
Windows and Un*xes, and samba uses the same mechanism as Windows
in his smbpasswd file.
Solution:
1. You can add users using the command smbpasswd, that creates the
smbpasswd file, and then use the option 'encrypt passwords = yes'
into the smb.conf file.
2. You can disable the encripted authentification from Win98
updating a parameter into Windows Registry (into Samba.org's ftp
you can found a Win98_PlainPassword.reg file that does it), and
then selecting the 'encrypt passwords = no' option. Before it
the samba daemon will use the PAM system to authentificate
users, as any other service. This option sends the passwords in
plain text, but the mechanism from Windows isn't secure, 'cos
you send a hashed password that is the same every time...
Well, If you have any problem I can send you more detailed instructions
off-the-list, and I can send you the registry file.
Bye, and Good Luck!
On Mon, 5 Feb 2001, Paul Clark wrote:
I am trying to set up Samba to share a printer on my network. I am using Potato 2.2r2.
I can see the Linux computer from Win98 but cannot enter the required password. I notice from /var/log/samba that there is a problem with no /etc/samba/smbpasswd entry for user 'default'. There is no /etc/samba/smbpasswd and this was an option from sambaconfig.
I have read that the problem may be that Samba is not complied for shadow passwords? I believe I chose these when originally installing potato. I do not know how to create /etc/samba/smbpasswd. The command smbpasswd reports an error on any password for any user. Even the user 'default' that I created. It does create an /etc/samba/smbpasswd but with just a header comment that does not show the requuired format.
Any clues to where I am going wrong?
Paul Clark
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
_________________________________________________________
Josep Llauradó Selvas darlock@tinet.org
Linux Registered User #153481
KeyFP: D82F 525C DD22 02C9 6909 20D6 F622 F3E8 18CD C548
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_________________________________________________________
Reply to: