Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gc-wip: windows can not obtain FQDN for IPA user #64

Open
wladich opened this issue Nov 4, 2020 · 1 comment
Open

gc-wip: windows can not obtain FQDN for IPA user #64

wladich opened this issue Nov 4, 2020 · 1 comment

Comments

@wladich
Copy link
Collaborator

wladich commented Nov 4, 2020

I have logged in as IPA user at Windows AD client machine.
When I execute whoami /upn I get expected result: [email protected].
But when I run whoami /fqdn I get the error:

ERROR: Unable to get Fully Qualified Distinguished Name (FQDN) as the current
       logged-on user is not a domain user.

For reference: same command output for AD user:

whoami /fqdn
CN=testuser,CN=Users,DC=ad,DC=test
@abbra
Copy link
Owner

abbra commented Nov 4, 2020

I believe this is just OK. We do not support [MS-DRSR] RPC API, so there is no way to run FQDN request like in the example here: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-drsr/1c8421eb-2f6c-476c-a7d0-fe93277001ec

This is due to our use of Samba -- we use it as an NT4 domain controller with enough plumbing to believe we are an AD DC for forest trust but we don't have fully working AD DC. Samba provides implementation of MS-DRSR protocol only when it is running as AD DC. We cannot run it in this mode because it uses incompatible schema with FreeIPA and cannot look up data in FreeIPA LDAP server.

@wladich wladich changed the title gc-wip: windows can not obtain DQDN for IPA user gc-wip: windows can not obtain FQDN for IPA user Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants