Authenticating using lower case domain/realm



Hello to all.

I have successfully configured ubuntu machines to authenticate to a active
directory running windows 2k (pam_krb5/LDAP/Kerberos). The realm is
DOMAIN.COM, however in order to be user friendly and maintain the same login
address in everything, i need to authenticate using user@xxxxxxxxxx instead
of user@xxxxxxxxxxx

It seems windows 2k, accepts either way, but maybe kerberos don't like the
response it receives:

kinit(v5): KDC reply did not match expectations while getting initial
credentials



I'm using ubuntu 8.10 and:

krb5-config 1.19 Configuration files for Kerberos Version 5
krb5-user 1.6.dfsg.4~beta1-3 Basic programs to authenticate using MIT Ker
libkrb53 1.6.dfsg.4~beta1-3 MIT Kerberos runtime libraries

The krb5.conf:

[libdefaults]
default_realm = DOMAIN.COM
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true
# dns_lookup_realm = true
# dns_lookup_kdc = false

[realms]
DOMAIN.COM = {
kdc = dc.domain.com
admin_server = dc.domain.com
default_domain = DOMAIN.COM
}


[domain_realm]
domain.com = DOMAIN.COM
.domain.com = DOMAIN.COM



I have googled, read the mans, tried a lot of other configurations, etc, for
days now, but can't figure it out. I will appreciate any input you got on
this.


Thanks in advance for you replies.

Santos
.



Relevant Pages

  • Re: using UPN to auth
    ... configuration", p); ... I was able to get it to compile but it dumps when I authenticate via ... realm `foobar.com' is not defined by configuration assume it is an ... >> if (enterprisename) ...
    (comp.protocols.kerberos)
  • Re: Basic Authentication + IIS 5 + Windows 2000 + Frontpage 2002 = failure?
    ... This posting is provided “AS IS” with no warranties, and confers no rights. ... |> In my setup, I cannot log in to the local computer, only the domain. ... |>> extra bit added to the configuration of this puzzle, ... |>> authenticate, and can use the local administrator account to ...
    (microsoft.public.inetserver.iis.security)
  • Re: Linux : krb5 and pam
    ... If the default_realm in /etc/krb5.conf is set to one realm, the users in the other realm cannot authenticate and vice versa. ... found but are not found in the kerberos database. ... authenticate `user2' ...
    (comp.protocols.kerberos)
  • Re: Wireless network w/ SBS
    ... actual do authenticate prior to log in but very late in the start up ... the computer certificate is not installed properly, ... policies are user lever. ... I document are in "Computer Configuration" and NONE of them are in "User ...
    (microsoft.public.windows.server.sbs)
  • Re: Linux : krb5 and pam
    ... If the default_realm in /etc/krb5.conf is set to one realm, the users in the other realm cannot authenticate and vice versa. ... I am indeed able to kinit succesfully as both users from both domains when I log on locally as one of the users. ... I heavily suspect the pam_krb5 module in this case; it is able to perform kerberos authentication for the default domain. ...
    (comp.protocols.kerberos)