1 This directory contians LDAP schema for Shuttle configuration.
3 shuttle.schema - schmea definition. All detectors entries have the
4 objectClass defined in shuttle.schema (shuttleConfig).
6 TPC.ldif, ITS.ldif PHOS.ldif - contains examples for detector configuration.
8 AliShuttleConfig uses ROOT ldap package to access the ldap server.
9 Following manual interventions are needed for ROOT LDAP package:
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.
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
18 in method: Int_t TLDAPServer::Bind()
20 add before ldap_simple_bind_s
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!");