Christoph Holtermann wrote:
> I'm using OpenLDAP to store my contacts. I tried to find a possibility
> to store the bank account but i didn't find an according attribute in
> any schema. What's the reason for this ? Do i have to create an own
> schema to be able to store this information ?

I created my own schema for german bank account information and IBAN (see
excerpts below) but this is not formally specified anywhere. AFAICS the kolab
developers took over some of these attribute types.

You can download my public OpenLDAP schema file here:

http://www.stroeder.com/stroeder.com.schema

Review and comments are appreciated.

Ciao, Michael.

----------------------------- snip -----------------------------
#
# labeled bank arrangement consisting of BIC and IBAN ()
# an optional additional textual label is separated by a single '#'
# The format:
# BIC:<BIC>,IBAN:<IBAN>#<Label>
# <BIC>    the Bank Information Code
# <IBAN>   the International Bank Account Number
# <Label>  a textual description of DirectoryString syntax
attributetype ( stroeder-com-pub-ldap-at:13
      NAME 'labeledBICandIBAN'
      DESC 'international bank arrangement consisting of BIC, IBAN and
optional label (format: "BIC:<BIC>,IBAN:<IBAN>#<Label>")'
      SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{100}
      EQUALITY caseIgnoreMatch )

#
# germanBankArrangement schema
#

attributetype ( stroeder-com-pub-ldap-at:661
      NAME 'germanBankAccountNumber'
      DESC 'The 8-digits number of a german bank account without spaces'
      SINGLE-VALUE
      SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{10} )

attributetype ( stroeder-com-pub-ldap-at:662
      NAME 'germanBankCode'
      DESC 'The 8-digits number of a german bank code (BLZ) without spaces'
      SINGLE-VALUE
      SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{8} )

attributetype ( stroeder-com-pub-ldap-at:663
      NAME 'germanBankName'
      DESC 'The name of a german bank registered in the BLZ table published by
Deutsche Bundesbank.'
      SINGLE-VALUE
      SUP name )

attributetype ( stroeder-com-pub-ldap-at:664
      NAME 'germanBankAccountInfo'
      DESC 'Composed field containing a one-line human-readable representation
of all necessary information.'
      SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( stroeder-com-pub-ldap-at:665
      NAME 'germanBankAccountHolder'
      DESC 'The name of the holder of a german bank account commonly used as
recipient name.'
      SINGLE-VALUE
      SUP name )

objectclass ( stroeder-com-pub-ldap-oc:660
      NAME 'germanBankArrangement'
      DESC 'German bank account information'
      AUXILIARY
      MUST ( germanBankAccountNumber $ germanBankCode )
      MAY ( germanBankAccountHolder $ germanBankName $ germanBankAccountInfo ) )

Reply via email to