Tags:
create new tag
, view all tags

LDAP database description

Staff

Staff ldif record format

dn: cn=SEQUENCE_NUMBER,ou=staff,o=ethz,c=ch
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: ethzOrgPerson
objectclass: mozillaAbPersonAlpha
cn: first_name last_name
cn:: first_name last_name (utf-8/base64)   if contains 8-bit characters
employeeNumber: SEQUENCE_NUMBER
sn: last_name
gn: first_name
title: Dr/Prof
telephoneNumber: tel
telephoneNumber: tel (alternate telephone)
roomNumber: bldg + room
ou: org_unit
ou:: org_unit (utf-8/base64)         if contains 8-bit characters
departmentNumber: leitzahl
mail: mail
postaladdress: street, PLZ, city
postaladdress:: (utf-8/base64)         if contains 8-bit characters
pager: tel
facsimileTelephoneNumber: tel
secretariatTel: tel
ethzDepartment: dept-code
persid: persid-number

Staff record attributes

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    ~~~~~~~~~~~~~   ~~~~~~~~~~~~~   ~~~~~~
attribute                              schema          objectclass     status
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    ~~~~~~~~~~~~~   ~~~~~~~~~~~~~   ~~~~~~
cn: first_name last_name               core            person          req
employeeNumber: sequence_number        inetorgperson   inetorgperson   opt
sn: last_name                          core            person          req
gn: first_name                         core            inetOrgPerson   opt
title: Dr/Prof                         core            orgPerson       opt
telephoneNumber: tel                   core            orgPerson       opt
roomNumber: bldg + room                inetorgperson   inetorgperson   opt
ou: org_unit                           core            orgPerson       opt
departmentNumber: leitzahl             inetorgperson   inetorgperson   opt
mail: mail                             core            inetOrgPerson   opt
postaladdress: street, PLZ, city       core            orgPerson       opt
pager: tel                             cosine          inetOrgPerson   opt
facsimileTelephoneNumber: tel          core            orgPerson       opt
secretariatTel: tel                    local           ethzOrgPerson   opt
ethzDepartment: dept-code              local           ethzOrgPerson   opt
persid: id-number from personnel db    local           ethzOrgPerson   opt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    ~~~~~~~~~~~~~   ~~~~~~~~~~~~~   ~~~~~~

Staff record example

dn: employeeNumber=0981,ou=staff,o=ethz,c=ch
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: ethzOrgPerson
objectclass: mozillaAbPersonAlpha
cn: Giorgio Broggi
employeeNumber: 0981
sn: Broggi
gn: Giorgio
title: Dr
telephoneNumber: 0446322251
roomNumber: CLU E 1
ou: ID-Betriebsinformatik
departmentNumber: 00076
mail: giorgio.broggi@id.ethz.ch
postaladdress: Clausiusstrasse 50$CH-8092 Zuerich
postaladdress:: Q2xhdXNpdXNzdHJhc3NlIDUwJENILTgwOTIgWsO8cmljaAo=
facsimileTelephoneNumber: 0446321351
ethzDepartment: T0076
persid: 83904

Student

Student ldif record format

dn: cn=samAccountName,ou=student,o=ethz,c=ch
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
cn: first_name last_name   <--- for "cn" queries of first & last names
cn:: (utf-8/base64)      if contains 8-bit characters
cn: samAccountName      <--- for "cn" queries of the uid
sn: last_name
sn:: (utf-8/base64)      if contains 8-bit characters
gn: first_name
gn:: (utf-8/base64)      if contains 8-bit characters
ou: org_unit
ou:: (utf-8/base64)      if contains 8-bit characters
mail: mail
wwwHomePage: wwwHomePage   <--- defined in local.schema (labeledURI def)
uid: samAccountName      <--- for "uid" queries

Student record attributes

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    ~~~~~~~~~~~~~   ~~~~~~~~~~~~~   ~~~~~~
attribute                              schema          objectclass     status
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    ~~~~~~~~~~~~~   ~~~~~~~~~~~~~   ~~~~~~
cn: first_name last_name               core            person          req
sn: last_name                          core            person          req
gn: first_name                         core            inetOrgPerson   opt
ou: org_unit                           core            orgPerson       opt
uid: samAccountName                    core             
mail: mail                             core            inetOrgPerson   opt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    ~~~~~~~~~~~~~   ~~~~~~~~~~~~~   ~~~~~~

Student record example

dn: cn=larsjo,ou=student,o=ethz,c=ch
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: ethzOrgPerson
cn: Lars Torbjoern Tobias Johansson
cn:: TGFycyBUb3JiasO2cm4gVG9iaWFzIEpvaGFuc3Nvbgo=
cn: larsjo
sn: Johansson
gn: Lars Torbjoern Tobias
gn:: TGFycyBUb3JiasO2cm4gVG9iaWFzCg==
ou: Stud. D-CHAB
wWWHomePage: http://n.ethz.ch/student/larsjo
uid: larsjo
mail: larsjo@student.ethz.ch

-- SwenVermeul - 04 Aug 2008

Topic revision: r1 - 2008-08-04 - SwenVermeul
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback