{"id":284,"date":"2011-07-11T11:44:37","date_gmt":"2011-07-11T09:44:37","guid":{"rendered":""},"modified":"2015-08-17T18:16:05","modified_gmt":"2015-08-17T16:16:05","slug":"instalacja","status":"publish","type":"post","link":"https:\/\/drfugazi.eu.org\/en\/instalacja\/","title":{"rendered":"Instalacja OpenDJ"},"content":{"rendered":"<p class=\"qtranxs-available-languages-message qtranxs-available-languages-message-en\">Sorry, this entry is only available in <a href=\"https:\/\/drfugazi.eu.org\/pl\/wp-json\/wp\/v2\/posts\/284\" class=\"qtranxs-available-language-link qtranxs-available-language-link-pl\" title=\"Polski\">Polish<\/a>. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.<\/p><p><\/p>\n<p>Pobieramy i rozpakowujemy najnowsz\u0105 wersj\u0119 OpenDJ ze strony <a href=\"http:\/\/forgerock.com\/downloads-opendj.html\">ForgeRock.com<\/a>.<br \/>\nPo rozpakowaniu znajdziemy katalog <code>OpenDJ-ver<\/code>, gdzie <ver>jest numerem wersji oczywi\u015bcie, ja u\u017cyj\u0119 najnowszej na chwil\u0119 obecn\u0105 czyli 2.4.3<\/p>\n<pre><code>\r\n# cd \/data\/var\r\n# unzip OpenDJ-2.4.3.zip\r\n# cd OpenDJ-2.4.3\r\n<\/code><\/pre>\n<p>Uruchamiamy instalacj\u0119:<\/p>\n<pre><code>\r\n# .\/setup --cli\r\n\r\nOpenDJ 2.4.3\r\nPlease wait while the setup program initializes...\r\n\r\nWhat would you like to use as the initial root user DN for the Directory\r\nServer? [cn=Directory Manager]: cn=dirmgr\r\nPlease provide the password to use for the initial root user: \r\nPlease re-enter the password for confirmation: \r\n\r\nOn which port would you like the Directory Server to accept connections from\r\nLDAP clients? [389]: \r\n\r\nOn which port would you like the Administration Connector to accept\r\nconnections? [4444]: \r\nDo you want to create base DNs in the server? (yes \/ no) [yes]: \r\n\r\nProvide the base DN for the directory data: [dc=example,dc=com]: dc=domain,dc=tld\r\nOptions for populating the database:\r\n\r\n    1)  Only create the base entry\r\n    2)  Leave the database empty\r\n    3)  Import data from an LDIF file\r\n    4)  Load automatically-generated sample data\r\n\r\nEnter choice [1]: \r\n\r\nDo you want to enable SSL? (yes \/ no) [no]: \r\n\r\nDo you want to enable Start TLS? (yes \/ no) [no]: yes\r\nCertificate server options:\r\n\r\n    1)  Generate self-signed certificate (recommended for testing purposes\r\n        only)\r\n    2)  Use an existing certificate located on a Java Key Store (JKS)\r\n    3)  Use an existing certificate located on a JCEKS key store\r\n    4)  Use an existing certificate located on a PKCS#12 key store\r\n    5)  Use an existing certificate on a PKCS#11 token\r\n\r\nEnter choice [1]: \r\nProvide the fully-qualified host name or IP address that will be used to\r\ngenerate the self-signed certificate [ldapdj1]: \r\n\r\nDo you want to start the server when the configuration is completed? (yes \/\r\nno) [yes]: \r\n\r\n\r\nSetup Summary\r\n=============\r\nLDAP Listener Port:            389\r\nAdministration Connector Port: 4444\r\nLDAP Secure Access:            Enable StartTLS\r\n                               Create a new Self-Signed Certificate\r\nRoot User DN:                  cn=dirmgr\r\nDirectory Data:                Create New Base DN dc=domain,dc=tld.\r\nBase DN Data: Only Create Base Entry (dc=domain,dc=tld)\r\n\r\nStart Server when the configuration is completed\r\n\r\n\r\nWhat would you like to do?\r\n\r\n    1)  Set up the server with the parameters above\r\n    2)  Provide the setup parameters again\r\n    3)  Print equivalent non-interactive command-line\r\n    4)  Cancel and exit\r\n\r\nEnter choice [1]: \r\n\r\nSee \/var\/tmp\/opends-setup-2524007990788292027.log for a detailed log of this operation.\r\n\r\nConfiguring Directory Server ..... \r\n\r\nConfiguring Certificates ..... Done.\r\nCreating Base Entry dc=domain,dc=tld ..... Done.\r\nStarting Directory Server ............. Done.\r\n\r\nTo see basic server configuration status and configuration you can launch \/data\/var\/OpenDJ-2.4.3\/bin\/status\r\n<\/code><\/pre>\n<p>Sprawd\u017amy wi\u0119c status, czy serwer jest uruchomiony:<\/p>\n<pre><code>\r\n\r\n# \/data\/var\/OpenDJ-2.4.3\/bin\/status\r\n\r\n\r\n>>>> Specify OpenDS LDAP connection parameters\r\n\r\nAdministrator user bind DN [cn=Directory Manager]: cn=dirmgr\r\n\r\nPassword for user 'cn=dirmgr': \r\n\r\n          --- Server Status ---\r\nServer Run Status:        Started\r\nOpen Connections:         1\r\n\r\n          --- Server Details ---\r\nHost Name:                ldapdj1\r\nAdministrative Users:     cn=dirmgr\r\nInstallation Path:        \/data\/var\/OpenDJ-2.4.3\r\nVersion:                  OpenDJ 2.4.3\r\nJava Version:             1.6.0_25\r\nAdministration Connector: Port 4444 (LDAPS)\r\n\r\n          --- Connection Handlers ---\r\nAddress:Port : Protocol               : State\r\n-------------:------------------------:---------\r\n--           : LDIF                   : Disabled\r\n0.0.0.0:161  : SNMP                   : Disabled\r\n0.0.0.0:389  : LDAP (allows StartTLS) : Enabled\r\n0.0.0.0:636  : LDAPS                  : Disabled\r\n0.0.0.0:1689 : JMX                    : Disabled\r\n\r\n          --- Data Sources ---\r\nBase DN:     dc=domain,dc=tld\r\nBackend ID:  userRoot\r\nEntries:     1\r\nReplication: Disabled\r\n<\/code><\/pre>\n<p>Ze statusu wynika, \u017ce serwer dzia\u0142a, s\u0142ucha na porcie 389 i posiada jeden wpis. Replikacja nie jest skonfigurowana.<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Pobieramy i rozpakowujemy najnowsz\u0105 wersj\u0119 OpenDJ ze strony <a href=\"http:\/\/forgerock.com\/downloads-opendj.html\">ForgeRock.com<\/a>.<br \/>\nPo rozpakowaniu znajdziemy katalog <code>OpenDJ-ver<\/code>, gdzie <ver>jest numerem wersji oczywi\u015bcie, ja u\u017cyj\u0119 najnowszej na chwil\u0119 obecn\u0105 czyli 2.4.3<\/p>\n<pre><code>\r\n# cd \/data\/var\r\n# unzip OpenDJ-2.4.3.zip\r\n# cd OpenDJ-2.4.3\r\n<\/code><\/pre>\n<p>Uruchamiamy instalacj\u0119:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[115],"tags":[6,88],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7M9Tz-4A","jetpack-related-posts":[{"id":328,"url":"https:\/\/drfugazi.eu.org\/en\/installation-and-configuration-openldap\/","url_meta":{"origin":284,"position":0},"title":"Installation and configuration of OpenLDAP","author":"","date":"Wednesday December  1st, 2010","format":false,"excerpt":"Installation and basic configuration of LDAP directory service (OpenLDAP) on Ubuntu: sudo aptitude install slapd ldap-utils This description is based on HowtoForge document for Karmic Koala. I used to be to configure of OpenLDAP in slapd.conf file, but this is old method. Here we have possibility to modify LDAP configuration\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":230,"url":"https:\/\/drfugazi.eu.org\/en\/installation-and-configuration-openldap\/","url_meta":{"origin":284,"position":1},"title":"Installation and configuration of OpenLDAP","author":"drfugazi","date":"Wednesday December  1st, 2010","format":false,"excerpt":"Installation and basic configuration of LDAP directory service (OpenLDAP) on Ubuntu: sudo aptitude install slapd ldap-utils This description is based on HowtoForge document for Karmic Koala. I used to be to configure of OpenLDAP in slapd.conf file, but this is old method. Here we have possibility to modify LDAP configuration\u2026","rel":"","context":"In \"Mail system\"","block_context":{"text":"Mail system","link":"https:\/\/drfugazi.eu.org\/en\/tag\/mail_system\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":330,"url":"https:\/\/drfugazi.eu.org\/en\/mail-system-authentication-ldap\/","url_meta":{"origin":284,"position":2},"title":"Mail system authentication in LDAP","author":"","date":"Wednesday March 16th, 2011","format":false,"excerpt":"I suppose that Dovecot and Postfix are up and running, and you can receive and send mail with system user (see previous posts). It is time to configure authentication in LDAP. Use of directory service to user authentication allows for flexible management of mail system, hosting and so on. LDAP\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":240,"url":"https:\/\/drfugazi.eu.org\/en\/mail-system-authentication-ldap\/","url_meta":{"origin":284,"position":3},"title":"Mail system authentication in LDAP","author":"drfugazi","date":"Wednesday March 16th, 2011","format":false,"excerpt":"I suppose that Dovecot and Postfix are up and running, and you can receive and send mail with system user (see previous posts). It is time to configure authentication in LDAP. Use of directory service to user authentication allows for flexible management of mail system, hosting and so on. LDAP\u2026","rel":"","context":"In \"Mail system\"","block_context":{"text":"Mail system","link":"https:\/\/drfugazi.eu.org\/en\/tag\/mail_system\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":685,"url":"https:\/\/drfugazi.eu.org\/en\/autofs-in-ldap-configuration-linux-solaris\/","url_meta":{"origin":284,"position":4},"title":"Autofs in LDAP configuration &#8211; for Linux and Solaris","author":"drfugazi","date":"Friday November 25th, 2016","format":false,"excerpt":"If you have LDAP server as user repository it is also good to have NFS server to store their home directories. To avoid autofs map configuration on every host, you can use LDAP service to store maps. I assume that NFS server (NFSHOME) is already installed, LDAP server and client\u2026","rel":"","context":"In &quot;LDAP&quot;","block_context":{"text":"LDAP","link":"https:\/\/drfugazi.eu.org\/en\/category\/ldap\/"},"img":{"alt_text":"LDAP DIT","src":"https:\/\/i0.wp.com\/drfugazi.eu.org\/wp-content\/uploads\/2016\/06\/LDAP-DIT.jpg?fit=1200%2C1016&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/drfugazi.eu.org\/wp-content\/uploads\/2016\/06\/LDAP-DIT.jpg?fit=1200%2C1016&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/drfugazi.eu.org\/wp-content\/uploads\/2016\/06\/LDAP-DIT.jpg?fit=1200%2C1016&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/drfugazi.eu.org\/wp-content\/uploads\/2016\/06\/LDAP-DIT.jpg?fit=1200%2C1016&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/drfugazi.eu.org\/wp-content\/uploads\/2016\/06\/LDAP-DIT.jpg?fit=1200%2C1016&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":255,"url":"https:\/\/drfugazi.eu.org\/en\/","url_meta":{"origin":284,"position":5},"title":"bison-2.4.3","author":"drfugazi","date":"Thursday May 19th, 2011","format":false,"excerpt":"Zapis sesji konfiguracji i kompilacji generatora\/parsera Bison. Skrypt do kompilacji w za\u0142\u0105czeniu.","rel":"","context":"In \"Compilation\"","block_context":{"text":"Compilation","link":"https:\/\/drfugazi.eu.org\/en\/tag\/kompilacja\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/284"}],"collection":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/comments?post=284"}],"version-history":[{"count":0,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/284\/revisions"}],"wp:attachment":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/media?parent=284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/categories?post=284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/tags?post=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}