Problem: changing password from WinNT workstation 4 SP3

Martin Hofbauer Bacher Systems EDV mh at bacher.at
Fri Nov 27 16:46:58 GMT 1998


Now this is the 4th problem report of that issue I have seen
( including my request 2-3 Weeks ago )

But there is no real good answer till now !

The answer is always, you have to use passwords, that are okay to your
unix OS policy ( e.g. for solaris: min 6 char, min 2 digits,..)

But that is not true with samba 2.0.0beta in Solaris 2.6,

I have run the tests with old password: "test1234" to new  "1234test"
( which is ok for solaris 2.6) and had the same results as you !

Mmmm, Maybe there are more important problems to solve (currently ) ...

-------------------------------------------------------------------
Martin Hofbauer                                          Consulting
phone : +43 (1) 60 126-34                   Bacher Systems EDV GmbH
fax   : +43 (1) 60 126-4                         Wienerbergstr. 11B
e-mail: mh at bacher.at                         A-1101 Vienna, Austria
--

On Sat, 28 Nov 1998, Carlos Henrique wrote:

> Platform:
> SunOS 4.1.4
> Samba-2.0.beta2
> Excerpt from our smb.conf
> ..
> workgroup = DEMAB_DMDDS
> 
> server string =
> 
> hosts allow = 172.19.48.0/255.255.248.0 127. 172.27.16.0/255.255.240.0
> 172.19.
> 96.0/255.255.248.0
> 
> security = user
> 
> unix password sync = no
> 
> case sensitive = Yes
> 
> passwd chat debug = True
> 
> log level = 1
> 
> null passwords = yes
> 
> passwd program = /usr/bin/passwd %u
> 
> encrypt passwords = yes
> 
> interfaces = 172.19.41.2/255.255.248.0  172.19.65.2/255.255.248.0
> 
> remote announce = 172.19.55.255 172.27.16.40
> 
> ..
> 
> - "unix password sync = yes" only works for root changing password.
> Using "unix
> password sync = no";
> - I can change samba password on unix using smbpasswd (for a non-root
> user), but
>  I can't do the same from WinNT.
>  log.<samba client>:
> 
> [1998/11/26 10:24:51, 0] smbd/chgpasswd.c:check_oem_password(741)
>   check_oem_password: old lm password doesn't match.
>  ...
> 
> - If I change the user password to null on WinNT, it works.
> - There are two lines where this message is shown in smbd/chgpasswd.c. I
> could s
> ee that the message above came from the second one and commented out the
> "if" bl
> ock of this message. After make/make install, I changed password on
> WinNT again.
> log.<samba client>
> 
> [1998/11/26 10:29:12, 0] smbd/chgpasswd.c:check_oem_password(748)
>   check_oem_password: old nt password doesn't match.
> ..
> 
> This message appears in the next "if" after the previous 'if' block
> commented.
> So, I commented out this "if" block, too.
> After make/make install again, when I changed password, WinNT showed the
> message
> "password changed". However, when logging off the following message was
> sent to
> log.<samba client>
> 
> [1998/11/26 10:35:24, 0] smbd/reply.c:reply_sesssetup_and_X(695)
>   NT Password did not match ! Defaulting to Lanman
> ..
> 
> When loggin on after that, only the old password worked. And, I saw in
> smbpasswd
>  file (unix) that only the LCT string had been changed, while the hash
> string
> remained the same.
> 
> 
> 



More information about the samba-ntdom mailing list