LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-14-2005, 09:14 PM   #1
kaon
Member
 
Registered: Dec 2003
Location: Hong Kong SAR
Distribution: Slackware 9.1, 10.x, slackware-current
Posts: 186

Rep: Reputation: 30
Writing LDIF


Hi everyone,


The question looks stupid but I still cannot get up with any clues.

Is there any tutorial about how to write a LDIF for openldap?
Openldap.org does not give any good example on writing, and I am still struggling. (for 2 weeks)


Any suggestion would be appreicated!
Thanks.
 
Old 11-16-2005, 06:50 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,175

Rep: Reputation: Disabled
Well I thought the OpenLDAP docs on their web site provided enough information to get a good understanding of the LDIF file format, and it has several example code snippets to illustrate that. It was enough to get me started long ago.
But maybe your requirements differ? You did not tell what kind of content you want in that LDIF file, and what you want to do with it.

Eric
 
Old 11-16-2005, 09:59 AM   #3
kaon
Member
 
Registered: Dec 2003
Location: Hong Kong SAR
Distribution: Slackware 9.1, 10.x, slackware-current
Posts: 186

Original Poster
Rep: Reputation: 30
Dear Eric,

I read some code snippets from openldap.org and some little insight on that. My requirement is simply to create users with email, username and password attributes.

I have tried to write some but to no avail, (most of the time is invalid synatx, even I dump, modify, triple-check the source from other ldap sample LDIF). I have found phpldapadmin to save my time in creating the LDIF, still dunno what happens to LDAP server. cannot add new stuff to it with rootdn permission. (See other recent thread I post for details)

Therefore, it is most likely that I need to type it by myself and so I would raise any attention to give me some tutorial on writing LDIF.

Thanks.
 
  


Reply


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
dynamic ldif files berrance Linux - Software 0 11-29-2005 06:48 AM
openldap ldif file problem iluvatar Linux - Software 3 07-31-2005 06:57 PM
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


All times are GMT -5. The time now is 08:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration