Issue Details (XML | Word | Printable)

Key: DIRSERVER-352
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Trustin Lee
Reporter: Alex Karasulu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

cannot set password on initial run to the supplied password in the server.xml

Created: 27/Jun/05 08:57 PM   Updated: 10/Feb/06 12:34 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 27/Jun/05 09:09 PM


 Description  « Hide
On initial run the server should use the credentials of the user from the configuration file (server.xml). After this point on the user has to change the admin password from LDAP.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #201975 Mon Jun 27 12:06:58 UTC 2005 trustin A fix for DIREVE-175:
* Prevented users from initiating the first run as a non-admin account.
* At the first run, password is set to what user specified as SECURITY_CREDENTIALS instead of 'secret' now.
Files Changed
MODIFY /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
MODIFY /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryService.java
MODIFY /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractTestCase.java

Trustin Lee made changes - 27/Jun/05 08:58 PM
Field Original Value New Value
Assignee Alex Karasulu [ akarasulu ] Trustin Lee [ trustin ]
Alex Karasulu added a comment - 27/Jun/05 08:58 PM
The stack trace is available here:

http://rafb.net/paste/results/yIOOQp80.html

Trustin Lee added a comment - 27/Jun/05 09:09 PM
I checked in the fix:

* Prevented users from initiating the first run as a non-admin account.
* At the first run, password is set to what user specified as SECURITY_CREDENTIALS instead of 'secret' now.

Trustin Lee made changes - 27/Jun/05 09:09 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Alex Karasulu added a comment - 27/Jun/05 10:50 PM
Looks good.

Alex Karasulu made changes - 27/Jun/05 10:50 PM
Status Resolved [ 5 ] Closed [ 6 ]
Alex Karasulu made changes - 10/Feb/06 12:34 PM
Affects Version/s 0.9.1 [ 11125 ]
Project Directory Server [ 10516 ] Directory ApacheDS [ 12310260 ]
Key DIREVE-175 DIRSERVER-352
Fix Version/s 0.9.1 [ 11125 ]