Prichard. Thanks for the time you are spending on this with me.
Sorry to give you so much reading. Answers to your questions are in the print outs below.
Well I found I had more than one inetd file and when I put the swat entry and the two netbios-ns and netbios-ssn lines in both #/usr/local/samba/bin/smbclient -L banora sprang to life as you can see below.
The aix5.2 machine all this is happening on is host banora 192.168.0.144.
In the smbclient printout below GIGI is my XP machine in the P2P network and Printer is a HP4500N on the P2P network connected via cat5 cable to the Switch/Hub like GIGI and banora are.
#/usr/local/samba/bin/testparm also looks good as per below.
The only thing not working is
http://banora:901 which I put into seamonkey on banora and cannot get that Samba configuration page to come up.
Have a W2K machine on P2P network with Firefox and it did not work in this. GIGI/XP runs IE7 but it did not work on this either. Tried
http://banora:901,
http://banora and
http://192.168.0.144 on both W2K and XP.
This
http://banora:901 seems to be bound up with the " swat 901/tcp " entry I put in /etc/services . As you can see below there is another 3 " services " items in the computer.
(a) /usr /lpp/bos. net/inst_ root/ etc/services This looks exactly the same as /etc/services
(b) /usr /websm/codebase/com/ibm/websm/ apps/wsmperf/services Services here is a directory
(c) /etc/security/services This has a few port/tcp lines
Should the line " swat 901/tcp " go into the services file in (a) and (c) above. Did not want to fiddle with files.
Thanks
PS Note there are also two smb.conf files, both the same content as set out below.
Print outs for your perusal
# find / -name inetd.conf
/usr/lpp/bos.net/inst_ root/etc/inetd.conf
/etc/inetd.conf
# find / -name smb.conf
/usr/local/samba/lib/smb.conf
/etc/samba/smb.conf .
# find / -name smbd
/usr/local/samba/sbin/smbd
# find / -name nmbd
/usr/local/samba/sbin/nmbd
# find / -name swat
/usr/local/samba/sbin/swat
/usr/local/samba/swat
# find / -name services
/usr /lpp/bos. net/inst_ root/ etc/services
/usr /websm/codebase/com/ibm/websm/ apps/wsmperf/services
/etc/security/services
/etc/services
# find / -name smbclient
/usr/local/samba/bin/smbclient
# /usr/local/samba/bin/smbclient -L banora
Password:
Anonymous login successful
Domain=[OPEN SOURCE] OS=[Unix] Server=[Samba 3.0.4]
Sharename Type Comment
homes Disk
public Disk
IPC$ IPC IPC Service (Samba 3.0.4.0)
ADMIN$ IPC IPC Service (Samba 3.0.4.0)
pc14500dup Printer
psdup Printer
Anonymous login successful
Domain=[OPEN SOURCE] OS=[Unix] Server=[Samba 3.0.4]
Server Comment
BANORA Samba 3.0.4.0
Workgroup Master
OPEN SOURCE BANORA
WORKGROUP GIGI
# find / -name testparm
/usr/local/samba/bin/testparm
# /usr/local/samba/bin/testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section" [homes]"
Processing section" [printers]"
Processing section" [public]"
Loaded services file OK.
Server role: ROLE_ STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = OPEN SOURCE
server string = Samba 3.0.4.0
smb passwd file = /var/samba/private/smbpasswd
log file = /usr/local/samba/var/log.%m
mangle case = Yes
[homes]
force user = %U
read only = No
hosts allow = 129.183.
[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No
[public]
path = /tmp
guest ok = Yes
# ifconfig -a
enD: flags=4e080863,80<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROU
PRT, 64BIT, PSEG,CHAIN>
inet 192.168.0.144 netmask OxffffffOO broadcast 192.168.0.255
100: flags=e08084b<UP, BROADCAST, LOOPBACK,RUNNING, SIMPLEX, MULTI CAST,GROUPRT,64
BIT>
inet 127.0.0.1 netmask OxffOOOOOO broadcast 127.255.255.255
inet6 : :1/0
tcp_ sendspace 65536 tcp recvspace 65536
# hostname
banora
#
log.banora is empty
log.192.168.0.144 is empty
log.nmbd
[2008/04/09 11:36:41, 0] nmbd/nmbd.c:main(664)
Netbios nameserver version 3.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
~fO08/O4/09 11:42:27, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(39
*****
Samba name server BANORA is now a local master browser for workgroup OPEN S
OURCE on subnet 192.168.0.144
*****
[2008/04/09 12:02:57, 0] nmbd/nmbd.c:terminate(54)
Got SIGTERM: going down...
[2008/04/10 12:50:09, 0] nmbd/nmbd.c:main(664)
Netbios nameserver version 3.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
~fO08/O4/10 12:55:58, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(39
*****
Samba name server BANORA is now a local master browser for workgroup OPEN S
OURCE on subnet 192.168.0.144
*****
[2008/04/10 12:56:00, 0] nmbd/nmbd. c: terminate (54)
Got SIGTERM: going down...
[2008/04/10 15:14:13, 0] nmbd/nmbd.c:main(664)
Netbios nameserver version 3.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
[2008/04/10 15:19:56, 0] nmbd/nmbd_become_lmb.c:become local master stage2(39
6) - - -
*****
Samba name server BANORA is now a local master browser for workgroup OPEN S
OURCE on subnet 192.168.0.144
*****
log,smbd
[2008/04/09 11:35:44, 0] smbd/server.c:main(757)
smbd version 3.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2008/04/10 12:39:23, 0] smbd/server.c:main(757)
smbd version 3.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2008/04/10 12:43:00, 0] smbd/server.c:main(757)
smbd version 3.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2008/04/10 12:43:02, 0] smbd/server.c:main(757)
smbd version 3.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2008/04/10 15:28:19, 0] smbd/server.c:main(757)
smbd version 3.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2008/04/10 15:28:23, 0] smbd/server.c:main(757)
smbd version 3.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004