directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Paulsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-2051) Getting Password Expired Instead of Invalid Credentials
Date Mon, 04 May 2015 23:55:06 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14527580#comment-14527580
] 

David Paulsen commented on DIRSERVER-2051:
------------------------------------------

OK, this is what I did and it seems to have worked:
(1) I started with the plain old default instance that gets created in install.
(2) Replace "dc=example" with "dc=kewilltransport" in the following files:
    C:\apacheds\instances\default\conf\config.ldif_migrated (2 replacements)
    C:\apacheds\instances\default\conf\ou=config\ads-directoryserviceid=default\ou=partitions\ads-partitionid=example.ldif
(1 replacement)
    C:\apacheds\instances\default\conf\ou=config\ads-directoryserviceid=default\ou=servers\ads-serverid=kerberosserver.ldif
(1 replacement)
(2) Start server
(3) Add a context entry for "dc=kewilltransport,dc=com" as follows:
    (a) Right click Root DSE and select "New->New Context Entry"
    (b) Select "Create from scratch"
    (c) Add Domain object class
    (d) Enter "dc=kewilltransport,dc=com"
    (e) Click Next, then Finish

Just to be sure, anything I create under the "dc=kewilltransport,dc=com" context entry will
be in the example partition, correct?




> Getting Password Expired Instead of Invalid Credentials
> -------------------------------------------------------
>
>                 Key: DIRSERVER-2051
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2051
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: David Paulsen
>         Attachments: TMSInstance.zip
>
>
> When I log in with invalid credentials AND the password is expired, I 
> would expect to get the invalid credentials error:
> LDAPException: Invalid Credentials (49) Invalid Credentials
> LDAPException: Server Message: INVALID_CREDENTIALS: Bind failed: ERR_229 
> Cannot authenticate user 
> uid=admin,ou=DJPS1,ou=DVHead,dc=kewilltransport,dc=com
> Instead I get the password expired error:
> LDAPException: Invalid Credentials (49) Invalid Credentials
> LDAPException: Server Message: INVALID_CREDENTIALS: Bind failed: paasword 
> expired
> I would think we should get the invalid credentials error in that case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message