basti
2021-Nov-16 14:15 UTC
[Samba] Failed to prepare gensec: NT_STATUS_INVALID_SERVER_STATE
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?