[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Schema design advise
Hello
I ve to put ini file with version and platform information into an Ldap
directory and I don't know which schema is the best.
for example, actually, I ve two files one for unix and one for windows:
the windows one:
[rub]
param=1
color=blue
and the unix one:
[rub]
param=5
color=red
A flat schema, will be :
dn:cn=rubwindows,dc=example,dc=com
objectClass:Param
version:2
platform:windows
rubrique:rub
parameter:param=1
parameter:color=blue
dn:cn=rubunix,dc=example,dc=com
objectClass:Param
version:2
platform:unix
rubrique:rub
parameter:param=5
parameter:color=red
and a non-flat schema would be:
dn:cn=windows,dc=example,dc=com
objectClass:platform
platform:windows
dn:cn=unix,dc=example,dc=com
objectClass:platform
platform:unix
dn:cn=rub,cn=windows,dc=example,dc=com
objectClass:Param
version:2
rubrique:rub
parameter:param=1
parameter:color=blue
dn:cn=rub,cn=unix,dc=example,dc=com
objectClass:Param
version:2
rubrique:rub
parameter:param=5
parameter:color=red
Have you an idea of which is the best ?
Thanks in advance
Frederic