Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

krbPrincipalName not creating principal in kerberos

5 views
Skip to first unread message

keerthi krishnan

unread,
Feb 3, 2022, 1:10:02 AM2/3/22
to
Hi Team,

I have ldap setup and kerberos setup.

Requirement:

1. We have list of users in ironport ldap and want to sync particular group cn to kerbros and its password. So that both ldap and. kerberos will have same password.
2. I want to create user object in ldap with multiple user alias like uid=alice, krbPrincipalAliases: alice/ad...@DOMAIN.COM
krbPrincipalName: alice/ad...@DOMAIN.COM

Achieved
1. I have complied smbkrb5passwd module to sync user and its password from ldap to kerberos. Here uid is creating as principal in kerberos.

Not working.

I have added user data like this
++++
dn: uid=wilf,ou=people,dc=domain,dc=com
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: krbprincipalaux
objectClass: krbTicketPolicyAux
uid: wilf
cn: wilf/admin
sn: Fernandz
loginShell: /bin/bash
uidNumber: 10003
gidNumber: 10003
homeDirectory: /home/wilf
shadowMax: 60
shadowMin: 1
shadowWarning: 7
shadowInactive: 7
shadowLastChange: 0
krbPrincipalAliases: wilf/admin@DOMAINCOM
krbPrincipalName: wilf/ad...@DOMAIN.COM
++++

But in kerberos, the principal creating as wi...@DOMAIN.COM but krbPrincipalAliases not creating as prinicipal.

Even I tried creating this user wilf/admin@DOMAINCOM in kerberos manually and tried changing password for uid wilf but alias and uid is not mapped so it is not updating.

How can we achieve adding multiple principal alias for the same userobject. ?. I dont want to add multiple user and manage inldap.

I am kind of blocked here. Please help me.

keerthi krishnan

unread,
Feb 3, 2022, 1:47:38 AM2/3/22
to kerb...@mit.edu
Regards
K.Keerthiga
0 new messages