sessionid.tdb missing after build and client read failutre
David Shapiro
david.shapiro at btitele.com
Tue Jul 2 07:40:04 GMT 2002
Thanks. I checked, and it was my note that had the error, but the line in
smb.conf was fine. I wrote a script called smbpanic.sh and tried using it,
but I get the same error about execvp:
#!/usr/local/bin/perl -w
my $pid = shift;
my @program = `/usr/bin/ps -efo pid,comm`;
foreach (@program) {
if (/$pid/) {
my ($space,$pid2,$comm) = split(/\s+/);
my @split = split(/\//,$comm);
$comm = pop @split;
if ($comm and $pid) {
my $cmd = "/usr/local/bin/gdb $comm $pid";
system("$cmd") or die "Failed to run command:
$cmd\n";
}
exit;
}
}
It doesn't seem to want to run anything. In the interim, I run smbstatus
and see the pid. This pid changes a few times before a window opens as if
it is about to show the share. Once the window opens, that is the one I was
able to quickly run my script against to get some debug information. It
seems to have a segmentation error during a strcmp and halts during the
fault_report.
David
-----Original Message-----
From: MCCALL,DON (HP-USA,ex1) [mailto:don_mccall at hp.com]
Sent: Tuesday, July 02, 2002 10:11 AM
To: 'David Shapiro'; 'Andrew Bartlett'
Cc: 'Richard Sharpe'; 'samba-technical at lists.samba.org'
Subject: RE: sessionid.tdb missing after build and client read failutre
Hi David,
It looks like you might have misspelt "gdb" in your smb.conf line
(in your message it is spelt "gbd"....
Don
-----Original Message-----
From: David Shapiro [mailto:david.shapiro at btitele.com]
Sent: Tuesday, July 02, 2002 8:56
To: 'Andrew Bartlett'; David Shapiro
Cc: 'Richard Sharpe'; 'samba-technical at lists.samba.org'
Subject: RE: sessionid.tdb missing after build and client read failutre
Thank you Andrew. I was looking at joining because it was mentioned that to
get sessionid.tdb, you needed to join domain. I looked ing smbd.log and saw
a connection from davidsha, and then in my workstation log and saw at the
bottom:
user_in_list: checking user |INS+DavidSha| against |INS+DavidSha|
[2002/07/02 08:40:53, 5] lib/username.c:Get_Pwnam_internals(223)
Trying _Get_Pwnam(), username as lowercase is ins+davidsha
[2002/07/02 08:40:53, 5] lib/username.c:Get_Pwnam_internals(251)
Get_Pwnam_internals did find user [INS+DavidSha]!
[2002/07/02 08:40:53, 1] smbd/service.c:make_connection_snum(513)
Couldn't find group @Users
[2002/07/02 08:40:53, 3] smbd/service.c:make_connection_snum(523)
Connect path is /usr/local/samba/lib
[2002/07/02 08:40:53, 3] smbd/sec_ctx.c:push_sec_ctx(241)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2002/07/02 08:40:53, 3] smbd/uid.c:push_conn_ctx(279)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2002/07/02 08:40:53, 3] smbd/sec_ctx.c:set_sec_ctx(273)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2002/07/02 08:40:53, 0] lib/fault.c:fault_report(36)
===============================================================
[2002/07/02 08:40:53, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 11 in pid 8127 (3.0-alpha17)
Please read the file BUGS.txt in the distribution
[2002/07/02 08:40:53, 0] lib/fault.c:fault_report(39)
===============================================================
I also keep getting an xterm session pop up that says:
xterm: Can't execvp /usr/local/bin/gdb
I think this comes from the line in smb.conf:
panic action = /usr/openwin/bin/xterm -display $DISPLAY -e
/usr/local/bin/gbd -p %d
gdb is in /usr/local/bin. What does it mean it can't execvp it?
-----Original Message-----
From: Andrew Bartlett [mailto:abartlet at samba.org]
Sent: Tuesday, July 02, 2002 8:36 AM
To: David Shapiro
Cc: 'Richard Sharpe'; 'samba-technical at lists.samba.org'
Subject: Re: sessionid.tdb missing after build and client read failutre
David Shapiro wrote:
>
> getent group shows davidsha is in domain admin. I list using a net from a
> server I buildt 3 months ago and have not updated, and the new net command
> from yesterday cvs build of head. Both report I joined the domain, but I
do
> not have a sessionid.tdb after it is done. I can not access shares as it
> stands now...
> Joined domain INS.
So it joined fine. sessionid.tdb is not related to this at all - and
should be created on the first login to the server.
Look into the smbd logs for connections, not the domain join.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-technical
mailing list