Can we load Schema (base schema) for OpenDJ using Novel Ldap api?How can I use a link on an HTML document to link to a shared file through a Novell network?OpenDJ with UnboundId LDAP SDK for JavaDrupal LDAP to access edir in NovellIO.File.Exists(“”) on Novell Win 7 client can cause a “network error”pwdChangedTime which is not allowed by any of the objectclasses defined in that entry in OpenDj LDAPOpenDJ UID uniqueness per base dn?managing user data for multiple applications - opendj ldapOpenDJ schema update and data updateOpenDJ identity mapper for Simple LDAP Bind?ldap_error 81, Server connection lost

Is it ethical to tell my teaching assistant that I like him?

How can I show that the speed of light in vacuum is the same in all reference frames?

My current job follows "worst practices". How can I talk about my experience in an interview without giving off red flags?

What is "ass door"?

Magic is the twist

Learning Ramban Al HaTorah

As a DM of a 4-player group, would it be appropriate for me to run a private 1-on-1 session so that one PC can act secretly?

Revolutionaries' fleet armed with kinetic weapons defeats government fleet armed with missiles

How could Barty Crouch Jr. have run out of Polyjuice Potion at the end of the Goblet of Fire movie?

Origin of the suffix in hippocampus

Are gangsters hired to attack people at a train station classified as a terrorist attack?

Found old paper shares of Motorola Inc that has since been broken up

Why did modems have speakers?

Dedicated to our #1 Fan

Does Impedance Matching Imply any Practical RF Transmitter Must Waste >=50% of Energy?

Contact Search Results Address Type

I have a domain, static IP address and many devices I'd like to access outside my house. How do I route them?

What does a black-and-white Puerto Rican flag signify?

How to plot a crossection of a ParametricPlot3D?

Metaphysical Contemplation and Speculation

Why do people say "I am broke" instead of "I am broken"?

Strange LED behavior: Why is there a voltage over the LED with only one wire connected to it?

Can I pay with HKD in Macau or Shenzhen?

Pass USB 3.0 connection through D-SUB connector



Can we load Schema (base schema) for OpenDJ using Novel Ldap api?


How can I use a link on an HTML document to link to a shared file through a Novell network?OpenDJ with UnboundId LDAP SDK for JavaDrupal LDAP to access edir in NovellIO.File.Exists(“”) on Novell Win 7 client can cause a “network error”pwdChangedTime which is not allowed by any of the objectclasses defined in that entry in OpenDj LDAPOpenDJ UID uniqueness per base dn?managing user data for multiple applications - opendj ldapOpenDJ schema update and data updateOpenDJ identity mapper for Simple LDAP Bind?ldap_error 81, Server connection lost






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















We are using Novel Ldap Api for all LDAP operations, i want to load my base schema ldif file to opendj without restarting the openDJ server.



So far, post setup we are manually copying the schema file to /config/schema location and we wanted it to do through Java code.



Since we already using Novel Ldap for all LDAP operations (modify, delete, read, add entry), we have to use the same.
When i tried, iam getting below exception, is there any solution please share?




SEVERE: Exception getting LDAP connection: LDAPLocalException:
com.novell.ldap.ldif_dsml.LDIFReader: Version line must be the first
meaningful line(on line 9 of the file) (82) Local Error
at com.novell.ldap.util.LDIFReader.(LDIFReader.java:156)
at com.novell.ldap.util.LDIFReader.(LDIFReader.java:80)











share|improve this question






















  • Without knowing your LDIF data I can only guess. But the error message seems to indicate that your LDIF files does not start with version: line.

    – Michael Ströder
    Mar 29 at 16:30

















0















We are using Novel Ldap Api for all LDAP operations, i want to load my base schema ldif file to opendj without restarting the openDJ server.



So far, post setup we are manually copying the schema file to /config/schema location and we wanted it to do through Java code.



Since we already using Novel Ldap for all LDAP operations (modify, delete, read, add entry), we have to use the same.
When i tried, iam getting below exception, is there any solution please share?




SEVERE: Exception getting LDAP connection: LDAPLocalException:
com.novell.ldap.ldif_dsml.LDIFReader: Version line must be the first
meaningful line(on line 9 of the file) (82) Local Error
at com.novell.ldap.util.LDIFReader.(LDIFReader.java:156)
at com.novell.ldap.util.LDIFReader.(LDIFReader.java:80)











share|improve this question






















  • Without knowing your LDIF data I can only guess. But the error message seems to indicate that your LDIF files does not start with version: line.

    – Michael Ströder
    Mar 29 at 16:30













0












0








0








We are using Novel Ldap Api for all LDAP operations, i want to load my base schema ldif file to opendj without restarting the openDJ server.



So far, post setup we are manually copying the schema file to /config/schema location and we wanted it to do through Java code.



Since we already using Novel Ldap for all LDAP operations (modify, delete, read, add entry), we have to use the same.
When i tried, iam getting below exception, is there any solution please share?




SEVERE: Exception getting LDAP connection: LDAPLocalException:
com.novell.ldap.ldif_dsml.LDIFReader: Version line must be the first
meaningful line(on line 9 of the file) (82) Local Error
at com.novell.ldap.util.LDIFReader.(LDIFReader.java:156)
at com.novell.ldap.util.LDIFReader.(LDIFReader.java:80)











share|improve this question














We are using Novel Ldap Api for all LDAP operations, i want to load my base schema ldif file to opendj without restarting the openDJ server.



So far, post setup we are manually copying the schema file to /config/schema location and we wanted it to do through Java code.



Since we already using Novel Ldap for all LDAP operations (modify, delete, read, add entry), we have to use the same.
When i tried, iam getting below exception, is there any solution please share?




SEVERE: Exception getting LDAP connection: LDAPLocalException:
com.novell.ldap.ldif_dsml.LDIFReader: Version line must be the first
meaningful line(on line 9 of the file) (82) Local Error
at com.novell.ldap.util.LDIFReader.(LDIFReader.java:156)
at com.novell.ldap.util.LDIFReader.(LDIFReader.java:80)








java-8 opendj novell






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 26 at 14:05









VijayVijay

4552 gold badges6 silver badges18 bronze badges




4552 gold badges6 silver badges18 bronze badges












  • Without knowing your LDIF data I can only guess. But the error message seems to indicate that your LDIF files does not start with version: line.

    – Michael Ströder
    Mar 29 at 16:30

















  • Without knowing your LDIF data I can only guess. But the error message seems to indicate that your LDIF files does not start with version: line.

    – Michael Ströder
    Mar 29 at 16:30
















Without knowing your LDIF data I can only guess. But the error message seems to indicate that your LDIF files does not start with version: line.

– Michael Ströder
Mar 29 at 16:30





Without knowing your LDIF data I can only guess. But the error message seems to indicate that your LDIF files does not start with version: line.

– Michael Ströder
Mar 29 at 16:30












1 Answer
1






active

oldest

votes


















0














It looks like the Novell LDIF reader is strictly accepting LDIF version 1 from RFC 2849.
The first line should contain version: 1
OpenDJ does support adding schema over LDAP, it must be a change of cn=schema, adding values to the attributeTypes and objectClasses attributes.






share|improve this answer























  • Thanks for the details, you mean we can't add schema ldif file using Novell LDAP Api, but schema with changetype: modify should be fine. is n't it?

    – Vijay
    Apr 3 at 9:21











  • through changeType:modify, i added attributeTypes and objectClasses. Now it looks to be unable to load other ldif files due to an exception violates the Directory Server schema configuration because it does not include a structural objectclass. All entries must contain a structural objectclass

    – Vijay
    Apr 3 at 9:33












  • The schema and the entries must be compliant with the LDAP specifications. There are options in OpenDJ to relax some of those constraints, but that may result in unpredictive behaviors, and interoperability issues with specific client applications.

    – Ludovic Poitou
    Apr 5 at 8:47











  • Thank you for the details, incorporated 'version' details to ldif file. Then able to load the ldif file using LDAPModifyRequest.

    – Vijay
    Apr 5 at 11:44











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55359122%2fcan-we-load-schema-base-schema-for-opendj-using-novel-ldap-api%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














It looks like the Novell LDIF reader is strictly accepting LDIF version 1 from RFC 2849.
The first line should contain version: 1
OpenDJ does support adding schema over LDAP, it must be a change of cn=schema, adding values to the attributeTypes and objectClasses attributes.






share|improve this answer























  • Thanks for the details, you mean we can't add schema ldif file using Novell LDAP Api, but schema with changetype: modify should be fine. is n't it?

    – Vijay
    Apr 3 at 9:21











  • through changeType:modify, i added attributeTypes and objectClasses. Now it looks to be unable to load other ldif files due to an exception violates the Directory Server schema configuration because it does not include a structural objectclass. All entries must contain a structural objectclass

    – Vijay
    Apr 3 at 9:33












  • The schema and the entries must be compliant with the LDAP specifications. There are options in OpenDJ to relax some of those constraints, but that may result in unpredictive behaviors, and interoperability issues with specific client applications.

    – Ludovic Poitou
    Apr 5 at 8:47











  • Thank you for the details, incorporated 'version' details to ldif file. Then able to load the ldif file using LDAPModifyRequest.

    – Vijay
    Apr 5 at 11:44
















0














It looks like the Novell LDIF reader is strictly accepting LDIF version 1 from RFC 2849.
The first line should contain version: 1
OpenDJ does support adding schema over LDAP, it must be a change of cn=schema, adding values to the attributeTypes and objectClasses attributes.






share|improve this answer























  • Thanks for the details, you mean we can't add schema ldif file using Novell LDAP Api, but schema with changetype: modify should be fine. is n't it?

    – Vijay
    Apr 3 at 9:21











  • through changeType:modify, i added attributeTypes and objectClasses. Now it looks to be unable to load other ldif files due to an exception violates the Directory Server schema configuration because it does not include a structural objectclass. All entries must contain a structural objectclass

    – Vijay
    Apr 3 at 9:33












  • The schema and the entries must be compliant with the LDAP specifications. There are options in OpenDJ to relax some of those constraints, but that may result in unpredictive behaviors, and interoperability issues with specific client applications.

    – Ludovic Poitou
    Apr 5 at 8:47











  • Thank you for the details, incorporated 'version' details to ldif file. Then able to load the ldif file using LDAPModifyRequest.

    – Vijay
    Apr 5 at 11:44














0












0








0







It looks like the Novell LDIF reader is strictly accepting LDIF version 1 from RFC 2849.
The first line should contain version: 1
OpenDJ does support adding schema over LDAP, it must be a change of cn=schema, adding values to the attributeTypes and objectClasses attributes.






share|improve this answer













It looks like the Novell LDIF reader is strictly accepting LDIF version 1 from RFC 2849.
The first line should contain version: 1
OpenDJ does support adding schema over LDAP, it must be a change of cn=schema, adding values to the attributeTypes and objectClasses attributes.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 3 at 8:39









Ludovic PoitouLudovic Poitou

3,7552 gold badges13 silver badges24 bronze badges




3,7552 gold badges13 silver badges24 bronze badges












  • Thanks for the details, you mean we can't add schema ldif file using Novell LDAP Api, but schema with changetype: modify should be fine. is n't it?

    – Vijay
    Apr 3 at 9:21











  • through changeType:modify, i added attributeTypes and objectClasses. Now it looks to be unable to load other ldif files due to an exception violates the Directory Server schema configuration because it does not include a structural objectclass. All entries must contain a structural objectclass

    – Vijay
    Apr 3 at 9:33












  • The schema and the entries must be compliant with the LDAP specifications. There are options in OpenDJ to relax some of those constraints, but that may result in unpredictive behaviors, and interoperability issues with specific client applications.

    – Ludovic Poitou
    Apr 5 at 8:47











  • Thank you for the details, incorporated 'version' details to ldif file. Then able to load the ldif file using LDAPModifyRequest.

    – Vijay
    Apr 5 at 11:44


















  • Thanks for the details, you mean we can't add schema ldif file using Novell LDAP Api, but schema with changetype: modify should be fine. is n't it?

    – Vijay
    Apr 3 at 9:21











  • through changeType:modify, i added attributeTypes and objectClasses. Now it looks to be unable to load other ldif files due to an exception violates the Directory Server schema configuration because it does not include a structural objectclass. All entries must contain a structural objectclass

    – Vijay
    Apr 3 at 9:33












  • The schema and the entries must be compliant with the LDAP specifications. There are options in OpenDJ to relax some of those constraints, but that may result in unpredictive behaviors, and interoperability issues with specific client applications.

    – Ludovic Poitou
    Apr 5 at 8:47











  • Thank you for the details, incorporated 'version' details to ldif file. Then able to load the ldif file using LDAPModifyRequest.

    – Vijay
    Apr 5 at 11:44

















Thanks for the details, you mean we can't add schema ldif file using Novell LDAP Api, but schema with changetype: modify should be fine. is n't it?

– Vijay
Apr 3 at 9:21





Thanks for the details, you mean we can't add schema ldif file using Novell LDAP Api, but schema with changetype: modify should be fine. is n't it?

– Vijay
Apr 3 at 9:21













through changeType:modify, i added attributeTypes and objectClasses. Now it looks to be unable to load other ldif files due to an exception violates the Directory Server schema configuration because it does not include a structural objectclass. All entries must contain a structural objectclass

– Vijay
Apr 3 at 9:33






through changeType:modify, i added attributeTypes and objectClasses. Now it looks to be unable to load other ldif files due to an exception violates the Directory Server schema configuration because it does not include a structural objectclass. All entries must contain a structural objectclass

– Vijay
Apr 3 at 9:33














The schema and the entries must be compliant with the LDAP specifications. There are options in OpenDJ to relax some of those constraints, but that may result in unpredictive behaviors, and interoperability issues with specific client applications.

– Ludovic Poitou
Apr 5 at 8:47





The schema and the entries must be compliant with the LDAP specifications. There are options in OpenDJ to relax some of those constraints, but that may result in unpredictive behaviors, and interoperability issues with specific client applications.

– Ludovic Poitou
Apr 5 at 8:47













Thank you for the details, incorporated 'version' details to ldif file. Then able to load the ldif file using LDAPModifyRequest.

– Vijay
Apr 5 at 11:44






Thank you for the details, incorporated 'version' details to ldif file. Then able to load the ldif file using LDAPModifyRequest.

– Vijay
Apr 5 at 11:44









Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55359122%2fcan-we-load-schema-base-schema-for-opendj-using-novel-ldap-api%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript