用ip随便访问了下,loglevel设置为3,nmbd.log如下:
[2013/12/09 09:38:20, 0] ../source3/nmbd/nmbd.c:902(main)
nmbd version 4.1.2-5.2-3126-SUSE-oS13.1-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2013/12/09 09:38:20, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file "/etc/samba/dhcp.conf"
[2013/12/09 09:38:20, 2] ../source3/lib/tallocmsg.c:124(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2013/12/09 09:38:20, 2] ../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2013/12/09 09:38:20, 3] ../source3/param/loadparm.c:4838(lp_load_ex)
lp_load_ex: refreshing parameters
[2013/12/09 09:38:20, 3] ../source3/param/loadparm.c:750(init_globals)
Initialising global parameters
[2013/12/09 09:38:20, 2] ../source3/param/loadparm.c:543(max_open_files)
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
[2013/12/09 09:38:20, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2013/12/09 09:38:20, 3] ../source3/param/loadparm.c:3564(do_section)
Processing section "[global]"
[2013/12/09 09:38:20, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file "/etc/samba/dhcp.conf"
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd.c:413(reload_nmbd_services)
services not loaded
[2013/12/09 09:38:20, 0] ../source3/nmbd/nmbd.c:941(main)
standard input is not a socket, assuming -D option
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd.c:946(main)
Becoming a daemon.
[2013/12/09 09:38:20, 0] ../source3/nmbd/asyncdns.c:157(start_async_dns)
started asyncdns process 18712
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd.c:1035(main)
Opening sockets 137
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd.c:763(open_sockets)
open_sockets: Broadcast sockets opened.
[2013/12/09 09:38:20, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:2ded:67cd:8214:5d72 bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:20, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:3285:a9ff:feae:7bb6 bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:20, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:5d8b:87e1:aa99:9d4 bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:20, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:6002:93df:8939:1e13 bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:20, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:7940:7ad:3223:730f bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:20, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=192.168.1.2 bcast=192.168.1.255 netmask=255.255.255.0
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd_subnetdb.c:180(make_subnet)
making subnet name:192.168.1.2 Broadcast address:192.168.1.255 Subnet mask:255.255.255.0
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd_subnetdb.c:297(create_subnets)
create_subnets: ignoring non IPv4 interface.
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd_subnetdb.c:297(create_subnets)
create_subnets: ignoring non IPv4 interface.
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd_subnetdb.c:297(create_subnets)
create_subnets: ignoring non IPv4 interface.
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd_subnetdb.c:297(create_subnets)
create_subnets: ignoring non IPv4 interface.
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd_subnetdb.c:297(create_subnets)
create_subnets: ignoring non IPv4 interface.
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd_subnetdb.c:180(make_subnet)
making subnet name:UNICAST_SUBNET Broadcast address:192.168.1.2 Subnet mask:192.168.1.2
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd_subnetdb.c:180(make_subnet)
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2013/12/09 09:38:20, 2] ../source3/nmbd/nmbd_subnetdb.c:180(make_subnet)
making subnet name:WINS_SERVER_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name LOCALHOST<00> with first IP 127.0.0.1 ttl=0 nb_flags= 4 to subnet REMOTE_BROADCAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name LOCALHOST<20> with first IP 127.0.0.1 ttl=0 nb_flags= 4 to subnet REMOTE_BROADCAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd.c:1057(main)
Loaded hosts file /etc/samba/lmhosts
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-SERVER<20> with first IP 192.168.1.2 ttl=258601 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 0.0.0.0 ttl=258601 nb_flags=e4 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-PC<00> with first IP 192.168.1.3 ttl=250915 nb_flags=64 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-PC<20> with first IP 192.168.1.3 ttl=250916 nb_flags=64 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 0.0.0.0 ttl=258601 nb_flags=e4 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __MSBROWSE__<01> with first IP 0.0.0.0 ttl=251404 nb_flags=e4 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-SERVER<03> with first IP 192.168.1.2 ttl=258601 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-SERVER<00> with first IP 192.168.1.2 ttl=258601 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_serverlistdb.c:134(create_server_on_workgroup)
create_server_on_workgroup: Created server entry HOME-SERVER of type 40819a03 (Samba 4.1.2-5.2-3126-SUSE-oS13.1-x86_64) on workgroup WORKGROUP.
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_workgroupdb.c:259(initiate_myworkgroup_startup)
initiate_myworkgroup_startup: Added server name entry HOME-SERVER on subnet 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-SERVER<20> with first IP 192.168.1.2 ttl=259200 nb_flags=64 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-SERVER<03> with first IP 192.168.1.2 ttl=259200 nb_flags=64 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-SERVER<00> with first IP 192.168.1.2 ttl=259200 nb_flags=64 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 192.168.1.2 ttl=259200 nb_flags=e4 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 192.168.1.2 ttl=259200 nb_flags=e4 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_serverlistdb.c:134(create_server_on_workgroup)
create_server_on_workgroup: Created server entry HOME-SERVER of type 40819a03 (Samba 4.1.2-5.2-3126-SUSE-oS13.1-x86_64) on workgroup WORKGROUP.
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_workgroupdb.c:259(initiate_myworkgroup_startup)
initiate_myworkgroup_startup: Added server name entry HOME-SERVER on subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet REMOTE_BROADCAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet REMOTE_BROADCAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet REMOTE_BROADCAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet REMOTE_BROADCAST_SUBNET
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_sendannounce.c:212(send_host_announcement)
send_host_announcement: type 819a03 for host HOME-SERVER on subnet 192.168.1.2 for workgroup WORKGROUP
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_winsserver.c:1648(wins_process_multihomed_name_registration_request)
wins_process_multihomed_name_registration_request: name registration for name HOME-SERVER<20> IP 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_winsserver.c:1648(wins_process_multihomed_name_registration_request)
wins_process_multihomed_name_registration_request: name registration for name HOME-SERVER<03> IP 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_winsserver.c:1648(wins_process_multihomed_name_registration_request)
wins_process_multihomed_name_registration_request: name registration for name HOME-SERVER<00> IP 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_winsserver.c:1186(wins_process_name_registration_request)
wins_process_name_registration_request: Group name registration for name WORKGROUP<00> IP 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_winsserver.c:1270(wins_process_name_registration_request)
wins_process_name_registration_request: Adding IP 0.0.0.0 to group name WORKGROUP<00>.
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_winsserver.c:1186(wins_process_name_registration_request)
wins_process_name_registration_request: Group name registration for name WORKGROUP<1e> IP 192.168.1.2
[2013/12/09 09:38:20, 3] ../source3/nmbd/nmbd_winsserver.c:1270(wins_process_name_registration_request)
wins_process_name_registration_request: Adding IP 0.0.0.0 to group name WORKGROUP<1e>.
[2013/12/09 09:38:24, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-SERVER<20> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet 192.168.1.2
[2013/12/09 09:38:24, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-SERVER<03> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet 192.168.1.2
[2013/12/09 09:38:24, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name HOME-SERVER<00> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet 192.168.1.2
[2013/12/09 09:38:24, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 192.168.1.2 ttl=0 nb_flags=e0 to subnet 192.168.1.2
[2013/12/09 09:38:24, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 192.168.1.2 ttl=0 nb_flags=e0 to subnet 192.168.1.2
[2013/12/09 09:38:24, 2] ../source3/nmbd/nmbd_elections.c:112(check_for_master_browser_fail)
check_for_master_browser_fail: Forcing election on workgroup WORKGROUP subnet 192.168.1.2
[2013/12/09 09:38:24, 3] ../source3/nmbd/nmbd_elections.c:369(check_elections)
check_elections: >>> Starting election for workgroup WORKGROUP on subnet 192.168.1.2 <<<
[2013/12/09 09:38:26, 3] ../source3/nmbd/nmbd_serverlistdb.c:401(write_browse_list)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2013/12/09 09:38:26, 2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.2
[2013/12/09 09:38:26, 2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.2
[2013/12/09 09:38:26, 2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.2
[2013/12/09 09:38:26, 2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.2
[2013/12/09 09:38:26, 2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.2
[2013/12/09 09:38:27, 2] ../source3/nmbd/nmbd_elections.c:42(send_election_dgram)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.2
[2013/12/09 09:38:29, 2] ../source3/nmbd/nmbd_elections.c:42(send_election_dgram)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.2
[2013/12/09 09:38:31, 2] ../source3/nmbd/nmbd_elections.c:42(send_election_dgram)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.2
[2013/12/09 09:38:33, 2] ../source3/nmbd/nmbd_elections.c:42(send_election_dgram)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.2
[2013/12/09 09:38:35, 2] ../source3/nmbd/nmbd_elections.c:42(send_election_dgram)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.2
[2013/12/09 09:38:35, 2] ../source3/nmbd/nmbd_elections.c:205(run_elections)
run_elections: >>> Won election for workgroup WORKGROUP on subnet 192.168.1.2 <<<
[2013/12/09 09:38:35, 2] ../source3/nmbd/nmbd_become_lmb.c:538(become_local_master_browser)
become_local_master_browser: Starting to become a master browser for workgroup WORKGROUP on subnet 192.168.1.2
[2013/12/09 09:38:35, 3] ../source3/nmbd/nmbd_become_lmb.c:540(become_local_master_browser)
become_local_master_browser: first stage - attempt to register ^1^2__MSBROWSE__^2^1
[2013/12/09 09:38:35, 3] ../source3/nmbd/nmbd_serverlistdb.c:401(write_browse_list)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2013/12/09 09:38:39, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __MSBROWSE__<01> with first IP 192.168.1.2 ttl=0 nb_flags=e0 to subnet 192.168.1.2
[2013/12/09 09:38:39, 3] ../source3/nmbd/nmbd_become_lmb.c:453(become_local_master_stage1)
become_local_master_stage1: go to stage 2: register the WORKGROUP<1d> name.
[2013/12/09 09:38:39, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name __MSBROWSE__<01> with first IP 192.168.1.2 ttl=0 nb_flags=e0 to subnet UNICAST_SUBNET
[2013/12/09 09:38:43, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<1d> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet 192.168.1.2
[2013/12/09 09:38:43, 3] ../source3/nmbd/nmbd_become_lmb.c:354(become_local_master_stage2)
become_local_master_stage2: registered as master browser for workgroup WORKGROUP on subnet 192.168.1.2
[2013/12/09 09:38:43, 3] ../source3/nmbd/nmbd_sendannounce.c:70(broadcast_announce_request)
broadcast_announce_request: sending announce request for workgroup WORKGROUP to subnet 192.168.1.2
[2013/12/09 09:38:43, 3] ../source3/nmbd/nmbd_namelistdb.c:263(add_name_to_subnet)
add_name_to_subnet: Added netbios name WORKGROUP<1d> with first IP 192.168.1.2 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2013/12/09 09:38:43, 0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
*****
Samba name server HOME-SERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.2
*****
[2013/12/09 09:38:43, 3] ../source3/nmbd/nmbd_sendannounce.c:170(send_local_master_announcement)
send_local_master_announcement: type 849a03 for name HOME-SERVER on subnet 192.168.1.2 for workgroup WORKGROUP
[2013/12/09 09:38:43, 3] ../source3/nmbd/nmbd_sendannounce.c:189(send_workgroup_announcement)
send_workgroup_announcement: on subnet 192.168.1.2 for workgroup WORKGROUP
[2013/12/09 09:38:43, 3] ../source3/nmbd/nmbd_winsserver.c:2033(wins_process_name_query_request)
wins_process_name_query: name query for name WORKGROUP<1b> from IP 192.168.1.2
[2013/12/09 09:38:43, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[2013/12/09 09:38:46, 3] ../source3/nmbd/nmbd_serverlistdb.c:401(write_browse_list)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
smbd的log如下:
[2013/12/09 09:38:18, 0] ../source3/smbd/server.c:1198(main)
smbd version 4.1.2-5.2-3126-SUSE-oS13.1-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2013/12/09 09:38:18, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file "/etc/samba/dhcp.conf"
[2013/12/09 09:38:18, 2] ../source3/lib/tallocmsg.c:124(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2013/12/09 09:38:18, 2] ../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2013/12/09 09:38:18.743089, 3] ../source3/param/loadparm.c:4838(lp_load_ex)
lp_load_ex: refreshing parameters
[2013/12/09 09:38:18.743130, 3] ../source3/param/loadparm.c:750(init_globals)
Initialising global parameters
[2013/12/09 09:38:18.743179, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2013/12/09 09:38:18.743209, 3] ../source3/param/loadparm.c:3564(do_section)
Processing section "[global]"
[2013/12/09 09:38:18.743311, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file "/etc/samba/dhcp.conf"
[2013/12/09 09:38:18.743442, 2] ../source3/param/loadparm.c:3581(do_section)
Processing section "[printers]"
[2013/12/09 09:38:18.743535, 2] ../source3/param/loadparm.c:3581(do_section)
Processing section "[print$]"
[2013/12/09 09:38:18.743601, 2] ../source3/param/loadparm.c:3581(do_section)
Processing section "[NAS]"
[2013/12/09 09:38:18.743708, 3] ../source3/param/loadparm.c:1773(lp_add_ipc)
adding IPC service
[2013/12/09 09:38:18.743853, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:2ded:67cd:8214:5d72 bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:18.743902, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:3285:a9ff:feae:7bb6 bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:18.743934, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:5d8b:87e1:aa99:9d4 bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:18.743964, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:6002:93df:8939:1e13 bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:18.743993, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=2001:470:19:120c:7940:7ad:3223:730f bcast= netmask=ffff:ffff:ffff:ffff::
[2013/12/09 09:38:18.744022, 2] ../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=192.168.1.2 bcast=192.168.1.255 netmask=255.255.255.0
[2013/12/09 09:38:18.744074, 3] ../source3/smbd/server.c:1257(main)
loaded services
[2013/12/09 09:38:18.744174, 0] ../source3/smbd/server.c:1278(main)
standard input is not a socket, assuming -D option
[2013/12/09 09:38:18.744233, 3] ../source3/smbd/server.c:1289(main)
Becoming a daemon.
[2013/12/09 09:38:18.745567, 2] ../source3/passdb/pdb_interface.c:159(make_pdb_method_name)
No builtin backend found, trying to load plugin
[2013/12/09 09:38:18.746374, 2] ../lib/util/modules.c:191(do_smb_load_module)
Module 'tdbsam' loaded
[2013/12/09 09:38:18.749158, 3] ../source3/auth/token_util.c:439(finalize_local_nt_token)
Failed to fetch domain sid for WORKGROUP
[2013/12/09 09:38:18.749242, 3] ../source3/auth/token_util.c:470(finalize_local_nt_token)
Failed to fetch domain sid for WORKGROUP
[2013/12/09 09:38:18.749826, 3] ../source3/rpc_server/svcctl/srv_svcctl_reg.c:565(svcctl_init_winreg)
Initialise the svcctl registry keys if needed.
[2013/12/09 09:38:18.751679, 3] ../source3/rpc_server/eventlog/srv_eventlog_reg.c:59(eventlog_init_winreg)
Initialise the eventlog registry keys if needed.
[2013/12/09 09:38:18.752131, 3] ../source3/printing/queue_process.c:242(start_background_queue)
start_background_queue: Starting background LPQ thread
[2013/12/09 09:38:18.752887, 1] ../source3/printing/printer_list.c:225(printer_list_get_last_refresh)
Failed to fetch record!
[2013/12/09 09:38:18.752956, 2] ../source3/smbd/server.c:938(smbd_parent_loop)
waiting for connections
[2013/12/09 09:38:18.753408, 3] ../source3/printing/pcap.c:138(pcap_cache_reload)
reloading printcap cache
[2013/12/09 09:38:18.754181, 3] ../source3/printing/pcap.c:189(pcap_cache_reload)
reload status: ok
[2013/12/09 09:38:18.757399, 3] ../source3/param/loadparm.c:1810(lp_add_printer)
adding printer service Photosmart-7400-series
[2013/12/09 09:38:18.757981, 2] ../source3/rpc_client/cli_winreg_spoolss.c:626(winreg_create_printer)
winreg_create_printer: Skipping, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Photosmart-7400-series already exists
[2013/12/09 09:38:18.758460, 3] ../source3/param/loadparm.c:1810(lp_add_printer)
adding printer service Photosmart-7400-series
[2013/12/09 09:38:18.758838, 2] ../source3/rpc_client/cli_winreg_spoolss.c:626(winreg_create_printer)
winreg_create_printer: Skipping, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Photosmart-7400-series already exists
[2013/12/09 09:39:18.800758, 2] ../source3/smbd/server.c:437(remove_child_pid)
Could not find child 18726 -- ignoring
[2013/12/09 09:39:18.811966, 3] ../source3/printing/queue_process.c:76(print_queue_housekeeping)
Printcap cache time expired.
[2013/12/09 09:39:18.812068, 3] ../source3/printing/pcap.c:138(pcap_cache_reload)
reloading printcap cache
[2013/12/09 09:39:18.812630, 3] ../source3/printing/pcap.c:189(pcap_cache_reload)
reload status: ok
[2013/12/09 09:39:18.816288, 2] ../source3/rpc_client/cli_winreg_spoolss.c:626(winreg_create_printer)
winreg_create_printer: Skipping, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Photosmart-7400-series already exists
[2013/12/09 09:39:18.816843, 2] ../source3/rpc_client/cli_winreg_spoolss.c:626(winreg_create_printer)
winreg_create_printer: Skipping, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Photosmart-7400-series already exists
[2013/12/09 09:40:18.857733, 2] ../source3/smbd/server.c:437(remove_child_pid)
Could not find child 18736 -- ignoring
[2013/12/09 09:41:18.919222, 2] ../source3/smbd/server.c:437(remove_child_pid)
Could not find child 18744 -- ignoring