LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 7th, 2004, 06:41 AM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Send a message via MSN to cleverpig
Thumbs up How to create LDAP on linux??

How to create LDAP on linux??I will setup it on my redhat9..Anybody can give me some advice and suggestion??Where is the documents i will read?..THX!!!
__________________
Being a Code Headman !

Reply With Quote
  #2  
Old February 7th, 2004, 02:26 PM
Viper_SB's Avatar
Viper_SB Viper_SB is offline
Psycho Canadian
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jan 2001
Location: Canada
Posts: 4,845 Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level)Viper_SB User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 20 h 15 m 58 sec
Reputation Power: 634

Reply With Quote
  #3  
Old February 7th, 2004, 02:27 PM
thmnetwork thmnetwork is offline
Javascript is the debbel
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 102 thmnetwork User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 12 m 35 sec
Reputation Power: 10
Go to Administration, and follow the "Understanding LDAP" articles, there's a part 1 and part 2. if you follow the directions, it's step-by-step and worked (sort of) on my Red Hat and slackware boxes. The only problem I'm having is adding entries, so I'm sure it's something I did wrong.

Also, just a general question, I've followed the Understanding LDAP article like 5 times on two or three different boxes. Has anyone been able to set it up without using the "puke" step in part 2?

Reply With Quote
  #4  
Old June 1st, 2004, 05:49 AM
carrysantosh carrysantosh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 1 carrysantosh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face how to configure ldap on linux redhat(EL) server

Quote:
Originally Posted by cleverpig
How to create LDAP on linux??I will setup it on my redhat9..Anybody can give me some advice and suggestion??Where is the documents i will read?..THX!!!


HOW TO CONFIGURED LDAP ON LINUX EL?

Reply With Quote
  #5  
Old June 2nd, 2004, 11:55 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Send a message via MSN to cleverpig
I have finish the ladp configure...I can give u some help..
It's my ldap.conf:
# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.4.8.6 2000/09/05 17:54:38 kurt Exp $
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

#BASE dc=example, dc=com
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666

#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
HOST 192.168.0.2
BASE dc=beic,dc=gov.cn

It's my sldap.conf:
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27 20:00:31 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema

loglevel 296
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args


#######################################################################
# ldbm database definitions
#######################################################################

database ldbm

suffix "dc=beic,dc=gov.cn"
rootdn "cn=root,dc=beic,dc=gov.cn"
rootpw beic

directory /var/lib/ldap

mode 0600

index objectClass eq
index cn,mail,sn eq,sub
index departmentNumber eq

cachesize 2000

access to *
by * read

It's a user configure script:
dn:cn=liudan,ou=people,dc=beic,dc=gov.cn
cn:liudan
sn:liudan
mail:liu_dan@beic.gov.cn
labeledURI:http://www.beic.gov.cn
roomNumber:1234 liudan
departmentNumber:Engineering
telephoneNumber:010-66415588-1113
pager:010-66415588
mobile:010-13661031628
objectclass:inetOrgPerson

It's my work steps:
root@RH9 openldap]# ldapadd -f users_liudan.ldif -x -D "cn=root,dc=beic,dc=gov.cn" -w beic
adding new entry "cn=liudan,ou=people,dc=beic,dc=gov.cn"

[root@RH9 openldap]# ldapadd -f users_liuej.ldif -x -D "cn=root,dc=beic,dc=gov.cn" -w beic
adding new entry "cn=liuej,ou=people,dc=beic,dc=gov.cn"

[root@RH9 openldap]# ldapmodify -f users_liuej.ldif -x -D "cn=root,dc=beic,dc=gov.cn" -w beic
modifying entry "cn=liuej,ou=people,dc=beic,dc=gov.cn"

[root@RH9 openldap]# ldapmodify -f users_liuej.ldif -x -D "cn=root,dc=beic,dc=gov.cn" -w beic
modifying entry "cn=liuej,ou=people,dc=beic,dc=gov.cn"

[root@RH9 openldap]# ldapmodify -f users_liuej.ldif -x -D "cn=root,dc=beic,dc=gov.cn" -w beic
modifying entry "cn=liuej,ou=people,dc=beic,dc=gov.cn"

[root@RH9 openldap]# ldapmodify -f users_liuej.ldif -x -D "cn=root,dc=beic,dc=gov.cn" -w beic
modifying entry "cn=liuej,ou=people,dc=beic,dc=gov.cn"

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > How to create LDAP on linux??

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap