[Samba] Failed to prepare gensec: NT_STATUS_INVALID_SERVER_STATE

basti mailinglist at unix-solution.de
Tue Nov 16 14:15:42 UTC 2021


Hello we have move a DC from one hardware to an other.
Now we get the error above.
So I tryed to run "samba-check-set-sysvol.sh". This exits with
"WBC_ERR_DOMAIN_NOT_FOUND".

wbinfo --sid-to-uid=S-1-5-32-544 did also failed.

So it seems that something is wrong with idmap.
The only line in smb.conf is "idmap_ldb:use rfc2307 = yes".

On an other DC wbinfo --sid-to-uid=S-1-5-32-544 did return the right entry.

Can I simply copy this file from one DC to the other one?





More information about the samba mailing list