Problem
Errors are reported when running
samba-tool drs showrepl
Error might be:
ERROR(runtime): DsReplicaGetInfo of type 0 failed - (-1073610699, 'The operation cannot be performed.')
Samba DRS CRITICAL: (3221356597, 'The operation cannot be performed.')
→ 1. Environment
UCS 4.2
→ 2. Environment
UCS 4.3, 4.4
Solution
- Install UCS 4.2 errata update 497 based on this bug.
- Check
/var/log/samba/log.samba
for deleted or tombstone objects that remains. To fix this issue remove these objects vialdbdel
Investigation
Due to some incompatibilities the only command to restart Samba-related services is
/etc/init.d/samba restart
All other commands are not working.
The scheduled password renewal procedure in UCS used still the wrong commands so the replication failed because the services where not restarted.