Add sid to Everyone/Authenticated Users

Drop ingestion threshold
master
Rohan Vazarkar 2018-09-20 11:03:52 -07:00
parent bbb7eaa28c
commit 9e49cc62ce
1 changed files with 3 additions and 1 deletions

View File

@ -166,6 +166,8 @@ export default class MenuContainer extends Component {
let s = driver.session();
await s.run("MATCH (n:User) WHERE NOT EXISTS(n.owned) SET n.owned=false");
await s.run("MATCH (n:Computer) WHERE NOT EXISTS(n.owned) SET n.owned=false");
await s.run("MATCH (n:Group) WHERE n.name =~ 'EVERYONE@.*' SET n.objectsid='S-1-1-0'")
await s.run("MATCH (n:Group) WHERE n.name =~ 'AUTHENTICATED USERS@.*' SET n.objectsid='S-1-5-11'")
s.close();
}
@ -274,7 +276,7 @@ export default class MenuContainer extends Component {
chunk.push(data.value);
localcount++;
if (localcount % 100 === 0) {
if (localcount % 1 === 0) {
pipeline.pause();
await this.uploadData(chunk, type);
sent += chunk.length;