directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashton Davis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRSERVER-1957) chpass/passwd failure (Linux)
Date Tue, 18 Feb 2014 17:30:19 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashton Davis resolved DIRSERVER-1957.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M16

There was an issue with how ADS was handling back-end password hashing as well as an issue
with the password modify handler.  I have successfully tested code added by Kiran to resolve
the issue.  

Thanks Kiran!

> chpass/passwd failure (Linux)
> -----------------------------
>
>                 Key: DIRSERVER-1957
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1957
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: changepw
>    Affects Versions: 2.0.0-M15
>         Environment: CentOS 5.10/6.5
> SSSD 1.9.x
>            Reporter: Ashton Davis
>             Fix For: 2.0.0-M16
>
>         Attachments: error.log
>
>
> Currently SSSD is configured with ldap as chpass provider.  As far as I can tell, it's
doing its job.  I use passwd to change a logged-in ldap password and get java errors from
ADS back through SSSD's error output.
> adavis@server~$ passwd
> Changing password for user adavis.
> Current Password: 
> New UNIX password: 
> Retype new UNIX password: 
> Password change failed. Server message: OTHER: Extended operation handler for the specified
EXTENSION_OID (1.3.6.1.4.1.4203.1.11.1) has failed to process your request:
> java.lang.ClassCastException: org.apache.directory.api.ldap.codec.api.ExtendedRequestDecorator
cannot be cast to org.apache.directory.api.ldap.extras.extended.PwdModifyRequest
> 	at org.apache.directory.server.ldap.handlers.extended.PwdModifyHandler.handleExtendedOperation(PwdModifyHandler.java:63)
> 	at org.apache.directory.server.ldap.handlers.request.ExtendedRequestHandler.handle(ExtendedRequestHandler.java:62)
> 	at org.apache.directory.server.ldap.handlers.request.ExtendedRequestHandler.handle(ExtendedRequestHandler.java:38)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:207)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
> 	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:221)
> 	at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:217)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
> 	at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
> 	at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
> 	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:474)
> 	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:428)
> 	at java.lang.Thread.run(Thread.java:724)
> passwd: Authentication token manipulation error



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message