Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-01-2013, 02:55 AM   #16
LQ Newbie
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0

Or just do this single line
ldapadd -x -W -D 'cn=config' -f /etc/openldap/schema/misc.ldif
Why make things harder than it is, with every schema that follows with Openldap there is a ldif file for it this is ready to be imported if needed. I can mention that this worked just fine in Slackware 14.0 with Openldap 2.4.31.

Last edited by teqno; 02-01-2013 at 08:52 AM. Reason: missed to mention dist and version
Old 01-06-2015, 01:25 AM   #17
LQ Newbie
Registered: Jan 2015
Posts: 1

Rep: Reputation: Disabled

Daniela(daniela1611), thanks for the help. I used windows version of ldap where we can include new schema file in slapd.conf, while migrating to linux which doesn't have this slapd.conf, i spent lot of time on adding new schema. At last your solution helped me. Once again thanks for your solution.
Old 10-22-2016, 02:26 AM   #18
Registered: Mar 2012
Posts: 33

Rep: Reputation: Disabled
Great Daniela!!!! My ldap runs on Ubuntu server 16.06. Now I have successfully imported samba schema using your command:
ldapadd -Y EXTERNAL -H ldapi:/// -f /tmp/borrame.d/cn\=config/cn\=schema/cn\=\{5\}mypersonalschema.ldif

Also thanks to Bathory


openldap, schema

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add Samba schema files in openLDAP version 2.4.11 jax8 Linux - Server 0 12-23-2008 12:56 AM
active directory schema for OpenLDAP paul_mat Linux - Networking 4 08-04-2008 05:00 AM
Add /etc/group to openldap leiw Linux - General 0 11-03-2006 03:46 AM
can I add a new schema to a running ldap server procfs Linux - Software 1 08-15-2006 10:32 PM
OpenLDAP schema for mail (postfix/sendmail/...) nielchiano Linux - Software 0 02-15-2004 09:54 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration