Bug 471287 - password plugin can't handle entries without kerberos
Summary: password plugin can't handle entries without kerberos
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 1.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: v2 release
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 431020
TreeView+ depends on / blocked
 
Reported: 2008-11-12 20:36 UTC by Rob Crittenden
Modified: 2015-01-04 23:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-28 09:29:07 UTC
Embargoed:


Attachments (Terms of Use)
Don't require kerberos attrs on all password changes (5.56 KB, patch)
2010-04-23 15:38 UTC, Rob Crittenden
no flags Details | Diff

Description Rob Crittenden 2008-11-12 20:36:37 UTC
The password extop plugin requires that the entry have kerberos credentials (and/or objectclass I suppose) in order to reset a password using ldappasswd.

If you have an entry like this:

dn: uid=passsync,cn=sysaccounts,cn=etc,dc=greyoak,dc=com
objectClass: account
objectClass: simplesecurityobject
objectClass: top
uid: passsync
userPassword::XXXXXX...

If fails if you do:

%ldappasswd -v -Y GSSAPI -S uid=passsync,cn=sysaccounts,cn=etc,dc=greyoak,dc=com
New password: 
Re-enter new password: 
ldap_initialize( <DEFAULT> )
SASL/GSSAPI authentication started
SASL username: admin
SASL SSF: 56
SASL data security layer installed.
Result: Operations error (1)
Additional info: Failed to update password

DS logs:

[12/Nov/2008:15:34:36 -0500] ipa_pwd_extop - no krbPrincipalName present in this entry
[12/Nov/2008:15:34:36 -0500] ipa_pwd_extop - key encryption/encoding failed

Comment 1 Simo Sorce 2008-11-18 22:32:15 UTC
Temporary workaround is to use ldapmodify and change the userPassword attribute.

Comment 3 Rob Crittenden 2010-04-23 15:38:59 UTC
Created attachment 408651 [details]
Don't require kerberos attrs on all password changes

Comment 4 Rob Crittenden 2010-04-23 19:23:14 UTC
master: ba85312bf1304d20f4199038bcf4a3f900dad7cf


Note You need to log in before you can comment on or make changes to this bug.