[Samba] replication failing for 4.9.4
Kristján Valur Jónsson
kristjan at rvx.is
Fri Dec 28 15:38:59 UTC 2018
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]
> [2018/12/28 15:30:47.473993, 0]
> ../source4/smbd/service_task.c:36(task_server_terminate)
> task_server_terminate: task_server_terminate: [dreplsrv: Failed to
> connect to local samdb: WERR_DS_UNAVAILABLE
> ]
> [2018/12/28 15:30:47.504721, 0]
> ../source4/smbd/service_task.c:36(task_server_terminate)
> task_server_terminate: task_server_terminate: [kccsrv: Failed to connect
> to local samdb: WERR_DS_UNAVAILABLE
> ]
> [2018/12/28 15:30:47.509377, 0]
> ../source4/dsdb/dns/dns_update.c:127(dnsupdate_rebuild)
> [2018/12/28 15:30:50.030324, 0]
> ../source3/winbindd/winbindd_cache.c:3160(initialize_winbindd_cache)
> initialize_winbindd_cache: clearing cache and re-creating with version
> number 2
> [2018/12/28 15:30:50.123864, 0]
> ../source3/passdb/pdb_interface.c:180(make_pdb_method_name)
> pdb backend samba_dsdb did not correctly init (error was
> NT_STATUS_UNSUCCESSFUL)
> [2018/12/28 15:30:50.155000, 0]
> ../source3/passdb/pdb_interface.c:180(make_pdb_method_name)
> pdb backend samba_dsdb did not correctly init (error was
> NT_STATUS_UNSUCCESSFUL)
> [2018/12/28 15:30:50.317037, 0]
> ../lib/util/become_daemon.c:138(daemon_ready)
> daemon_ready: STATUS=daemon 'smbd' finished starting up and ready to
> serve connections
> [2018/12/28 15:30:50.384582, 0]
> ../lib/util/become_daemon.c:138(daemon_ready)
> daemon_ready: STATUS=daemon 'winbindd' finished starting up and ready to
> serve connections
> [2018/12/28 15:30:50.402061, 0]
> ../source3/passdb/pdb_interface.c:180(make_pdb_method_name)
> pdb backend samba_dsdb did not correctly init (error was
> NT_STATUS_UNSUCCESSFUL)
Any thoughts?
I've found similar issues from a few years ago, e.g.
https://bugzilla.samba.org/show_bug.cgi?id=10955 but they don't appear to
apply to my case.
--
Kv,
Kristján Valur Jónsson, RVX
More information about the samba
mailing list