The Samba-Bugzilla – Bug 11062
Administrators SID is invalid
Last modified: 2015-01-20 18:41:41 UTC
On a samba 4.2 DC(tested 4.2rc2/rc3/rc4), which has worked well for about a month
still works for all users except "Administrator".
The problem happen after some time like 15-30 days
If I login to a Windows box with the Administrator account, I
connect to any shares and clicking on a mapped drive returns the
"The security ID structure is invalid".
Opening "Active Directory Users and Computers" on the Windows box
returns "The RPC server is unavailable".
Using "smbclient -L localhost -UAdministrator" on the GNU/Linux
running samba I receife this error: "session setup failed:
tests with heavy support of the samba list (firstname.lastname@example.org) has put in evidence two way to resolve the problem.
first by Roland Penny
second by Andrew Bartlett
If you installed Samba 4.2 before rc4, ensure you have run 'net cache flush' to clear the bad cache entry.
This issue is fixed in 4.2rc4. Please do not re-open or re-file unless you can reproduce on a domain that was either NOT running a prior version of Samba 4.2, or has already had 'net cache flush' run since the upgrade.
*** This bug has been marked as a duplicate of bug 10720 ***