Answers below.
___________________________________________________________
Dave Williams
Check out our WebOS mobile phone app for the Palm Pre
and Pixi:
Golf
Caddie by DTW-Consulting, Inc.
-----Original Message-----
From: Michael Stowe [mailto:mstowe AT chicago.us.mensa DOT org]
Sent: Thursday, March 18, 2010 12:04 PM
To: dwilliams AT dtw-consulting DOT com; General list for user discussion, questions
and support
Subject: Re: [BackupPC-users] Communicating with a windows laptop on my
workgroup
> I posted this to a Linux forum but also wanted to
post it here since this
> is also relates to backuppc.
Only peripherally, in the sense that if you're using smb
and smb doesn't
work, backuppc won't work.
> I did post something a while back and some mentioned
about modifying
> Samba so that it became a local master.
Anyway, I
> made the changes to my smb.conf file with the
following:
>
> local master = yes
> preferred master = yes
> wins support = yes
>
> That said, I still cannot seem to perform a
nmblookup on a windows laptop
> that is connected to my network that has a dynamic
IP address L
I'm not entirely sure why you'd want to use NMB rather
than DNS; then
again, I don't recommend SMB since rsync is available.
I am by no means an expert in
this area at all, and I am open to looking at other options. I know that I
had the smb method working a while back on a fixed IP address windows machine.
The last time I posted on here with this issue, albeit with less information, I
was asked to make the changes to Samba that I indicated above. I don't pretend
to always understand the ins and outs, just as long as I can get it working J
> I have just noticed something in my syslog, which I
believe is related to
> a change in my Samba setup. I am using
Backuppc to perform backups on my
> linux server and I was (and still am) having a
problem in that I wasn't
> able to back up any machine that had a dynamic IP
address, namely my
> laptop.
Does it actually resolve via DNS?
This is a home network so to
be honest, I wouldn't even know how to go about testing this. My laptop
is associate to a Workgroup and my Linux server has a static IP address within
the 192.168.15.x range. I can ping the laptop by ip address but I am not
sure what it's normal address would be. For example, would it be laptop1.workgroup.com
?
> It
> seems that nmblookup will not resolve the ip address
from any machines on
> my
> network. Really not sure what the problem is
since I have very little
> experience with this. Also, I don't remember
what change I made to the
> samba configuration (I had a look but nothing jumped
out) other than it
> had to do with enforcing Samba to act as a Domain
Master if that makes
> sense.
No, it doesn't make sense. What you want (and need)
is a master browser,
which (on a workgroup, not a Windows domain) is elected
from computers on
the segment. N.B.: if you're not on the same
segment and don't have a
domain controller, you can't browse or use nmblookup.
> The errors I am getting in my syslog are as follows:
> nmbd[4123]:
find_domain_master_name_query_fail:
> nmbd[4123]: Unable to find the Domain
Master Browser name XXXXXX<1b> for
> the workgroup XXXXX.
> nmbd[4123]: Unable to sync browse lists
in this workgroup.
That's normal. The local master browser is looking
for a domain master
browser. Which you apparently don't have.
This is indicating that for
whatever reason, samba is not functioning as the
LMB. There may be better
clues when it starts up, since typically that's when the
elections are
held.
In your log.nmbd, you should see this sort of thing:
become_domain_master_browser_bcast:
Attempting to become domain master browser on
workgroup XXXXX on subnet
10.168.0.1
If you're not seeing this, then something's funny with
your smb.conf.
After a restart to Samba
here's what's in my log:
[2010/03/18 13:06:58,
0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
*****
Samba name server
LINUXPC is now a local master browser for workgroup WORKGROUP on subnet
192.168.15.2
*****
[2010/03/18 13:06:58,
0] nmbd/nmbd_browsesync.c:350(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.
> I'd really appreciate any help that would allow me
to be able to use
> nmblookup (which is what backuppc uses to resolve
client names to an IP
> address) and work out just what I did to samba.
Can you actually browse any windows shares at all?
I'm not at my Linux box right
now, but I'm pretty sure that I can. For example, from my laptop I can
browse the Samba shares that I setup on the Linux box.
> If I try and do a nmblookup for a client I get the
following error
> message:
> nmblookup laptop1
> querying laptop1 on 192.168.15.255
> name_query failed to find name laptop1
Without a local master browser, this is to be
expected. It's roughly
equivalent to doing an nslookup without a DNS server.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling,
find bugs
proactively, and fine-tune applications for parallel
performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:
https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:
http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.790 / Virus Database: 271.1.1/2752 - Release
Date: 03/17/10 03:33:00