LDAP Outlook Schema
im Folgenden ine LDAP Schema für die Benutzung eines LDAP Adressbuches zusammen mit MS Outlook.
Das Schema erweitert die objectClass "inetPersonOrg" um fehlende Attribute.
############################################## # # hgOutlook.schema # # LDAP schema for use with MS Outlook # testet on version 2010 # ############################################## # OID Macros # # Holger Genth IANA Assigned OID objectIdentifier hgOID 1.3.6.1.4.1.43378 # objectIdentifier hgNonUnique hgOID:1 objectIdentifier hgPedagogy hgOID:2 objectIdentifier hgProduction hgOID:3 # objectIdentifier hgSNMP hgPedagogy:1 objectIdentifier hgLDAP hgPedagogy:2 # objectIdentifier hgAttributeType hgLDAP:1 objectIdentifier hgObjectClass hgLDAP:2 # objectIdentifier hgPersonAttribute hgAttributeType:1 objectIdentifier hgAssetAttribute hgAttributeType:2 objectIdentifier hgApplicationAttribute hgAttributeType:3 objectIdentifier hgFacilityAttribute hgAttributeType:4 objectIdentifier hgOrganizationAttribute hgAttributeType:5 # objectIdentifier hgPersonObject hgObjectClass:1 attributetype ( hgOrganizationAttribute:1.2014.04.08.1 NAME 'thumbnailPhoto' DESC 'persons photo' SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE ) attributetype ( hgOrganizationAttribute:2.2014.04.08.1 NAME 'otherTelephone' DESC 'another telephone number' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch ORDERING caseIgnoreOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} ) attributetype ( hgOrganizationAttribute:3.2014.04.08.1 NAME 'telephoneAssistant' DESC 'assistants telephone number' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch ORDERING caseIgnoreOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} SINGLE-VALUE ) attributetype ( hgOrganizationAttribute:4.2014.04.08.1 NAME 'otherHomePhone' DESC 'other phone private number' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch ORDERING caseIgnoreOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} ) attributetype ( hgOrganizationAttribute:5.2014.04.08.1 NAME 'mailNickName' DESC 'unique username' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch ORDERING caseIgnoreOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} SINGLE-VALUE ) attributetype ( hgOrganizationAttribute:6.2014.04.08.1 NAME 'streetAdress' DESC 'Adress (street, number, etc.)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch ORDERING caseIgnoreOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) attributetype ( hgOrganizationAttribute:8.2014.04.08.1 NAME 'company' DESC 'company Name' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch ORDERING caseIgnoreOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} SINGLE-VALUE ) attributetype ( hgOrganizationAttribute:9.2014.04.08.1 NAME 'department' DESC 'Department Name' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch ORDERING caseIgnoreOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} SINGLE-VALUE ) attributetype ( hgOrganizationAttribute:10.2014.04.08.1 NAME 'msExchAssistantName' DESC 'Assistant´s Name on general tab' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch ORDERING caseIgnoreOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} SINGLE-VALUE ) # # hgOutlookPerson # object class for Use with MS Outlook # objectclass ( hgPersonObject:1.2014.04.08.1 NAME 'hgOutlookPerson' DESC 'for use with MS Outlook LDAP' SUP inetOrgPerson STRUCTURAL MAY ( thumbnailPhoto $ otherTelephone $ telephoneAssistant $ otherHomePhone $ mailNickName $ streetAdress $ c $ co $ company $ department $ physicalDeliveryOfficeName $ msExchAssistantName ) )
Des Weiteren finden Sie folgend ein create-Template fpr phpldapadmin.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE template SYSTEM "template.dtd"> <template> <askcontainer>1</askcontainer> <description>Neue Eintrag (hgOutlookPerson)</description> <icon>address-book.png</icon> <invalid>0</invalid> <rdn>cn</rdn> <!--<regexp>^ou=People,o=.*,</regexp>--> <title>hgOutlookPerson: Adressbuch Eintrag</title> <visible>1</visible> <objectClasses> <objectClass id="hgOutlookPerson"></objectClass> </objectClasses> <attributes> <attribute id="givenName"> <display>Vorname</display> <icon>ldap-uid.png</icon> <onchange>=autoFill(displayName;%givenName% %sn%)</onchange> <page>1</page> <order>1</order> </attribute> <attribute id="sn"> <display>Nachname</display> <onchange>=autoFill(displayName;%givenName% %sn%)</onchange> <page>1</page> <order>2</order> </attribute> <attribute id="initials"> <display>Initialen</display> <page>1</page> <spacer>1</spacer> <order>3</order> </attribute> <attribute id="displayName"> <display>Angezeigter Name</display> <page>1</page> <hidden>1</hidden> <order>4</order> </attribute> <attribute id="cn"> <display>Benutzername</display> <onchange>=autoFill(mailNickName;%cn%)</onchange> <page>1</page> <spacer>1</spacer> <order>5</order> </attribute> <attribute id="mailNickName"> <display>Alias</display> <page>1</page> <spacer>1</spacer> <order>6</order> </attribute> <attribute id="thumbnailPhoto"> <display>Foto</display> <spacer>1</spacer> <order>7</order> </attribute> <attribute id="streetAddress"> <cols>50</cols> <display>Adresse</display> <icon>mail.png</icon> <order>8</order> <page>1</page> <rows>4</rows> <type>textarea</type> </attribute> <attribute id="l"> <display>Stadt</display> <order>9</order> <page>1</page> </attribute> <attribute id="st"> <display>Bundesstaat</display> <order>10</order> <page>1</page> </attribute> <attribute id="postalCode"> <display>Postleitzahl</display> <order>11</order> <page>1</page> <spacer>1</spacer> </attribute> <attribute id="co"> <display>Land</display> <page>1</page> <order>12</order> </attribute> <attribute id="title"> <display>Titel</display> <page>1</page> <order>13</order> </attribute> <attribute id="company"> <display>Firma</display> <page>1</page> <order>14</order> </attribute> <attribute id="department"> <display>Abteilung</display> <page>1</page> <order>15</order> </attribute> <attribute id="physicalDeliveryOfficeName"> <display>Büro</display> <page>1</page> <order>16</order> </attribute> <attribute id="msExchAssistantName"> <display>Vertretung</display> <page>1</page> <order>17</order> </attribute> <attribute id="telephoneNumber"> <display>Telefon (geschäftl.)</display> <icon>phone.png</icon> <page>1</page> <order>18</order> </attribute> <attribute id="otherTelephone"> <display>Telefon (weitere,geschäftl.)</display> <icon>phone.png</icon> <page>1</page> <order>19</order> </attribute> <attribute id="facsimileTelephoneNumber"> <display>Fax</display> <page>1</page> <order>20</order> </attribute> <attribute id="telephoneAssistant"> <display>Telefon (Assistent)</display> <icon>phone.png</icon> <page>1</page> <order>21</order> </attribute> <attribute id="homePhone"> <display>Telefon (privat)</display> <icon>phone.png</icon> <page>1</page> <order>22</order> </attribute> <attribute id="otherHomePhone"> <display>Telefon (weitere,privat)</display> <icon>phone.png</icon> <page>1</page> <order>23</order> </attribute> <attribute id="mobile"> <display>Mobil</display> <page>1</page> <order>24</order> </attribute> <attribute id="telephoneNumber"> <display>Telefon (geschäftl.)</display> <icon>phone.png</icon> <page>1</page> <order>25</order> </attribute> <attribute id="pager"> <display>Pager</display> <icon>phone.png</icon> <page>1</page> <order>26</order> </attribute> <attribute id="mail"> <display>Email</display> <order>10</order> <page>1</page> <order>27</order> </attribute> <attribute id="telephoneNumber"> <display>Telefon (geschäftl.)</display> <icon>phone.png</icon> <page>1</page> <order>28</order> </attribute> <attribute id="info"> <display>Notizen</display> <page>1</page> <cols>50</cols> <rows>4</rows> <order>29</order> </attribute> </attributes> </template>
Weitere Informationen zum Thema:
1. Homepage von phpLDAPadmin (http://phpldapadmin.sourceforge.net/)
2. objectclass und attribute browser :http://ldap.akbkhome.com/index.php
3. Artikel über die Zuordnung von Outlook Attribute <-> LDAP Attribute: http://www.jigsolving.com/activedirectory/user-account-attributes-part-1