12.3. Adding a Kerberos enterprise principal alias
You can associate enterprise principal alias names with existing Kerberos enterprise principals in an Identity Management (IdM) environment. Enterprise principal aliases can use any domain suffix except for user principal name (UPN) suffixes, NetBIOS names, or domain names of trusted Active Directory forest domains.
Procedure
To add the enterprise principal alias
user@example.comto theuseraccount:# ipa user-add-principal <user> <user\\@example.com> -------------------------------- Added new aliases to user "user" -------------------------------- User login: user Principal alias: user@IDM.EXAMPLE.COM, user\@example.com@IDM.EXAMPLE.COMTo add an enterprise alias to a host or service, use the
ipa host-add-principaloripa service-add-principalcommand respectively instead.참고When adding or removing enterprise principal aliases, escape the @ symbol using two backslashes (\\). Otherwise, the shell interprets the @ symbol as part of the Kerberos realm name and leads to the following error:
ipa: ERROR: The realm for the principal does not match the realm for this IPA server.If you use an enterprise principal name to authenticate, use the
-Eoption with thekinitcommand:# kinit -E <user@example.com> Password for user\@example.com@IDM.EXAMPLE.COM: