Win95 Change Password on Digital Unix?
Tim Winders
twinders at SPC.cc.tx.us
Sat May 23 19:42:36 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....
Well, my system doesn't have gdb so I used dbx. If you can point me to a
source for gdb, I will install it and use that... I also compiled with
-g3, is that OK? Finally, dbx doesn't have a bt command, so I used where.
Here it is...
(dbx) where
> 0 SamOEMhash(data = (nil), key = 0x46000000000000) ["smbdes.c":396,
0x1200280
18]
1 check_oem_password(user = 0x11ffffa50 = "TWINDERS", data = (nil),
psmbpw =
0x11ffff9b8, new_passwd = 0x11ffff9d0 = "`u^N\200\377^C")
["chgpasswd.c":590, 0x
120068940]
2 api_SamOEMChangePassword(param = 0x1, data = (nil), rparam =
0x11ffffb30, r
data_len = 0x11ffffb28, rparam_len = 0x11ffffb20) ["ipc.c":1707,
0x12004f8bc]
3 api_reply(outbuf = 0x14008a421 = "", data = (nil), params =
0x140079f60 = "
^", tdscnt = -2146010447, tpscnt = 23, mdrcnt = 0, mprcnt = 4)
["ipc.c":3516, 0x
120055fb0]
4 named_pipe(outbuf = 0x14008a421 = "", name = 0x11ffffd06 = "LANMAN",
setup
= (nil), data = (nil), params = 0x140079f60 = "^", suwcnt = 0, tdscnt = 0,
tpscn
t = 23, mdrcnt = 0, mprcnt = 4) ["ipc.c":3564, 0x1200561d8]
5 reply_trans(inbuf = 0x14007a001 = "", outbuf = 0x14008a421 = "")
["ipc.c":3
697, 0x120056bec]
6 switch_message(inbuf = 0x14007a001 = "", outbuf = 0x14008a421 = "")
["serve
r.c":4650, 0x1200796e0]
7 construct_reply(inbuf = 0x14007a001 = "", outbuf = 0x14008a421 = "")
["serv
er.c":4815, 0x12007a15c]
8 process_smb(inbuf = 0x14007a001 = "", outbuf = 0x14008a421 = "")
["server.c
":2688, 0x120073b7c]
9 process() ["server.c":4956, 0x12007a56c]
10 main(argv = 0x1) ["server.c":5268, 0x12007b418]
I hope this helps...
=== Tim
---------------------------------------------------------------------
| Tim Winders, CNE, MCSE | Email: TWinders at SPC.cc.tx.us |
| Network Administrator | Phone: 806-894-9611 x 2369 |
| South Plains College | Fax: 806-897-4711 |
---------------------------------------------------------------------
More information about the samba-technical
mailing list