rdnewman |
12-23-2007 09:48 PM |
Frustrated with DHCP and Samba (FC6, XP clients)
I'm running two Linux servers, both FC6 with fairly current updates.
The first server, poppa, hosts an internal DNS behind a firewall only for ease of reference to key machines. I'll go DDNS if I have to, but right only trying to use static DNS. Poppa serves as the gateway and firewall.
The second server, momma, is my DHCP and file server with Samba and NFS. It should assume that everything else connecting to it is behind the firewall. I have an internal wireless network that is an access point only and is behind the firewall with a fixed IP within the local subnet.
Momma has a shared directory called /public on it for filesharing with all internal computers.
Here's the problem, my local workstations can attach, though they come in as the main user configured on Momma. A laptop, and so using the wireless, and logging in as another user can sometimes glimpse Momma but can never keep a connection to access /public. The laptop has no problem getting an IP lease from the DHCP server and is always able to browse the Internet and so connectively doesn't appear to be an issue.
My most telling symptom of what is amiss is given by the following listing from /var/log/messages taken just after I restarted named on poppa, then restarted dhcpd and smb on momma, then "repaired" the connection to the laptop, and then, from that laptop, attempted to browse the files on momma:
PART1 of 2 (where 2 is a following post):
Quote:
Dec 23 20:07:36 momma setsebool: The smbd_disable_trans policy boolean was changed to 1 by root
Dec 23 20:07:36 momma setsebool: The samba_share_nfs policy boolean was changed to 1 by root
Dec 23 20:07:56 momma dhcpd: dhcpd shutdown succeeded
Dec 23 20:07:56 momma dhcpd: Internet Systems Consortium DHCP Server V3.0.5-RedHat
Dec 23 20:07:56 momma dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Dec 23 20:07:56 momma dhcpd: All rights reserved.
Dec 23 20:07:56 momma dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Dec 23 20:07:56 momma dhcpd: Wrote 6 leases to leases file.
Dec 23 20:07:56 momma dhcpd: Listening on LPF/eth0/00:08:54:45:2f:ff/192.168.212/24
Dec 23 20:07:56 momma dhcpd: Sending on LPF/eth0/00:08:54:45:2f:ff/192.168.212/24
Dec 23 20:07:56 momma dhcpd: Sending on Socket/fallback/fallback-net
Dec 23 20:07:56 momma dhcpd: dhcpd startup succeeded
Dec 23 20:08:08 momma nmbd[2882]: [2007/12/23 20:08:08, 0] nmbd/nmbd.c:terminate(58)
Dec 23 20:08:08 momma nmbd[2882]: Got SIGTERM: going down...
Dec 23 20:08:32 momma nmbd[10669]: [2007/12/23 20:08:32, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290)
Dec 23 20:08:32 momma nmbd[10669]: become_domain_master_browser_bcast:
Dec 23 20:08:32 momma nmbd[10669]: Attempting to become domain master browser on workgroup WORKGROUP on subnet 192.168.212.112
Dec 23 20:08:32 momma nmbd[10669]: [2007/12/23 20:08:32, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303)
Dec 23 20:08:32 momma nmbd[10669]: become_domain_master_browser_bcast: querying subnet 192.168.212.112 for domain master browser on workgroup WORKGROUP
Dec 23 20:08:40 momma nmbd[10669]: [2007/12/23 20:08:40, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
Dec 23 20:08:40 momma nmbd[10669]: *****
Dec 23 20:08:40 momma nmbd[10669]:
Dec 23 20:08:40 momma nmbd[10669]: Samba server MOMMA is now a domain master browser for workgroup WORKGROUP on subnet 192.168.212.112
Dec 23 20:08:40 momma nmbd[10669]:
Dec 23 20:08:40 momma nmbd[10669]: *****
Dec 23 20:08:55 momma nmbd[10669]: [2007/12/23 20:08:55, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
Dec 23 20:08:55 momma nmbd[10669]: *****
Dec 23 20:08:55 momma nmbd[10669]:
Dec 23 20:08:55 momma nmbd[10669]: Samba name server MOMMA is now a local master browser for workgroup WORKGROUP on subnet 192.168.212.112
Dec 23 20:08:55 momma nmbd[10669]:
Dec 23 20:08:55 momma nmbd[10669]: *****
Dec 23 20:09:24 momma kernel: audit(1198465764.104:10): bool=nmbd_disable_trans val=1 old_val=0 auid=4294967295
Dec 23 20:09:24 momma dbus: Can't send to audit system: USER_AVC avc: received policyload notice (seqno=3) : exe="/bin/dbus-daemon" (sauid=500, hostname=?, addr=?, terminal=?)
Dec 23 20:09:24 momma kernel: audit(1198465764.124:11): user pid=2485 uid=81 auid=4294967295 subj=system_u:system_r:system_dbusd_t:s0 msg='avc: received policyload notice (seqno=3)
Dec 23 20:09:24 momma kernel: : exe="?" (sauid=81, hostname=?, addr=?, terminal=?)'
Dec 23 20:09:25 momma setsebool: The nmbd_disable_trans policy boolean was changed to 1 by root
Dec 23 20:10:05 momma dhcpd: Unable to add forward map from knecht.somedomain.tld. to 192.168.212.236: DNS format error
Dec 23 20:10:11 momma dhcpd: momma: no A record associated with address
Dec 23 20:10:11 momma dhcpd: DHCPREQUEST for 192.168.212.236 from 00:0a:e4:26:a5:1f (knecht) via eth0
Dec 23 20:10:11 momma dhcpd: DHCPACK on 192.168.212.236 to 00:0a:e4:26:a5:1f (knecht) via eth0
Dec 23 20:10:11 momma dhcpd: Unable to add forward map from knecht.somedomain.tld. to 192.168.212.236: DNS format error
Dec 23 20:10:11 momma dhcpd: DHCPREQUEST for 192.168.212.236 from 00:0a:e4:26:a5:1f (knecht) via eth0
Dec 23 20:10:11 momma dhcpd: DHCPACK on 192.168.212.236 to 00:0a:e4:26:a5:1f (knecht) via eth0
Dec 23 20:10:13 momma dhcpd: Unable to add forward map from knecht.somedomain.tld. to 192.168.212.236: DNS format error
Dec 23 20:10:13 momma dhcpd: DHCPREQUEST for 192.168.212.236 from 00:0a:e4:26:a5:1f (knecht) via eth0
Dec 23 20:10:13 momma dhcpd: DHCPACK on 192.168.212.236 to 00:0a:e4:26:a5:1f (knecht) via eth0
Dec 23 20:10:46 momma dhcpd: DHCPDISCOVER from 00:11:50:29:a5:44 (jin) via eth0
Dec 23 20:10:47 momma dhcpd: DHCPOFFER on 192.168.212.239 to 00:11:50:29:a5:44 (jin) via eth0
Dec 23 20:10:47 momma dhcpd: Unable to add forward map from jin.somedomain.tld. to 192.168.212.239: DNS format error
Dec 23 20:10:47 momma dhcpd: DHCPREQUEST for 192.168.212.239 (192.168.212.112) from 00:11:50:29:a5:44 (jin) via eth0
Dec 23 20:10:47 momma dhcpd: DHCPACK on 192.168.212.239 to 00:11:50:29:a5:44 (jin) via eth0
Dec 23 20:10:53 momma dhcpd: Unable to add forward map from jin.somedomain.tld. to 192.168.212.239: DNS format error
Dec 23 20:10:53 momma dhcpd: DHCPREQUEST for 192.168.212.239 from 00:11:50:29:a5:44 (jin) via eth0
Dec 23 20:10:53 momma dhcpd: DHCPACK on 192.168.212.239 to 00:11:50:29:a5:44 (jin) via eth0
Dec 23 20:11:34 momma smbd[32658]: [2007/12/23 20:11:34, 0] lib/util_sec.c:assert_uid(101)
Dec 23 20:11:34 momma smbd[32658]: Failed to set uid privileges to (-1,501) now set to (0,0)
Dec 23 20:11:34 momma smbd[32658]: [2007/12/23 20:11:34, 0] lib/util.c:smb_panic(1621)
Dec 23 20:11:34 momma smbd[32658]: PANIC (pid 32658): failed to set uid
Dec 23 20:11:34 momma smbd[32658]:
Dec 23 20:11:34 momma smbd[32658]: [2007/12/23 20:11:34, 0] lib/util.c:log_stack_trace(1728)
Dec 23 20:11:34 momma smbd[32658]: BACKTRACE: 22 stack frames:
Dec 23 20:11:34 momma smbd[32658]: #0 smbd(log_stack_trace+0x2d) [0x8022578d]
Dec 23 20:11:34 momma smbd[32658]: #1 smbd(smb_panic+0x5d) [0x802258bd]
Dec 23 20:11:34 momma smbd[32658]: #2 smbd [0x8022b9ce]
Dec 23 20:11:34 momma smbd[32658]: #3 smbd [0x800a6bac]
Dec 23 20:11:34 momma smbd[32658]: #4 smbd(pop_sec_ctx+0xa2) [0x800a6d42]
Dec 23 20:11:34 momma smbd[32658]: #5 smbd(unbecome_root+0x17) [0x8009bfc7]
Dec 23 20:11:34 momma smbd[32658]: #6 smbd(gid_to_sid+0x10e) [0x801e008e]
Dec 23 20:11:34 momma smbd[32658]: #7 smbd [0x800af41c]
Dec 23 20:11:34 momma smbd[32658]: #8 smbd(get_nt_acl+0x4c0) [0x800b56c0]
Dec 23 20:11:34 momma smbd[32658]: #9 smbd(vfswrap_fget_nt_acl+0x2b) [0x800aa6ab]
Dec 23 20:11:34 momma smbd[32658]: #10 smbd(is_visible_file+0x2ca) [0x8005910a]
Dec 23 20:11:34 momma smbd[32658]: #11 smbd [0x8005966d]
Dec 23 20:11:34 momma smbd[32658]: #12 smbd(dptr_ReadDirName+0x51) [0x800596d1]
Dec 23 20:11:34 momma smbd[32658]: #13 smbd [0x800917bd]
Dec 23 20:11:34 momma smbd[32658]: #14 smbd [0x80094b41]
Dec 23 20:11:34 momma smbd[32658]: #15 smbd(handle_trans2+0x24b) [0x8009545b]
Dec 23 20:11:34 momma smbd[32658]: #16 smbd(reply_trans2+0x6ca) [0x8009b80a]
Dec 23 20:11:34 momma smbd[32658]: #17 smbd [0x800b81c0]
Dec 23 20:11:34 momma smbd[32658]: #18 smbd(smbd_process+0x7ab) [0x800b92eb]
Dec 23 20:11:34 momma smbd[32658]: #19 smbd(main+0xbd0) [0x802d4490]
Dec 23 20:11:34 momma smbd[32658]: #20 /lib/libc.so.6(__libc_start_main+0xdc) [0x368dec]
Dec 23 20:11:34 momma smbd[32658]: #21 smbd [0x80043051]
Dec 23 20:11:34 momma smbd[32658]: [2007/12/23 20:11:34, 0] lib/fault.c:dump_core(173)
Dec 23 20:11:34 momma smbd[32658]: dumping core in /var/log/samba/cores/smbd
Dec 23 20:11:34 momma smbd[32658]:
Dec 23 20:11:54 momma smbd[15638]: [2007/12/23 20:11:54, 0] lib/util_sec.c:assert_uid(101)
Dec 23 20:11:54 momma smbd[15638]: Failed to set uid privileges to (-1,501) now set to (0,0)
Dec 23 20:11:54 momma smbd[15638]: [2007/12/23 20:11:54, 0] lib/util.c:smb_panic(1621)
Dec 23 20:11:54 momma smbd[15638]: PANIC (pid 15638): failed to set uid
Dec 23 20:11:54 momma smbd[15638]:
Dec 23 20:11:54 momma smbd[15638]: [2007/12/23 20:11:54, 0] lib/util.c:log_stack_trace(1728)
Dec 23 20:11:54 momma smbd[15638]: BACKTRACE: 22 stack frames:
Dec 23 20:11:54 momma smbd[15638]: #0 smbd(log_stack_trace+0x2d) [0x8022578d]
Dec 23 20:11:54 momma smbd[15638]: #1 smbd(smb_panic+0x5d) [0x802258bd]
Dec 23 20:11:54 momma smbd[15638]: #2 smbd [0x8022b9ce]
Dec 23 20:11:54 momma smbd[15638]: #3 smbd [0x800a6bac]
Dec 23 20:11:54 momma smbd[15638]: #4 smbd(pop_sec_ctx+0xa2) [0x800a6d42]
Dec 23 20:11:54 momma smbd[15638]: #5 smbd(unbecome_root+0x17) [0x8009bfc7]
Dec 23 20:11:54 momma smbd[15638]: #6 smbd(gid_to_sid+0x10e) [0x801e008e]
Dec 23 20:11:54 momma smbd[15638]: #7 smbd [0x800af41c]
Dec 23 20:11:54 momma smbd[15638]: #8 smbd(get_nt_acl+0x4c0) [0x800b56c0]
Dec 23 20:11:54 momma smbd[15638]: #9 smbd(vfswrap_fget_nt_acl+0x2b) [0x800aa6ab]
Dec 23 20:11:54 momma smbd[15638]: #10 smbd(is_visible_file+0x2ca) [0x8005910a]
Dec 23 20:11:54 momma smbd[15638]: #11 smbd [0x8005966d]
Dec 23 20:11:54 momma smbd[15638]: #12 smbd(dptr_ReadDirName+0x51) [0x800596d1]
Dec 23 20:11:54 momma smbd[15638]: #13 smbd [0x800917bd]
Dec 23 20:11:54 momma smbd[15638]: #14 smbd [0x80094b41]
Dec 23 20:11:54 momma smbd[15638]: #15 smbd(handle_trans2+0x24b) [0x8009545b]
Dec 23 20:11:54 momma smbd[15638]: #16 smbd(reply_trans2+0x6ca) [0x8009b80a]
Dec 23 20:11:54 momma smbd[15638]: #17 smbd [0x800b81c0]
Dec 23 20:11:54 momma smbd[15638]: #18 smbd(smbd_process+0x7ab) [0x800b92eb]
Dec 23 20:11:54 momma smbd[15638]: #19 smbd(main+0xbd0) [0x802d4490]
Dec 23 20:11:54 momma smbd[15638]: #20 /lib/libc.so.6(__libc_start_main+0xdc) [0x368dec]
Dec 23 20:11:54 momma smbd[15638]: #21 smbd [0x80043051]
Dec 23 20:11:54 momma smbd[15638]: [2007/12/23 20:11:54, 0] lib/fault.c:dump_core(173)
Dec 23 20:11:54 momma smbd[15638]: dumping core in /var/log/samba/cores/smbd
Dec 23 20:11:54 momma smbd[15638]:
Dec 23 20:11:54 momma smbd[23976]: [2007/12/23 20:11:54, 0] lib/util_sock.c:get_peer_addr(1229)
Dec 23 20:11:54 momma smbd[23976]: getpeername failed. Error was Transport endpoint is not connected
Dec 23 20:11:54 momma smbd[23976]: [2007/12/23 20:11:54, 0] lib/util_sock.c:get_peer_addr(1229)
Dec 23 20:11:54 momma smbd[23976]: getpeername failed. Error was Transport endpoint is not connected
Dec 23 20:11:54 momma smbd[23976]: [2007/12/23 20:11:54, 0] lib/access.c:check_access(327)
Dec 23 20:11:54 momma smbd[23976]: [2007/12/23 20:11:54, 0] lib/util_sock.c:get_peer_addr(1229)
Dec 23 20:11:54 momma smbd[23976]: getpeername failed. Error was Transport endpoint is not connected
Dec 23 20:11:54 momma smbd[23976]: Denied connection from (0.0.0.0)
Dec 23 20:11:54 momma smbd[23976]: [2007/12/23 20:11:54, 0] lib/util_sock.c:get_peer_addr(1229)
Dec 23 20:11:54 momma smbd[23976]: getpeername failed. Error was Transport endpoint is not connected
Dec 23 20:11:54 momma smbd[23976]: Connection denied from 0.0.0.0
Dec 23 20:11:54 momma smbd[23976]: [2007/12/23 20:11:54, 0] lib/util_sock.c:write_data(562)
Dec 23 20:11:54 momma smbd[23976]: write_data: write failure in writing to client 192.168.212.239. Error Connection reset by peer
Dec 23 20:11:54 momma smbd[23976]: [2007/12/23 20:11:54, 0] lib/util_sock.c:send_smb(769)
Dec 23 20:11:54 momma smbd[23976]: Error writing 5 bytes to client. -1. (Connection reset by peer)
Dec 23 20:12:06 momma smbd[23977]: [2007/12/23 20:12:06, 0] lib/util_sec.c:assert_uid(101)
Dec 23 20:12:06 momma smbd[23977]: Failed to set uid privileges to (-1,501) now set to (0,0)
Dec 23 20:12:06 momma smbd[23977]: [2007/12/23 20:12:06, 0] lib/util.c:smb_panic(1621)
Dec 23 20:12:06 momma smbd[23977]: PANIC (pid 23977): failed to set uid
Dec 23 20:12:06 momma smbd[23977]:
Dec 23 20:12:06 momma smbd[23977]: [2007/12/23 20:12:06, 0] lib/util.c:log_stack_trace(1728)
Dec 23 20:12:06 momma smbd[23977]: BACKTRACE: 22 stack frames:
Dec 23 20:12:06 momma smbd[23977]: #0 smbd(log_stack_trace+0x2d) [0x8022578d]
Dec 23 20:12:06 momma smbd[23977]: #1 smbd(smb_panic+0x5d) [0x802258bd]
Dec 23 20:12:06 momma smbd[23977]: #2 smbd [0x8022b9ce]
Dec 23 20:12:06 momma smbd[23977]: #3 smbd [0x800a6bac]
Dec 23 20:12:06 momma smbd[23977]: #4 smbd(pop_sec_ctx+0xa2) [0x800a6d42]
Dec 23 20:12:06 momma smbd[23977]: #5 smbd(unbecome_root+0x17) [0x8009bfc7]
Dec 23 20:12:06 momma smbd[23977]: #6 smbd(uid_to_sid+0x116) [0x801e2426]
Dec 23 20:12:06 momma smbd[23977]: #7 smbd [0x800af40d]
Dec 23 20:12:06 momma smbd[23977]: #8 smbd(get_nt_acl+0x4c0) [0x800b56c0]
Dec 23 20:12:06 momma smbd[23977]: #9 smbd(vfswrap_fget_nt_acl+0x2b) [0x800aa6ab]
Dec 23 20:12:06 momma smbd[23977]: #10 smbd(is_visible_file+0x2ca) [0x8005910a]
Dec 23 20:12:06 momma smbd[23977]: #11 smbd [0x8005966d]
Dec 23 20:12:06 momma smbd[23977]: #12 smbd(dptr_ReadDirName+0x51) [0x800596d1]
Dec 23 20:12:06 momma smbd[23977]: #13 smbd [0x800917bd]
Dec 23 20:12:06 momma smbd[23977]: #14 smbd [0x80094b41]
Dec 23 20:12:06 momma smbd[23977]: #15 smbd(handle_trans2+0x24b) [0x8009545b]
Dec 23 20:12:06 momma smbd[23977]: #16 smbd(reply_trans2+0x6ca) [0x8009b80a]
Dec 23 20:12:06 momma smbd[23977]: #17 smbd [0x800b81c0]
Dec 23 20:12:06 momma smbd[23977]: #18 smbd(smbd_process+0x7ab) [0x800b92eb]
Dec 23 20:12:06 momma smbd[23977]: #19 smbd(main+0xbd0) [0x802d4490]
Dec 23 20:12:06 momma smbd[23977]: #20 /lib/libc.so.6(__libc_start_main+0xdc) [0x368dec]
Dec 23 20:12:06 momma smbd[23977]: #21 smbd [0x80043051]
Dec 23 20:12:06 momma smbd[23977]: [2007/12/23 20:12:06, 0] lib/fault.c:dump_core(173)
[to be continued]
|
SELinux on Momma is set to permissive.
I'm not sure where to start. I can post the config files if you tell me which ones you'd like to start with.
Can you help save my Christmas with some advice?
Thanks much,
Richard
|