The Grid module contains several utilities for grid operations

DIRAC.Core.Utilities.Grid.ldapsearchBDII(filt=None, attr=None, host=None, base=None, selectionString='Glue')

Python wrapper for ldapserch at bdii.

  • filt – Filter used to search ldap, default = ‘’, means select all

  • attr – Attributes returned by ldapsearch, default = ‘*’, means return all

  • host – Host used for ldapsearch, default = ‘’, can be changed by $LCG_GFAL_INFOSYS


standard DIRAC answer with Value equals to list of ldapsearch responses

Each element of list is dictionary with keys:

‘dn’: Distinguished name of ldapsearch response ‘objectClass’: List of classes in response ‘attr’: Dictionary of attributes