Problem with samba domain users.

Luke Kenneth Casson Leighton lkcl at samba.org
Thu Jan 13 17:18:41 GMT 2000


On Thu, 13 Jan 2000, Long Doan wrote:

> Well, I don't get a core dump, so I guest I can try and attach gdb to the
> process that eventually fork() into the one that produces "log.ra". Which
> process should I attach to? smbd?

ok, thisx is tricky.  yes.  however, what you are going to have to do is
this:

just after the fork(), at line 254 in smbd/server.c, put a sleep(20);

this will give you 20 seconds to do this:

ps -aux | grep smbd
[identify the child smbd process: the one with the highest number]
gdb bin/smbd [child-smbd-pid]
gdb-prompt> continue

now you can run smbpasswd or whatever you do to get the INTERNAL error.
then when it exceptions, do a gdb where command.

thx long!




More information about the samba-ntdom mailing list