|
| |||||||||
| Tags: convert, ldap, schema, sunone |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Convert SunOne LDAP Schema to ADAM schema
Hi, I am running into similar issue but I feel it is bigger, I need help.... I have schema from SunOne LDAP. Would like import to ADAM. I am new to LDAP schemas. The schema imported from SunOne LDAP is not comptable with ADAM. What I am trying to achieve is.. 1) Make SunOne LDAP schema compatable with ADAM. 2)Remove redundant elements from Schema and reload to ADAM. 3)Is there any tool available to convert SunOne LDAP schema to ADAM schema. So far What I found is, the attributeID in SunOne LDAP schema is Alphanumeric and ADAM need in 2.6.5.4 format. I randomly added attributeIDs to attributes which are showing red in ADAM Schema Analyzer. After adding numeris formart ADAMSchema Analyzer is not showing error. Is this right way of doing it. Is there any better way of doing, because they are around 250 attributes have same issue. Any help on this is really helpful. PLease let me know if anyone has come across such situation and please advise. |
|
#2
| |||
| |||
| Re: Convert SunOne LDAP Schema to ADAM schema
VinodMaladkar wrote: > I have schema from SunOne LDAP. Would like import to ADAM. I am new to > LDAP schemas. Converting the whole schema would be a big mess. I'd rather look at which attributes are really used in your data. If there are attributes needed by your data not available in ADAM I'd convert solely these one-by-one. For many standard attributes and the using object classes you can find definitions (schema files, LDIF files). Ciao, Michael. |
|
#3
| |||
| |||
| Re: Convert SunOne LDAP Schema to ADAM schema
Thank you Michael. What is attributeId? I am assigning some numbers like attributeId: 2.7.5.32. And when I load this schema to ADAM Schema analyser, it does show error... Is that ok? As first I would like make convert the entire schema and later as per requirement remove unwanted sections. Again is that ok? If I want to write LDIF-schema from scrach for ADAM is there any better way or tool available? please advise. -Vinod |
|
#4
| |||
| |||
| Re: Convert SunOne LDAP Schema to ADAM schema
VinodMaladkar wrote: > As first I would like make convert the entire schema and later as per > requirement remove unwanted sections. Again is that ok? As I said I'd strongly recommend to do it the other way round: I'd try to examine the data to be migrated and then analyze and import only the necessary schema elements. It's up to you though. > If I want to write LDIF-schema from scrach for ADAM is there any better > way or tool available? I don't know a good tool to define the LDAP schema. You can find various schema browsers which are helpful to find out which dependencies between schema elements are there. E.g. my web2ldap displays all back-and-forth cross references in the subschema subentry including the effect of inheritance of object classes and attribute types. You can also search by OID and NAME aliases also with wildcard search. Being the author I'm biased off course. See demo (direct jump into the schema of a public OpenLDAP server of UNINETT): http://demo.web2ldap.de:1760/web2lda...=uninett,dc=no Ciao, Michael. |
|
#5
| |||
| |||
| Re: Convert SunOne LDAP Schema to ADAM schema
Hello Micheal and anyone, I loaded LDAP schema in ADAM Schema Analyser and inlcuded all attributes. But when tried to export the schema, the below log file shows.. How do I assign valid OID attributeID. Please help. ===================================================== Log-start ===================================================== Loading schema from "test.ldf"... 100 entries loaded... 200 entries loaded... Loaded schema: 225 attributes, 20 classes, 0 property sets. Validating schema... accountnousedate: Invalid OID attributeID: accountnousedate-oid accountsuspenddate: Invalid OID attributeID: accountsuspenddate-oid agentid: Invalid OID attributeID: agentid-oid assignedproject: Invalid OID attributeID: assignedproject-oid assignedtemplate: Invalid OID attributeID: assignedtemplate-oid ===================================================== Log-End ===================================================== |
|
#6
| |||
| |||
| Re: Convert SunOne LDAP Schema to ADAM schema
VinodMaladkar wrote: > I loaded LDAP schema in ADAM Schema Analyser and inlcuded all > attributes. But when tried to export the schema, the below log file > shows.. Did you load the whole SunONE schema into ADAM Schema Analyser? > accountnousedate: Invalid OID attributeID: accountnousedate-oid > accountsuspenddate: Invalid OID attributeID: accountsuspenddate-oid > agentid: Invalid OID attributeID: agentid-oid > assignedproject: Invalid OID attributeID: assignedproject-oid > assignedtemplate: Invalid OID attributeID: assignedtemplate-oid SunONE allows to specify schema elements without an appropriate OID by defining an arbitrary alpha-numeric names as OID (e.g. here 'accountnousedate-oid'). This is not compliant to LDAPv3 and has to be fixed in the schema. For each schema element you really need in your data you could assign a real OID from your private OID arc. Note that this could break other things with LDAP applications which are really schema-aware and treat attributes differently based on the OID. It's unlikely that you deploy such an application though. Most applications simply look at attribute names and not the OID (and cannot handle aliases). Ciao, Michael. |
|
#7
| |||
| |||
| Re: Convert SunOne LDAP Schema to ADAM schema
SunONE allows to specify schema elements without an appropriate OID by defining an arbitrary alpha-numeric names as OID (e.g. here 'accountnousedate-oid'). This is not compliant to LDAPv3 and has to be fixed in the schema. Do you know how I can fix the OID in LDAPv3/ADAM? Any document or link? For each schema element you really need in your data you could assign a real OID from your private OID arc. Note that this could break other things with LDAP applications which are really schema-aware and treat attributes differently based on the OID. It's unlikely that you deploy such an application though. Most applications simply look at attribute names and not the OID (and cannot handle aliases). What is private OID arc? Where I can get these in ADAM or LDAP? Please advise. So far, you have been very helpful, thank you. |
|
#8
| |||
| |||
| Re: Convert SunOne LDAP Schema to ADAM schema
Hi there's a note on obtaining an OID for your (organization) use here: http://msdn.microsoft.com/en-us/libr...21(VS.85).aspx I had no idea that the Sun directory allowed non-numeric attribute OID. You might want to check with whoever provided or created the schema to see if there is a numeric OID version anywhere. Lee Flight "VinodMaladkar" <VinodMaladkar.3qy3ja@DoNotSpam.com> wrote in message news:VinodMaladkar.3qy3ja@DoNotSpam.com... > > SunONE allows to specify schema elements without an appropriate OID by > defining an arbitrary alpha-numeric names as OID (e.g. here > 'accountnousedate-oid'). This is not compliant to LDAPv3 and has to be > fixed in the schema. > > Do you know how I can fix the OID in LDAPv3/ADAM? Any document or > link? > > For each schema element you really need in your data you could assign > a > real OID from your private OID arc. Note that this could break other > things with LDAP applications which are really schema-aware and treat > attributes differently based on the OID. It's unlikely that you deploy > such an application though. Most applications simply look at attribute > names and not the OID (and cannot handle aliases). > > What is private OID arc? Where I can get these in ADAM or LDAP? > > Please advise. > > So far, you have been very helpful, thank you. > > > -- > VinodMaladkar > ------------------------------------------------------------------------ > VinodMaladkar's Profile: http://forums.techarena.in/members/90645.htm > View this thread: Convert SunOne LDAP Schema to ADAM schema > > http://forums.techarena.in > |
|
#9
| |||
| |||
| Re: Convert SunOne LDAP Schema to ADAM schema
VinodMaladkar wrote: > > What is private OID arc? Don't know MS docs. But there are several docs in OpenLDAP's FAQ related to schema stuff and OIDs: http://www.openldap.org/faq/data/cache/219.html Especially "How do I obtain an OID arc for my use?" http://www.openldap.org/faq/data/cache/391.html Ciao, Michael. |
|
#10
| |||
| |||
| Re: Convert SunOne LDAP Schema to ADAM schema
Thank you Micheal and Lee. Will look into http://www.openldap.org/faq/data/cache/391.html and http://msdn.microsoft.com/en-us/libr...21(VS.85).aspx also there is one more site http://pen.iana.org/pen/PenApplication.page regards, Vinod |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Convert SunOne LDAP Schema to ADAM schema" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ADAM Schema Update failing | jase robinson | Active Directory | 5 | 28-04-2010 06:00 PM |
| Extending ADAM Schema with PKI objects | Buci | Active Directory | 3 | 04-01-2010 05:57 PM |
| How to add a schema admin for MS ADAM? | RogerF | Active Directory | 1 | 03-12-2009 10:33 PM |
| AD-ADAM Schema | Kerry | Active Directory | 3 | 20-08-2009 11:32 AM |
| ADAM Schema Snap In Error | JPH | Active Directory | 3 | 07-05-2009 08:13 PM |