[Samba] replication failing for 4.9.4

Rowland Penny rpenny at samba.org
Wed Jan 2 09:54:24 UTC 2019


On Wed, 2 Jan 2019 09:45:56 +0000
Kristján Valur Jónsson <kristjan at rvx.is> wrote:

> Any thoughts?  Have code, will debug.  The error itself is
> meaningless to me and I am deeply and utterly unfamiliar with samba
> code, but if you have any thought or experiments in mind...
> 
> On Fri, 28 Dec 2018 at 16:07, Rowland Penny via samba
> <samba at lists.samba.org> wrote:
> 
> > On Fri, 28 Dec 2018 15:38:59 +0000
> > Kristján Valur Jónsson via samba <samba at lists.samba.org> wrote:
> >
> > > Hi there.
> > > I'm trying to upgrad from 4.7.7 to 4.9.4.
> > > I built from source, running on centos 7.6 on a Raspberry Pi.
> > > When testing on a secondary DC, my "samba-tool drs showrepl"
> > > errors out with:
> > >
> > > ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to
> > > dc02.rvx.is
> > > > failed - drsException: DRS connection to dc02.rvx.is failed: (8,
> > > > 'WERR_NOT_ENOUGH_MEMORY')
> > > >   File
> > > > "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/drs.py",
> > > > line 47, in drsuapi_connect (ctx.drsuapi, ctx.drsuapi_handle,
> > > > ctx.bind_supported_extensions) =
> > > > drs_utils.drsuapi_connect(ctx.server, ctx.lp, ctx.creds) File
> > > > "/usr/local/samba/lib/python2.7/site-packages/samba/drs_utils.py",
> > > > line 59, in drsuapi_connect
> > >
> > >
> > > this is on DC02.  When I do the same on DC01 (which hasn't been
> > > upgraded), it reports errors talking to the DC, e.g.
> > >
> > > > DC=DomainDnsZones,DC=rvx,DC=is
> > > >         Default-First-Site-Name\DC02 via RPC
> > > >                 DSA object GUID:
> > > > 564fb63e-e2eb-45f9-b868-7d85e71c8dcc Last attempt @ Fri Dec 28
> > > > 14:26:16 2018 UTC failed, result 8 (WERR_NOT_ENOUGH_MEMORY)
> > > >                 206 consecutive failure(s).
> > > >                 Last success @ NTTIME(0)
> > >
> > >
> > > This all worked previously.  I don't believe that memory is
> > > really the problem, rather this appears to be a generic error
> > > percolating up. my samba.log shows this:
> > >
> > > > [2018/12/28 15:30:44.911645,  0]
> > > > ../source4/smbd/server.c:510(binary_smbd_main)
> > > >   samba version 4.9.4 started.
> > > >   Copyright Andrew Tridgell and the Samba Team 1992-2018
> > > > [2018/12/28 15:30:47.282129,  0]
> > > > ../source4/smbd/server.c:696(binary_smbd_main)
> > > >   binary_smbd_main: samba: using 'standard' process model
> > > > [2018/12/28 15:30:47.371819,  0]
> > > > ../source4/dsdb/common/util.c:1815(samdb_reference_dn_is_our_ntdsa)
> > > >   Failed to find object DC=rvx,DC=is for attribute
> > > > fsmoRoleOwner - Cannot find DN DC=rvx,DC=is to get attribute
> > > > fsmoRoleOwner for reference dn: No such Base DN: DC=rvx,DC=is
> > > > [2018/12/28 15:30:47.403897,  0]
> > > > ../lib/util/become_daemon.c:138(daemon_ready)
> > > >   daemon_ready: STATUS=daemon 'samba' finished starting up and
> > > > ready to serve connections
> > > > [2018/12/28 15:30:47.445485,  0]
> > > > ../source4/smbd/service_task.c:36(task_server_terminate)
> > > >   task_server_terminate: task_server_terminate: [kdc:
> > > > krb5_init_context samdb RODC connect failed]
> >
> >
> > Drat, this is the second time this has happened in a week, upgrade
> > from 4.7.x to 4.9.4 and Samba cannot find the base DN and throws up
> > a line referring to an RODC.
> >
> > This sounds like a bug, but I have no idea where to start.
> >
> > Any ideas Jeremy ?
> >
> > Rowland

Downgrade again if possible, there appears to be a problem with
upgrading from 4.7.x to 4.9.x

Rowland




More information about the samba mailing list