[Samba] Samba Configuration
Matt Burkhardt
mlb at imparisystems.com
Wed May 27 13:09:42 GMT 2009
On Mon, 2009-05-25 at 23:06 +0300, Liutauras Adomaitis wrote:
> On Mon, May 25, 2009 at 10:29 PM, Matt Burkhardt <mlb at imparisystems.com> wrote:
> > Maybe I'm missing this - but I'm having problems setting up some file
> > shares that are limited to certain groups. I've done countless searches
> > on setups and on the tree connnect failed error message, and just
> > haven't found anything that solves my problem.
> >
> > I am able to create shares that are basically open to the public, but I
> > know the security is all messed up.
> >
> > I have openLDAP set up, can log onto the Samba server, but when I try to
> > set up the security, I just end up with
> >
> >> smbclient //Ubuntu/Staff
> >> Enter mlb's password:
> >> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]
> >> tree connect failed: NT_STATUS_ACCESS_DENIED
>
> I think there is a number of possible answers or potential problems.
> your smb.conf, logs (level 10 it is not necessary probably, but 3
> atleast - I think) is needed.
>
> Liutauras
Ok - I set log level = 3 in /etc/samba/smb.conf and restarted the Samba
server, then tried to logon with smbclient //Ubuntu/Staff and then
stopped the server and here are smbd and nmbd only with the time stamp
from after the restart
--
Matt Burkhardt, M.Sci. Technology Management
mlb at imparisystems.com
(301) 682-7901
502 Fairview Avenue
Frederick, MD 21701
http://www.imparisystems.com
-------------- next part --------------
[2009/05/27 09:02:16, 0] nmbd/nmbd.c:main(721)
Netbios nameserver version 3.0.28a started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/05/27 09:02:16, 3] nmbd/nmbd.c:reload_nmbd_services(298)
services not loaded
[2009/05/27 09:02:16, 2] nmbd/nmbd.c:main(745)
Becoming a daemon.
[2009/05/27 09:02:16, 2] lib/tallocmsg.c:register_msg_pool_usage(105)
Registered MSG_REQ_POOL_USAGE
[2009/05/27 09:02:16, 2] lib/dmallocmsg.c:register_dmalloc_msgs(75)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2009/05/27 09:02:16, 3] nmbd/nmbd.c:main(783)
Opening sockets 137
[2009/05/27 09:02:16, 3] nmbd/nmbd.c:open_sockets(639)
open_sockets: Broadcast sockets opened.
[2009/05/27 09:02:16, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
[2009/05/27 09:02:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
making subnet name:192.168.1.100 Broadcast address:192.168.1.255 Subnet mask:255.255.255.0
[2009/05/27 09:02:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
making subnet name:UNICAST_SUBNET Broadcast address:192.168.1.100 Subnet mask:192.168.1.100
[2009/05/27 09:02:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2009/05/27 09:02:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
making subnet name:WINS_SERVER_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2009/05/27 09:02:16, 2] nmbd/nmbd_lmhosts.c:load_lmhosts_file(41)
load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
[2009/05/27 09:02:16, 3] nmbd/nmbd.c:main(802)
Loaded hosts file /etc/samba/lmhosts
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name UBUNTU<03> with first IP 192.168.1.100 ttl=258536 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<20> with first IP 192.168.1.100 ttl=294187 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name UBUNTU<20> with first IP 192.168.1.100 ttl=258536 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<1b> with first IP 192.168.1.100 ttl=258536 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<1c> with first IP 192.168.1.100 ttl=258536 nb_flags=e6 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 255.255.255.255 ttl=258536 nb_flags=e6 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name UBUNTU<00> with first IP 192.168.1.100 ttl=258536 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 255.255.255.255 ttl=258536 nb_flags=e6 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<03> with first IP 192.168.1.100 ttl=294187 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_workgroupdb.c:initiate_myworkgroup_startup(245)
initiate_myworkgroup_startup: preferred master startup for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_serverlistdb.c:create_server_on_workgroup(157)
create_server_on_workgroup: Created server entry UBUNTU of type 40819a0b (ubuntu server (Samba, Ubuntu)) on workgroup WORKGROUP.
[2009/05/27 09:02:16, 3] nmbd/nmbd_workgroupdb.c:initiate_myworkgroup_startup(265)
initiate_myworkgroup_startup: Added server name entry UBUNTU on subnet 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name UBUNTU<20> with first IP 192.168.1.100 ttl=259200 nb_flags=64 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name UBUNTU<03> with first IP 192.168.1.100 ttl=259200 nb_flags=64 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name UBUNTU<00> with first IP 192.168.1.100 ttl=259200 nb_flags=64 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 192.168.1.100 ttl=259200 nb_flags=e4 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 192.168.1.100 ttl=259200 nb_flags=e4 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_serverlistdb.c:create_server_on_workgroup(157)
create_server_on_workgroup: Created server entry UBUNTU of type 40819a0b (ubuntu server (Samba, Ubuntu)) on workgroup WORKGROUP.
[2009/05/27 09:02:16, 3] nmbd/nmbd_workgroupdb.c:initiate_myworkgroup_startup(265)
initiate_myworkgroup_startup: Added server name entry UBUNTU on subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet REMOTE_BROADCAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet REMOTE_BROADCAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet REMOTE_BROADCAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet REMOTE_BROADCAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_sendannounce.c:send_host_announcement(208)
send_host_announcement: type 819a0b for host UBUNTU on subnet 192.168.1.100 for workgroup WORKGROUP
[2009/05/27 09:02:16, 0] nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:16, 2] nmbd/nmbd_logonnames.c:become_logon_server(136)
become_logon_server: Atempting to become logon server for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_logonnames.c:become_logon_server(139)
become_logon_server: go to first stage: register WORKGROUP<1c> name
[2009/05/27 09:02:16, 0] nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup WORKGROUP on subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 2] nmbd/nmbd_logonnames.c:become_logon_server(136)
become_logon_server: Atempting to become logon server for workgroup WORKGROUP on subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_logonnames.c:become_logon_server(139)
become_logon_server: go to first stage: register WORKGROUP<1c> name
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<1c> with first IP 192.168.1.100 ttl=259200 nb_flags=e4 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(335)
become_domain_master_browser_wins:
Attempting to become domain master browser on workgroup WORKGROUP, subnet UNICAST_SUBNET.
[2009/05/27 09:02:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(349)
become_domain_master_browser_wins: querying WINS server from IP 192.168.1.100 for domain master browser name WORKGROUP<1b> on workgroup WORKGROUP
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1892)
wins_process_name_query: name query for name WORKGROUP<1b> from IP 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1944)
wins_process_name_query: name query for name WORKGROUP<1b> returning first IP 192.168.1.100.
[2009/05/27 09:02:16, 3] nmbd/nmbd_become_dmb.c:become_domain_master_query_success(222)
become_domain_master_query_success():
Our address (192.168.1.100) returned in query for name WORKGROUP<1b> (domain master browser name) on subnet UNICAST_SUBNET.
Continuing with domain master code.
[2009/05/27 09:02:16, 2] nmbd/nmbd_become_dmb.c:become_domain_master_stage1(181)
become_domain_master_stage1: Becoming domain master browser for workgroup WORKGROUP on subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_become_dmb.c:become_domain_master_stage1(190)
become_domain_master_stage1: go to first stage: register <1b> name
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<1b> with first IP 192.168.1.100 ttl=259200 nb_flags=64 to subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_multihomed_name_registration_request(1520)
wins_process_multihomed_name_registration_request: name registration for name UBUNTU<20> IP 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_multihomed_name_registration_request(1520)
wins_process_multihomed_name_registration_request: name registration for name UBUNTU<03> IP 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_multihomed_name_registration_request(1520)
wins_process_multihomed_name_registration_request: name registration for name UBUNTU<00> IP 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1138)
wins_process_name_registration_request: Group name registration for name WORKGROUP<00> IP 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1222)
wins_process_name_registration_request: Adding IP 255.255.255.255 to group name WORKGROUP<00>.
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1138)
wins_process_name_registration_request: Group name registration for name WORKGROUP<1e> IP 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1222)
wins_process_name_registration_request: Adding IP 255.255.255.255 to group name WORKGROUP<1e>.
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1138)
wins_process_name_registration_request: Group name registration for name WORKGROUP<1c> IP 192.168.1.100
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1222)
wins_process_name_registration_request: Adding IP 192.168.1.100 to group name WORKGROUP<1c>.
[2009/05/27 09:02:16, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup WORKGROUP on subnet UNICAST_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_multihomed_name_registration_request(1520)
wins_process_multihomed_name_registration_request: name registration for name WORKGROUP<1b> IP 192.168.1.100
[2009/05/27 09:02:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
*****
Samba server UBUNTU is now a domain master browser for workgroup WORKGROUP on subnet UNICAST_SUBNET
*****
[2009/05/27 09:02:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303)
become_domain_master_browser_bcast: querying subnet 192.168.1.100 for domain master browser on workgroup WORKGROUP
[2009/05/27 09:02:16, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1892)
wins_process_name_query: name query for name *<1b> from IP 192.168.1.100
[2009/05/27 09:02:20, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name UBUNTU<20> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet 192.168.1.100
[2009/05/27 09:02:20, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name UBUNTU<03> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet 192.168.1.100
[2009/05/27 09:02:20, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name UBUNTU<00> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet 192.168.1.100
[2009/05/27 09:02:20, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 192.168.1.100 ttl=0 nb_flags=e0 to subnet 192.168.1.100
[2009/05/27 09:02:20, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 192.168.1.100 ttl=0 nb_flags=e0 to subnet 192.168.1.100
[2009/05/27 09:02:20, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<1c> with first IP 192.168.1.100 ttl=0 nb_flags=e0 to subnet 192.168.1.100
[2009/05/27 09:02:20, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:20, 2] nmbd/nmbd_become_dmb.c:become_domain_master_stage1(181)
become_domain_master_stage1: Becoming domain master browser for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:20, 3] nmbd/nmbd_become_dmb.c:become_domain_master_stage1(190)
become_domain_master_stage1: go to first stage: register <1b> name
[2009/05/27 09:02:20, 3] nmbd/nmbd_elections.c:check_elections(366)
check_elections: >>> Starting election for workgroup WORKGROUP on subnet 192.168.1.100 <<<
[2009/05/27 09:02:22, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(419)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2009/05/27 09:02:22, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:23, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1892)
wins_process_name_query: name query for name UBUNTU<20> from IP 127.0.0.1
[2009/05/27 09:02:23, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1944)
wins_process_name_query: name query for name UBUNTU<20> returning first IP 192.168.1.100.
[2009/05/27 09:02:24, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:24, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
add_name_to_subnet: Added netbios name WORKGROUP<1b> with first IP 192.168.1.100 ttl=0 nb_flags=60 to subnet 192.168.1.100
[2009/05/27 09:02:24, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
*****
Samba server UBUNTU is now a domain master browser for workgroup WORKGROUP on subnet 192.168.1.100
*****
[2009/05/27 09:02:27, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:27, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(419)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2009/05/27 09:02:29, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:31, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:31, 2] nmbd/nmbd_elections.c:run_elections(204)
run_elections: >>> Won election for workgroup WORKGROUP on subnet 192.168.1.100 <<<
[2009/05/27 09:02:31, 2] nmbd/nmbd_become_lmb.c:become_local_master_browser(537)
become_local_master_browser: Starting to become a master browser for workgroup WORKGROUP on subnet 192.168.1.100
[2009/05/27 09:02:31, 3] nmbd/nmbd_become_lmb.c:become_local_master_browser(539)
become_local_master_browser: first stage - attempt to register ^1^2__MSBROWSE__^2^1
[2009/05/27 09:02:31, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(419)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2009/05/27 09:02:32, 0] nmbd/nmbd.c:terminate(58)
Got SIGTERM: going down...
[2009/05/27 09:02:32, 3] nmbd/nmbd_sendannounce.c:send_host_announcement(208)
send_host_announcement: type 0 for host UBUNTU on subnet 192.168.1.100 for workgroup WORKGROUP
-------------- next part --------------
[2009/05/27 09:02:16, 0] smbd/server.c:main(944)
smbd version 3.0.28a started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[homes]"
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[netlogon]"
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[profiles]"
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[printers]"
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[print$]"
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[bigdrive]"
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[Business]"
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[Editors]"
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[Members]"
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[Staff]"
[2009/05/27 09:02:16, 1] param/loadparm.c:lp_do_parameter(3541)
WARNING: The "only user" option is deprecated
[2009/05/27 09:02:16, 2] param/loadparm.c:do_section(3819)
Processing section "[tmp]"
[2009/05/27 09:02:16, 3] param/loadparm.c:lp_add_ipc(2733)
adding IPC service
[2009/05/27 09:02:16, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2009/05/27 09:02:16, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2009/05/27 09:02:16, 3] param/loadparm.c:lp_add_printer(2771)
adding printer service HP_Photosmart_C3100_series_USB_1
[2009/05/27 09:02:16, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
[2009/05/27 09:02:16, 3] smbd/server.c:main(982)
loaded services
[2009/05/27 09:02:16, 3] smbd/server.c:main(997)
Becoming a daemon.
[2009/05/27 09:02:16, 2] lib/tallocmsg.c:register_msg_pool_usage(105)
Registered MSG_REQ_POOL_USAGE
[2009/05/27 09:02:16, 2] lib/dmallocmsg.c:register_dmalloc_msgs(75)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2009/05/27 09:02:16, 2] lib/smbldap_util.c:smbldap_search_domain_info(256)
smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=WORKGROUP))]
[2009/05/27 09:02:16, 2] lib/smbldap.c:smbldap_open_connection(786)
smbldap_open_connection: connection opened
[2009/05/27 09:02:17, 3] lib/smbldap.c:smbldap_connect_system(997)
ldap_connect_system: succesful connection to the LDAP server
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/05/27 09:02:17, 2] passdb/pdb_ldap.c:init_sam_from_ldap(545)
init_sam_from_ldap: Entry found for user: root
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 2] passdb/pdb_ldap.c:init_group_from_ldap(2167)
init_group_from_ldap: Entry found for group: 544
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] passdb/lookup_sid.c:store_gid_sid_cache(1151)
store_gid_sid_cache: gid 544 in cache -> S-1-5-32-544
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] lib/privileges.c:get_privileges(261)
get_privileges: No privileges assigned to SID [S-1-5-21-3529111891-2609867799-3129462049-500]
[2009/05/27 09:02:17, 3] lib/privileges.c:get_privileges(261)
get_privileges: No privileges assigned to SID [S-1-5-2]
[2009/05/27 09:02:17, 3] lib/privileges.c:get_privileges(261)
get_privileges: No privileges assigned to SID [S-1-5-11]
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(250)
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3529111891-2609867799-3129462049-500
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(250)
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3529111891-2609867799-3129462049-500
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(250)
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3529111891-2609867799-3129462049-500
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(250)
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3529111891-2609867799-3129462049-500
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(250)
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3529111891-2609867799-3129462049-500
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(250)
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3529111891-2609867799-3129462049-500
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(250)
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3529111891-2609867799-3129462049-500
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(250)
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3529111891-2609867799-3129462049-500
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(250)
[2009/05/27 09:02:17, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3529111891-2609867799-3129462049-500
se_access_check: also S-1-5-32-544
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] passdb/lookup_sid.c:fetch_gid_from_cache(1107)
fetch gid from cache 544 -> S-1-5-32-544
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] lib/privileges.c:get_privileges(261)
get_privileges: No privileges assigned to SID [S-1-5-21-3529111891-2609867799-3129462049-501]
[2009/05/27 09:02:17, 3] lib/privileges.c:get_privileges(261)
get_privileges: No privileges assigned to SID [S-1-22-2-65534]
[2009/05/27 09:02:17, 3] lib/privileges.c:get_privileges(261)
get_privileges: No privileges assigned to SID [S-1-5-2]
[2009/05/27 09:02:17, 3] lib/privileges.c:get_privileges(261)
get_privileges: No privileges assigned to SID [S-1-5-32-546]
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/27 09:02:17, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:17, 3] printing/printing.c:start_background_queue(1388)
start_background_queue: Starting background LPQ thread
[2009/05/27 09:02:17, 2] smbd/server.c:open_sockets_smbd(458)
waiting for a connection
[2009/05/27 09:02:33, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:33, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2009/05/27 09:02:33, 3] smbd/server.c:exit_server_common(768)
Server exit (normal exit)
[2009/05/27 09:02:33, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/05/27 09:02:33, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2009/05/27 09:02:33, 3] smbd/connection.c:yield_connection(76)
yield_connection: tdb_delete for name failed with error Record does not exist.
[2009/05/27 09:02:33, 3] smbd/server.c:exit_server_common(768)
Server exit (normal exit)
More information about the samba
mailing list