Just for the record, my situation is probably a little bit different, but I'm struggling with this error too:
I join my AD domain using realmd/sssd;
Then I configure Samba;
It works fine if I set "security = user", but if I set "security = ads", smb.log shows: could not fetch domain SID;
The way I've found to workaround this, was leaving the domain, then joining it with realmd/winbind, then leaving the realm again (because my authentication won't work when I join the domain with realmd/winbind), then joining with realmd/sssd again.
This will make the domain SID mystically appear on wherever it goes to, and also make my AD-integrated authentication work for Samba.
Now I'm still trying to figure out why is it that joining the domain with realmd/winbind gets me the domain SID, while joining with realmd/sssd doesnt.
|