Please Help!!! passwd chat

Melissa Thrush mmt4q at ee.virginia.edu
Mon Oct 25 21:27:27 GMT 1999


Hi,

Please help me!!! figure out what I'm doing wrong with my passwd chat or
elsewhere.

I have Samba 2.0.2 running fine on a Solaris 2.6 (NIS master) machine
(been mapping Unix
homes and shares for quite some time).  Samba is now setup to be a PDC
and am
testing with a WinNT 4.0SP3 client.  I want to change passwords from the
client with
Ctrl+Alt+Del  I am NOT trying to "sync passwords" YET.

Below are some messages in the log after I try to change the password
(debug level = 3,
passwd chat debug = true)  I can login to the PDC fine so I know my
username and password
are working.  I just can't change my password when connected to the PDC
from the pc.

I get the annoying "username or old password are incorrect" message.

With NIS I have an entry in /var/yp/passwd and /var/yp/shadow
I also have an entry in /usr/local/samba/private/smbpasswd

My workstation also has an entry in the above three files.


[1999/10/25 16:56:47, 3] smbd/password.c:pass_check_smb(492)
  Couldn't find user
[1999/10/25 16:56:47, 3] rpc_server/srv_pipe.c:rpc_command(650)
  rpc_command: DCE/RPC fault should be sent here
[1999/10/25 16:56:47, 3] smbd/error.c:error_packet(138)
 error packet at line 143 cmd=47 (SMBwriteX) eclass=1 ecode=5

[1999/10/25 16:56:47, 3] rpc_server/srv_pipe.c:api_rpc_command(671)
  api_rpc_command: SAMR_CHGPASSWD_USER
[1999/10/25 16:56:47, 0] smbd/chgpasswd.c:check_oem_password(755)
  check_oem_password: old lm password doesn't match.
[1999/10/25 16:56:47, 3] smbd/process.c:process_smb(565)
  Transaction 2966 of length 46
[1999/10/25 16:56:47, 3] smbd/process.c:switch_message(402)
  switch message SMBclose (pid 5961)

Pertinent smb.conf info:

[global]
   debug level = 0
   username map = /usr/local/samba/lib/users.map
   wins support=yes
; these commands enable cross-subnet browsing
   domain master = yes
   local master = yes
   preferred master = yes
   os level = 65
; these commands are for domain logins and profiles
   domain logons = yes
   security = user
   encrypt passwords = yes
   logon drive = N:
   logon home = \\%N\%U
   logon path = \\%N\profiles\%U
   logon script = scripts\STARTUP.BAT
   time server = Yes
; needed for "staff" group members to have administrator priv. on pcs.
   domain admin group = @staff
; needed for unix password syncing
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *new*password* %n\n *passw*d*d*on*
;   unix password sync = yes
;   passwd chat debug = true
;
;
; NAME MANGLING
;
   case sensitive = no
   preserve case = yes
   ;mangle case = yes
   ;default case = lower
   short preserve case = yes


Thanks for your help,

Melissa
--
Melissa Thrush
Dept. of Electrical Engineering
University of Virginia
Thornton Hall - C213
Phone: 804-924-6072
Fax:   804-924-8818




More information about the samba-ntdom mailing list