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 September 21st, 2006, 08:58 AM
gokulnath gokulnath is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 10 gokulnath User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 32 m
Reputation Power: 0
Creating my own schema in LDAP

hello all,

I am new to ldap.i have installed and configured ldap with default schema setup. it is working fine.

Now I want to create ldap schema for my company structure. can i add my own attribute type and objectclass in schema file ? will that affect existing schema or ldap setup.

Any Ideas!!

Reply With Quote
  #2  
Old September 21st, 2006, 10:13 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 8,527 pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level)pabloj User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Months 1 Week 1 Day 3 h 19 m 49 sec
Reputation Power: 538
I'd not do it, it's a complicated task and you might loose features like email client addressbook integration.

Reply With Quote
  #3  
Old September 21st, 2006, 08:37 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 16 m 56 sec
Reputation Power: 634
Quote:
Originally Posted by gokulnath
hello all,

I am new to ldap.i have installed and configured ldap with default schema setup. it is working fine.

Now I want to create ldap schema for my company structure. can i add my own attribute type and objectclass in schema file ? will that affect existing schema or ldap setup.

Any Ideas!!
It's not a good idea to write it into the existing ones, but you CAN make your own schema file and simply link to it in your ldap conf.

Before you start making your own files, I'd recommend you make sure that you are doing it for the right reason. The ones that are out there right now contain almost everything you need.

I had to make one for my company and we used it for over a year (upgraded after that to a different db). It's not hard to make one (rather easy once you learn it) you just have to make sure there is a reason for it, redoing work is not fun.

Reply With Quote
  #4  
Old December 29th, 2009, 04:05 AM
akanshakhare12 akanshakhare12 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 1 akanshakhare12 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 58 sec
Reputation Power: 0
can u tell me the process how to make our own schema in ldap

can u tell me the process how to make our own schema in ldap.because i m new to this..how it will work how it is useful reated to opends or opensso

Reply With Quote
  #5  
Old January 17th, 2010, 02:18 PM
ldapswandog ldapswandog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 111 ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 18 m
Reputation Power: 8
Creating your own user defined schema elements is LDAP directory proprietary, so you will need to look up how to do it for the Directory that your using. For the Sun DS you add the user defined schema into the 99user.ldif file. For the netscape Directory you include your schema file at the end of the default schema file. These are just a few, so you will need to learn the process for your Directory. You should register your directory and use your registered DOID (directory object ID) to add to the schema. This will ensure that you do not break any interoperability with vendor software.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > Creating my own schema in LDAP

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