Server: Slakware Linux 2.0.30, GNU C 2.7.2.1 Samba 18p7 Server is not using PAM and is a ypclient. Client PC's are DOS 6.20 with MS Client 3.0 and Windows 95. I am having trouble changing passwords using the "net password \\<server>" command from either DOS or Win95 command prompt. Changing passwords worked fine using Samba 17p3. The compile switch -DALLOW_CHANGE_PASSWORD has been used and smb.conf parameters are set up correctly. [global] passwd program = /usr/bin/yppasswd passwd chat = "*Old password*" %o\n "*New password*" %n\n "*ype new password* " %n\n *changed* password level = 4 The error reported in the client log file at log level 4 is: Doing SetUserPassword Set password for <PDEBUS> SMB Password - pwlen = 7, challenge_done = 0 Checking password for user pdebus (l=7) Password change for user: pdebus pty: try to open ptya0, line was /dev/ptyXX pty: try to open ptya1, line was /dev/ptya0 pty: try to open ptya2, line was /dev/ptya1 pty: try to open ptya3, line was /dev/ptya2 pty: try to open ptya4, line was /dev/ptya3 pty: opened /dev/ptya4 Dochild for user pdebus (uid=0,gid=6310) <------ ??????? response 1 incorrect Child failed to change password: pdebus get_smbpwd_entry: unable to open file /etc/smbpasswd check_lanman_password: get_smbpwd_entry returned NULL 1998/06/25 12:19:54 Transaction 671 of length 39 switch message SMBtdis (pid 2640) chdir to /var/log/samba/clients 1998/06/25 12:19:54 thumb (129.180.11.200) closed connection to service IPC$ Yielding connection to 117 IPC$ 1998/06/25 12:19:54 tdis cnum=117 Changing the Unix password failed at "Dochild for user pdebus", but note the uid, it is 0 not pdebus' uid. Calling yppasswd as root will attempt to change root's password, not pdebus'. Does anyone have a suggestion. I have removed the password level option in smb.conf and toyed with all upper and lower case passwords, but the problem persists. I am not using encrypted passwords, hence the password change fails on "get_smbpwd_entry" and "check_lanman_password". Cheers Peter Debus Computer Systems Administrator School of Mathematical Computer Sciences University of New England Armidale NSW Australia Ph: 61 (0)267 73 2412 Fax: 61 (0)267 73 3312
Don't worry, problem solved. The program chat entry does not seem to work with Samba 18p7. I had to change passwd chat = "*Old password*" %o\n "*New password*" %n\n "*ype new password*" %n\n *changed* to passwd chat = *Old*password: %o\n *New*password: %n\n *Retype*new*password: %n\n *changed* That is, taking out the double quotes and using * for spaces. Peter Debus Computer Systems Administrator School of Mathematical Computer Sciences University of New England Armidale NSW Australia Ph: 61 (0)267 73 2412 Fax: 61 (0)267 73 3312> > > Server: Slakware Linux 2.0.30, GNU C 2.7.2.1 Samba 18p7 > > Server is not using PAM and is a ypclient. > > Client PC's are DOS 6.20 with MS Client 3.0 and Windows 95. > > > I am having trouble changing passwords using the "net password \\<server>" > command from either DOS or Win95 command prompt. Changing passwords worked fine > using Samba 17p3. > > The compile switch -DALLOW_CHANGE_PASSWORD has been used and smb.conf > parameters are set up correctly. > > [global] > passwd program = /usr/bin/yppasswd > passwd chat = "*Old password*" %o\n "*New password*" %n\n "*ype new password* > " %n\n *changed* > password level = 4 > > The error reported in the client log file at log level 4 is: > > Doing SetUserPassword > Set password for <PDEBUS> > SMB Password - pwlen = 7, challenge_done = 0 > Checking password for user pdebus (l=7) > Password change for user: pdebus > pty: try to open ptya0, line was /dev/ptyXX > pty: try to open ptya1, line was /dev/ptya0 > pty: try to open ptya2, line was /dev/ptya1 > pty: try to open ptya3, line was /dev/ptya2 > pty: try to open ptya4, line was /dev/ptya3 > pty: opened /dev/ptya4 > Dochild for user pdebus (uid=0,gid=6310) <------ ??????? > response 1 incorrect > Child failed to change password: pdebus > get_smbpwd_entry: unable to open file /etc/smbpasswd > check_lanman_password: get_smbpwd_entry returned NULL > 1998/06/25 12:19:54 Transaction 671 of length 39 > switch message SMBtdis (pid 2640) > chdir to /var/log/samba/clients > 1998/06/25 12:19:54 thumb (129.180.11.200) closed connection to service IPC$ > Yielding connection to 117 IPC$ > 1998/06/25 12:19:54 tdis cnum=117 > > Changing the Unix password failed at "Dochild for user pdebus", but note > the uid, it is 0 not pdebus' uid. Calling yppasswd as root will attempt to > change root's password, not pdebus'. > > Does anyone have a suggestion. I have removed the password level option > in smb.conf and toyed with all upper and lower case passwords, but the > problem persists. I am not using encrypted passwords, hence the password change > fails on "get_smbpwd_entry" and "check_lanman_password". > > Cheers > > Peter Debus > Computer Systems Administrator > School of Mathematical Computer Sciences > University of New England > Armidale NSW > Australia > > Ph: 61 (0)267 73 2412 Fax: 61 (0)267 73 3312 >
At 12:58 PM 6/25/98 +1000, you wrote:>Date: Wed, 24 Jun 1998 19:42:45 +1000 >From: George Vieira <tremors@newjackswing.dyn.ml.org> >To: "'samba@samba.anu.edu.au'" <samba@samba.anu.edu.au> >Subject: Win98 Full Release and Samba NT domain >Message-ID: <01BD9FA8.44045A60@TREMORS> > >Has anybody tried to login to a Linux NT domain.. > >I'm getting password problems.. It used to work fine in Win95 until I wentto WIn98 (I guess a big no no....)> >I tried in network neighborhood and double cliked the Linux machine and Igot the prompt for a password on \\newjackswing\ipc$ but no password worked?? Hi George, I had this problem with the Win98 betas as well. What fixed the problem 100% for me was to use encrypted passwords. The smb.conf file has some comments on how to do this. The extra documentation for Samba does as well. Hope this helps you out, Chris