Session request failed

David Elkin Ctdm1 at brisbane.qld.gov.au
Tue Jan 18 02:13:26 GMT 2000


Hi guys, Iam very new to samba, I have the o'reilly and SSC books. I have
reviewed your archives and Iam still stuck with what I believe to be a
very simple problem (for someone who knows SAMBA, which I dont). I
have started smbd and nmbd using samba.sh (listed below) this file is
located on my 3.3 freebsd server /usr/local/etc/
Both daemons appear to be running but when I preform the 2 commands
below to verify they are configured you get the following:

# nmblookup -B rapidtest
Sending queries to 10.0.0.30

# smbclient -L rapidtest -U '' -N
Added interface ip=10.0.0.30 bcast=10.0.0.255 nmask=255.255.255.0
session request to RAPIDTEST failed
session request to *SMBSERVER failed  

I have run a testparm on my smb.conf and it has no errors.

I have included my smb.conf and samba.sh below to assist. Also see
below are my log files
Any help would be greatly appreciated.

Cheers
Dave

smb.conf ----------------------------------------

[global]
	workgroup = SIMPLE
[test]
	comment = For testing only, Please
	path = /usr/local/samba/test
	read only = no
	guest ok = yes


samba.sh ---------------------------------------

#!/bin/sh
smbspool=/var/spool/samba
pidfiledir=/var/run
smbd=/usr/local/sbin/smbd
nmbd=/usr/local/sbin/nmbd

# start
if [ "x$1" = "x" -o "x$1" = "xstart" ]; then
	if [ -f $smbd ]; then
		if [ -d $smbspool ]; then
			rm -f $smbspool/*
		fi
		echo -n ' Samba'
		$smbd -D
		$nmbd -D
	fi

# stop
elif [ "x$1" = "xstop" ]; then
	kill `cat $pidfiledir/smbd.pid`
	kill `cat $pidfiledir/nmbd.pid`
fi

log.smb---------------

[2000/01/12 11:21:07, 1] smbd/server.c:main(628)
  smbd version 2.0.5a started.
  Copyright Andrew Tridgell 1992-1998
[2000/01/12 11:21:07, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1054 are
available.
[2000/01/12 14:30:46, 0] smbd/oplock.c:open_oplock_ipc(92)
  open_oplock_ipc: Failed to get local UDP socket for address 100007f.
Error was Can't assign requested address
[2000/01/12 14:30:46, 0] smbd/oplock.c:open_oplock_ipc(92)
  open_oplock_ipc: Failed to get local UDP socket for address 100007f.
Error was Can't assign requested address
[2000/01/12 21:40:36, 1] smbd/server.c:main(628)
  smbd version 2.0.5a started.
  Copyright Andrew Tridgell 1992-1998
[2000/01/12 21:40:36, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1054 are
available.



log.nmb ----------------------------------------------------------------


[2000/01/12 11:16:54, 0] nmbd/nmbd.c:sig_term(68)
  Got SIGTERM: going down...
[2000/01/12 11:21:07, 1] nmbd/nmbd.c:main(684)
  Netbios nameserver version 2.0.5a started.
  Copyright Andrew Tridgell 1994-1998
[2000/01/12 11:26:53, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(406)
  *****
  
  Samba name server RAPIDTEST is now a local master browser for
workgroup SIMPLE on subnet 10.0.0.30
  
  *****
[2000/01/12 21:40:36, 1] nmbd/nmbd.c:main(684)
  Netbios nameserver version 2.0.5a started.
  Copyright Andrew Tridgell 1994-1998
[2000/01/12 21:46:26, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(406)
  *****
  
  Samba name server RAPIDTEST is now a local master browser for
workgroup SIMPLE on subnet 10.0.0.30
  
  *****


----
This mail item has passed through an insecure network. 
All enquiries should be directed to the message author.


More information about the samba mailing list