You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Delubac Benjamin (JIRA)" <ji...@apache.org> on 2009/04/08 10:42:13 UTC

[jira] Commented: (DIRSERVER-1336) lowercase m-may attributes change on LDIF import with Studio

    [ https://issues.apache.org/jira/browse/DIRSERVER-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696947#action_12696947 ] 

Delubac Benjamin commented on DIRSERVER-1336:
---------------------------------------------

The only way i've find is to add elements in two times (I work in PHP) :

- First, I add the m-must attributs (objectClass, cn ...)
- Second, I add m-may attributes with ldap_mod_add() function

$attributes["roleOccupant"][ ] = $dn;
ldap_mod_add($ldap_link,$dn_root,$attribute);

"roleOccupant" attributes have uppercase "O" in LDAP...

> lowercase m-may attributes change on LDIF import with Studio
> ------------------------------------------------------------
>
>                 Key: DIRSERVER-1336
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1336
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.4
>         Environment: Windows Server 2003
>            Reporter: Delubac Benjamin
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> When I import LDIF file with Studio "import" function, attributes (m-may type) switch to lowercase. 
> Example of LDIF file :
> dn: uid=048770,dc=personnes,dc=chs,dc=fr
> objectClass: organizationalPerson
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: top
> cn: DUPONT Jean
> givenName: Jean
> mail: jdupont@test.fr
> sn: DUPONT
> uid: 048770
> Result import in LDAP :
> dn: uid=048770,dc=personnes,dc=chs,dc=fr
> objectClass: organizationalPerson
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: top
> cn: DUPONT Jean
> givenname: Jean
> mail: jdupont@test.fr
> sn: DUPONT
> uid: 048770
> "ginvenName" become "givenname" ...
> Thanks and congratulation for Eclipse Community Awards 2009 ;-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.