LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 June 16th, 2009, 02:22 AM
myhomi myhomi is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 6 myhomi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 12 m 52 sec
Reputation Power: 0
Adding attributes in LDAP

Hi everyone,
I want to add thse new attributes in my ldap user accounts,
date of birth
sex
qualification,
nationality.
I went to some attribute lists I could find, but I couldn't find these attributes.
Can any one help me?

Reply With Quote
  #2  
Old June 18th, 2009, 01:10 PM
djlarsu djlarsu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 29 djlarsu User rank is Sergeant (500 - 2000 Reputation Level)djlarsu User rank is Sergeant (500 - 2000 Reputation Level)djlarsu User rank is Sergeant (500 - 2000 Reputation Level)djlarsu User rank is Sergeant (500 - 2000 Reputation Level)djlarsu User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 h 8 m 11 sec
Reputation Power: 0
Quote:
Originally Posted by myhomi
Hi everyone,
I want to add thse new attributes in my ldap user accounts,
date of birth
sex
qualification,
nationality.
I went to some attribute lists I could find, but I couldn't find these attributes.
Can any one help me?


If you want to add ldap attributes to your directory, you do so by 'extending the schema'. That is, defining new objectTypes (or adding definitions to existing ones) that contain the attributes you want. You can do this either by finding an objectType schema that fits your needs, or, making your own.

Your first step (after determining what additional attributes you want, which you've done) is to see if there's an objectType already on the server that adds these attributes. If not, look for a schema extension that someone has already created for storing these values. For instance, the eduPerson schema - http://middleware.internet2.edu/eduperson/ - has lots of attributes useful to educational institutions. You can add it to your ldap server by including the attribute definitions in your ldap server startup files.
If you can't find an existing schema extention, you'll need to define your own.

Reply With Quote
  #3  
Old July 13th, 2009, 07:34 AM
myhomi myhomi is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 6 myhomi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 12 m 52 sec
Reputation Power: 0
Sorry for the late reply. But I am still having problems to define schemas in LDAP. If I could ask a question, what are OIDs? And do I really need them to define schemas or extend existing schema?
I have tried simply typing new attributes in existing schemas such as inetorgperson.schema but it didn't work & I assume it is because I don't have a OID registered to my name or my companie's.

Reply With Quote
  #4  
Old July 13th, 2009, 07:59 AM
djlarsu djlarsu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 29 djlarsu User rank is Sergeant (500 - 2000 Reputation Level)djlarsu User rank is Sergeant (500 - 2000 Reputation Level)djlarsu User rank is Sergeant (500 - 2000 Reputation Level)djlarsu User rank is Sergeant (500 - 2000 Reputation Level)djlarsu User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 h 8 m 11 sec
Reputation Power: 0
http://lmgtfy.com/?q=create+ldap+oid

Reply With Quote
  #5  
Old July 13th, 2009, 09:07 AM
myhomi myhomi is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 6 myhomi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 12 m 52 sec
Reputation Power: 0
I just need to know what option I have if I can not register for a OID.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > Adding attributes in LDAP


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




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek