SWAT authentication and loopback interface
William Brioschi
wbrioschi at netcommunications.it
Mon Oct 15 01:36:22 GMT 2001
I'm using Samba 2.2.1a on Solaris 8.
1) Can SWAT do its authentication on something different than unix password?
I have multiple instances of Samba running on the same server, serving
different customers; I'd like to give them a SWAT interface to theirs but
I'm not going to give them root password.
2) Ethernet ip address is 10.1.2.10 with mask 255.255.255.0; I added a
loopback alias with ip 10.1.0.10 mask 255.255.255.255:
goblin# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
lo0:1: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 10.1.0.10 netmask ffffffff
mether0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.1.2.10 netmask ffffff00 broadcast 10.1.2.255
ether 0:0:be:a7:1:10
In my smb.conf I have:
interfaces = 10.1.0.10/32
bind interfaces only = yes
wins server = 10.1.1.30
In log.nmb I get:
[2001/10/09 14:17:16, 1] lib/debug.c:debug_message(247)
INFO: Debug class all level = 2 (pid 4002 from pid 4002)
[2001/10/09 12:17:16, 2] nmbd/nmbd.c:main(804)
Becoming a daemon.
[2001/10/09 12:17:16, 2] lib/interface.c:add_interface(85)
added interface ip=10.1.0.10 bcast=255.255.255.255 nmask=0.0.0.0
[2001/10/09 12:17:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
making subnet name:10.1.0.10 Broadcast address:255.255.255.255 Subnet
mask:0.0.0.0
[2001/10/09 12:17:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
making subnet name:UNICAST_SUBNET Broadcast address:10.1.1.30 Subnet
mask:10.1.1.30
[2001/10/09 12:17:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0
Subnet mask:0.0.0.0
[2001/10/09 12:17:16, 2] nmbd/nmbd_lmhosts.c:load_lmhosts_file(43)
load_lmhosts_file: Can't open lmhosts file /opt/samba-2.2.1a/lib/lmhosts.
Error was No such file or directory
[2001/10/09 12:17:37, 2]
nmbd/nmbd_nameregister.c:register_name_timeout_response(201)
register_name_timeout_response: WINS server at address 10.1.1.30 is not
responding.
(... 5 times ...)
I see two problems: the netmask and broadcast for interface lo:1 are wrong;
WINS is not responding, maybe nmbd is registering 10.1.0.10 with source ip
address 10.1.2.10 and NT is rejecting it?
Nmbd goes on becoming a master browser on subnet 10.1.0.10 but then:
[2001/10/09 12:38:01, 0]
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(360)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name DOMAIN1<1b> for the
workgroup DOMAIN1.
Unable to sync browse lists in this workgroup.
William
More information about the samba
mailing list