LDAP Datenmodel¶
{{important(The following content was migrated from the old Wiki. The content needs to be updated and is not fully reliable.)}}
Struktur¶
dc=piratenpartei,dc=ch
|
|---------- **dc=board**
| _Roles for the board members on national level_
| _There is also a ppsGroup object for the GPK an the foundingmembers_
|
|---------- **dc=members**
| _Contains all Personen objects which are member on the national level_
|
|---------- **dc=people**
| _Contains all Personen objects which are no members an only used for the SSO_
|
|---------- **dc=workgroups**
| _Contains ppsGroup object for each workgroup on the national level_
| _Each group can contain several subgroups and roles_
|
|---------- **st=[xx]**
| _For each Section there is a ppsSection object containing the same structure as the top level_
| _Exception is the container dc=people which exists only on top level_
| dc=board
| dc=members
| dc=workgroups
Objects¶
Objectclass |
Description |
rdn |
attribute
|
ppsContainer |
General container |
dc |
ppsGroup |
Workgroups |
cn |
ppsPerson |
|
uniqueIdentifier |
ppsRole |
|
cn |
ppsSection |
Section |
st |
ppsContainer¶
Name |
LDAP attribute |
Values |
Description |
Name |
dc |
|
|
Description |
description |
|
|
ppsGroup¶
Name |
LDAP attribute |
Values |
Description |
Name |
dc |
|
|
Category |
businessCategory |
0 |
Political |
|
|
1 |
Operativ |
Description |
description |
|
|
Link |
labeledURI |
|
Link to a webpage with additional Information to this object |
Members |
member |
dn |
|
Leader |
owner |
dn |
|
ppsRole¶
Name |
LDAP attribute |
Values |
Description |
Name |
dc |
|
|
Description |
description |
|
|
Link |
labeledURI |
|
Link to a webpage with additional Information to this object |
E-mail |
mail |
|
E-mail address for this role if there is one. |
Occupant |
roleOccupant |
dn |
|
ppsPerson¶
Name |
LDAP attribute |
Values |
Description |
Type |
employeeType |
0 |
Land Lubber (Sympathiser) |
|
|
1 |
Sympathiser (Cabin Boy) |
|
|
2 |
Pirate |
|
|
3 |
Veteran |
|
|
8 |
Walked the plank |
|
|
9 |
Fleet |
Nick |
name |
uid |
|
Identifier |
uniqueIdentifier |
Integer |
Unique value to identifie this object. Only used for tecnical reason |
Country |
c |
|
Two digit iso abbrevation |
Commonname |
cn |
gn sn |
Concatenation of givenname and surname |
Signature |
description |
|
Signature set by user used in Forum |
Member number |
employeeNumber |
Integer |
|
Givenname |
givenName |
|
|
Comment |
info |
|
Comment used by the administration |
Location |
l |
|
|
Mail |
mail |
|
|
Mobile |
mobile |
|
|
Organization |
o |
|
|
Avatar |
photo |
Picture |
Picture used in the forum |
ZIP code |
postalCode |
|
|
Birth date |
ppsBirthDate |
generalizedtimstring |
|
Contribution class |
ppsContributionClass |
0 |
Normal |
|
|
1 |
Reduced |
Gender |
ppsGender |
0 |
Unknown |
|
|
1 |
Male |
|
|
2 |
Female |
|
|
9 |
Not applicable |
Joining date |
ppsJoining |
generalizedtimstring |
Date at which the person joined the party |
Leaving date |
ppsLeaving |
generalizedtimstring |
Date at which the person left the party |
Pivote cert |
ppsPivoteCertID |
Id of the Pivote Cert. |
Used for revocation |
Pivote cert valid until |
ppsPivoteCertValidUntil |
generalizedtimstring |
Date at which the Pivot vert will become invalid |
Notification method |
ppsPreferredNotificationMethod |
0 |
Letter |
|
|
1 |
Mail |
Voting right until |
ppsVotingRightUntil |
generalizedtimstring |
Date at which the person will loss its voting right. |
Preferred language |
preferredLanguage |
de |
|
|
|
de |
|
|
|
fr |
|
|
|
it |
|
|
|
en |
|
Surname |
sn |
|
|
State |
st |
|
Two digit abbrevation of the state. Only Switzerland. |
Street |
street |
|
|
Phone |
telephoneNumber |
|
|
Title |
title |
|
Academical titles as it should be be printed. |
Password |
userPassword |
|
Encrypted trought ssha |