]> git.uio.no Git - u/mrichter/AliRoot.git/blame - SHUTTLE/schema/README
Updating EMCAL configuration for test setup.
[u/mrichter/AliRoot.git] / SHUTTLE / schema / README
CommitLineData
73abe331 1This directory contians LDAP schema for Shuttle configuration.
2
3shuttle.schema - schmea definition. All detectors entries have the
4objectClass defined in shuttle.schema (shuttleConfig).
5
6TPC.ldif, ITS.ldif PHOS.ldif - contains examples for detector configuration.
7
8AliShuttleConfig uses ROOT ldap package to access the ldap server.
9Following manual interventions are needed for ROOT LDAP package:
10
111) ROOT LDAP package uses deprecated functions as: ldap_simple_bind_s etc.
12To compile ROOT with LDAP support properly, LDAP_DEPRECATED has to be defined.
13
14
152) As all contemporary LDAP servers use LDAP V3 protocol and the dafault
16protocol is LDAP V2 some lines have to be added to file TLDAPServer.cxx
17
18in method: Int_t TLDAPServer::Bind()
19
20add 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