<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello,<br><br>I'm new in 389-ds and I'm trying to implement a new LDAP server. This is the packages I've installed:<br><b>#&nbsp; rpm -qa | grep 389<br>389-adminutil-1.1.14-2.el6.x86_64<br>389-ds-base-libs-1.2.10.4-2.el6.x86_64<br>389-ds-base-1.2.10.4-2.el6.x86_64<br>389-admin-console-1.1.8-1.el6.noarch<br>389-ds-console-1.2.6-1.el6.noarch<br>389-admin-1.1.25-1.el6.x86_64<br>389-console-1.1.7-1.el6.noarch<br>389-dsgw-1.1.7-2.el6.x86_64</b><br><br>And the system is a Centos6<br><b>#cat /etc/redhat-release<br>CentOS release 6.2 (Final)</b><br><br>The problem I've found is I can not add attribute type using an ldif file.<br><br>If I try to add it in terminal mode typing the attribute type I have no problem:<br><br><b>#ldapmodify -a -h localhost -p 1389 -D "cn=admin" -W -v<br><br>dn: cn=schema<br>changetype: modify<br>add: attributetypes<br>attributetypes: ( 1.3.6.1.4.1.99999.1.1.6 NAME 'perditionMailhost' DESC 'Perdition MailHost' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )</b><br><br>also If i try to add it through console, the attribute is added correctly, but if I try to add it using an ldif file it show me the following error:<br><br><b>#cat import.ldif<br>dn: cn=schema<br>changetype: modify<br>add: attributetypes <br>attributetypes: </b><b>( 1.3.6.1.4.1.99999.1.1.6 NAME 'perditionMailhost' DESC 'Perdition 
MailHost' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 
'user defined' )</b><br><br><b>#ldapmodify -a -h localhost -p 1389 -D "cn=admin" -W -v -f import.ldif</b><br><b>ldapmodify: wrong attributeType at line 4, entry "cn=schema"</b><br><br>Also If i try to add multiple attributes, I've got the same error:<br><br><b>#cat import2.ldif<br>
dn: cn=schema<br>
changetype: modify<br>
add: attributetypes <br>
attributetypes: </b><b>( 1.3.6.1.4.1.99999.1.1.6 NAME 'perditionMailhost' DESC 'Perdition 
MailHost' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 
'user defined' )<br>-<br>add: attributetypes <br>attributetypes: ( 1.3.6.1.4.1.99999.1.1.19 NAME 'mainDocsDomainBase' DESC 'Dominio base de Docs' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )</b><br><br><b>#ldapmodify -a -h localhost -p 1389 -D "cn=admin" -W -v -f import2.ldif</b><br>
<b>ldapmodify: wrong attributeType at line 4, entry "cn=schema"</b><br><br>am I doing something wrong? did I <span class="clickable"><span class="q">misunderstand </span></span>something?<br><br>Thanks &amp; Regards.<br><br>Manel<br>                                               </div></body>
</html>