]> git.uio.no Git - u/mrichter/AliRoot.git/blob - SHUTTLE/schema/README
Fixing segfault in example components. Bug #29877.
[u/mrichter/AliRoot.git] / SHUTTLE / schema / README
1 This directory contians LDAP schema for Shuttle configuration.
2
3 shuttle.schema - schmea definition. All detectors entries have the
4 objectClass defined in shuttle.schema (shuttleConfig).
5
6 TPC.ldif, ITS.ldif PHOS.ldif - contains examples for detector configuration.
7
8 AliShuttleConfig uses ROOT ldap package to access the ldap server.
9 Following manual interventions are needed for ROOT LDAP package:
10
11 1) ROOT LDAP package uses deprecated functions as: ldap_simple_bind_s etc.
12 To compile ROOT with LDAP support properly, LDAP_DEPRECATED has to be defined.
13
14
15 2) As all contemporary LDAP servers use LDAP V3 protocol and the dafault
16 protocol is LDAP V2 some lines have to be added to file TLDAPServer.cxx
17
18 in method: Int_t TLDAPServer::Bind()
19
20 add before ldap_simple_bind_s
21
22  Int_t protVersion = 3;
23  if((result = ldap_set_option(fLd, LDAP_OPT_PROTOCOL_VERSION, &protVersion)
24                         != LDAP_OPT_SUCCESS )) {
25                 Error("Bind", "Could not set protocol version 3!");
26                 return result;
27  }
28
29
30