Test Ldap
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
fbcdec33eb
commit
8f144983ef
10
lib/team.ts
10
lib/team.ts
|
@ -24,11 +24,11 @@ export interface Metadata {
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getExecNames() {
|
export async function getExecNames() {
|
||||||
if (process.env.USE_LDAP?.toLowerCase() !== "true") {
|
// if (process.env.USE_LDAP?.toLowerCase() !== "true") {
|
||||||
return (await readdir(EXECS_PATH))
|
// return (await readdir(EXECS_PATH))
|
||||||
.filter((name) => name.endsWith(fileType))
|
// .filter((name) => name.endsWith(fileType))
|
||||||
.map((name) => name.slice(0, -1 * fileType.length));
|
// .map((name) => name.slice(0, -1 * fileType.length));
|
||||||
}
|
// }
|
||||||
|
|
||||||
const url = "ldap://ldap1.csclub.uwaterloo.ca";
|
const url = "ldap://ldap1.csclub.uwaterloo.ca";
|
||||||
const searchDN = "ou=People,dc=csclub,dc=uwaterloo,dc=ca";
|
const searchDN = "ou=People,dc=csclub,dc=uwaterloo,dc=ca";
|
||||||
|
|
Loading…
Reference in New Issue