Miner accounts

Issue #6 new
Titi Toto created an issue

Hi Guys,

We have a same issue with other miner below :

btaminer -C ::myad -t ReST accounts --owners Traceback (most recent call last): File "/usr/local/bin/btaminer", line 6, in <module> bta.miner.Miner.main() File "/usr/local/lib/python2.7/dist-packages/bta/miner.py", line 142, in main m.run(opt, doc) File "/usr/local/lib/python2.7/dist-packages/bta/miners/accounts.py", line 154, in run self.extract_owner(doc, options.owners, [account_type]) File "/usr/local/lib/python2.7/dist-packages/bta/miners/accounts.py", line 86, in extract_owner t.add([SID2StringFull(r["objectSid"], self.guid), SID2StringFull(infos["sd_value"]["Owner"], self.guid)]) KeyError: 'objectSid'

btaminer -C ::myad -t ReST accounts --changed-since Traceback (most recent call last): File "/usr/local/bin/btaminer", line 6, in <module> bta.miner.Miner.main() File "/usr/local/lib/python2.7/dist-packages/bta/miner.py", line 142, in main m.run(opt, doc) File "/usr/local/lib/python2.7/dist-packages/bta/miners/accounts.py", line 148, in run self.extract_field_since(doc, "whenChanged", options.created_since, [account_type]) File "/usr/local/lib/python2.7/dist-packages/bta/miners/accounts.py", line 39, in extract_field_since results.append(self.get_line(r, ["name", field])) File "/usr/local/lib/python2.7/dist-packages/bta/miners/accounts.py", line 32, in get_line res.append(SID2StringFull(record["objectSid"], self.guid)) KeyError: 'objectSid'

Comments (0)

  1. Log in to comment