sudo -i
cd /tmp
wget http://apache.javapipe.com//directory/apacheds/dist/2.0.0-M23/apacheds-2.0.0-M23-amd64.deb
chmod +x apacheds-2.0.0-M23-amd64.deb
dpkg -i apacheds-2.0.0-M23-amd64.deb
update-rc.d apacheds-2.0.0-M23-default defaults
shutdown -r now
- Check the log in /var/lib/apacheds…/default/log/apacheds.log for successful start-up; a single line should be present (something like
[13:19:14] 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.
- Download latest ApacheDS Studio and install it
- Create a new connection specifying:
- Network parameters:
- Connection name
- Hostname
- Port: 10389
- Press "Check Network Parameters’
- Authentication
- Bind dn ou user :
uid=admin,ou=system
- Bind password :
secret
- Press ‘Check Authetication’
- Finish
- Change adminstrator’s password by editing
ou=system
->uid=admin
and choosing anything else than plain text
- Close the connection, reconfigure the connection’s stored password and reopen it
- Create a new partition by selecting ‘Open Configuration’ in the contextual menu (right click) of the newly created connection:
- Advanced Partition Configuration…
- Add..
- Specify ID (like
mycompany
)and partition suffix like dc=mycompany
)
- Save
- Restart the service
service apacheds restart
- Refresh the browser tree by selecting Reload from contextual menu
- Perform any data import as required (from LDIF files for instance)
Important remark: Please notice that ldapsearch
or the data export from ApacheDS Studio do not save info in the right sequence for importing (dependent objects after the objects they depend on)
PHByZT48Y29kZT5zdWRvIC1pDQpjZCAvdG1wDQp3Z2V0IGh0dHA6Ly9hcGFjaGUuamF2YXBp
cGUuY29tLy9kaXJlY3RvcnkvYXBhY2hlZHMvZGlzdC8yLjAuMC1NMjMvYXBhY2hlZHMtMi4w
LjAtTTIzLWFtZDY0LmRlYg0KY2htb2QgK3ggYXBhY2hlZHMtMi4wLjAtTTIzLWFtZDY0LmRl
Yg0KZHBrZyAtaSBhcGFjaGVkcy0yLjAuMC1NMjMtYW1kNjQuZGViDQp1cGRhdGUtcmMuZCBh
cGFjaGVkcy0yLjAuMC1NMjMtZGVmYXVsdCBkZWZhdWx0c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