LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2018, 01:35 PM   #1
kikilq
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
LDAP custom schema and DIT entry issue


Hello Guys!
I'm setting up an openldap server. I've followed the following
howto : http://richard.brunooo.fr/logiciels/...ap#serveur_deb.
to convert supannPerson and eduPerson schema into ldif files and successfully
import them into my DIT using ldapadd.

I've also checked if they are correctly imported using

ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn

...

dn: cn={5}eduperson, cn=config

dn: cn={6}schac, cn=config

dn: cn={7}supann, cn=config


Unfortunately, when i run :

ldapadd -x -D "cn=admin, dc=local" -W -f koko.ldif

slapd returns :

ldap_add: invalid syntax(21)

additional info: objectclass: value #3 invalid per syntax



Below is a part of koko.ldif file

dn: cn=koko, ou=People, dc=local
objectclass: top
objectclass: person
objectclass: inetOrgPerson
objectclass: eduPerson
objectclass: ShadowAccount
objectclass: PosixAccount
objectclass: sambaAccount
objectclass: radiusProfile
o: o=UAC, c=BJ, ou=Organisations, dc=local

.....


Searching for google, many posts say that there certainly is non printable character on the 5th line. But i search for this with vi, and i can't see any non-printable caracter.

What may be wrong ?

Thanks in advance for your help
 
  


Reply



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
LDAP web gui in combination with custom schema joe_2000 Linux - Software 0 02-23-2016 05:44 PM
LDAP schema drManhattan Linux - Software 0 09-19-2011 10:35 AM
ldap delete schema berrance Linux - Software 1 07-21-2010 10:34 AM
LDAP DIT strcuture doubts matiasquestions Linux - Server 0 06-30-2009 11:35 AM
RHEL 4 Ldap schema ciphyre Red Hat 0 09-22-2008 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:19 PM.

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