65
65
//Create credential object in order to get the user DN
66
66
std::string emptycadir, emptycafile;
67
Credential credential(uc.ProxyPath().empty() ? uc.ProxyPath() : uc.CertificatePath(), "", emptycadir, emptycafile);
67
Credential credential(!uc.ProxyPath().empty() ? uc.ProxyPath() : uc.CertificatePath(), "", emptycadir, emptycafile);
68
68
std::string escaped_dn = escape_chars(credential.GetIdentityName(), filter_esc, '\\', false, escape_hex);
70
70
url.ChangeLDAPFilter("(|(objectclass=nordugrid-cluster)"
71
71
"(objectclass=nordugrid-queue)"
72
72
"(nordugrid-authuser-sn=" + escaped_dn + "))");
74
75
DataHandle handler(url, uc);
78
78
logger.msg(INFO, "Can't create information handle - "