I actually think it's working fine now. My problem seems to have been a
straightforward file permissions issue, but I was completely thrown by
the number of errors in the various logs (even with no debug logging)
and the behaviour of wbinfo, and couldn't see the wood for the trees.
Thanks though anyway.
Alexander Bokovoy wrote:
On ti, 03 maalis 2020, C T via FreeIPA-users wrote:
> I am trying to set up a samba server as part of a freeipa domain.
> I'd like
> users on windows machines from two trusted AD domains to access
> shares on
> the server (both users and computers are in the trusted AD domains).
> I've been through the docs (RHEL 8 "Setting up Samba on an IDM domain
> and built a couple of servers using CentOS 8; results are the same each
> time -- no worky.
> These servers integrate with Freeipa fine -- users from both trusted AD
> domains can SSH in etc. But errors are legion in samba. Both IPA
> and AD
> domains (and the trust relationshipts) have been in production for a
> working fine so I'm pretty confident DNS is ok. Kerberos seems to be
> working fine too as I can kinit users in all domains OK from the samba
> box. I'm confident firewalls are not blocking anything. I'm thinking
> winbind that is the key problem, with it somehow not being able to
> auth to
> the AD domains, but I'm not experienced with Samba/winbind so I'm
> struggling after all day on it. Any guidance would be appreciated.
Your details are not enough. Could you please show exactly what you ran
to set up the file server and what problems you see. No need to show
Samba logs without that first.
The instructions in RHEL 8 documentation (basically, have RHEL 8.1
machines for IPA master and IPA client, install and run ipa-client-samba
tool and start smb/winbind services) should be enough. Anything else is
not needed and should not be needed.
Do not look into wbinfo output, it is misleading and is not really
relevant here. Show how you set things up. We have SMB setup tested
every week in upstream CI, for both IPA users and trusted AD users and
there are no issues for quite some time:
You can expand the reports to see detailed logs,
is the test suite that defines all those tests.
Can you show how smbclient behaves when you are using it against the SMB
server you set up? You can see expected use and expected output in the
test reports above.
Also, design documents for the integration are here: