|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 ![]() |
|
#2
|
||||
|
||||
|
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..)
__________________
Miscellaneous Software Viper_SB Developershed E-Support Anyone else play chess? Challenge me Challenge me |
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > Question about rootdn and basic structure |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|