LDAP groups are now dynamic!
This function is added:
func (l *LdapGroups) GetExtraGroups(serial, vendor string) (string, error)
If you want to add extra groups at runtime using a script, you have
the option of specifying
- Bin.Executor: Usually /bin/sh or /bin/bash and the like
- Bin.Path: Path your actual script
You get the serial of the asset and its vendor as two arguments
If you want more, create a GitHub issue and we will take a look