Session request failed: SMB error

werner maes werner.maes at cc.kuleuven.ac.be
Tue Feb 29 13:49:45 GMT 2000


Hello all,

I receive some errors which I cannot explain :
Hopefully there's someone who can help me.
When I type: "smbclient -L 10.33.6.180"
I get:

Session Request to 10.33.6.180 failed (code 0)
Session Request to 10 failed (code 0)
Session Request to *SMBSERVER failed (code 0)

What does code 0 mean?

Log.smb shows problems with socket-options:
But I haven't changed these options and they used to work fine.
Has anyone seen this problem / any ideas?

[2000/02/29 09:42:38, 1] smbd/server.c:main(643)
  smbd version 2.0.6 started.
  Copyright Andrew Tridgell 1992-1998
[2000/02/29 09:42:38, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1014 are
available.
[2000/02/29 09:51:40, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/02/29 09:51:40, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2000/02/29 10:00:18, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/02/29 10:00:18, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2000/02/29 10:00:18, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_RCVBUF (Error Bad file descriptor)
[2000/02/29 10:00:18, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_SNDBUF (Error Bad file descriptor)

Also the following occurs:

BEFORE: after the daemons have started

root       844  0.1 14.9  3784 2164 ?        S    11:01   0:00 smbd -D
root       855  0.0  6.9  1996 1004 ?        S    11:01   0:00 nmbd -D
root       868  0.0  3.4  1240  492 tty1     S    11:02   0:00 grep mbd

[root at werner samba]# smbclient -L 10.33.6.180
added interface ip=10.33.6.180 bcast=10.33.6.255 nmask=255.255.255.0
session request to 10.33.6.180 failed (code 0)
session request to 10 failed (code 0)
session request to *SMBSERVER failed (code 0)

AFTER: after the smbclient command

[root at werner samba]# ps aux | grep mbd
root       844  0.0  0.5  3784   76 ?        S    11:01   0:00 [smbd]
root       855  0.0  2.4  1996  360 ?        S    11:01   0:00 nmbd -D
root       870 52.6  4.0  3912  580 ?        R    11:03   0:41 smbd -D
root       873 39.3  5.6  3912  812 ?        R    11:03   0:23 smbd -D
root       874 33.4  5.6  3912  812 ?        R    11:03   0:13 smbd -D
root       876  6.0  3.4  1240  492 tty1     S    11:04   0:00 grep mbd

The original samba-proces is now between brackets.
PS: What does this exactly mean?

Thanks a lot,

Werner Maes
KULeuven



More information about the samba mailing list