Title: RE: [Samba] samba 2.2.3a loses WINS registration
Just a quick note about this:
I was having this problem for a month or two, and a few weeks ago, I got in touch with Jeremy through this mailing list and he was able to track down the problem.
He made a change to nmbd_mynames.c, I replaced the one in 2.2.3a with it, and it fixed the problem.
So, if you would rather use 2.2.3a with this fix, rather than use the latest CVS, you can replace the nmb_mynames.c in the 2.2.3a source with the one attached to this message, and recompile. In the Samba source, nmbd_mynames.c is in /source/nmbd.
I suppose the Samba CVS would be OK though, since, from what I've read on the list, the 2.2.4 release is VERY close.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 12:34 PM
To: Andrew Morgan
Cc: Gerald Carter; [EMAIL PROTECTED]
Subject: Re: [Samba] samba 2.2.3a loses WINS registration
On Fri, Apr 26, 2002 at 11:07:49AM -0700, Andrew Morgan wrote:
>
>
> On Thu, 25 Apr 2002, Gerald Carter wrote:
>
> > On Thu, 25 Apr 2002, Andrew Morgan wrote:
> >
> > >
> > > Since upgrading to Samba 2.2.3a on several of our servers, we are having
> > > trouble with nmbd not maintaining the WINS registration. After the WINS
> > > server expires the record, our users in other subnets cannot find the
> > > server. Restarting nmbd registers the server again in WINS, but nmbd
> > > doesn't reregister at 20 minute intervals as before.
> >
> > I think I remember jeremy fixing something like post 2.2.3a. Please
> > test the SAMBA_2_2 cvs tree and see if you still experience the
> > problem.
> >
> > For some reason I thought we had fixed this before
>
> Okay, I checked out SAMBA_2_2 just now, but I'm getting an error when I
> compile it. I'm using:
>
> ./configure --prefix=/private/samba --without-winbind --with-syslog
>
> and the make goes for a while, then gives me:
>
> ...
> Compiling tdb/tdbbackup.c
> Linking bin/tdbbackup
> Compiling utils/make_printerdef.c
> Linking bin/make_printerdef
> Compiling utils/smbpasswd.c
> utils/smbpasswd.c: In function `join_domain_byuser':
> utils/smbpasswd.c:354: invalid operands to binary !=
> make: *** [utils/smbpasswd.o] Error 1
Just fixed it - Herb's IRIX compiler didn't catch it
when he added the error message.
Jeremy
nmbd_mynames.c
Description: Binary data