Problem with samba domain users.

Long Doan ldoan at knowledgeplanet.com
Thu Jan 13 18:12:18 GMT 2000


Found it...

lib/util.c:3292
server_list is NULL at the DEBUG() statement.

Long.

----- Original Message -----
From: "Luke Kenneth Casson Leighton" <lkcl at samba.org>
To: "Long Doan" <ldoan at knowledgeplanet.com>
Cc: "Samba NT Domains Mailing List" <samba-ntdom at samba.anu.edu.au>
Sent: Thursday, January 13, 2000 12:18 PM
Subject: Re: Problem with samba domain users.



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