Hi All,

There is one *single valued custom attribute *"storeNumber" in the
schema. *one effective class *and *one auxiliary class *is using this
attribute as *optional attribute*. There are huge number of objects in
the eDirectory created from the effective class and User class objects
are using the aux class.

This attribute is needed to be modified from single valued to multi
valued. The standerd process I know is to ldif export all the objects,
delete class and the attributes accordingly and recreate that attribute
as multi valued followed by classes.

But for doing this I might loose user passwords and driver associations.
Is there any way by using ldif schema update I can do this without
deleting objects? I found one NetIQ 'document'
(http://tinyurl.com/m2xy6sv) that describes how to change multi valued
attribute in single valued. But not the reverse. Here is the sample
ldif:


Code:
--------------------
1 version: 1
2 dn: cn=schema
3 changetype: add
4 attributeTypes: ( 2.5.4.12 NAME ’title’ DESC ’Standa
5 rd Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{
6 64} SINGLE-VALUE X-NDS_NAME ’Title’ X-NDS_NOT_SCHED
7 _SYNC_IMMEDIATE ’1’ X-NDS_LOWER_BOUND ’1’)
8
--------------------


I tried to remove *SINGLE-VALUE* tag and try this. But no point.

There is also one more ldif import option I have tried. But This is not
helping if any object or class is using the attribute. And if I try
after deleting all classes and objects using the attribute, it is
removing the attribute but not actually recreating it as multi valued.


Code:
--------------------
dn: cn=schema
changetype: modify
delete: attributetypes
attributetypes: ( 2.16.840.1.113719.1.131.4.1.7 NAME 'myNewAttr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{8} )
-
add: attributetypes
attributetypes: ( 2.16.840.1.113719.1.131.4.1.7 NAME 'myNewAttr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} ).

--------------------


--
raktimb
------------------------------------------------------------------------
raktimb's Profile: https://forums.netiq.com/member.php?userid=4402
View this thread: https://forums.netiq.com/showthread.php?t=52181