<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://asyd.net/home/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://asyd.net/home/feed.php">
        <title>asyd.net docs:ldap</title>
        <description></description>
        <link>http://asyd.net/home/</link>
        <image rdf:resource="http://asyd.net/home/lib/images/favicon.ico" />
       <dc:date>2011-06-18T22:10:42+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://asyd.net/home/docs/ldap/activedirectory"/>
                <rdf:li rdf:resource="http://asyd.net/home/docs/ldap/common"/>
                <rdf:li rdf:resource="http://asyd.net/home/docs/ldap/opends"/>
                <rdf:li rdf:resource="http://asyd.net/home/docs/ldap/openldap"/>
                <rdf:li rdf:resource="http://asyd.net/home/docs/ldap/sunone"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://asyd.net/home/lib/images/favicon.ico">
        <title>asyd.net</title>
        <link>http://asyd.net/home/</link>
        <url>http://asyd.net/home/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://asyd.net/home/docs/ldap/activedirectory">
        <dc:format>text/html</dc:format>
        <dc:date>2005-10-19T15:48:13+02:00</dc:date>
        <title>docs:ldap:activedirectory</title>
        <link>http://asyd.net/home/docs/ldap/activedirectory</link>
        <description>Extend the schema

The Geek way

You can create attributes, new schema (class) but you can't edit an existing schema.

Read this doc
I think the best way to know how to create the .ldif is take a look in existing schema, but, here an example :


dn: CN=asyd,CN=Schema,CN=Configuration,DC=test,DC=com
attributeID: 1.2.841.1.1.1
attributeSyntax: 2.5.5.9
cn: asyd         
isSingleValued: TRUE
lDAPDisplayName: asyd
adminDisplayName: asyd
searchFlags: 0
objectClass: top
objectClass: attributeSchema
nam…</description>
    </item>
    <item rdf:about="http://asyd.net/home/docs/ldap/common">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-03T08:25:38+02:00</dc:date>
        <title>docs:ldap:common</title>
        <link>http://asyd.net/home/docs/ldap/common</link>
        <description>user.ldif


dn: &lt;dn&gt;
objectClass: top
objectClass: shadowAccount
objectClass: posixAccount
objectClass: account
uid: 
userPassword: {CRYPT}
cn: 
uidNumber: 
gidNumber: 
homeDirectory: 


suffix.ldif


dn: &lt;dndomain&gt;
objectClass: top
objectClass: dcObject
objectClass: organization
o: &lt;domain&gt;
dc: &lt;domainnotld&gt;
structuralObjectClass: organization

dn: cn=admin,&lt;dndomain&gt;
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword:: &lt;pass…</description>
    </item>
    <item rdf:about="http://asyd.net/home/docs/ldap/opends">
        <dc:format>text/html</dc:format>
        <dc:date>2008-12-26T23:47:38+02:00</dc:date>
        <title>docs:ldap:opends</title>
        <link>http://asyd.net/home/docs/ldap/opends</link>
        <description>*  Enable audit log</description>
    </item>
    <item rdf:about="http://asyd.net/home/docs/ldap/openldap">
        <dc:format>text/html</dc:format>
        <dc:date>2005-09-25T20:46:05+02:00</dc:date>
        <title>docs:ldap:openldap</title>
        <link>http://asyd.net/home/docs/ldap/openldap</link>
        <description>Note I hate OpenLDAP, I had too many problems when I use it in a (critical)
production enrivonment. Even with actual versions, I still have so problems..
And I'm not the only one, just stay few days in #ldap@Freenode, and you will
unserstand by yourself. But anyway, OpenLDAP is sometime usefull, and at least,
it's GPL.</description>
    </item>
    <item rdf:about="http://asyd.net/home/docs/ldap/sunone">
        <dc:format>text/html</dc:format>
        <dc:date>2007-11-20T11:27:13+02:00</dc:date>
        <title>docs:ldap:sunone</title>
        <link>http://asyd.net/home/docs/ldap/sunone</link>
        <description>Administration

SSL

Initialize the database


# ./shared/bin/certutil -N -d alias -P slapd-&lt;instance&gt;


Import the CA certificate


# ./shared/bin/certutil -A -n &quot;&lt;name&gt;&quot; -t &quot;CT,c,c&quot; -i /tmp/cacert.pem -d &lt;directory&gt; -P slapd-&lt;instance&gt;


Create a CSR


# ./shared/bin/certutil -R -s &quot;cn=&lt;dns name&gt;&quot; -a -d &lt;directory&gt; -P slapd-&lt;instance&gt;</description>
    </item>
</rdf:RDF>
