On Thursday 30 May 2002 8:10 pm, Anne Wilson wrote:
> Quote from O'Reilly's Samba book:
>
Gosh.. you are keen.  ;-)


> "If you are presented with a dialog requesting the password for a user
> IPC$, then Samba did not accept the password that was sent from the
> client."
>
> I presume this means that the client m/c sent the Win login and
> password, but it was refused, so requesting a new one?
>
> It goes on to say
>
> "If you are using Windows 98 or Windows NT Service Pack 3 or above, this
> is probably because the client is sending encrypted passwords instead of
> plaintext passwords.  You can remedy this situation by performing two
> steps on the Samba server.  First, add the following entry to the
> [global] section of your Samba configuration file:  encrypt
> password=yes.  Second, find the smbpasswd program on the samba
> server...and use it to add an entry to Samba's encrypted password
> database.  For example, to add user steve to Samba's encrypted password
> database, type smbpasswd -a steve.  The first time you enter this
> password, the program will output an error message indicating that the
> password database does not exist;  it will then create the database..."
>
> I presume that Webmin added the users to the encrypted password list.
> Just to be sure, I tried adding Andy and Micky as advised.  It didn't
> say 'I already know about them', but it didn't cure it either.

Yes webmin will have done that for you. Now you are learning the command line 
as well as the GUI :-)

>
> Anne

You _must_ be root when you use smbpasswd or else it acts differently.
As root it will add a user to the database and set their password. As non root 
it will just change the local users password.

The symptom you are getting is consistent with a conflict between 
encrypted/non encrypted passwords. I'm not even sure how to change that 
option in Win98 but maybe its worth a try changing it in Linux?
Also are you quite sure that the password you have defined is the actual 
password your Win98 user used when logging into their computer?
Win98 lets you use a computer even if the username/password does not exist, 
but then Networking does not work.  (Well its security of a sort)

Tell you what try this:-
insert this line in the [Globals section] of your smb.conf file
log level = 4
Then restart the Samba server  (using Webmin or Mandrake Control 
Centre>System>Services)

Now try accessing the Linux shares and take a look in /var/log/samba

You should see a file for your Win98 machine, and the log will tell you what 
did and did not work.


derek




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to