unioslo/nivlheim

Observed bug: A user logs in and only sees his own machines

Closed this issue · 1 comments

The user should have had access to a lot more machines, by LDAP group memberships.

Suggestions

  • Look at /etc/nivlheim/server.conf. If you're member of the LDAP group specified by the option "LDAPadminGroup" or any of the groups listed in "AllAccessGroups", you'll see all machines regardless.
  • Here on USIT, we have LDAP groups named with a 'zabbix-' prefix, it should be stripped away but it looks like that doesn't happen anywhere. That explains why it doesn't match the hosts' ownerGroups, which doesn't have this prefix.
    [EDIT] 👍 Fixed by adding the 'zabbix-' prefix in owner.pl for all groups taken from siteadmsHostUserGroup.txt.
  • The method used in owner.pl for looking up people's personal email addresses doesn't work anymore, apparently. This is relevant for personal computers, laptops etc. Must find a workaround. [EDIT] 👍 Fixed by looking up the host in cn=hosts,cn=system,dc=uio,dc=no and using uioHostContact.