Samba won't dance (more info)
Claude Jones
cjones at levitjames.com
Tue Apr 15 15:46:08 UTC 2008
On Tue April 15 2008, Mikkel L. Ellertson wrote:
> One thing that is going to affect the machines showing up is the
> different workgroup name. Normally, you will only see machines in
> your own workgroup. There may be other problems, but that is one
> that jumped out at me.
>
> Also, with the newer versions of Samba, if the host name does not
> resolve, you need to include the IP address in the mount command.
I did spot that, and thought I'd fixed it last night. I just did fix it:
******************************************
grep -v '#' /etc/samba/smb.conf.original | grep -v ';'
[global]
log file = /var/log/samba/%m.log
ldap ssl = No
restrict anonymous = no
domain master = no
wins support = true
dns proxy = no
cups options = raw
max protocol = NT
default service = global
acl compatibility =
server signing = Auto
security = share
preferred master = no
max log size = 50
workgroup = workgroup
[homes]
comment = Home Directories
browseable = no
read only = no
[printers]
comment = All Printers
path = /usr/spool/samba
printable = yes
printer name = HPLaserJet
[cj]
path = /home/cj
guest ok = yes
************************************************
Also, I re-ran Craig's suggested early-on command and got this, which I post
because it seems to be saying that its talking to studiopc (192.168.2.101)
and getting responses - this, the same machine I can't ping:
nmblookup -M WORKGROUP -d 10
INFO: Current debug levels:
all: True/10
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
locking: False/0
msdfs: False/0
dmapi: False/0
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = WORKGROUP
doing parameter server string = Samba Server %v
doing parameter printcap name = cups
doing parameter printcap cache time = 60
doing parameter log file = /var/log/samba/%m.log
doing parameter max log size = 50
doing parameter map to guest = bad user
doing parameter security = user
doing parameter smb passwd file = /etc/samba/smbpasswd
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter dns proxy = no
doing parameter username map = /etc/samba/smbusers
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_STANDALONE
added interface ip=192.168.2.16 bcast=192.168.2.255 nmask=255.255.255.0
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 1
socket option SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
Could not test socket option TCP_KEEPCNT.
Could not test socket option TCP_KEEPIDLE.
Could not test socket option TCP_KEEPINTVL.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 110592
socket option SO_RCVBUF = 110592
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
Socket opened.
lang_tdb_init: /usr/lib/samba/en_US.UTF-8.msg: No such file or directory
querying WORKGROUP on 192.168.2.255
Sending a packet of len 50 to (192.168.2.255) on port 137
read_udp_socket: lastip 192.168.2.101 lastport 137 read: 62
parse_nmb: packet id = 9576
Received a packet of len 62 from (192.168.2.101) port 137
nmb packet from 192.168.2.101(137) header: id=9576 opcode=Query(0)
response=Yes
header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=WORKGROUP<1d> rr_type=32 rr_class=1 ttl=300000
answers 0 char `....e hex 6000C0A80265
Got a positive name query response from 192.168.2.101 ( 192.168.2.101 )
192.168.2.101 WORKGROUP<1d>
--
Claude Jones
Brunswick, MD, USA
More information about the fedora-list
mailing list