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

Emmanuel Lécharny resolved DIRSERVER-2342.
------------------------------------------
    Resolution: Cannot Reproduce

Works just fine in M27.

I added a test demonstrating we can change the password: 
https://github.com/apache/directory-server/commit/ccbab42e3c28883fc2045ef279316e457a30a618

> Changing default admin password
> -------------------------------
>
>                 Key: DIRSERVER-2342
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2342
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0.AM26
>         Environment: Arch Linux, openjdk 15.0.2 2021-01-19, 
>            Reporter: Szilveszter Zsigmond
>            Priority: Major
>
> Cannot change the default Admin password, nor cannot remove it, after I added 
> a new userPassword attrbitute. Actually cannot remove any new userPassword 
> added to admin user.
> Here is a newly created server log: 
> [14:24:08] INFO [org.apache.directory.server.UberjarMain] - Starting the 
> service.
> [14:24:10] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] 
> - ERR_13207_VALUE_ALREADY_EXISTS The value '1.3.6.1.4.1.42.2.27.8.5.1' 
> already exists in the attribute (supportedControl)
> [14:24:10] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] 
> - ERR_13207_VALUE_ALREADY_EXISTS The value '1.2.840.113556.1.4.841' already 
> exists in the attribute (supportedControl)
> [14:24:10] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] 
> - ERR_13207_VALUE_ALREADY_EXISTS The value '1.3.6.1.4.1.4203.1.9.1.2' already 
> exists in the attribute (supportedControl)
> [14:24:10] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] 
> - ERR_13207_VALUE_ALREADY_EXISTS The value '1.2.840.113556.1.4.319' already 
> exists in the attribute (supportedControl)
> [14:24:10] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] 
> - ERR_13207_VALUE_ALREADY_EXISTS The value '1.2.840.113556.1.4.528' already 
> exists in the attribute (supportedControl)
> [14:24:10] WARN [org.apache.directory.server.core.DefaultDirectoryService] - 
> You didn't change the admin password of directory service instance 'default'. 
>  Please update the admin password as soon as possible to prevent a possible 
> security breach.
> [14:24:11] INFO [org.apache.directory.server.UberjarMain] - Start the 
> shutdown listener on port 42447
> [14:25:03] ERROR [org.apache.directory.server.core.schema.SchemaInterceptor] 
> - ERR_56 Cannot remove an absent value from attribute : attributetype ( 
> 2.5.4.35 NAME 'userPassword'
>       DESC 'RFC2256/2307: password of user'
>       EQUALITY octetStringMatch
>       SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
>       USAGE userApplications )



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to