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

Emmanuel Lécharny commented on DIRSERVER-2347:
----------------------------------------------

So I was wrong, the last 2 bytes (30 00) aren't wrong. They are just the 
SEQUENCE for thee PasswordModify extended response :

{noformat}
   PasswdModifyResponseValue ::= SEQUENCE {
     genPasswd       [0]     OCTET STRING OPTIONAL }
{noformat}

with an empty genPasswd content. the SEQUENCE is encoded as 0x30 LL ...., where 
LL is the length of the following bytes. Here, 0.

> Incorrect Password Modify response (extended response)
> ------------------------------------------------------
>
>                 Key: DIRSERVER-2347
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2347
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: asn1, changepw
>    Affects Versions: 2.0.0.AM26
>            Reporter: Oleksandr Andreiev
>            Priority: Major
>         Attachments: 2021-05-14_09-00.png
>
>
> Hello,
> I'm using ApacheDS as LDAP Server along with Linux PAM.
> When I try to change user's password via `passwd` ApacheDS actually changes 
> it, but sends some extra bytes with ExtendedResp packet. Because these bytes 
> an extra `pam_ldap` library cannot parse it and generates an decoding error.
> The same issue is described here:
>  [https://lists.arthurdejong.org/nss-pam-ldapd-users/2019/msg00030.html]
> Is there a way to handle it or probably some workaround?
> Regards,
> Oleksandr



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to