Any administration command sent via the linux command line to samba e.g.
net rpc info -UAdministrator
results in the following error : NT_STATUS_INVALID_SID
It's not possible to create users or put them in groups this way. The same error appears again and again. When trying to administer users with RSAT components, the message "RPC server not available".
Already tried to flush firewall, but it didn't help.
Impossible to create another user and put him as "domain admin".
"samba-tool dbcheck" has been done. No errors found.
There seem to be a problem with the "administrators" group SID.
Saw this here http://comments.gmane.org/gmane.network.samba.general/143263
Shares, roaming profile, etc are working fine. It just seems to be a matter of admin. Version 4.2.0rc2 but also on 4.3pre1
*** This bug has been marked as a duplicate of bug 10720 ***