Upgrading from a really old Samba 4?

Michael Wood esiotrot at gmail.com
Thu Mar 29 09:26:18 MDT 2012


Hi

Summary:

I'm running a really old version of Samba 4 (77b9b97) with the DNS
records in a normal bind9 zone file.  No need for dyndns, since I
don't have machines joining/leaving the domain.

There seems to be a memory leak in that version.  Otherwise it works very well.

Questions:

If I were to upgrade from such an old version, is it necessary to run
upgradeprovision?  (I know that running upgradeprovision is not
recommended right now, in which case would I need to wait until
upgradeprovision is fixed?)

If I do need to run upgradeprovision, what order do I run it in wrt.
dbcheck and/or the DNS upgrade script?

Thanks.

On 27 March 2012 17:20, Michael Wood <esiotrot at gmail.com> wrote:
> Hi
>
> I'm running Samba4 version 4.0.0alpha12-GIT-77b9b97.  I know it's very
> old, but it works, and I have had troubles with upgrades that make me
> hesitant to upgrade:
>
> https://bugzilla.samba.org/show_bug.cgi?id=8669
> https://bugzilla.samba.org/show_bug.cgi?id=8683
>
> I am only using Samba for authentication via LDAP.
>
> Today the LDAP authentication stopped working.  kinit still worked
> fine, though.  The logs showed the following:
>
> [Tue Mar 27 12:08:23 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
> TLS gnutls_handshake failed - Internal error in memory allocation.
> [Tue Mar 27 12:08:46 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
> TLS gnutls_handshake failed - A TLS packet with unexpected length was received.
> [Tue Mar 27 12:09:38 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
> TLS gnutls_handshake failed - Internal error in memory allocation.
> [Tue Mar 27 12:10:04 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
> TLS gnutls_handshake failed - Internal error in memory allocation.
> [Tue Mar 27 12:10:18 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
> TLS gnutls_handshake failed - Internal error in memory allocation.
> [Tue Mar 27 12:10:51 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
> TLS gnutls_handshake failed - A TLS packet with unexpected length was received.
> [Tue Mar 27 12:10:54 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
> TLS gnutls_handshake failed - Internal error in memory allocation.
> [Tue Mar 27 12:10:55 2012 SAST, 0 ../lib/tls/tls.c:213:tls_handshake()]
> TLS gnutls_handshake failed - Internal error in memory allocation.
>
> and indeed it seemed to have used up all the swap space on the box.
> Killing samba and restarting it got it working again.
>
> It seems like there is a memory leak somewhere.
>
> I suspect you will not be able to tell me off hand whether there was a
> known memory leak in the above version that has since been fixed, but
> in case there was a known memory leak that has now been fixed, I would
> appreciate being told that :)
>
> Also, I assume there have been database changes since Alpha 12.  Would
> things work find with current Git without running upgradeprovision?
> Or if I did want to upgrade, what would be the recommended procedure?
>
> I asked once before what order dbcheck and upgradeprovision should be
> run in and got no reply.
>
> Thanks.
>
> --
> Michael Wood <esiotrot at gmail.com>

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba-technical mailing list