[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2022-01-10 Thread Andreas Hasenack
Confirmed on focal: root@f1:~# hostname f1.client.internal.example.fake root@f1:~# klist -ekt|grep client root@f1:~# In jammy I'm not sure. I get both host keys: root@j1:~# klist -ekt|grep host/j1 -w 1 01/10/22 19:37:57 host/j1.internal.example.f...@internal.example.fake

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2022-01-10 Thread Andreas Hasenack
Hm, I just realized I didn't have the exact same scenario as you. My DNS domain for the client was equal to the realm. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905000 Title: realm join DOMAIN

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2022-01-10 Thread Andreas Hasenack
I think this is working in jammy (22.04): realm 0.17 (to be uploaded) samba 4.13.14 My client vm: root@j1:~# hostname -f j1.internal.example.fake Server is AD 2016: join: root@j1:~# realm join -v --automatic-id-mapping=no --membership-software=samba --client-software=winbind

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2022-01-06 Thread Andreas Hasenack
I'm working on realmd (and adcli next) for Ubuntu 22.04 and will look at this. ** Changed in: realmd (Ubuntu) Assignee: (unassigned) => Andreas Hasenack (ahasenack) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2020-12-03 Thread Sebastien Bacher
I see you commented upstream on https://gitlab.freedesktop.org/realmd/realmd/-/issues/28 which sounds similar? ** Bug watch added: gitlab.freedesktop.org/realmd/realmd/-/issues #28 https://gitlab.freedesktop.org/realmd/realmd/-/issues/28 -- You received this bug notification because you are

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2020-12-02 Thread Sergio Durigan Junior
Thanks for providing more info. I'm marking this bug as New again, since the ball is now on our court. I'll see if I time to look into this soon. ** Changed in: realmd (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2020-12-01 Thread Alexander Fieroch
On 19.10 the bug does not occur and keytab entries are correct: I joined to AD with: realm join --user-principal=KUBUNTU-TEST$ --automatic-id-mapping=no --membership-software=samba --client-software=winbind --computer-name=kubuntu-test --os-name=Ubuntu --os-version=19.10 MPI-DORTMUND.MPG.DE

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2020-12-01 Thread Alexander Fieroch
I just installed a VM with 20.04 and can confirm that the regression is also present in 20.04. Nex I'll test it on 19.10... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905000 Title: realm join

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2020-11-30 Thread Paride Legovini
Thank you Alexander for the additional information. I noticed you are using Ubuntu 20.10. Is the missing subdomain problem you are observing a regression of Ubuntu 20.10, or is the problem present even with earlier version of Ubuntu (e.g. 20.04 LTS)? Setting up a reproducer for this kind of issue

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2020-11-27 Thread Alexander Fieroch
Our dhcp sets clients with dynamically configured ip into a subdomain .client.DOMAIN, while clients with static ip go to .DOMAIN. Example: I join clients to AD using sssd for authentication. realm join --automatic-id-mapping=no --membership-software=adcli DOMAIN The FQDN for this client is:

[Bug 1905000] Re: realm join DOMAIN (samba) sets wrong krb5.keytab (missing subdomain)

2020-11-24 Thread Bryce Harrington
Could you elaborate further on how you're configuring things? I'm not very versed in Samba, but adding the 'client' level between the host and domain looks unusual, so would be helpful if you could explain more (or provide link to reference describing your use case). Thanks ahead of time. **