Make OpenDJ run on NetBSD The NetBSD Project
Status: Closed Time to complete: 72 hrs Mentors: Radoslaw Kujawa, Aleksej Saushev Tags: ldap, sso, java

Traditionally directory services in open-source systems are built around OpenLDAP, which is tricky to setup. There're reports that OpenDJ setup is easier but the software is written in Java, which brings different challenges.

Provide instructions (step-by-step, where needed) how to make OpenDJ work on NetBSD, including instructions how to download OpenDJ itself, all components it depends on (identify them either by reading documentation or by searching the web), how to make it run.

 

You are to provide starter script that sets all necessary environment variables and passes correct flags to Java VM from OpenJDK7 package.

You are to provide instructions how to test, if the server works (e.g. by providing instructions how to add, search, and remove entries in directory).

Uploaded Work
File name/URL File size Date submitted
OpenDJ en NetBSD.pdf 167.6 KB December 09 2012 11:13 UTC
OpenDJ on NetBSD.zip 270.2 KB December 09 2012 16:30 UTC
OpenDJ.zip 294.9 KB December 10 2012 16:16 UTC
OpenDJ.zip 343.5 KB December 11 2012 18:30 UTC
OpenDJ2.zip 461.2 KB December 13 2012 16:13 UTC
OpenDJ3.zip 443.0 KB December 14 2012 15:38 UTC
Comments
Adrián Arroyo Calle on December 7 2012 14:56 UTC Task Claimed

I would like to work on this task.

Aleksej Saushev on December 7 2012 18:35 UTC Task Assigned

This task has been assigned to Adrián Arroyo Calle. You have 72 hours to complete this task, good luck!

Aleksej Saushev on December 8 2012 19:33 UTC Progress?

Hi!


You're working for a day on this task. By this time you should have at least several subproblems solved, or at the very least, a plan how to solve them in the nearest future. Please, contact us on #netbsd-code, if you have questions, problems or need assistance.

Adrián Arroyo Calle on December 8 2012 19:44 UTC I'm working

I'm working on the task, but first I get a internet problem in NetBSD (I'm new on this system). Now I have access to internet and I'm installing OpenDJ.

Adrián Arroyo Calle on December 9 2012 11:13 UTC Ready for review

The work on this task is ready to be reviewed.

Adrián Arroyo Calle on December 9 2012 11:15 UTC Hi, I submit a PDF

Hi, I submit a PDF with the instructions and some screenshots. I think that the guide is complete and useful. Thanks in advance

Aleksej Saushev on December 9 2012 12:41 UTC Review

Hello,


First, your report doesn't have anything that requires it to be in PDF. This task shouldn't involve graphical content at all. Please, convert your report to plain text, HTML, or Markdown, which are our main formats to exchange information during GCI.


Second, your guide suggests extremely dangerous step that breaks the system in 99% of use cases. Namely, hadlinking system shared libraries. Never suggest it without proper caution that it is very dangerous hack. In fact, never do it yourself. This is not a solution, it is problem.


Third, you suggest that user modifies his settings. What if I don't use OpenJDK7 as my main Java VM? What am I to do in that case? What am I to do, if I intend to run software and not to log in? .profile settings are not applied then.


Your instructions don't satisfy requirements. Read the last passage:


"You are to provide starter script that sets all necessary environment variables and passes correct flags to Java VM from OpenJDK7 package.


You are to provide instructions how to test, if the server works (e.g. by providing instructions how to add, search, and remove entries in directory)."


How have you tested that the software actually works? Have you performed any minimal testing?

Radoslaw Kujawa on December 9 2012 14:39 UTC Task Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Adrián Arroyo Calle on December 9 2012 16:30 UTC Ready for review

The work on this task is ready to be reviewed.

Aleksej Saushev on December 9 2012 18:12 UTC Review

Hi!


This is much better.


However,


1. Try to avoid graphical content here, it really should not be needed.


2. Try not to install packages not essential for the task. In particular, avoid wget. Try ftp(1).


3. Provide instructions how to test directory functionality. In particular, how can I create and query records in the directory. (If possible, script it.)


4. Optional, if you have time. Try to create pkgsrc package for it.

Aleksej Saushev on December 9 2012 18:14 UTC Task Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Adrián Arroyo Calle on December 10 2012 16:16 UTC Ready for review

The work on this task is ready to be reviewed.

Melange on December 10 2012 18:35 UTC No more Work can be submitted

Melange has detected that the deadline has passed and no more work can be submitted. The submitted work should be reviewed.

Aleksej Saushev on December 11 2012 07:44 UTC Deadline extended

The deadline of the task has been extended with 0 days and 12 hours.

Aleksej Saushev on December 11 2012 18:06 UTC Deadline extended

The deadline of the task has been extended with 0 days and 6 hours.

Adrián Arroyo Calle on December 11 2012 18:31 UTC Hi, I submit a new ZIP

I include the testing tutorial and now the tutorial is more complete.

Aleksej Saushev on December 11 2012 22:31 UTC Review

Hi!


This is a bit better, but...


1. It still is overloaded with graphics.You use graphical illustration where they are not needed at all.


2. You illustrate installation steps with wget. Is wget really necessary? Why?


3. I don't know Spanish, sorry. Could you provide your instructions in Russian? Why? (Perhaps, you should write them in English as a common denominator.)


4. I tried to follow installation instructions for graphical interface, and got some network service listening IPv6 but not IPv4 without any possibility of configuration. (Thus I need some time to understand what's happening. Good CLI instructions could probably address this problem.)

Aleksej Saushev on December 11 2012 22:32 UTC Deadline extended

The deadline of the task has been extended with 2 days and 0 hours.

Aleksej Saushev on December 11 2012 22:32 UTC Task Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Aleksej Saushev on December 13 2012 09:16 UTC Deadline extended

The deadline of the task has been extended with 0 days and 12 hours.

Adrián Arroyo Calle on December 13 2012 16:14 UTC Ready for review

The work on this task is ready to be reviewed.

Adrián Arroyo Calle on December 13 2012 16:17 UTC Hi, I submit a new ZIP

Hi, I submit a new ZIP and now I think that is the best version that I submited.


1. I remove all the GUI images, not console images but now there are more text


2. Wget is necesary. I try to download the file with ftp but the server only accept HTTP.


3. I change all the spanish words .


4. I add instructions for CLI mode


 

Aleksej Saushev on December 13 2012 21:23 UTC Review

Hi!


It is better, still...


1. The report is still overloaded with graphics. Please, convert all textual information to text. Don't use screenshots where they are not needed at all.


2. Since you're using HTTP, wget is not needed here. Avoid it. Use ftp. Refer to documentation, if needed.

Aleksej Saushev on December 13 2012 21:23 UTC Task Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Aleksej Saushev on December 13 2012 21:23 UTC Deadline extended

The deadline of the task has been extended with 0 days and 20 hours.

Radoslaw Kujawa on December 13 2012 21:28 UTC Re: Hi, I submit a new ZIP

Hi Adrian.


I think that your article is very nice, however you still need to fix a few problems:


- Please do not use graphical screenshots for console text, just copy the text from console to tutorial. Screenshots are less useful for people reading tutorial because they can't copy text from tutorial into their own terminal. There is no need to take screenshots when showing console output since you can just copy the text. Remember to make it readable by using some other (monospaced) font. 


- The NetBSD ftp(1) program can use HTTP protocol too (not only FTP). Please try to download archives with it, installing wget is really not needed here.


Otherwise your tutorial is good. We will accept it and close the task once you fix the above problems.

Adrián Arroyo Calle on December 14 2012 15:38 UTC Ready for review

The work on this task is ready to be reviewed.

Aleksej Saushev on December 15 2012 06:09 UTC Task Closed

Congratulations, this task has been completed successfully.