Hello, I'm using samba 1.9.17.p2 on a linux 2.0.30. Everything is ruuning fine, except Win95 password change. I'm sorry if it is a question asked thousand times, but I _really_ read docs, faq, mailing archive before writing this mail and couldn't make it work. I have 100 Win95 PC on my network, 1 NT server 3.51 (NOT beeing a domain controller), 1 NT station 4.01, 1 Linux server, 4 SUN stations running solaris 2.5 and 1 netware 4.11 server. Samba is domain master and offers network logon, with user security, and os level set to 34 . The hosts/passwords is managed by the netware server with NIS. Every W95 is configured to do a network logon, and every user can logon on the samba server, all shares run fine. I compiled samba with ALLOW_PASSWORD_CHANGE. But when a W95 station tries to change its network password from the control panel, I'v got various answers like "not enough memory" (???), "unknown user" ... When the NT stations are off, the answer is that the network doesn't provide this service. In all cases, I tried to log the API calls received by samba, and it _never_ received the 115 (SetUserPassword) request. From a DOS box, the NET PASSWORD is not allowed ... Can anyone help me with this ?
> But when a W95 station tries to change its network password from > the control panel, I'v got various answers like "not enough memory" > (???), "unknown user" ... When the NT stations are off, the answer is > that the network doesn't provide this service. In all cases, I tried to > log the API calls received by samba, and it _never_ received the 115 > (SetUserPassword) request. From a DOS box, the NET PASSWORD is not > allowed ... >'net password \\server' will work from a DOS prompt. Actually the commend will execute but give an error message. I believe that the problem is really the way that Windows 95 transmits the password ( both old and new )....in UPPER case. Even with a password level parameter parameter in smb.conf, samba may be able to matche the old password but how can it know what the case was in the new password? I think you can get this to work from NT but not from 95. Has anyone ever got the password change thing worked out from a Win95 box? Have you done a packet dump and looked at what is going across the wire? j- ________________________________________________________________________ Gerald ( Jerry ) Carter Engineering Network Services Auburn University jerry@eng.auburn.edu http://www.eng.auburn.edu/users/cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 ) ________________________________________________________________________
>'net password \\server' will work from a DOS prompt. Actually the >commend will execute but give an error message.Thanks for the tip ! Previously, I only used 'net password' and I got the answer that it could not be run from a dos box. Including server name makes it work fine (I don't have any error message) and the password is changed :-)))>I believe that the problem is really the way that Windows 95 transmits >the password ( both old and new )....in UPPER case.You're right. On my side, I'll first do a _very_ dirty hack which will force the password to be lowercased in chgpasswd.c, and request all the unix only users to have lowercase password (which is already the case for 99.9 % of them, so no big deal) Philippe