esnet/enos

"null" username

bmah888 opened this issue · 0 comments

I've seen a username of "null" in a database collection prefix instead of the expected "admin". I'm not sure how this happened. Noting this for reference.

hattori:bmah% mongo --host 192.168.120.187 bmah -u enos -p
MongoDB shell version: 3.2.7
Enter password: 
connecting to: 192.168.120.187:27017/bmah
> show collections 
admin_MultiPointVPNService
admin_tbcore
admin_tbcore2
admin_tbinv
admin_tbpops
admin_tbpops2
null_MultiPointVPNService
> db.null_MultiPointVPNService.find() 
{ "_id" : ObjectId("576b1329630ac01b7a270ebf"), "resourceName" : "MultiPointVPNService", "resourceClassName" : "org.python.proxies.__main__$VPNService$94", "properties" : { "sid" : 8, "coretopology" : "tbcore", "topology" : "tbpops" }, "description" : null, "parentResourceAnchor" : null, "childrenResourceAnchors" : null, "owner" : null, "acls" : {  }, "resourceType" : "Container" }
{ "_id" : ObjectId("5772de82630ac01b7a2719bb"), "resourceName" : "vpn1", "resourceClassName" : "net.es.netshell.api.Resource", "properties" : { "entryfanoutflows" : "{}", "meter" : 3, "vpnsitevlans" : "{}", "priority" : "low", "mat" : "{'sid': 9, 'mac': {65535: 'FF:FF:FF:FF:FF:FF'}, 'hid': {'FF:FF:FF:FF:FF:FF': 65535}, 'vid': 4064}", "exitfanoutflows" : "{}", "hostsites" : "{}", "vpnsites" : "{}", "vid" : 4064, "pops" : "[u'denv']" }, "description" : null, "parentResourceAnchor" : null, "childrenResourceAnchors" : null, "owner" : null, "acls" : {  }, "resourceType" : "VPN" }
> db.admin_MultiPointVPNService.find()
> 
bye