You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2015/01/22 14:41:34 UTC

[jira] [Resolved] (DIR-289) Installation of M7

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

Emmanuel Lecharny resolved DIR-289.
-----------------------------------
    Resolution: Fixed

I have slightly updated the debian download page. The partition creation is irrelevant in this pahe, it's already explain in the user guide.

the file layout has been fully updated in the advanced user guide.

> Installation of M7 
> -------------------
>
>                 Key: DIR-289
>                 URL: https://issues.apache.org/jira/browse/DIR-289
>             Project: Directory
>          Issue Type: Test
>         Environment: Ubuntu / Centos
>            Reporter: m4k0
>            Priority: Trivial
>              Labels: documentation
>
> ==downloads==
> * [http://directory.apache.org/apacheds/2.0/downloads.html|Downloads]
> ==install==
> <pre>
> chmod +x apacheds-2.0.0-M7-amd64.deb
> </pre>
> <pre>
> dpkg -i apacheds-2.0.0-M7-amd64.deb
> </pre>
> ==configuration==
> ===initial===
> {{Warning| Version 2.0 left configuration by xml for a ldif  configuration<br />
> Don't change the log level to debug otherwise the wrapper crash
> }}
> * Revelant files
> <pre>
> moteur   : /opt/apacheds-2.0.0-M7/
> instance : /var/lib/apacheds-2.0.0-M7/
> init         : /etc/init.d/
> </pre>
> * Ports conf
> <pre>
> vim /var/lib/apacheds-2.0.0-M7/default/conf/config.ldif
> </pre>
> <pre>
> dn: ads-transportid=ldap,ou=transports,ads-serverId=ldapServer,ou=servers,ads-directoryServiceId=default,ou=config
> dn: ads-transportid=ldap,ou=transports,ads-serverId=ldapServer,ou=servers,ads-directoryServiceId=default,ou=config
> </pre>
> ==ajout partition==
> {{Warning| Version 2.0 need the new  version of Studio http://directory.apache.org/studio/apache-directory-studio-20.html 
> }}
> * Open Studio and add a server (ip port)
> <pre>
> uid=admin,ou=system
> </pre>
> <pre>
> default
> </pre>
> * Right click on the server > Open configuration > Partition > Add 
> * Restart the server 
> {{Warning| Bug in Studio on attribut krbprincipalname need to be changed to krb5principalname <br />
> https://issues.apache.org/jira/browse/DIRSERVER-1736
> <pre>
> ERR_04269 ATTRIBUTE_TYPE for OID krbprincipalname does not exist!
> </pre>
> }}
> {{Info| thanks to Javier Estrada for infos below}}
> <pre>
> 1. In Apache Directory Studio create a server and run it.
> 2. Right-click on the server and select Open Configuration.
> 3. Select Partitions on the bottom tab, then click on the Add button.
> 4. Rename the partition on the right-hand side.  (e.g., ID: myPartition, Suffix: dc=mypartition,dc=com)
> 5. Save the config.ldif file.
> 5. Restart the server.  This will reload the config.ldif for the server and create the partition.
> 6. On the LDAP Browser, select the Root DSE node.
> 7. Right-click on the Root DSE node and select New, then New Context Entry.
> 8. On the dialog box, select the [Use existing entry as template] option and then click on
> the [Browse...] button
> 9. On the Select DN dialog box that appears, select the ou=system and then click OK.
> 10. Now back on the New Context Entry dialog, select the [Next] button.
> 11. On the next dialog that offers you Object Classes, just click [Next] again.
> THIS IS THE IMPORTANT PART:
> 12. Enter the DN that corresponds to your partition (dc=mypartition,dc=com), then click [Next]
> 13. Fill the ou attribute (e.g., "mypartition") that appears in the next dialog and then click
> [Finish].
> </pre>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)