smbc_open error

Rechtien, Elizabeth J Elizabeth.Rechtien at stlukes-stl.com
Mon Jun 21 15:27:31 MDT 2010


Yes, the smbclient works. I just didn't copy all of the command. This is what is giving the error (-s 0)

The -s 0 option to tcpdump tells it to save an unlimited amount of data per packet. The default is to truncate the packet at something less that what we need to track down problems.


From: derrell.lipman at gmail.com [mailto:derrell.lipman at gmail.com] On Behalf Of Derrell Lipman
Sent: Monday, June 21, 2010 4:18 PM
To: Rechtien, Elizabeth J
Cc: samba-technical at lists.samba.org
Subject: Re: smbc_open error

On Mon, Jun 21, 2010 at 16:00, Rechtien, Elizabeth J <Elizabeth.Rechtien at stlukes-stl.com<mailto:Elizabeth.Rechtien at stlukes-stl.com>> wrote:
Okay, I found tcpdump on the server but I get this error. If I run it without -s, it doesn't write to the file. Can you help?

Thanks!

/usr/sbin/tcpdump -s 0 -w liz                   <
Was tcpdump running in a separate window from the smbclient command?

I don't see the smbclient command shown here at all. You initially said that you could access the file properly using the samba tools, which I assume to be smbclient.
params.c:OpenConfFile() - Unable to open configuration file "0":
        No such file or directory
smbclient: Can't load 0 - run testparm to debug it
Domain=[W8PSCIMAGE2] OS=[Windows Server 2008 R2 Enterprise 7600] Server=[Windows
 Server 2008 R2 Enterprise 6.1]
I think before we worry about libsmbclient issues, it's probably worthwhile for you to work with the samba-users list to get things working using the client tools. Once you've got that working, and can generate a network dump using tcpdump, then it makes sense to go back to your app with libsmbclient to see what's up with it.

The -s 0 option to tcpdump tells it to save an unlimited amount of data per packet. The default is to truncate the packet at something less that what we need to track down problems.

The -w liz option tells it to save the binary network dump in a file called liz.

Derrell


DISCLAIMER:  The contents of this e-mail, including any attachments, contain information which may be confidential, legally privileged, proprietary in nature, or otherwise protected by law from disclosure, and is solely for the use of the intended recipient(s). If you are not the intended recipient, any use, disclosure or copying of this e-mail, including any attachments, is unauthorized and strictly prohibited. If you have received this e-mail in error, please notify us via return e-mail and immediately delete all copies of it from your system. Any opinions either expressed or implied in this e-mail and all attachments, are those of its author only, and do not necessarily reflect those of St. Luke's Hospital.


More information about the samba-technical mailing list