[Samba] Multiple IP addresses in DNS record
fgatwork at verizon.net
Wed Oct 22 14:31:10 GMT 2008
On Wed, 2008-10-22 at 07:58 -0400, Jarrod Hyder wrote:
> On Tue, Oct 21, 2008 at 8:17 PM, Frank Gruman <fgatwork at verizon.net>
> On Tue, 2008-10-21 at 13:34 -0400, Jarrod Hyder wrote:
> > I have a samba server running on Linux that has two ethernet cards (eth0 &
> > eth1) that are bonded into a single virtual interface (bond0). This virtual
> > interface is connected to the corporate LAN and I have another ethernet card
> > (eth2) that is connected to another server that is used for making
> > incremental backups. The problem that I am having is that no matter what I
> > do, the command "net ads dns register -P' causes both the bond0 and eth2 IP
> > addresses to show up in the DNS record on the corporate domain controller.
> > I have tried to force samba and winbind to use "interface = bond0" and
> > "bind interfaces only = yes" and it doesn't seem to help this situation.
> > If anyone can shed some light on what I am doing wrong, I would really
> > appreciate it.
> > BTW, I am using samba 3.0.28a
> > --
> > Jarrod Hyder
> > jhyder79 at gmail.com
> Not sure how much help I can be, but give this a try - add the
> -d # flag to your 'net ads dns ...' command where # can be
> something up to 10 (more debug output). This can at the very
> least confirm the smb.conf file being read as well as perhaps
> point you in a better direction. If nothing else, posted the
> somewhat cleansed output here; it may help others here to see
> where your problem lies.
> Here is the debug output of "net ads dns register -P -d 10". I can't
> really make heads or tails of it, but I also don't see either of the
> IP addresses that are getting registered on the domain. If you could
> take a look at it I would really appreciate it.
> Jarrod Hyder
> jhyder79 at gmail.com
> [2008/10/22 07:46:06, 5] lib/util.c:init_names(309)
> Netbios name list:-
> [2008/10/22 07:46:06, 2] lib/interface.c:add_interface(81)
> added interface ip=xxx.yyy.xxx.yyy bcast=xxx.yyy.xxx.255 nmask=255.255.255.0
> [2008/10/22 07:46:06, 5] lib/gencache.c:gencache_init(61)
> Opening cache file at /var/lib/samba/gencache.tdb
The above snip was the line I was looking for, and had been hoping to
see more than one line added. Meanwhile, back at the ranch, I see that
Jerry has already responded that this was a bug that was fixed.
More information about the samba