OpenSOC / opensoc-ui

User interface for OpenSOC
Apache License 2.0
100 stars 55 forks source link

Pcap viewer: Access denied #17

Open ccarv opened 9 years ago

ccarv commented 9 years ago

After logging into the dashboard, the Pcap viewer panel is saying "Access denied". I've followed the instructions for setting up the UI and can't figure out why I am receiving this.

Thanks in advance

ap305 commented 9 years ago

How do you login the dashboard. Why the UI in opensoc/login show me "Invalid username/password"? Can you tell me the account, Thanks!

tpiscitell commented 9 years ago

There are two default accounts in the development LDAP environment. They are joesmith@opensoc.dev and maryfodder@opensoc.dev. Both have a default password of opensoc. Access to the PCAP dashboard is based on having the pcap permission assigned. By default only marryfodder@opensoc.dev has this permission. See the README for how to set permissions to AD groups in config.json. You can see the development LDAP schema in seed/ldap/content.ldif

ghost commented 9 years ago

@ap305 regarding your issue "Invalid username/password" we have same issue before we fixed by using below commands

OS = Ubuntu 14.04 Ldap Re-Configuration

sudo dpkg-reconfigure slapd

it will start configuration wizard , follow this link https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-a-basic-ldap-server-on-an-ubuntu-12-04-vps

after configuration goto opensoc seeds directory in my case /opt/opensoc-ui/seed/ldap

run the following command sudo ldapadd -x -D cn=admin,dc=opensoc,dc=dev -W -f content.ldif

hope this will fix your problem.

obaidskhan commented 9 years ago

@tulipmind Thanks mate.. it really help me in this regard....

bulabula001 commented 8 years ago

Thanks , it is useful for my , i have also occured this issue.

bulabula001 commented 8 years ago

it is help for me

bulabula001 commented 8 years ago

pretty great, after i add the part of [ "auth": "true" ] in config path. i can see the login page message in pages, "http://192.168.10.124:5000/login" , and i try use the email and password base the help of "They are joesmith@opensoc.dev and maryfodder@opensoc.dev. Both have a default password of opensoc. Access to the PCAP dashboard is based on having the pcap permission assigned. By default only marryfodder@opensoc.dev has this permission. See the README for how to set permissions to AD groups in config.json. You can see the development LDAP schema in seed/ldap/content.ldif" thanks