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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 27th, 2008, 12:30 AM
Hockey Hockey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 4 Hockey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 5 sec
Reputation Power: 0
Question about rootdn and basic structure

I am in the process of centralizing some data in an LDAP store and I want to organize everything deom a DC perspective but I am not clear as to whether only one DC can exist or not and/or if they are different from rootdn???

Basically, I host several web sites, each with varying domain names:

mydomain.com
superads.net
anothertest.org
...

Each of those web sites has entries whcih further divide the information (ou).

mydomains.com
users
apps
superads.net
users
apps
...

Each of those entries are again split into separate 'ou' sections....actually only the 'apps' is userr will contain the table of users allowed to access the web site.

My question: I am just about to re-install/re-configure OpenLDAP and I'm not sure what to use for the rootdn and/or suffix part?

Because domainComponent (dc) are something of an 'ou' and already in use...I'm not sure if they are appropriate.

It seems LDAP only allows a single rootdn to be specified and this entry is what is used when I wish to secure the account using passwords...

So should the rootdn, be my company name along with a password I choose...and each child entry directly under that would be composed of the domain components of each hosted web site???

Am I understandnig the purpose behind the rootdn??? Is it similar to a database in mysql in this regard? It's the container for all entries?

Cheers

Reply With Quote
  #2  
Old February 27th, 2008, 11:40 AM
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,739 Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 4 Weeks 6 h 25 m 16 sec
Reputation Power: 384
Yes root dn is the container for all entries

you CAN have multiple DN's, they just are subsets of the root dn

root dn = dc=mysite.com
your dns = OU=apps,DC=othersites.com,dc=mysite.com
OU=webs,DC=mooooo.com,dc=mysite.com
etc...

LDAP is very much a directory structure, if you know how a directory works, then it's fairly easy to understand ldap, dc's ou's etc.. would be more of a property on the directory, giving it different type of information (like readonly/hidden etc..)

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > Question about rootdn and basic structure


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!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway