Hello samba gurus!!! I have samba-1.9.18p4 installed on Linux RH5.0. Ability to change the SMB password from a Windows 95 client is very fine, but if 'normal' user have no password and record in smbpasswd file apper like this user:uid:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:..... then no chance to change password from a Windows 95 client, and by using smbpasswd. ---------------------------------------------------------------------------------------------------- [user@lime user]$ smbpasswd Old SMB password: New SMB password: Retype new SMB password: smbpasswd: machine 127.0.0.1 rejected the session request. Error was : code 131. ---------------------------------------------------------------------------------------------------- In my smb.conf I have hosts allow = X.X.X.0/255.255.0.0 127.0.0.1/255.255.255.255 What means Error was : code 131 and how I can solve this problem? Thanks. P.S. Sorry my poor English.
Hello, You have to have a unix user with name and password and this user has to have a smbpasswd entry in the smbpasswd file. You can make this account as root saying: smbpasswd -a user password After that all should work fine. Nobody should be able to give himself an account. Only root should be allowed to. But now if have a question myself. I'm using samba 1.9.18p4 on Slackware.Linux 2.0.33, and I'm not able to change my passwords with a win95 client. Could you please send my an example configuration, how you've set up samba at your site, for me to find out what I'm doing wrong ??? Thanks in advance ... Robert Robert Koruna <robert.koruna@tiwag.co.at> ----------------------------------------- TIWAG-Tiroler Wasserkraftwerke AG Abteilung I/V-UE Eduard Wallnoefer-Platz-2 A 6010-Innsbruck Tel.: +43 / (0)512 / 506 - 2772 Fax: +43 / (0)512 / 506 - 2670 -----------------------------------------
Hello Dmitry,> Thanks you for advice.You're welcome.> Read my smb.conf file in attachment. With this configuration my > Win95 clients can change their samba passwords from Win95 boxes.I tried the same config as you have and samba tells me in the debugging mode: Disallowing access to user due to null password check_lanman_password: old password doesn't match But I have a password and it works. The server is set up as a paasword server and also this works. Which option did you use for compilation, what has to be in a logon script ??? Thanks for your responding, Robert Robert Koruna <robert.koruna@tiwag.co.at> ----------------------------------------- TIWAG-Tiroler Wasserkraftwerke AG Abteilung I/V-UE Eduard Wallnoefer-Platz-2 A 6010-Innsbruck Tel.: +43 / (0)512 / 506 - 2772 Fax: +43 / (0)512 / 506 - 2670 -----------------------------------------