Skip to content

Commit d0621e7

Browse files
committed
fix LDAP records for demo dashboard
1 parent a9f34f2 commit d0621e7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

webui/scripts/dashboard-demo/drive-ldap.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ export async function driveLdap() {
66
await client.bind('dc=hr,dc=example,dc=com');
77

88
await client.search('dc=hr,dc=example,dc=com', {
9-
filter: '(userAccountControl:1.2.840.113556.1.4.803:=512)',
10-
scope: 'sub'
11-
});
12-
13-
/*await client.search('dc=hr,dc=example,dc=com', {
149
filter: '(uid=ajohnson)',
1510
scope: 'sub'
1611
});
@@ -45,6 +40,11 @@ export async function driveLdap() {
4540
await client.modifyDN('uid=cbrown,ou=people,dc=hr,dc=example,dc=com', 'uid=ctaylor,ou=people,dc=hr,dc=example,dc=com');
4641

4742
await client.del('uid=ctaylor,ou=people,dc=hr,dc=example,dc=com');
48-
*/
43+
44+
await client.search('dc=hr,dc=example,dc=com', {
45+
filter: '(userAccountControl:1.2.840.113556.1.4.803:=512)',
46+
scope: 'sub'
47+
});
48+
4949
await client.unbind();
5050
}

0 commit comments

Comments
 (0)