LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2004, 07:38 AM   #1
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
Question openldap ldif file problem


Hello everybody,
core.schema file, is there a conflict with it somewhere?

greetz,
.-=~ iluvatar ~=-.
i'm trying to configure my openldap server for user authentication, using the howto from www.tldp.org. the first lines of the ldif file look like this:
Code:
dn: dc=foo,dc=bar
objectClass: top
objectClass: organizationalUnit
when trying to add this to the server with the ldapadd command, it returns "attribute 'dc' is not present in entry". however if I add 'dc:foo' to the entry, ldapadd returns "attribute 'dc' not allowed". is there a conflict in the schema file? only core.schema is included in slapd.conf... didn't alter that one.

greetz,
.-=~ iluvatar ~=-.
 
Old 07-29-2005, 08:31 AM   #2
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Figured This Out?

Did you ever figured this out? I am having the same problem.

Thank You
 
Old 07-29-2005, 09:13 AM   #3
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Original Poster
Rep: Reputation: 30
Hi,

yes we figured this out, but I don't know exactly how our scheme looks like at this moment. I'll dig this up from our internal documentation... We had some scripts for adding organization and users I thought I'll post as I find those... (may take until next monday)

Greetz,
.-=~ iluvatar ~=-.
 
Old 07-31-2005, 06:57 PM   #4
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
No problem, something I did was that I had to create an organization underneath the second level DC like so

( suffix is dc=fortezzazone,dc=org )

dc: dc=fortezzazone,dc=org
objectClass: top
objectClass: organizationalUnit
dc: fortezzazone



after that, I could add people, ou's etc with no problem. That little tidbit was not in any of the docs. Btw, I switched off of OpenLDAP and now run Fedora Directory Server, which is much easier to set up and administrate.

pam_ldap still does not work for me, but I will figure that out eventually.

Peace
 
  


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
Writing LDIF kaon Linux - Software 2 11-16-2005 09:59 AM
Problem importing LDIF file into OpenLDAP database cboxall Linux - Newbie 1 06-17-2005 09:51 AM
admin.ldif for ldap berrance Linux - Networking 1 03-06-2005 05:32 AM
New to Open LDAP. Trying to import an LDIF file. davealex Linux - Networking 1 10-16-2003 03:19 PM
OpenLDAP Problem help!! Sabeer Linux - Software 0 10-10-2003 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:31 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