Win95 Change Password on Digital Unix? (fwd)

Tim Winders twinders at
Sat May 23 22:13:05 GMT 1998

On Fri, 22 May 1998, Jeremy Allison wrote:

> Tim Winders wrote:
> > 
> > I am running 1.9.19-prealpha (CVS from 5/22/98 10:30am CST) under Digital
> > Unix 4.0D with encrypted passwords.  I was hoping to get the Win95 change
> > password feature to work, so I compiled with -DALLOW_CHANGE_PASSWORD and
> > try to use the Win95 control panel to change the Samba/Unix password but
> > smbd dumps core.  Does anyone have this working under DU?  I have the
> > log.smb and core file if that would help...
> > 
> A gdb stack backtrace would be the most useful
> thing.
> Recompile with -g, generate the core dump then
> do:
> gdb ./smbd --core=corefile
> ....gdb output...
> (gdb) bt
> ... backtrace printed out here....

OK.  I jumped out to the gnu site and downloaded gdb.  smbd is still
compiled with -g3 (I hope that is OK).  Here is the output...

# gdb smbd core.passwd2
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alphaev5-dec-osf4.0d"...
Core was generated by `smbd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/shlib/
#0  SamOEMhash (data=0x0, 
    key=0x46000000000000 <Address 0x46000000000000 out of bounds>)
    at smbdes.c:396
smbdes.c:396: No such file or directory.
(gdb) bt
#0  SamOEMhash (data=0x0, 
    key=0x46000000000000 <Address 0x46000000000000 out of bounds>)
    at smbdes.c:396
#1  0x120068944 in check_oem_password (user=0x11ffffa50 "TWINDERS", data=0x0, 
    psmbpw=0x11ffff9b8, new_passwd=0x11ffff9d0 "`u\016\200\003")
    at chgpasswd.c:590
#2  0x12004f8c0 in api_SamOEMChangePassword (
    param=0x1 <Address 0x1 out of bounds>, data=0x0, rparam=0x11ffffb30, 
    rdata_len=0x11ffffb28, rparam_len=0x11ffffb20) at ipc.c:1707
#3  0x120055fb4 in api_reply (outbuf=0x14008a421 "", data=0x0, 
    params=0x140079f60 "÷", tdscnt=-2146010447, tpscnt=23, mdrcnt=0, mprcnt=4)
    at ipc.c:3516
#4  0x1200561dc in named_pipe (outbuf=0x14008a421 "", 
    name=0x11ffffd06 "LANMAN", setup=0x0, data=0x0, params=0x140079f60 "÷", 
    suwcnt=0, tdscnt=0, tpscnt=23, mdrcnt=0, mprcnt=4) at ipc.c:3564
#5  0x120056bf0 in reply_trans (inbuf=0x14007a001 "", outbuf=0x14008a421 "")
    at ipc.c:3697
#6  0x1200796e4 in switch_message (inbuf=0x14007a001 "", outbuf=0x14008a421 "")
    at server.c:4650
#7  0x12007a160 in construct_reply (inbuf=0x14007a001 "", 
    outbuf=0x14008a421 "") at server.c:4815
#8  0x120073b80 in process_smb (inbuf=0x14007a001 "", outbuf=0x14008a421 "")
    at server.c:2688
#9  0x12007a570 in process () at server.c:4956
#10 0x12007b41c in main (argv=0x1) at server.c:5268
(gdb) quit

I hope THIS helps...

=== Tim

|  Tim Winders, CNE, MCSE        |  Email:  TWinders at   |
|  Network Administrator         |  Phone:  806-894-9611 x 2369     |
|  South Plains College          |  Fax:    806-897-4711            |

More information about the samba-technical mailing list