Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-30 Thread Les Mikesell
On 3/30/2010 3:17 PM, David Williams wrote:
> Anyone got any ideas as to why this isn't working and the web interface
> complains?

No, I would have guessed it was a firewall, but if nmblookup -A works 
from the command line that must not be it.  Can you do a backup if you 
set the dhcp flag to 0 and put the current IP address in ClientAlias?

-- 
   Les Mikesell
lesmikes...@gmail.com

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-30 Thread David Williams
Anyone got any ideas as to why this isn't working and the web interface
complains?

___
Dave Williams
Check out our WebOS mobile phone app for the Palm Pre and Pixi:
Golf Caddie | Golf Caddie Forum by DTW-Consulting, Inc.


> -Original Message-
> From: David Williams [mailto:dwilli...@dtw-consulting.com]
> Sent: Friday, March 26, 2010 8:18 PM
> To: 'General list for user discussion, questions and support'
> Subject: Re: [BackupPC-users] Communicating with a windows laptop on my
> workgroup
> 
> -Original Message-
> > From: David Williams [mailto:dwilli...@dtw-consulting.com]
> > Sent: Friday, March 26, 2010 8:17 PM
> > To: 'Gene Cooper'
> > Subject: RE: [BackupPC-users] Communicating with a windows laptop on
> my
> > workgroup
> >
> > I turned off my firewall to test this out and it didn't make any
> > difference at all.
> >
> > What I don't understand is, if nmblookup -A 192.168.15.155 is working
> > from
> > the command line (as user backuppc) then why does the web interface
> > complain about it?  Is there something missing in the reply from
> > nmblookup
> > -A 192.168.15.155?
> >
> > ___
> > Dave Williams
> > Check out our WebOS mobile phone app for the Palm Pre and Pixi:
> > Golf Caddie | Golf Caddie Forum by DTW-Consulting, Inc.
> >
> > > -Original Message-
> > > From: Gene Cooper [mailto:gcoo...@sonoracomm.com]
> > > Sent: Friday, March 26, 2010 5:20 PM
> > > To: dwilli...@dtw-consulting.com; General list for user discussion,
> > > questions and support
> > > Subject: Re: [BackupPC-users] Communicating with a windows laptop
> on
> > my
> > > workgroup
> > >
> > > I am probably off-base here, but since Windows XP SP2, the Windows
> > > Firewall
> > > block NETBIOS name resolution.
> > >
> > > We use a command like this on each XP workstation:
> > >
> > > netsh firewall add portopening UDP 137 NBNS enable all
> > >
> > > to enable name resolution with nmblookup.
> > >
> > > G
> > >
> > > David Williams wrote:
> > > >
> > > >
> > > > ___
> > > >
> > > > Dave Williams
> > > >
> > > > Check out our WebOS mobile phone app for the *Palm Pre* and
> *Pixi*:
> > > >
> > > > Golf Caddie <http://www.dtw-consulting.com/GolfCaddie> | Golf
> > Caddie
> > > > Forum <http://www.dtw-consulting.com/GolfCaddie/forum> by
> > > > DTW-Consulting, Inc.
> > > >
> > > >
> > > >
> > > >  > -Original Message-
> > > >
> > > >  > From: Les Mikesell [mailto:lesmikes...@gmail.com]
> > > >
> > > >  > Sent: Monday, March 22, 2010 11:13 AM
> > > >
> > > >  > To: backuppc-users@lists.sourceforge.net
> > > >
> > > >  > Subject: Re: [BackupPC-users] Communicating with a windows
> > laptop
> > > on my
> > > >
> > > >  > workgroup
> > > >
> > > >  >
> > > >
> > > >  > On 3/22/2010 9:42 AM, David Williams wrote:
> > > >
> > > >  > >
> > > >
> > > >  > > However, there are still issues. When I try and perform a
> > backup
> > > of
> > > >
> > > >  > > laptop1 from within the web interface I get the following
> > > message:
> > > >
> > > >  > >
> > > >
> > > >  > > *Error: Can't find IP address for laptop1*
> > > >
> > > >  > >
> > > >
> > > >  > > * *
> > > >
> > > >  > >
> > > >
> > > >  > > *laptop1 is a DHCP host, and I don't know its IP address. I
> > > checked
> > > >
> > > >  > the
> > > >
> > > >  > > netbios name of 192.168.15.155, and found that that machine
> is
> > > not
> > > >
> > > >  > laptop1.*
> > > >
> > > >  > >
> > > >
> > > >  > > * *
> > > >
> > > >  > >
> > > >
> > > >  > > *Until I see laptop1 at a particular DHCP addre

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-26 Thread David Williams
-Original Message-
> From: David Williams [mailto:dwilli...@dtw-consulting.com]
> Sent: Friday, March 26, 2010 8:17 PM
> To: 'Gene Cooper'
> Subject: RE: [BackupPC-users] Communicating with a windows laptop on my
> workgroup
> 
> I turned off my firewall to test this out and it didn't make any
> difference at all.
> 
> What I don't understand is, if nmblookup -A 192.168.15.155 is working
> from
> the command line (as user backuppc) then why does the web interface
> complain about it?  Is there something missing in the reply from
> nmblookup
> -A 192.168.15.155?
> 
> ___
> Dave Williams
> Check out our WebOS mobile phone app for the Palm Pre and Pixi:
> Golf Caddie | Golf Caddie Forum by DTW-Consulting, Inc.
> 
> > -Original Message-
> > From: Gene Cooper [mailto:gcoo...@sonoracomm.com]
> > Sent: Friday, March 26, 2010 5:20 PM
> > To: dwilli...@dtw-consulting.com; General list for user discussion,
> > questions and support
> > Subject: Re: [BackupPC-users] Communicating with a windows laptop on
> my
> > workgroup
> >
> > I am probably off-base here, but since Windows XP SP2, the Windows
> > Firewall
> > block NETBIOS name resolution.
> >
> > We use a command like this on each XP workstation:
> >
> > netsh firewall add portopening UDP 137 NBNS enable all
> >
> > to enable name resolution with nmblookup.
> >
> > G
> >
> > David Williams wrote:
> > >
> > >
> > > ___
> > >
> > > Dave Williams
> > >
> > > Check out our WebOS mobile phone app for the *Palm Pre* and *Pixi*:
> > >
> > > Golf Caddie <http://www.dtw-consulting.com/GolfCaddie> | Golf
> Caddie
> > > Forum <http://www.dtw-consulting.com/GolfCaddie/forum> by
> > > DTW-Consulting, Inc.
> > >
> > >
> > >
> > >  > -Original Message-
> > >
> > >  > From: Les Mikesell [mailto:lesmikes...@gmail.com]
> > >
> > >  > Sent: Monday, March 22, 2010 11:13 AM
> > >
> > >  > To: backuppc-users@lists.sourceforge.net
> > >
> > >  > Subject: Re: [BackupPC-users] Communicating with a windows
> laptop
> > on my
> > >
> > >  > workgroup
> > >
> > >  >
> > >
> > >  > On 3/22/2010 9:42 AM, David Williams wrote:
> > >
> > >  > >
> > >
> > >  > > However, there are still issues. When I try and perform a
> backup
> > of
> > >
> > >  > > laptop1 from within the web interface I get the following
> > message:
> > >
> > >  > >
> > >
> > >  > > *Error: Can't find IP address for laptop1*
> > >
> > >  > >
> > >
> > >  > > * *
> > >
> > >  > >
> > >
> > >  > > *laptop1 is a DHCP host, and I don't know its IP address. I
> > checked
> > >
> > >  > the
> > >
> > >  > > netbios name of 192.168.15.155, and found that that machine is
> > not
> > >
> > >  > laptop1.*
> > >
> > >  > >
> > >
> > >  > > * *
> > >
> > >  > >
> > >
> > >  > > *Until I see laptop1 at a particular DHCP address, you can
> only
> > start
> > >
> > >  > > this request from the client machine itself.*
> > >
> > >  > >
> > >
> > >  > > The strange thing is, I was on the client machine at the time
> > and
> > >
> > >  > trying
> > >
> > >  > > to back it up manually from the web interface!
> > >
> > >  >
> > >
> > >  > What does 'nmblookup -A 192.168.15.155' say (assuming you are
> > still at
> > >
> > >  > the same IP)?  It's going to use this to see if you are
> connecting
> > from
> > >
> > >  > the host in question.
> > >
> > >
> > >
> > > Ok, now I am back on my network I can check this.  Here is the
> > current
> > > results of nmblookup my the backuppc server:
> > >
> > >
> > >
> > > # nmblookup -R -U 192.168.15.2 laptop1
> > >
> > > querying laptop1 on 192.168.15.2
> > >
> > > 192.168.15.155 

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-26 Thread Gene Cooper
I am probably off-base here, but since Windows XP SP2, the Windows Firewall 
block NETBIOS name resolution.

We use a command like this on each XP workstation:

netsh firewall add portopening UDP 137 NBNS enable all

to enable name resolution with nmblookup.

G

David Williams wrote:
>  
> 
> ___
> 
> Dave Williams
> 
> Check out our WebOS mobile phone app for the *Palm Pre* and *Pixi*:
> 
> Golf Caddie <http://www.dtw-consulting.com/GolfCaddie> | Golf Caddie 
> Forum <http://www.dtw-consulting.com/GolfCaddie/forum> by 
> DTW-Consulting, Inc.
> 
>  
> 
>  > -Original Message-
> 
>  > From: Les Mikesell [mailto:lesmikes...@gmail.com]
> 
>  > Sent: Monday, March 22, 2010 11:13 AM
> 
>  > To: backuppc-users@lists.sourceforge.net
> 
>  > Subject: Re: [BackupPC-users] Communicating with a windows laptop on my
> 
>  > workgroup
> 
>  >
> 
>  > On 3/22/2010 9:42 AM, David Williams wrote:
> 
>  > >
> 
>  > > However, there are still issues. When I try and perform a backup of
> 
>  > > laptop1 from within the web interface I get the following message:
> 
>  > >
> 
>  > > *Error: Can't find IP address for laptop1*
> 
>  > >
> 
>  > > * *
> 
>  > >
> 
>  > > *laptop1 is a DHCP host, and I don't know its IP address. I checked
> 
>  > the
> 
>  > > netbios name of 192.168.15.155, and found that that machine is not
> 
>  > laptop1.*
> 
>  > >
> 
>  > > * *
> 
>  > >
> 
>  > > *Until I see laptop1 at a particular DHCP address, you can only start
> 
>  > > this request from the client machine itself.*
> 
>  > >
> 
>  > > The strange thing is, I was on the client machine at the time and
> 
>  > trying
> 
>  > > to back it up manually from the web interface!
> 
>  >
> 
>  > What does 'nmblookup -A 192.168.15.155' say (assuming you are still at
> 
>  > the same IP)?  It's going to use this to see if you are connecting from
> 
>  > the host in question.
> 
>  
> 
> Ok, now I am back on my network I can check this.  Here is the current 
> results of nmblookup my the backuppc server:
> 
>  
> 
> # nmblookup -R -U 192.168.15.2 laptop1
> 
> querying laptop1 on 192.168.15.2
> 
> 192.168.15.155 laptop1<00>
> 
>  
> 
> # nmblookup -A 192.168.15.155
> 
> Looking up status of 192.168.15.155
> 
> LAPTOP1 <00> - P 
> 
> DTWCONS <00> -  P 
> 
> LAPTOP1 <20> - P 
> 
>  
> 
> MAC Address = 00-21-6A-93-63-0C
> 
>  
> 
> So, not sure what all that means, but if I try and perform a backup of 
> laptop1 from laptop1 by using the web interface I still get the 
> following message:
> 
> Error: Can't find IP address for laptop1
> 
> laptop1 is a DHCP host, and I don't know its IP address. I checked the 
> netbios name of 192.168.15.155, and found that that machine is not laptop1.
> 
> Until I see laptop1 at a particular DHCP address, you can only start 
> this request from the client machine itself.
> 
>  
> 
>  >
> 
>  > > I also updated the config file for laptop1 such that
> 
>  > > NmbLookupFindHostCmd is set to:
> 
>  > >
> 
>  > > *$nmbLookupPath -R -U 192.168.15.2 $host*
> 
>  >
> 
>  > You probably want to configure the WINS server in smb.conf so it is the
> 
>  > default and will be used in all operations without having to specify it
> 
>  > in the command line.  You should also set $Conf{DHCPAddressRanges} in
> 
>  > backuppc so it will know where to probe for dhcp-assigned addresses.
> 
>  >
> 
>  > --
> 
>  >Les Mikesell
> 
>  > lesmikes...@gmail.com
> 
>  >
> 
>  > ---
> 
>  > ---
> 
>  > 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-user

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-26 Thread David Williams
 

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf <http://www.dtw-consulting.com/GolfCaddie>  Caddie | Golf
<http://www.dtw-consulting.com/GolfCaddie/forum>  Caddie Forum by
DTW-Consulting, Inc.

 

> -Original Message-

> From: Les Mikesell [mailto:lesmikes...@gmail.com]

> Sent: Monday, March 22, 2010 11:13 AM

> To: backuppc-users@lists.sourceforge.net

> Subject: Re: [BackupPC-users] Communicating with a windows laptop on my

> workgroup

> 

> On 3/22/2010 9:42 AM, David Williams wrote:

> >

> > However, there are still issues. When I try and perform a backup of

> > laptop1 from within the web interface I get the following message:

> >

> > *Error: Can't find IP address for laptop1*

> >

> > * *

> >

> > *laptop1 is a DHCP host, and I don't know its IP address. I checked

> the

> > netbios name of 192.168.15.155, and found that that machine is not

> laptop1.*

> >

> > * *

> >

> > *Until I see laptop1 at a particular DHCP address, you can only start

> > this request from the client machine itself.*

> >

> > The strange thing is, I was on the client machine at the time and

> trying

> > to back it up manually from the web interface!

> 

> What does 'nmblookup -A 192.168.15.155' say (assuming you are still at

> the same IP)?  It's going to use this to see if you are connecting from

> the host in question.

 

Ok, now I am back on my network I can check this.  Here is the current
results of nmblookup my the backuppc server:

 

# nmblookup -R -U 192.168.15.2 laptop1

querying laptop1 on 192.168.15.2

192.168.15.155 laptop1<00>

 

# nmblookup -A 192.168.15.155

Looking up status of 192.168.15.155

LAPTOP1 <00> - P 

DTWCONS <00> -  P 

LAPTOP1 <20> - P 

 

MAC Address = 00-21-6A-93-63-0C

 

So, not sure what all that means, but if I try and perform a backup of
laptop1 from laptop1 by using the web interface I still get the following
message:

Error: Can't find IP address for laptop1

laptop1 is a DHCP host, and I don't know its IP address. I checked the
netbios name of 192.168.15.155, and found that that machine is not laptop1. 

Until I see laptop1 at a particular DHCP address, you can only start this
request from the client machine itself. 

 

> 

> > I also updated the config file for laptop1 such that

> > NmbLookupFindHostCmd is set to:

> >

> > *$nmbLookupPath -R -U 192.168.15.2 $host*

> 

> You probably want to configure the WINS server in smb.conf so it is the

> default and will be used in all operations without having to specify it

> in the command line.  You should also set $Conf{DHCPAddressRanges} in

> backuppc so it will know where to probe for dhcp-assigned addresses.

> 

> --

>Les Mikesell

> lesmikes...@gmail.com

> 

> ---

> ---

> 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@lists.sourceforge.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.791 / Virus Database: 271.1.1/2762 - Release Date:

> 03/21/10 15:33:00

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-22 Thread David Williams
 

> -Original Message-

> From: Les Mikesell [mailto:lesmikes...@gmail.com]

> Sent: Monday, March 22, 2010 11:13 AM

> To: backuppc-users@lists.sourceforge.net

> Subject: Re: [BackupPC-users] Communicating with a windows laptop on my

> workgroup

> 

> On 3/22/2010 9:42 AM, David Williams wrote:

> >

> > However, there are still issues. When I try and perform a backup of

> > laptop1 from within the web interface I get the following message:

> >

> > *Error: Can't find IP address for laptop1*

> >

> > * *

> >

> > *laptop1 is a DHCP host, and I don't know its IP address. I checked

> the

> > netbios name of 192.168.15.155, and found that that machine is not

> laptop1.*

> >

> > * *

> >

> > *Until I see laptop1 at a particular DHCP address, you can only start

> > this request from the client machine itself.*

> >

> > The strange thing is, I was on the client machine at the time and

> trying

> > to back it up manually from the web interface!

> 

> What does 'nmblookup -A 192.168.15.155' say (assuming you are still at

> the same IP)?  It's going to use this to see if you are connecting from

> the host in question.

 

Will have to check that out when I am back home and connected to my network.

> 

> > I also updated the config file for laptop1 such that

> > NmbLookupFindHostCmd is set to:

> >

> > *$nmbLookupPath -R -U 192.168.15.2 $host*

> 

> You probably want to configure the WINS server in smb.conf so it is the

> default and will be used in all operations without having to specify it

> in the command line.  You should also set $Conf{DHCPAddressRanges} in

> backuppc so it will know where to probe for dhcp-assigned addresses.

 

Thanks, I'll look into that.

> 

> --

>Les Mikesell

> lesmikes...@gmail.com

> 

> ---

> ---

> 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@lists.sourceforge.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.791 / Virus Database: 271.1.1/2762 - Release Date:

> 03/21/10 15:33:00

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-22 Thread Les Mikesell
On 3/22/2010 9:42 AM, David Williams wrote:
>
> However, there are still issues. When I try and perform a backup of
> laptop1 from within the web interface I get the following message:
>
> *Error: Can't find IP address for laptop1*
>
> * *
>
> *laptop1 is a DHCP host, and I don't know its IP address. I checked the
> netbios name of 192.168.15.155, and found that that machine is not laptop1.*
>
> * *
>
> *Until I see laptop1 at a particular DHCP address, you can only start
> this request from the client machine itself.*
>
> The strange thing is, I was on the client machine at the time and trying
> to back it up manually from the web interface!

What does 'nmblookup -A 192.168.15.155' say (assuming you are still at 
the same IP)?  It's going to use this to see if you are connecting from 
the host in question.

> I also updated the config file for laptop1 such that
> NmbLookupFindHostCmd is set to:
>
> *$nmbLookupPath -R -U 192.168.15.2 $host*

You probably want to configure the WINS server in smb.conf so it is the 
default and will be used in all operations without having to specify it 
in the command line.  You should also set $Conf{DHCPAddressRanges} in 
backuppc so it will know where to probe for dhcp-assigned addresses.

-- 
   Les Mikesell
lesmikes...@gmail.com

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-22 Thread David Williams
Chris,

 

Thanks for the additional help on this.  I was able to make the changes and
set my laptop to look at my Linux box as a WINS server.  So now when I
perform the following command from the command line I get the following:

 

nmblookup -U 192.168.15.2 -R laptop1

querying laptop1 on 192.168.15.2

192.168.15.155 laptop1<00>

 

That to me means it works and it's finding the IP address for my laptop :)

 

However, there are still issues.  When I try and perform a backup of laptop1
from within the web interface I get the following message:

 

Error: Can't find IP address for laptop1

 

laptop1 is a DHCP host, and I don't know its IP address. I checked the
netbios name of 192.168.15.155, and found that that machine is not laptop1.

 

Until I see laptop1 at a particular DHCP address, you can only start this
request from the client machine itself.

 

The strange thing is, I was on the client machine at the time and trying to
back it up manually from the web interface!

 

I also updated the config file for laptop1 such that NmbLookupFindHostCmd is
set to:

 

$nmbLookupPath -R -U 192.168.15.2 $host

 

Feel like I am getting closer to getting this working now that I can at
least get success from the nmblookup command.

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf Caddie by DTW-Consulting, Inc.

 

-Original Message-
From: Chris Bennett [mailto:ch...@ceegeebee.com] 
Sent: Thursday, March 18, 2010 7:07 PM
To: dwilli...@dtw-consulting.com; General list for user discussion,
questions and support
Subject: Re: [BackupPC-users] Communicating with a windows laptop on my
workgroup

 

Hi there,

 

> 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.

 

WINS was created to work around this, and may help you in this case as

well.

 

Name resolution in SMB/AD uses three methods:

  - broadcast

  - WINS

  - DNS

 

The thread has mostly been about getting a master browser working, but

if the two BackupPC & client nodes are on the same segement, broadcast

resolution should work.  The exception might be if your client is not

responding to Netbios broadcast name queries (UDP 137).

 

So WINS can provide you a central name resolution service (WINS

server) which can respond to name queries on behalf of clients.  The

caveat being the clients need to know to register their name with a

WINS server.  WINS also solves the name resolution between segments

problem.

 

DHCP can dish out the WINS server setting (ISC dhcp name it

'netbios-name-servers'), but since you're statically allocating an IP

address, you'll need to manually configure the setting.  I found

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzahl/rzahlcfgpc
winsxp.htm

which describes how to do it for Windows XP.

 

The samba server requires the option

  wins support = yes

 

Now when you're client boots up, it'll register it's name with the

WINS server.

 

nbmlookup accepts a -R and -U option.  From the manpage:

  -U 

 Do a unicast query to the specified address or host unicast

 address. This option (along with the -R option) is needed to

 query a WINS server.

 

  -R

 Set the recursion desired bit in the packet to do a recursive

 lookup. This is used when sending a name query to a machine

 running a WINS server and the user wishes to query the names in

 the WINS server. If this bit is unset the normal (broadcast

 responding) NetBIOS processing code on a machine is used instead.

 See RFC1001, RFC1002 for details.

 

Test first to ensure nmblookup returns the expected result, and then

update backuppc to use the above options when calling nmblookup.

 

The third resolution method (DNS) is just that: given a bareware name,

append a suffix to the name and send a query to the configured DNS

server.  AD uses this now to replace broadcast and WINS resolution,

coupled with dynamic DNS for clients to register their name to the DNS

server.

 

So hopefully that can help you to configure things the way you'd like

to - personally, the neatest solution is to setup a DNS server, and

configure your a DNS record for your desktop since it's statically

assigned, but all methods above should work they way their advertised

to work :)

 

Regards,

 

Chris Bennett

cgb

 

No virus found in this incoming message.

Checked by AVG - www.avg.com 

Version: 9.0.791 / Virus Database: 271.1.1/2756 - Release Date: 03/20/10
15:33:00

--
Download Intel® Parallel Studio Eval
Tr

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread Chris Bennett
Hi there,

> 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.

WINS was created to work around this, and may help you in this case as
well.

Name resolution in SMB/AD uses three methods:
  - broadcast
  - WINS
  - DNS

The thread has mostly been about getting a master browser working, but
if the two BackupPC & client nodes are on the same segement, broadcast
resolution should work.  The exception might be if your client is not
responding to Netbios broadcast name queries (UDP 137).

So WINS can provide you a central name resolution service (WINS
server) which can respond to name queries on behalf of clients.  The
caveat being the clients need to know to register their name with a
WINS server.  WINS also solves the name resolution between segments
problem.

DHCP can dish out the WINS server setting (ISC dhcp name it
'netbios-name-servers'), but since you're statically allocating an IP
address, you'll need to manually configure the setting.  I found
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzahl/rzahlcfgpcwinsxp.htm
which describes how to do it for Windows XP.

The samba server requires the option
  wins support = yes

Now when you're client boots up, it'll register it's name with the
WINS server.

nbmlookup accepts a -R and -U option.  From the manpage:
  -U 
 Do a unicast query to the specified address or host unicast
 address. This option (along with the -R option) is needed to
 query a WINS server.

  -R
 Set the recursion desired bit in the packet to do a recursive
 lookup. This is used when sending a name query to a machine
 running a WINS server and the user wishes to query the names in
 the WINS server. If this bit is unset the normal (broadcast
 responding) NetBIOS processing code on a machine is used instead.
 See RFC1001, RFC1002 for details.

Test first to ensure nmblookup returns the expected result, and then
update backuppc to use the above options when calling nmblookup.

The third resolution method (DNS) is just that: given a bareware name,
append a suffix to the name and send a query to the configured DNS
server.  AD uses this now to replace broadcast and WINS resolution,
coupled with dynamic DNS for clients to register their name to the DNS
server.

So hopefully that can help you to configure things the way you'd like
to - personally, the neatest solution is to setup a DNS server, and
configure your a DNS record for your desktop since it's statically
assigned, but all methods above should work they way their advertised
to work :)

Regards,

Chris Bennett
cgb

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread David Williams
 

 

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf Caddie by DTW-Consulting, Inc.

 

 

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, March 18, 2010 3:11 PM
To: mst...@chicago.us.mensa.org; General list for user discussion, questions
and support
Cc: dwilli...@dtw-consulting.com
Subject: Re: [BackupPC-users] Communicating with a windows laptop on my
workgroup

 

Michael Stowe wrote:

> 

>> 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 ?

> 

> Probably not.  Somewhere on your network you've got a DHCP server that's

> giving your laptop an IP address, and there's probably a DNS server that's

> either being updated directly by your laptop (Windows does that) or by

> your DHCP server.

> 

> At any rate, to find out, open a command window on your Windows box and
type:

> 

> ipconfig

> 

> Which should yield a "connection-specific DNS suffix."

> 

> Workgroups/WINS is -quite- different, and entirely unrelated.

 

For a network with only a few machines, the easiest approach might be to 

configure the router/dhcp server to give out fixed IP addresses based on the


known ethernet MAC addresses.   Most home routers have a simple web
interface 

and the ability to configure this.  They may also offer to provide DNS, but
for 

a couple of machines it doesn't matter - you can just set dhcp to 0 in
backuppc 

and put the IP address in ClientAlias.

 

That's a good idea. I'll check that out as it would be much simpler.  I'll
only ever have 3-4 laptops that I'll want to consider backing up.

 

-- 

   Les Mikesell

lesmikes...@gmail.com

 

 

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

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread Les Mikesell
Michael Stowe wrote:
> 
>> 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 ?
> 
> Probably not.  Somewhere on your network you've got a DHCP server that's
> giving your laptop an IP address, and there's probably a DNS server that's
> either being updated directly by your laptop (Windows does that) or by
> your DHCP server.
> 
> At any rate, to find out, open a command window on your Windows box and type:
> 
> ipconfig
> 
> Which should yield a "connection-specific DNS suffix."
> 
> Workgroups/WINS is -quite- different, and entirely unrelated.

For a network with only a few machines, the easiest approach might be to 
configure the router/dhcp server to give out fixed IP addresses based on the 
known ethernet MAC addresses.   Most home routers have a simple web interface 
and the ability to configure this.  They may also offer to provide DNS, but for 
a couple of machines it doesn't matter - you can just set dhcp to 0 in backuppc 
and put the IP address in ClientAlias.

-- 
   Les Mikesell
lesmikes...@gmail.com


--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread Michael Stowe

I've tried to clear out some of the ancillary stuff to keep this readable.

> 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'd recommend rsync as a matter of course, which requires that your
network be working, but not all the NetBIOS/SMB stuff that rides on top of
it.

> 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 ?

Probably not.  Somewhere on your network you've got a DHCP server that's
giving your laptop an IP address, and there's probably a DNS server that's
either being updated directly by your laptop (Windows does that) or by
your DHCP server.

At any rate, to find out, open a command window on your Windows box and type:

ipconfig

Which should yield a "connection-specific DNS suffix."

Workgroups/WINS is -quite- different, and entirely unrelated.

> 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.

This is fairly unusual -- it's showing that your samba box is electing to
be the local master browser, yet nmblookup is unable to find it.  Usually
when this happens it's because the workgroup name doesn't match, but if
I'm reading the above correctly, both are WORKGROUP, which is the default.

I'd recommend boosting the debuglevel on nmblookup to get more detail on
what's going wrong.  (Setting it to 1 should probably suffice.)



> 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@lists.sourceforge.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
>
> --
> 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@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performa

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread David Williams
From: David Williams [mailto:dwilli...@dtw-consulting.com] 
Sent: Thursday, March 18, 2010 1:05 PM
To: 'General list for user discussion, questions and support'
Subject: Re: [BackupPC-users] Communicating with a windows laptop on my
workgroup

 

Answers below.

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf <http://www.dtw-consulting.com/GolfCaddie>  Caddie by DTW-Consulting,
Inc.

-Original Message-
From: Michael Stowe [mailto:mst...@chicago.us.mensa.org] 
Sent: Thursday, March 18, 2010 12:04 PM
To: dwilli...@dtw-consulting.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 XX<1b> for

> the workgroup X.

> 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 X 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

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread David Williams
Answers below.

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf <http://www.dtw-consulting.com/GolfCaddie>  Caddie by DTW-Consulting,
Inc.

-Original Message-
From: Michael Stowe [mailto:mst...@chicago.us.mensa.org] 
Sent: Thursday, March 18, 2010 12:04 PM
To: dwilli...@dtw-consulting.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 XX<1b> for

> the workgroup X.

> 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 X 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

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread Michael Stowe
> 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 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?

> 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 XX<1b> for
> the workgroup X.
> 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 X on subnet
10.168.0.1

If you're not seeing this, then something's funny with your smb.conf.

> 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?

> 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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread David Williams
I posted this to a Linux forum but also wanted to post it here since this is
also relates to backuppc.  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 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.  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.

 

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 XX<1b> for
the workgroup X.

nmbd[4123]:   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.

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

 

 

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf   Caddie by DTW-Consulting,
Inc.

 

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/