1 ## LDAP Schema file for BitlBee
2 ## Copyright (C) 2006 Jelmer Vernooij <jelmer@samba.org>
4 ## We need the following object classes and related attributes:
10 ## each bitlBeeNick has zero or more bitlBeeAccount subentries
11 ## and bitlBeeAccount entries contain zero or more bitlBeeBuddy entries
13 ## The admin needs to setup the LDAP server to:
14 ## - allow anonymous users to auth against bitlBeeNick objects on the
16 ## - allow anonymous users to create new objects that start with nick=
17 ## - allow read/write for a user that is authenticated only to his/her own
18 ## object and subentries
22 ## - setting (multiple values)
23 ## depends: top, account
25 attributetype ( 1.3.6.1.4.1.25873.2.1.1 NAME 'bitlBeeAutoConnect'
26 DESC 'Autoconnect setting'
28 SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
30 attributetype ( 1.3.6.1.4.1.25873.2.1.2 NAME 'bitlBeeAccountNo'
33 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
35 objectclass ( 1.3.6.1.4.1.25873.2.2.3 NAME 'bitlBeeAccount' SUP account STRUCTURAL
36 DESC 'BitlBee User Account '
37 MUST ( userid, userPassword )
41 ## - accountNo 1.3.6.1.4.1.1466.115.121.1.27
42 ## - protocol (msn, oscar, jabber, yahoo, ...)
46 ## - autoconnect (true/false) 1.3.6.1.4.1.1466.115.121.1.7
49 objectclass ( 1.3.6.1.4.1.25873.2.2.1 NAME 'bitlBeeIMAccount' SUP account STRUCTURAL
50 DESC 'BitlBee IM Account '
51 MUST ( bitlBeeAccountNo, userid, userPassword )
52 MAY ( host, bitlBeeAutoconnect ) )
54 objectclass ( 1.3.6.1.4.1.25873.2.2.2 NAME 'bitlBeeSetting' SUP top STRUCTURAL
55 DESC 'BitlBee Configuration Setting'
56 MUST ( bitlBeeSettingName )
57 MAY ( bitlBeeSettingValue ) )
59 objectclass ( 1.3.6.1.4.1.25873.2.2.3 NAME 'bitlBeeBuddy' SUP top STRUCTURAL
60 DESC 'BitlBee Nick Mapping'
61 MUST ( bitlBeeBuddyHandle )